summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2014-08-18x86, vdso: fix vdso2c's special_pages error checkingAndy Lutomirski
Stephen Rothwell's compiler did something amazing: it unrolled a loop, discovered that one iteration of that loop contained an always-true test, and emitted a warning that will IMO only serve to convince people to disable the warning. That bogus warning caused me to wonder what prompted such an absurdity from his compiler, and I discovered that the code in question was, in fact, completely wrong -- I was looking things up in the wrong array. This affects 3.16 as well, but the only effect is to screw up the error checking a bit. vdso2c's output is unaffected. Signed-off-by: Andy Lutomirski <luto@amacapital.net> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2014-08-18Merge branch 'akpm-current/current'Stephen Rothwell
2014-08-18Merge remote-tracking branch 'llvmlinux/for-next'Stephen Rothwell
2014-08-18Merge remote-tracking branch 'tip/auto-latest'Stephen Rothwell
Conflicts: arch/x86/kernel/cpu/perf_event_intel_uncore.c kernel/trace/trace.c
2014-08-18Merge remote-tracking branch 'audit/master'Stephen Rothwell
Conflicts: arch/mips/include/asm/syscall.h arch/mips/kernel/ptrace.c arch/powerpc/Kconfig arch/x86/Kconfig kernel/audit.c
2014-08-18Merge remote-tracking branch 'kbuild/for-next'Stephen Rothwell
2014-08-18Merge remote-tracking branch 'vfs/for-next'Stephen Rothwell
2014-08-18Merge remote-tracking branch 'uml/next'Stephen Rothwell
Conflicts: arch/um/include/asm/Kbuild
2014-08-18Merge remote-tracking branch 'tile/master'Stephen Rothwell
2014-08-18Merge remote-tracking branch 's390/features'Stephen Rothwell
2014-08-18Merge remote-tracking branch 'microblaze/next'Stephen Rothwell
2014-08-18Merge remote-tracking branch 'blackfin/for-linus'Stephen Rothwell
2014-08-18Merge remote-tracking branch 'samsung/for-next'Stephen Rothwell
2014-08-18Merge remote-tracking branch 'renesas/next'Stephen Rothwell
2014-08-18Merge remote-tracking branch 'imx-mxs/for-next'Stephen Rothwell
2014-08-18Merge remote-tracking branch 'arm-soc/for-next'Stephen Rothwell
2014-08-18Merge remote-tracking branch 'mips-fixes/mips-fixes'Stephen Rothwell
2014-08-17handle suicide on late failure exits in execve() in search_binary_handler()Al Viro
... rather than doing that in the guts of ->load_binary(). [updated to fix the bug spotted by Shentino - for SIGSEGV we really need something stronger than send_sig_info(); again, better do that in one place] Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2014-08-17Merge branches 'heads/cleanup-for-v3.18', 'heads/defconfig-for-v3.18', ↵Simon Horman
'heads/dt-for-v3.18', 'heads/maintainers-for-v3.18' and 'heads/soc-for-v3.18' into next
2014-08-17ARM: shmobile: sh73a0: Remove unneeded nr_irqs initializationGeert Uytterhoeven
As per arch_probe_nr_irqs(), the default value is NR_IRQS, which maps to NR_IRQS_LEGACY if CONFIG_SPARSE_IRQ=y. Since SPARSE_IRQ is selected by both ARCH_MULTIPLATFORM and ARCH_SHMOBILE_LEGACY, it's always enabled on shmobile. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: kzm9g-reference: Remove unneeded nr_irqs initializationGeert Uytterhoeven
As per arch_probe_nr_irqs(), the default value is NR_IRQS, which maps to NR_IRQS_LEGACY if CONFIG_SPARSE_IRQ=y. Since SPARSE_IRQ is selected by both ARCH_MULTIPLATFORM and ARCH_SHMOBILE_LEGACY, it's always enabled on shmobile. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: kzm9g: Remove unneeded nr_irqs initializationGeert Uytterhoeven
As per arch_probe_nr_irqs(), the default value is NR_IRQS, which maps to NR_IRQS_LEGACY if CONFIG_SPARSE_IRQ=y. Since SPARSE_IRQ is selected by both ARCH_MULTIPLATFORM and ARCH_SHMOBILE_LEGACY, it's always enabled on shmobile. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: sh7372: Remove unneeded nr_irqs initializationGeert Uytterhoeven
As per arch_probe_nr_irqs(), the default value is NR_IRQS, which maps to NR_IRQS_LEGACY if CONFIG_SPARSE_IRQ=y. Since SPARSE_IRQ is selected by both ARCH_MULTIPLATFORM and ARCH_SHMOBILE_LEGACY, it's always enabled on shmobile. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: marzen: Remove NR_IRQS_LEGACYMagnus Damm
Remove NR_IRQS_LEGACY from the Marzen Reference code. The Marzen Reference machine vector requires use of Multiplatform, and in such case SPARSE_IRQ is enabled by default. This in turns means that the default value of .nr_irqs equals NR_IRQS and NR_IRQS_LEGACY. Because of this we can simply remove NR_IRQS_LEGACY and move one step closer to a cruft-free environment. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r8a7779: Remove NR_IRQS_LEGACYMagnus Damm
Remove NR_IRQS_LEGACY from the r8a7779 generic machine vector. The generic r8a7779 machine vector requires use of Multiplatform, and in such case SPARSE_IRQ is enabled by default. This in turns means that the default value of .nr_irqs equals NR_IRQS and NR_IRQS_LEGACY. Because of this we can simply remove NR_IRQS_LEGACY and move one step closer to a cruft-free environment. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: dma: Use defines instead of hardcoded numbersGeert Uytterhoeven
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: Rework multiplatform include workaroundMagnus Damm
Now when the majority of the include files have moved from arch/arm/mach-shmobile/include/mach/ to arch/arm/mach-shmobile/ remove the header include file workaround in the Makefile... ... and add another workaround in irqs.h to cope with the fact that <mach/irqs.h> needs to be where it is until the PFC code has been updated to remove legacy non-DT interfaces. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: ape6evm: Use shmobile_init_delay()Magnus Damm
The r8a73a4 DTS includes CPU Frequency information so adjust the APE6EVM board code to use shmobile_init_delay() instead of relying on CPU Frequency information included in r8a73a4_init_delay() that is specified in C. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r7s72100: Add shmobile_init_late()Magnus Damm
Extend r7s72100 SoC machine vector to include shmobile_init_late() so Suspend-to-RAM and CPUIdle are setup as expected. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: ape6evm: Add shmobile_init_late()Magnus Damm
Extend board specific APE6EVM reference machine vectors to include shmobile_init_late() so Suspend-to-RAM and CPUIdle are setup as expected. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r8a73a4: Add shmobile_init_late()Magnus Damm
Extend r8a73a4 SoC machine vector to include shmobile_init_late() so Suspend-to-RAM and CPUIdle are setup as expected. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: bockw: Add shmobile_init_late()Magnus Damm
Extend board specific Bock-W DT reference machine vector to include shmobile_init_late() so Suspend-to-RAM and CPUIdle are setup as expected. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r8a7778: Fix shmobile_init_late()Magnus Damm
Fix r8a7778 SoC machine vector to include shmobile_init_late() so Suspend-to-RAM and CPUIdle are setup and platform devices are omitted as expected. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: marzen: Add shmobile_init_late()Magnus Damm
Extend board specific Marzen DT reference machine vector to include shmobile_init_late() so Suspend-to-RAM and CPUIdle are setup as expected. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r8a7779: Fix shmobile_init_late()Magnus Damm
Fix r8a7779 SoC machine vector to include shmobile_init_late() so Suspend-to-RAM and CPUIdle are setup and platform devices are omitted as expected. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: kzm9g: Add shmobile_init_late()Magnus Damm
Extend board specific KZM9D DT reference machine vector to include shmobile_init_late() so Suspend-to-RAM and CPUIdle are setup as expected. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: sh73a0: Add shmobile_init_late()Magnus Damm
Extend sh73a0 SoC machine vector to include shmobile_init_late() so Suspend-to-RAM and CPUIdle are setup as expected. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r7s72100: Remove legacy board supportLaurent Pinchart
There's no legacy board anymore, genmai now boots with multiplatform support only. Remove the leftovers. Makefile.boot portion pointed out by Paul Bolle. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Wolfram Sang <wsa@sang-engineering.com> Cc: Paul Bolle <pebolle@tiscali.nl> [horms+renesas@verge.net.au: squashed in patch containing Makefile.boot change] Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r7s72100: genmai: Remove legacy board fileLaurent Pinchart
The genmai board now boots using DT and multiplatform kernel with the same feature set as the legacy board. Remove the legacy board file and the board Kconfig option. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Wolfram Sang <wsa@sang-engineering.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r7s72100: genmai: Remove reference board fileLaurent Pinchart
The genmai board now boots using the generic R7S72100 DT machine with the same feature set as the board file. Remove the board file. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Wolfram Sang <wsa@sang-engineering.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: lager: add VIN1/ADV7180 device nodesBen Dooks
Add the Lager board specific device node part for VIN1 (composite video in); add the device node for Analog Devices ADV7180 video decoder to IIC2 bus. Add the necessary subnodes to interconnect VIN1 and ADV7180 devices. Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> [Sergei: rebased, edited changelog and summary] Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r8a7790: add VIN device nodesBen Dooks
Add device nodes for the four video input controllers on the R8A7790. Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> [Sergei: renamed VIN device nodes, edited changelog] Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r8a7790 dtsi: Enable DMA for MSIOFGeert Uytterhoeven
Add register sets used for access by the DMA engine, and DMA properties to the MSIOF nodes. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r8a7790 dtsi: Enable DMA for QSPIGeert Uytterhoeven
Add a DMA property to the QSPI node Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r8a7791 dtsi: Enable DMA for MSIOFGeert Uytterhoeven
Add register sets used for access by the DMA engine, and DMA properties to the MSIOF nodes. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r8a7791 dtsi: Enable DMA for QSPIGeert Uytterhoeven
Add a DMA property to the QSPI node Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r8a7791: Add DMAC devices to DTLaurent Pinchart
Instantiate the two system DMA controllers in the r8a7791 device tree. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r8a7790: Add DMAC devices to DTLaurent Pinchart
Instantiate the two system DMA controllers in the r8a7790 device tree. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: r8a7790: Add DMAC clocks to DTLaurent Pinchart
Add the SYS-DMAC0 and SYS-DMAC1 clocks to the MSTP2 clock node. They will be used by the upcoming DMAC DT nodes. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2014-08-17ARM: shmobile: koelsch: add VIN1/ADV7180 DT supportsergei.shtylyov@cogentembedded.com
Define the Koelsch board dependent part of the VIN1 device node. Add the device node for Analog Devices ADV7180 video decoder to I2C2 bus. Add the necessary subnodes to interconnect VIN1 and ADV7180 devices. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>