- Dec 22, 2010
-
-
Russell King authored
The MMU is always configured to read page tables from the L2 cache so there's little point flushing them out of the L2 cache back to RAM. Remove these flushes. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
This switches the ordering of the Linux vs hardware page tables in each page, thereby eliminating some of the arithmetic in the page table walks. As we now place the Linux page table at the beginning of the page, we can deal with the offset in the pgt by simply masking it away, along with the other control bits. This also makes the arithmetic all be positive, rather than a mixture. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 26, 2010
-
-
Russell King authored
This makes everywhere dealing with pte values use the same type. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Ensure that physical addresses are typed as phys_addr_t Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Remove knowledge of the 2-level wrapping in pgd_free(), and use the pXd_none_or_clear_bad() macros when checking the entries. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
These old names are just aliases for pgd_alloc/pgd_free. Just use the new names. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Rather than passing the pte value to __pte_error, pass the raw pte_t cookie instead. Do the same for pmd and pgd functions. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Rather than scattering them throughout the file, group them together. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 21, 2010
-
-
Russell King authored
Allow the compiler to better optimize the page table walking code by avoiding over-complex pmd_addr_end() calculations. These calculations prevent the compiler spotting that we'll never iterate over the PMD table, causing it to create double nested loops where a single loop will do. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 15, 2010
-
-
Kuninori Morimoto authored
Tested-by:
Tony SIM <chinyeow.sim.xt@renesas.com> Tested-by:
TAKEI Mitsuharu <takei.andr@gmail.com> Signed-off-by:
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- Nov 13, 2010
-
-
Kukjin Kim authored
This patch fixes followng build warnings. warning: (ARCH_S5P64X0 && <choice> || ARCH_S5PC100 && <choice> || ARCH_S5PV210 && <choice> || ARCH_S5PV310 && <choice>) selects HAVE_S3C_RTC which has unmet direct dependencies (RTC_CLASS) Signed-off-by:
Kukjin Kim <kgene.kim@samsung.com>
-
Kukjin Kim authored
This patch fixes following warnings. warning: (ARCH_S3C2410 && <choice> || ARCH_S3C64XX && <choice> || ARCH_S5P64X0 && <choice> || ARCH_S5PC100 && <choice> || ARCH_S5PV210 && <choice> || ARCH_S5PV310 && <choice>) selects HAVE_S3C2410_I2C which has unmet direct dependencies (I2C) Signed-off-by:
Kukjin Kim <kgene.kim@samsung.com>
-
Kyungmin Park authored
Fix build warnings warning: (ARCH_S3C64XX && <choice> && WATCHDOG || ARCH_S5P64X0 && <choice> && WATCHDOG || ARCH_S5P6442 && <choice> && WATCHDOG || ARCH_S5PC100 && <choice> || ARCH_S5PV210 && <choice> || ARCH_S5PV310 && <choice> || MACH_SMDK6410 && ARCH_S3C64XX) selects HAVE_S3C2410_WATCHDOG which has unmet direct dependencies (WATCHDOG) Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> [kgene.kim@samsung.com: Added fix same warning(mach-s3c64xx/Kconfig)] Signed-off-by:
Kukjin Kim <kgene.kim@samsung.com>
-
- Nov 12, 2010
-
-
Russell King authored
Software generated interrupts (SGI) are used for IPIs by the kernel. While previous revisions of the GIC hardware were specified not to implement enable bits for SGIs, more recent hardware is now permitted to implement these bits in a per-CPU banked register. The priority registers for the PPI and SGIs are also per-CPU banked registers, so ensure that these are also appropriately initialized. Reported-by:
Scott Valentine <svalentine@concentris-systems.com> Acked-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org> Acked-by:
Catalin Marinas <catalin.marinas@arm.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 10, 2010
-
-
Felipe Contreras authored
Also, don't be picky about the location, which incidentally fixes the build since MEMBLOCK_REAL_LIMIT is gone on 2.6.37. arch/arm/plat-omap/devices.c: In function 'omap_dsp_reserve_sdram_memblock': arch/arm/plat-omap/devices.c:287: error: 'MEMBLOCK_REAL_LIMIT' undeclared (first use in this function) Signed-off-by:
Felipe Contreras <felipe.contreras@gmail.com> Acked-by:
Tony Lindgren <tony@atomide.com> Signed-off-by:
Omar Ramirez Luna <omar.ramirez@ti.com>
-
Will Deacon authored
In commit bde28b84, I made the assumption that CONFIG_SMP is always set for the quad-core ct-ca9x4 platform. As it turns out, people who aren't using the SMP goodness are confronted with a build failure. This patch fixes this issue by ensure that twd_base is only set if local timers are being used (and therefore SMP support is configured). Reported-by:
Nicolas Pitre <nicolas.pitre@linaro.org> Signed-off-by:
Will Deacon <will.deacon@arm.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 09, 2010
-
-
Felipe Balbi authored
Get rid of the following warning: arch/arm/mach-omap1/devices.c: In function 'omap_init_wdt': arch/arm/mach-omap1/devices.c:298: warning: 'return' with no value, in function returning non-void while at that, also change: platform_device_register(); return 0; into: return platform_device_register(); Signed-off-by:
Felipe Balbi <balbi@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- Nov 08, 2010
-
-
Yusuke Goda authored
This makes the loader and bootenv partitions read-only under MTD for the on-board NOR flash. Signed-off-by:
Yusuke Goda <yusuke.goda.sx@renesas.com> Signed-off-by:
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Tony SIM authored
Signed-off-by:
Tony SIM <chinyeow.sim.xt@renesas.com> Signed-off-by:
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- Nov 07, 2010
-
-
Joe Perches authored
Signed-off-by:
Joe Perches <joe@perches.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Joe Perches authored
Message isn't printed by WARN_ON. Signed-off-by:
Joe Perches <joe@perches.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Ryan Mallon authored
Add kernel-doc documentation for the EP93xx DMA memory to peripheral/peripheral to memory API. Signed-off-by:
Ryan Mallon <ryan@bluewatersys.com> Acked-by:
Mika Westerberg <mika.westerberg@iki.fi> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Will Deacon authored
The old apcs-gnu ABI doesn't guarantee that double words are allocated to registers with even alignment, causing the 64-bit exclusive memory operations to be rejected by the assembler. This patch requires that CONFIG_AEABI is set in order to use the native atomic operations and falls back to the generic (spinlock) code otherwise. Acked-by:
Nicolas Pitre <nicolas.pitre@linaro.org> Signed-off-by:
Will Deacon <will.deacon@arm.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Will Deacon authored
armv7_pmnc_counter_has_overflowed can return uninitialised data if an invalid counter is specified. This patch fixes the code to return 0 in this case, which squashes the compiler warning from GCC 4.5. Signed-off-by:
Will Deacon <will.deacon@arm.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Will Deacon authored
When unwinding stack frames we must take care not to unwind areas of memory that lie outside of the known extent of the stack. This patch fixes an incorrect calculation of the stack base where THREAD_SIZE is added to the stack pointer after it has already been aligned to this value. Since the ALIGN macro performs this addition internally, we end up overshooting the base by 8k. Acked-by:
Catalin Marinas <catalin.marinas@arm.com> Signed-off-by:
Will Deacon <will.deacon@arm.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
An out by one bug meant that the DMA coherent allocator was aligning to one more bit than it should, causing it to run out of available memory quicker. Fix this. Reported-by:
Petr Štetiar <ynezz@true.cz> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 05, 2010
-
-
Janusz Krzysztofik authored
#include <media/omap1_camera.h> directive is required to compile the dependant boards (board-ams-delta for now). Signed-off-by:
Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> [tony@atomide.com: updated comments] Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Mathias Nyman authored
Flush the writes to IRQSTATUS_L0 register in the DMA interrupt handler by reading the register directly after write. This prevents the spurious DMA interrupts noted when using VDD_OPP 1 Signed-off-by:
Mathias Nyman <mathias.nyman@nokia.com> Acked-by:
Santosh Shilimkar <Santosh.shilimkar@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Thomas Weber authored
This patch fixes the following error: >regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby >twl_reg twl_reg.6: can't register VMMC1, -22 >twl_reg: probe of twl_reg.6 failed with error -22 Signed-off-by:
Thomas Weber <weber@corscience.de> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Mike Rapoport authored
Wrong MPP configuration would cause <cpu>_mpp_conf loop infinitely because the mpp list iterator would not be incremented. Signed-off-by:
Mike Rapoport <mike@compulab.co.il> Signed-off-by:
Nicolas Pitre <nico@fluxnic.net>
-
Michael Spang authored
The type was IORESOURCE_IO which is not what is expected by plat_nand_probe(). This device has not worked since 2d098a72 ("mtd: plat_nand: request memory resource before doing ioremap"). Signed-off-by:
Michael Spang <mspang@csclub.uwaterloo.ca> Signed-off-by:
Nicolas Pitre <nico@fluxnic.net>
-
- Nov 04, 2010
-
-
Paul Mundt authored
As non-PFC chips are added that may support IRQs, pass through to the generic helper. This follows the the SH change. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- Nov 03, 2010
-
-
Eric Miao authored
Signed-off-by:
Eric Miao <eric.y.miao@gmail.com> Cc: Haojian Zhuang <haojian.zhuang@marvell.com>
-
Mike Rapoport authored
Signed-off-by:
Mike Rapoport <mike@compulab.co.il> Signed-off-by:
Eric Miao <eric.y.miao@gmail.com>
-
Eric Miao authored
Signed-off-by:
Eric Miao <eric.y.miao@gmail.com> Cc: Haojian Zhuang <haojian.zhuang@marvell.com> Cc: Mike Rapoport <mike@compulab.co.il>
-
Haojian Zhuang authored
Fix typo error on cpu_is_mmp2(). Correct cpu_readid_id() to read_cpuid_id(). Append missing parenthesis. Signed-off-by:
Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by:
Eric Miao <eric.y.miao@gmail.com>
-
- Nov 02, 2010
-
-
Guennadi Liakhovetski authored
The updated sh clock framework has introduced a .nr_freqs element of struct clk, which has to be initialised with the number of possible frequencies. Signed-off-by:
Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- Nov 01, 2010
-
-
Paul Mundt authored
Many of the config bit are presently duplicated between the platforms, which will gradually cleaned up through centralization. For the moment we expose some new INTC features through drivers/sh/Kconfig that the ARM platforms presently don't enable, so make it generally available. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-