- Oct 02, 2014
-
-
Masahiro Yamada authored
Clearing obj-y, obj-m, obj-n, obj- in each Makefile is a useless habit. They are non-exported variables; therefore they are always empty whenever descending into each subdirectory. (Moreorver, obj-y and obj-m are also set to empty at the beginning of scripts/Makefile.build) Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by:
Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by:
Peter Foley <pefoley2@pefoley.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Michal Marek <mmarek@suse.cz>
-
- Jul 29, 2014
-
-
Uwe Kleine-König authored
The platforms selecting NEED_MACH_MEMORY_H defined the start address of their physical memory in the respective <mach/memory.h>. With ARM_PATCH_PHYS_VIRT=y (which is quite common today) this is useless though because the definition isn't used but determined dynamically. So remove the definitions from all <mach/memory.h> and provide the Kconfig symbol PHYS_OFFSET with the respective defaults in case ARM_PATCH_PHYS_VIRT isn't enabled. This allows to drop the dependency of PHYS_OFFSET on !NEED_MACH_MEMORY_H which prevents compiling an integrator nommu-kernel. (CONFIG_PAGE_OFFSET which has "default PHYS_OFFSET if !MMU" expanded to "0x" because CONFIG_PHYS_OFFSET doesn't exist as INTEGRATOR selects NEED_MACH_MEMORY_H.) Signed-off-by:
Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Mar 12, 2014
-
-
Michael Opdenacker authored
This patch removes the use of the IRQF_DISABLED flag from miscellaneous code in mach-xxx and plat-xxx This flag is a NOOP since 2.6.35 and it will be removed one day. Signed-off-by:
Michael Opdenacker <michael.opdenacker@free-electrons.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Acked-by:
Greg Ungerer <gerg@uclinux.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Dec 20, 2013
-
-
Uwe Kleine-König authored
While <mach/timex.h> isn't used for multi-platform builds since long it still is for "normal" builds. As the previous patches fix all sites to not make use of this per-platform file, it can go now for good also for platforms that are not (yet) converted to multi-platform. While at it there are no users of CLOCK_TICK_RATE any more, so also drop the dummy #define. Signed-off-by:
Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
-
- Aug 25, 2013
-
-
Russell King authored
Now that the 8250 debug include can stand alone without requiring platforms to provide any macros, move it into the debug directory so it can be directly included. This allows us to get rid of a lot of debug-macros include files. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Move the definition of the UART register addresses out of the platform specific header file into the Kconfig files. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Move the definition of the UART register shift out of the platform specific header file into the Kconfig files. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Move the definition out of the machine class debug-macro.S header into the Kconfig files. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Jul 09, 2013
-
-
Robin Holt authored
Preparing to move the parsing of reboot= to generic kernel code forces the change in reboot_mode handling to use the enum. [akpm@linux-foundation.org: fix arch/arm/mach-socfpga/socfpga.c] Signed-off-by:
Robin Holt <holt@sgi.com> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Russ Anderson <rja@sgi.com> Cc: Robin Holt <holt@sgi.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Robin Holt authored
These restart_mode fields are not used at all. Remove them to make moving the reboot= cmdline options to the general kernel easier. Signed-off-by:
Robin Holt <holt@sgi.com> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Russ Anderson <rja@sgi.com> Cc: Robin Holt <holt@sgi.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- May 22, 2013
-
-
Laura Abbott authored
Several of the ioremap functions use unsigned long in places resulting in truncation if physical addresses greater than 4G are passed in. Change the types of the functions and the callers accordingly. Cc: Krzysztof Halasa <khc@pm.waw.pl> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by:
Laura Abbott <lauraa@codeaurora.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Jan 11, 2013
-
-
Shawn Guo authored
With ARCH_HAS_DECOMP_WDOG removed from arch/arm/boot/compressed/decompress.c, all the arch_decomp_wdog() definition at platform level is unneeded. Remmove it. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org> Acked-by:
Nicolas Pitre <nico@linaro.org> Acked-by:
Jason Cooper <jason@lakedaemon.net>
-
- Dec 24, 2012
-
-
Stephen Warren authored
Now that the only field in struct sys_timer is .init, delete the struct, and replace the machine descriptor .timer field with the initialization function itself. This will enable moving timer drivers into drivers/clocksource without having to place a public prototype of each struct sys_timer object into include/linux; the intent is to create a single of_clocksource_init() function that determines which timer driver to initialize by scanning the device dtree, much like the proposed irqchip_init() at: http://www.spinics.net/lists/arm-kernel/msg203686.html Includes mach-omap2 fixes from Igor Grinberg. Tested-by:
Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Stephen Warren authored
remove ARM's struct sys_timer .offset function pointer, and instead directly set the arch_gettimeoffset function pointer when the timer driver is initialized. This requires multiplying all function results by 1000, since the removed arm_gettimeoffset() did this. Also, s/unsigned long/u32/ just to make the function prototypes exactly match that of arch_gettimeoffset. Cc: Russell King <linux@arm.linux.org.uk> Cc: Andrew Victor <linux@maxim.org.za> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Cc: Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ryan Mallon <rmallon@gmail.com> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
- Sep 18, 2012
-
-
Arnd Bergmann authored
ARM is moving to stricter checks on readl/write functions, so we need to use the correct types everywhere. Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- Aug 01, 2012
-
-
Bryan Wu authored
Signed-off-by:
Bryan Wu <bryan.wu@canonical.com>
-
- Mar 28, 2012
-
-
David Howells authored
Disintegrate asm/system.h for ARM. Signed-off-by:
David Howells <dhowells@redhat.com> cc: Russell King <linux@arm.linux.org.uk> cc: linux-arm-kernel@lists.infradead.org
-
- Mar 07, 2012
-
-
Rob Herring authored
Convert ebsa110 platforms to use run-time ioremap hook instead of the compile time hook. Signed-off-by:
Rob Herring <rob.herring@calxeda.com> Cc: Russell King <linux@arm.linux.org.uk>
-
- Feb 21, 2012
-
-
Rob Herring authored
Now that most platforms don't need disable_fiq and arch_ret_to_user macros, we can remove the empty macros or empty entry-macro.S files. Signed-off-by:
Rob Herring <rob.herring@calxeda.com> Acked-by:
Jamie Iles <jamie@jamieiles.com> Acked-by:
Nicolas Pitre <nico@linaro.org> Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Acked-by:
Ryan Mallon <rmallon@gmail.com> Acked-by:
Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by:
Shawn Guo <shawn.guo@linaro.org>
-
- Feb 02, 2012
-
-
Russell King authored
Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Stop exposing platform definitions to the entire kernel tree, move them into a private header file instead. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Jan 21, 2012
-
-
Nicolas Pitre authored
When this is the only content remaining in mach/system.h then the whole file is removed. Signed-off-by:
Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-and-tested-by:
Jamie Iles <jamie@jamieiles.com> Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
David Brown <davidb@codeaurora.org> Acked-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org>
-
- Jan 20, 2012
-
-
Nicolas Pitre authored
... and hook it to arm_pm_idle. Signed-off-by:
Nicolas Pitre <nicolas.pitre@linaro.org>
-
- Jan 05, 2012
-
-
Russell King authored
Remove the now empty arch_reset() from all the mach/system.h includes, and remove its callsite. Remove arm_machine_restart() as this function no longer does anything useful. For samsung platforms, remove the include of mach/system-reset.h and plat/system-reset.h from their respective mach/system.h headers as these just define their arch_reset functions. As a result, the s3c2410 and plat-samsung system-reset.h files are no longer referenced, so remove these files entirely. Acked-by:
Nicolas Pitre <nico@linaro.org> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by:
Jamie Iles <jamie@jamieiles.com> Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Hook the EBSA110 platform restart code into the new restart hook rather than using arch_reset(). Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 27, 2011
-
-
Nicolas Pitre authored
Signed-off-by:
Nicolas Pitre <nicolas.pitre@linaro.org>
-
- Nov 21, 2011
-
-
Russell King authored
We only need to set the system up for a soft-restart if we're going to be doing a soft-restart. Provide a new function (soft_restart()) which does the setup and final call for this, and make platforms use it. Eliminate the call to setup_restart() from the default handler. This means that platforms arch_reset() function is no longer called with the page tables prepared for a soft-restart, and caches will still be enabled. Acked-by:
Nicolas Pitre <nico@linaro.org> Acked-by:
Will Deacon <will.deacon@arm.com> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by:
Kukjin Kim <kgene.kim@samsung.com> Acked-by:
Sascha Hauer <s.hauer@pengutronix.de> Acked-by:
Viresh Kumar <viresh.kumar@st.com> Acked-by:
Krzysztof Ha■asa <khc@pm.waw.pl> Acked-by:
Paul Mundt <lethal@linux-sh.org> Acked-by:
Richard Purdie <richard.purdie@linuxfoundation.org> Acked-by:
Wan ZongShun <mcuos.com@gmail.com> Acked-by:
Eric Miao <eric.y.miao@gmail.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 10, 2011
-
-
Russell King authored
Change 'soft_reboot' into a more generic 'restart_mode' variable, allowing the default restart mode to be specified. Acked-by:
Nicolas Pitre <nico@linaro.org> Acked-by:
Will Deacon <will.deacon@arm.com> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Oct 17, 2011
-
-
Sascha Hauer authored
Boards used to specify zreladdr in their Makefile.boot with zreladdr-y := x, so conflicting zreladdrs were silently overwritten. This patch changes this to zreladdr-y += x, so that we end up with multiple words in zreladdr in such a case. We can detect this later and complain if necessary. Signed-off-by:
Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Sep 26, 2011
-
-
Nicolas Pitre authored
Some platforms (like OMAP not to name it) are doing rather complicated hacks just to determine the base UART address to use. Let's give their addruart macro some slack by providing an extra work register which will allow for much needed cleanups. This is basically a no-op as this commit is only adding the extra argument to the macro but no one is using it yet. Signed-off-by:
nicolas Pitre <nicolas.pitre@linaro.org> Reviewed-by:
Kevin Hilman <khilman@ti.com>
-
- Aug 21, 2011
-
-
Nicolas Pitre authored
Signed-off-by:
Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
- Aug 17, 2011
-
-
Russell King authored
Remove IO_SPACE_LIMIT definitions from platforms which have a well defined ISA or PCI, and has a 64K window. EBSA110 - well defined set of ISA devices. Footbridge, Integrator, IXP4xx, VT8500 - PCI platforms. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Mar 29, 2011
-
-
Thomas Gleixner authored
Use irq_set_chip_and_handler() instead. Converted with coccinelle. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Convert to the new function names. Automated with coccinelle. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
- Feb 17, 2011
-
-
Russell King authored
This uncouple PHYS_OFFSET from the platform definitions, thereby facilitating run-time computation of the physical memory offset. Acked-by:
Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by:
Viresh Kumar <viresh.kumar@st.com> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by:
Magnus Damm <damm@opensource.se> Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by:
Wan ZongShun <mcuos.com@gmail.com> Acked-by:
Kukjin Kim <kgene.kim@samsung.com> Acked-by:
Eric Miao <eric.y.miao@gmail.com> Acked-by:
Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Jan 13, 2011
-
-
Lennert Buytenhek authored
Signed-off-by:
Lennert Buytenhek <buytenh@secretlab.ca> Acked-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 21, 2010
-
-
Anand Gadiyar authored
Commit 7c63984b (ARM: do not define VMALLOC_END relative to PAGE_OFFSET) changed VMALLOC_END to be an explicit value. Before this, it was relative to PAGE_OFFSET and therefore converted to unsigned long as PAGE_OFFSET is an unsigned long. This introduced the following build warning. Fix this by changing the explicit defines of VMALLOC_END to be unsigned long. CC arch/arm/mm/init.o arch/arm/mm/init.c: In function 'mem_init': arch/arm/mm/init.c:606: warning: format '%08lx' expects type 'long unsigned int', but argument 12 has type 'unsigned int' Signed-off-by:
Anand Gadiyar <gadiyar@ti.com> Acked-by:
Uwe Kleine-K <u.kleine-koenig@pengutronix.dee> Acked-by:
Nicolas Pitre <nicolas.pitre@linaro.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Oct 20, 2010
-
-
Nicolas Pitre authored
Since we're now using addruart to establish the debug mapping, we can remove the io_pg_offst and phys_io members of struct machine_desc. The various declarations were removed using the following script: grep -rl MACHINE_START arch/arm | xargs \ sed -i '/MACHINE_START/,/MACHINE_END/ { /\.\(phys_io\|io_pg_offst\)/d }' [ Initial patch was from Jeremy Kerr, example script from Russell King ] Signed-off-by:
Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Eric Miao <eric.miao at canonical.com>
-
Jeremy Kerr authored
Rather than checking the MMU status in every instance of addruart, do it once in kernel/debug.S, and change the existing addruart macros to return both physical and virtual addresses. The main debug code can then select the appropriate address to use. This will also allow us to retreive the address of a uart for the MMU state that we're not current in. Updated with fixes for OMAP from Jason Wang <jason77.wang@gmail.com> and Tony Lindgren <tony@atomide.com>, and fix for versatile express from Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>. Signed-off-by:
Jeremy Kerr <jeremy.kerr@canonical.com> Signed-off-by:
Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by:
Jason Wang <jason77.wang@gmail.com> Signed-off-by:
Tony Lindgren <tony@atomide.com> Tested-by:
Kevin Hilman <khilman@deeprootsystems.com>
-
- Oct 02, 2010
-
-
Nicolas Pitre authored
VMALLOC_END is supposed to be an absolute value, while PAGE_OFFSET may vary depending on the selected user:kernel memory split mode through CONFIG_VMSPLIT_*. In fact, the goal of moving PAGE_OFFSET down is to accommodate more directly addressed RAM by the kernel below the vmalloc area, and having VMALLOC_END move along PAGE_OFFSET is rather against the very reason why PAGE_OFFSET can be moved in the first place. Signed-off-by:
Nicolas Pitre <nicolas.pitre@linaro.org>
-