Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync up with Linus #28

Merged
merged 27 commits into from
Jan 29, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
adc6029
ASoC: fsl_esai: Fix incorrect xDC field width of xCCR registers
Dec 30, 2014
8e3e36e
ASoC: ts3a227e: Check and report jack status at probe
chiang831 Jan 5, 2015
d83901e
ASoC: Intel: Don't change offset of block allocator during fixed allo…
keyonjie Jan 4, 2015
ae6f636
ASoC: adi: Add missing return statement.
Dec 31, 2014
22ee76d
ASoC: wm8960: Fix capture sample rate from 11250 to 11025
Dec 31, 2014
f81677b
ASoC: Intel: Add NULL checks for the stream pointer
keyonjie Jan 7, 2015
a12d159
ASoC: rockchip: i2s: applys rate symmetry for CPU DAI
jayxurockchip Jan 8, 2015
64aa5f5
ASoC: fsl_ssi: Fix irq error check
Jan 7, 2015
bdfbf25
ASoC: rt5677: Modify the behavior that updates the PLL parameter.
oder-chiou Jan 8, 2015
3a8e501
ASoC: pcm512x: Fix DSP program selection
peda-r Jan 8, 2015
0984f34
ASoC: fsl: imx-wm8962: Set the card owner field
Jan 14, 2015
7ddfdb5
ASoC: simple-card: Fix crash in asoc_simple_card_unref()
geertu Jan 13, 2015
a30c188
ASoC: wm8904: fix runtime warning
Jan 13, 2015
45437fa
ASoC: rt286: set the same format for dac and adc
Jan 15, 2015
d3268a4
ASoC: soc-compress.c: fix NULL dereference
Jan 14, 2015
20602e3
ASoC: omap-mcbsp: Correct CBM_CFS dai format configuration
Jan 16, 2015
a0b957f
pinctrl: at91: allow to have disabled gpio bank
plagnioj Jan 16, 2015
d9b35aa
Merge remote-tracking branch 'asoc/fix/fsl-esai' into asoc-linus
broonie Jan 26, 2015
a9bb437
Merge remote-tracking branch 'asoc/fix/pcm512x' into asoc-linus
broonie Jan 26, 2015
8a6dcdd
Merge remote-tracking branches 'asoc/fix/adi', 'asoc/fix/compress', '…
broonie Jan 26, 2015
88343ee
Merge remote-tracking branches 'asoc/fix/rt5677', 'asoc/fix/simple', …
broonie Jan 26, 2015
6715f72
Merge tag 'asoc-v3.19-rc6' of git://git.kernel.org/pub/scm/linux/kern…
tiwai Jan 26, 2015
0767e95
ALSA: seq-dummy: remove deadlock-causing events on close
cladisch Jan 25, 2015
33692f2
vm: add VM_FAULT_SIGSEGV handling support
torvalds Jan 29, 2015
9c145c5
vm: make stack guard page errors return VM_FAULT_SIGSEGV rather than …
torvalds Jan 29, 2015
297614f
Merge tag 'pinctrl-v3.19-4' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Jan 29, 2015
a2ae004
Merge tag 'sound-3.19-rc7' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Jan 29, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions arch/alpha/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ do_page_fault(unsigned long address, unsigned long mmcsr,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/arc/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ void do_page_fault(unsigned long address, struct pt_regs *regs)

if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;

Expand Down
2 changes: 2 additions & 0 deletions arch/avr32/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ asmlinkage void do_page_fault(unsigned long ecr, struct pt_regs *regs)
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/cris/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ do_page_fault(unsigned long address, struct pt_regs *regs,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/frv/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ asmlinkage void do_page_fault(int datammu, unsigned long esr0, unsigned long ear
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/ia64/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *re
*/
if (fault & VM_FAULT_OOM) {
goto out_of_memory;
} else if (fault & VM_FAULT_SIGSEGV) {
goto bad_area;
} else if (fault & VM_FAULT_SIGBUS) {
signal = SIGBUS;
goto bad_area;
Expand Down
2 changes: 2 additions & 0 deletions arch/m32r/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/m68k/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ int do_page_fault(struct pt_regs *regs, unsigned long address,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto map_err;
else if (fault & VM_FAULT_SIGBUS)
goto bus_err;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/metag/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ int do_page_fault(struct pt_regs *regs, unsigned long address,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/microblaze/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ void do_page_fault(struct pt_regs *regs, unsigned long address,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/mips/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ static void __kprobes __do_page_fault(struct pt_regs *regs, unsigned long write,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/mn10300/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long fault_code,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/nios2/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long cause,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/openrisc/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long address,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/parisc/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ void do_page_fault(struct pt_regs *regs, unsigned long code,
*/
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto bad_area;
BUG();
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/mm/copro_fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ int copro_handle_mm_fault(struct mm_struct *mm, unsigned long ea,
if (*flt & VM_FAULT_OOM) {
ret = -ENOMEM;
goto out_unlock;
} else if (*flt & VM_FAULT_SIGBUS) {
} else if (*flt & (VM_FAULT_SIGBUS | VM_FAULT_SIGSEGV)) {
ret = -EFAULT;
goto out_unlock;
}
Expand Down
2 changes: 2 additions & 0 deletions arch/powerpc/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ int __kprobes do_page_fault(struct pt_regs *regs, unsigned long address,
*/
fault = handle_mm_fault(mm, vma, address, flags);
if (unlikely(fault & (VM_FAULT_RETRY|VM_FAULT_ERROR))) {
if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
rc = mm_fault_error(regs, address, fault);
if (rc >= MM_FAULT_RETURN)
goto bail;
Expand Down
6 changes: 6 additions & 0 deletions arch/s390/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,12 @@ static noinline void do_fault_error(struct pt_regs *regs, int fault)
do_no_context(regs);
else
pagefault_out_of_memory();
} else if (fault & VM_FAULT_SIGSEGV) {
/* Kernel mode? Handle exceptions or die */
if (!user_mode(regs))
do_no_context(regs);
else
do_sigsegv(regs, SEGV_MAPERR);
} else if (fault & VM_FAULT_SIGBUS) {
/* Kernel mode? Handle exceptions or die */
if (!user_mode(regs))
Expand Down
2 changes: 2 additions & 0 deletions arch/score/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long write,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/sh/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ mm_fault_error(struct pt_regs *regs, unsigned long error_code,
} else {
if (fault & VM_FAULT_SIGBUS)
do_sigbus(regs, error_code, address);
else if (fault & VM_FAULT_SIGSEGV)
bad_area(regs, error_code, address);
else
BUG();
}
Expand Down
2 changes: 2 additions & 0 deletions arch/sparc/mm/fault_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/sparc/mm/fault_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,8 @@ asmlinkage void __kprobes do_sparc64_fault(struct pt_regs *regs)
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/tile/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@ static int handle_page_fault(struct pt_regs *regs,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/um/kernel/trap.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ int handle_page_fault(unsigned long address, unsigned long ip,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM) {
goto out_of_memory;
} else if (fault & VM_FAULT_SIGSEGV) {
goto out;
} else if (fault & VM_FAULT_SIGBUS) {
err = -EACCES;
goto out;
Expand Down
2 changes: 2 additions & 0 deletions arch/x86/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,8 @@ mm_fault_error(struct pt_regs *regs, unsigned long error_code,
if (fault & (VM_FAULT_SIGBUS|VM_FAULT_HWPOISON|
VM_FAULT_HWPOISON_LARGE))
do_sigbus(regs, error_code, address, fault);
else if (fault & VM_FAULT_SIGSEGV)
bad_area_nosemaphore(regs, error_code, address);
else
BUG();
}
Expand Down
2 changes: 2 additions & 0 deletions arch/xtensa/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ void do_page_fault(struct pt_regs *regs)
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
Loading