- 07 Mar, 2012 1 commit
-
-
Rob Herring authored
Add a kconfig option NEED_MACH_IO_H to conditionally include mach/io.h. Basing this on CONFIG_PCI and CONFIG_ISA doesn't quite work. Most ISA platforms don't need mach/io.h, but ebsa110 does. Most PCI platforms need mach/io.h for now, but ks8695 doesn't which means i/o accesses are broken. Signed-off-by:
Rob Herring <rob.herring@calxeda.com> Cc: Russell King <linux@arm.linux.org.uk> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by:
Nicolas Pitre <nico@linaro.org>
-
- 21 Feb, 2012 1 commit
-
-
Rob Herring authored
Only 3 platforms need arch_ret_to_user macro, so add ARCH_HAS_RET_TO_USER kconfig option and make iop13xx, iop32x and iop33x select it. Signed-off-by:
Rob Herring <rob.herring@calxeda.com> Acked-by:
Nicolas Pitre <nico@linaro.org>
-
- 03 Feb, 2012 1 commit
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Following removal announce and addition to feature-removal-schedule.txt, here is the actual source code deletion for Atmel CAP9 family. Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by:
Nicolas Ferre <nicolas.ferre@atmel.com>
-
- 23 Jan, 2012 1 commit
-
-
Will Deacon authored
To ensure correct alignment of cacheline-aligned data, the maximum cacheline size needs to be known at compile time. Since Cortex-A8 and Cortex-A15 have 64-byte cachelines (and it is likely that there will be future ARMv7 implementations with the same line size) then it makes sense to assume that CPU_V7 implies a 64-byte L1 cacheline size. For CPUs with smaller caches, this will result in some harmless padding but will help with single zImage work and avoid hitting subtle bugs with misaligned data structures. Signed-off-by:
Will Deacon <will.deacon@arm.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- 19 Jan, 2012 1 commit
-
-
Russell King authored
This reverts commit edf3ff5b. This revert is necessary to revert the broken "RTC: sa1100: support sa1100, pxa and mmp soc families" change.
-
- 11 Jan, 2012 1 commit
-
-
David Daney authored
Randomization of PIE load address is hard coded in binfmt_elf.c for X86 and ARM. Create a new Kconfig variable (CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE) for this and use it instead. Thus architecture specific policy is pushed out of the generic binfmt_elf.c and into the architecture Kconfig files. X86 and ARM Kconfigs are modified to select the new variable so there is no change in behavior. A follow on patch will select it for MIPS too. Signed-off-by:
David Daney <david.daney@cavium.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Acked-by:
H. Peter Anvin <hpa@zytor.com> Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 05 Jan, 2012 1 commit
-
-
Hans J. Koch authored
The Telechips subarchitecture is being completely removed. Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Harry Sievers <hsievers@csselectronic.com> Signed-off-by:
Hans J. Koch <hjk@hansjkoch.de>
-
- 28 Dec, 2011 2 commits
-
-
Shawn Guo authored
This patch adds clk_prepare/clk_unprepare for mxs clock api by renaming the existing non-atomic clk_enable/clk_disable to clk_prepare/clk_unprepare and adding a pair of dummy clk_enable/clk_disable. Then with selecting HAVE_CLK_PREPARE for mxs clock, we can fix the mutex locking warning that has been reported for a few times. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org>
-
Jett.Zhou authored
Signed-off-by:
Jett.Zhou <jtzhou@marvell.com> Acked-by:
Haojian Zhuang <haojian.zhuang@gmail.com> Acked-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- 23 Dec, 2011 5 commits
-
-
Peter De Schrijver (NVIDIA) authored
Add default value for CONFIG_ARCH_NR_GPIO to Kconfig and remove the definition in gpio.h. We can't remove gpio.h yet as asm/gpio.h still includes it. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Peter De Schrijver (NVIDIA) authored
Add default value for CONFIG_ARCH_NR_GPIO to Kconfig and remove the definition in gpio.h. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Peter De Schrijver (NVIDIA) authored
Change ARCH_NR_GPIO into a Kconfig variable as suggested by Russel King. This makes ARCH_NR_GPIO single zImage friendly. The default value for tegra is defined as well. Signed-off-by:
Peter De Schrijver <pdeschrijver@nvidia.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Dave Martin authored
Activation conditions for a workaround should not be encoded in the workaround's direct dependencies if this makes otherwise reasonable configuration choices impossible. This patches uses the SMP/UP patching facilities instead to compile out the workaround if the configuration means that it is definitely not needed. This means that configs for buggy silicon can simply select ARM_ERRATA_751472, without preventing a UP kernel from being built or duplicatiing knowledge about when to activate the workaround. This seems the correct way to do things, because the erratum is a property of the silicon, irrespective of what the kernel config happens to be. Signed-off-by:
Dave Martin <dave.martin@linaro.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Dave Martin authored
Activation conditions for a workaround should not be encoded in the workaround's direct dependencies if this makes otherwise reasonable configuration choices impossible. The workaround for erratum 720789 only affects a code path which is not active in UP kernels; hence it should be safe to turn on in UP kernels, without penalty. This patch simply removes the extra dependency on SMP from Kconfig. This means that configs for buggy silicon can simply select ARM_ERRATA_720789, without preventing a UP kernel from being built or duplicatiing knowledge about when to activate the workaround. Signed-off-by:
Dave Martin <dave.martin@linaro.org> Acked-by:
Will Deacon <will.deacon@arm.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- 19 Dec, 2011 3 commits
-
-
Dave Martin authored
If running in the Normal World on a TrustZone-enabled SoC, Linux does not have complete control over the L2 cache controller configuration. The kernel cannot work reliably on such platforms without the l2x0 cache support code built in. This patch unconditionally enables l2x0 support for the Highbank SoC. Thanks to Rob Herring for this suggestion. [1] [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2011-November/074495.html Signed-off-by:
Dave Martin <dave.martin@linaro.org> Acked-by:
Rob Herring <rob.herring@calxeda.com>
-
Dave Martin authored
Making SMP depend on (huge list of MACH_ and ARCH_ configs) is bothersome to maintain and likely to lead to merge conflicts. This patch moves the knowledge of which platforms are SMP-capable to the individual machines. To enable this, a new HAVE_SMP config option is introduced to allow machines to indicate that they can run in a SMP configuration. Signed-off-by:
Dave Martin <dave.martin@linaro.org> Acked-by:
Linus Walleij <linus.walleij@linaro.org> (for nomadik, ux500) Acked-by:
Tony Lindgren <tony@atomide.com> (for omap) Acked-by:
Kukjin Kim <kgene.kim@samsung.com> (for exynos) Acked-by:
Sascha Hauer <s.hauer@pengutronix.de> (for imx) Acked-by:
Olof Johansson <olof@lixom.net> (for tegra)
-
Dave Martin authored
Making CACHE_L2X0 depend on (huge list of MACH_ and ARCH_ configs) is bothersome to maintain and likely to lead to merge conflicts. This patch moves the knowledge of which platforms have a L2x0 or PL310 cache controller to the individual machines. To enable this, a new MIGHT_HAVE_CACHE_L2X0 config option is introduced to allow machines to indicate that they may have such a cache controller independently of each other. Boards/SoCs which cannot reliably operate without the L2 cache controller support will need to select CACHE_L2X0 directly from their own Kconfigs instead. This applies to some TrustZone-enabled boards where Linux runs in the Normal World, for example. Signed-off-by:
Dave Martin <dave.martin@linaro.org> Acked-by:
Anton Vorontsov <cbouatmailru@gmail.com> (for cns3xxx) Acked-by:
Tony Lindgren <tony@atomide.com> (for omap) Acked-by:
Shawn Guo <shawn.guo@linaro.org> (for imx) Acked-by:
Kukjin Kim <kgene.kim@samsung.com> (for exynos) Acked-by:
Sascha Hauer <s.hauer@pengutronix.de> (for imx) Acked-by:
Olof Johansson <olof@lixom.net> (for tegra)
-
- 18 Dec, 2011 2 commits
-
-
Linus Walleij authored
Last merge window the memory maps for U300 were simplified so we can now safely delete memory.h. Acked-by:
Nicolas Pitre <nicolas.pitre@linaro.org> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
Jamie Iles authored
All irq_desc's are now dynamically allocated so we don't need to statically reserve them. v2: - select SPARSE_IRQ and set .nr_irqs to NR_IRQS_LEGACY to skip ISA and IRQ 0. Signed-off-by:
Jamie Iles <jamie@jamieiles.com>
-
- 13 Dec, 2011 2 commits
-
-
Linus Walleij authored
Some Integrator core modules have TCM memory, so let's turn it on if it's there. Signed-off-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Move the sizing of NR_BANKS to a Kconfig control instead of selecting it in a header file depending on platform selection. This allows new additions to its dependencies to be handled more gracefully. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- 12 Dec, 2011 1 commit
-
-
Will Deacon authored
Sending IPI_CPU_STOP to a CPU causes it to execute a busy cpu_relax loop forever. This makes it impossible to kexec successfully on an SMP system since the secondary CPUs do not reset. This patch adds a callback to platform_cpu_kill, defined when CONFIG_HOTPLUG_CPU=y, from the ipi_cpu_stop handling code. This function currently just returns 1 on all platforms that define it but allows them to do something more sophisticated in the future. Signed-off-by:
Will Deacon <will.deacon@arm.com>
-
- 08 Dec, 2011 1 commit
-
-
Catalin Marinas authored
This patch adds the ARM_LPAE and ARCH_PHYS_ADDR_T_64BIT Kconfig entries allowing LPAE support to be compiled into the kernel. Signed-off-by:
Catalin Marinas <catalin.marinas@arm.com>
-
- 06 Dec, 2011 1 commit
-
-
Nicolas Pitre authored
Commit 1b9f95f8 (ARM: prepare for removal of a bunch of <mach/memory.h> files) introduced CONFIG_PHYS_OFFSET but the Kconfig hex prompt did not provide a default value. This has the undesired side effect of breaking a reportedly used trick for updating defconfigs on the fly for routine buildtesting across all arch and all platforms, i.e. cp /path/to/somedefconfig .config ; yes "" | make oldconfig because the config system will endlessly loop until a valid address is provided. However we can't just pick a random default value since it is likely to be wrong for the majority of the boards as the right answer for this option is quite varied. So the fact that the config system insists on having a proper value be entered is actually a good thing. It turns out that only at91x40_defconfig has this problem because it has CONFIG_MMU=n. However, in the !MMU case, there is already a CONFIG_DRAM_BASE value that can be used here. So let's use that as a default in that case and suppress the redundant CONFIG_PHYS_OFFSET prompt. Eventually the DRAM_BASE config option could simply be replaced by PHYS_OFFSET directly, but that's a larger change better suited for later. Reported-by:
Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by:
Nicolas Pitre <nico@linaro.org> Acked-by:
Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- 28 Nov, 2011 1 commit
-
-
Michael S. Tsirkin authored
arm copied pci_iomap from generic code, probably to avoid pulling the rest of iomap.c in. Since that's in a separate file now, we can reuse the common implementation. Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
-
- 21 Nov, 2011 2 commits
-
-
Will Deacon authored
The Kconfig options for the PL310 errata workarounds do not use a consistent naming scheme for either the config option or the bool description. This patch tidies up the options by ensuring that the bool descriptions are prefixed with "PL310 errata:" and the config options are prefixed with PL310_ERRATA_, making it much clearer in menuconfig as to what the workarounds are for. Signed-off-by:
Will Deacon <will.deacon@arm.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Will Deacon authored
This patch implements a workaround for PL310 erratum 769419. On revisions of the PL310 prior to r3p2, the Store Buffer does not automatically drain. This can cause normal, non-cacheable writes to be retained when the memory system is idle, leading to suboptimal I/O performance for drivers using coherent DMA. This patch adds an optional wmb() call to the cpu_idle loop. On systems with an outer cache, this causes an explicit flush of the store buffer. Cc: stable@vger.kernel.org Acked-by:
Catalin Marinas <catalin.marinas@arm.com> Tested-by:
Marc Zyngier <marc.zyngier@arm.com> Signed-off-by:
Will Deacon <will.deacon@arm.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- 15 Nov, 2011 13 commits
-
-
Jamie Iles authored
Now that all platforms are converted to MULTI_IRQ_HANDLER, remove the legacy support. Tested-by:
Thomas Abraham <thomas.abraham@linaro.org> Signed-off-by:
Jamie Iles <jamie@jamieiles.com>
-
Jamie Iles authored
Now that there is a generic IRQ handler for multiple VIC devices use it for picoxcell to help building multi platform kernels. Signed-off-by:
Jamie Iles <jamie@jamieiles.com>
-
Jamie Iles authored
Now that there is a generic IRQ handler for multiple VIC devices use it for samsung to help building multi platform kernels. Cc: Kukjin Kim <kgene.kim@samsung.com> Tested-by:
Thomas Abraham <thomas.abraham@linaro.org> Signed-off-by:
Jamie Iles <jamie@jamieiles.com>
-
Jamie Iles authored
Now that there is a generic IRQ handler for multiple VIC devices use it for versatile to help building multi platform kernels. Cc: Russell King <linux@arm.linux.org.uk> Tested-by:
Marc Zyngier <marc.zyngier@arm.com> Signed-off-by:
Jamie Iles <jamie@jamieiles.com>
-
Jamie Iles authored
Now that there is a generic IRQ handler for multiple VIC devices use it for u300 to help building multi platform kernels. Acked-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Jamie Iles <jamie@jamieiles.com>
-
Jamie Iles authored
Now that there is a generic IRQ handler for multiple VIC devices use it for spear to help building multi platform kernels. Acked-by:
Viresh Kumar <viresh.kumar@st.com> Cc: Rajeev Kumar <rajeev-dlh.kumar@st.com> Signed-off-by:
Jamie Iles <jamie@jamieiles.com>
-
Jamie Iles authored
Now that there is a generic IRQ handler for multiple VIC devices use it for s3c64xx to help building multi platform kernels. Cc: Ben Dooks <ben-linux@fluff.org> Tested-by:
Thomas Abraham <thomas.abraham@linaro.org> Signed-off-by:
Jamie Iles <jamie@jamieiles.com>
-
Jamie Iles authored
Now that there is a generic IRQ handler for multiple VIC devices use it for nomadik to help building multi platform kernels. Cc: Alessandro Rubini <rubini@unipv.it> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Cc: STEricsson <STEricsson_nomadik_linux@list.st.com> Tested-by:
Thomas Abraham <thomas.abraham@linaro.org> Signed-off-by:
Jamie Iles <jamie@jamieiles.com>
-
Jamie Iles authored
Now that there is a generic IRQ handler for multiple VIC devices use it for netx to help building multi platform kernels. Signed-off-by:
Jamie Iles <jamie@jamieiles.com>
-
Jamie Iles authored
Now that there is a generic IRQ handler for multiple VIC devices use it for ep93xx to help building multi platform kernels. Cc: Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ryan Mallon <rmallon@gmail.com> Signed-off-by:
Jamie Iles <jamie@jamieiles.com>
-
Marc Zyngier authored
Now that MULTI_IRQ_HANDLER is selected by all the in-tree GIC users, make it mandatory and remove the unused macros. Signed-off-by:
Marc Zyngier <marc.zyngier@arm.com>
-
Marc Zyngier authored
Convert the zynq platform to be using the gic_handle_irq function as its primary interrupt handler. Acked-by:
John Linn <john.linn@xilinx.com> Signed-off-by:
Marc Zyngier <marc.zyngier@arm.com>
-
Marc Zyngier authored
Convert the cns3xxx platform to be using the gic_handle_irq function as its primary interrupt handler. Acked-by:
Anton Vorontsov <cbouatmailru@gmail.com> Signed-off-by:
Marc Zyngier <marc.zyngier@arm.com>
-