13 Oct, 2007
35 commits
-
This patch resolves a kexec boot failure that can occur because
no ATAGs are passed in to the kexec'd kernel. Currently the
newly-kexec'd kernel may fail if it requires specific ATAGs, or
it may fail because the fixed memory location at which it expects
to find the ATAGs may contain random data instead of ATAGs.The patch ensures that any ATAGs passed to the current kernel
at boot time are copied to a static buffer, and are copied back
when kexec copies the new kernel into place. Thus the new
kernel sees the same ATAGs from kexec and the boot loader.The boot parameters are copied without regard to type, content,
or length -- this patch's scope is limited soley to saving and
restoring a fixed-size block of memory containing the kernel's
boot parameters. Additional functionality to examine, alter, or
replace the ATAGs (using kexec, for example) can be implemented
by manipulating the static buffer containing the preserved ATAGs.Note: the size of the buffer (1.5KB) is selected to comfortably
hold one of each ATAG type, including a maximum-length command
line and the maximum number of ATAG_MEM structures currently
supported by the kernel. Should an ATAG list exceed that limit,
the list will be silently truncated to that limit (to do other-
wise at that point in the boot process would make a simple
problem exceedingly complicated).[Note: this is the same patch as 4579, modified to accomodate
the ATAG changes introduced in 2.6.23]Signed-off-by: Mike Westerhof
Signed-off-by: Russell King -
consistent_sync() is used to handle the cache maintainence issues with
DMA operations. Since we've now removed the misuse of this function
from the two MTD drivers, rename it to prevent future mis-use.Signed-off-by: Russell King
-
This patch adds support for the Cirrus Logic EDB9307, an evaluation
board based on the Cirrus Logic EP9307 SoC, which features amongst
other things 64M RAM, 32M NOR flash, 3 USB host ports, audio in/out,
two serial ports and a 10/100 ethernet interface.Signed-off-by: Herbert Valerio Riedel
Acked-by: Lennert Buytenhek
Signed-off-by: Russell King -
Fix the IRQ numbers of the CF and SDI interface on the S3C2412
and S3C2413. Add support to handle these IRQs properly and
ensure that the SDI controller platform device is correctly
renumbered.Signed-off-by: Ben Dooks
Signed-off-by: Russell King -
As a consequence registers are now accessed with __raw_{read,write}[bl].
Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
Up to now only board-a9m9750dev.c used GPIOs. It just wrote directly into the
corresponding registers. Now it properly reserves the gpio and uses the API
function to configure it.Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
The semantic of the REGSET macros didn't change, but hopefully
it's more obvious as it's now.REGGET is changed to return the unshifted value, analogous to
REGSET. REGGETIM behaves as REGGET before. All callers changed...._IDX is used to work with registers that need a parameter like
BBU_GCONFb1.Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
This implementation conforms to the general GPIO API
introduced in 2.6.21.This patch was signed-of by David Brownell before I exported the functions
using EXPORT_SYMBOL.Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
The FPGA on the a9m9750dev board interrupts the CPU via EXT2. So
to acknowledge any FPGA interrupt IRQ_EXT2 must be acknowledged.Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
Add several missing entries to Documentation/arm/00-INDEX
Signed-off-by: Rob Landley
Signed-off-by: Russell King -
... but the rtc-cmos is rather broken; if PNP is enabled, it assumes
that we have ACPI (!) which is quite bogus on these platforms -
which may have ISAPNP but not ACPI. Something to be solved in the
future.Signed-off-by: Russell King
-
Signed-off-by: Russell King
-
Make the S3C2412 sleep configuration clearer.
Signed-off-by: Ben Dooks
Signed-off-by: Russell King -
Add a magic number before the resume code so
that a bootloader can check that there is an
image to resume to.Signed-off-by: Ben Dooks
Signed-off-by: Russell King -
Add the INFORM register block which are retained
over sleep.Signed-off-by: Ben Dooks
Signed-off-by: Russell King -
The cpu_architecture() function in arch/arm/kernel/setup.c only works
with cores produced by ARM Ltd. The more generic approach is to read
the ID_MMFR0 register and check for the VMSA or PMSA version
supported. With this patch, the ARM11MPCore would be reported as ARMv7
since its MMU is compatible with ARMv7.Signed-off-by: Catalin Marinas
Signed-off-by: Russell King -
Starting with ARMv7-A, conditional execution of undefined instructions
can trigger an exception even if the condition check fails. This patch
modifies the NWFPE support to check the condition before emulating the
instruction.Signed-off-by: Catalin Marinas
Signed-off-by: Russell King -
Fix unbalanced parenthesis.
Signed-off-by: Mariusz Kozlowski
Signed-off-by: Andrew Morton
Signed-off-by: Russell King -
Signed-off-by: Thomas Gleixner
Signed-off-by: Russell King -
This patch removes dead code.
Signed-off-by: Adrian Bunk
Signed-off-by: Russell King -
"extern inline" will have different semantics with gcc 4.3.
Signed-off-by: Adrian Bunk
Signed-off-by: Russell King -
GENERIC_TIME and GENERIC_CLOCKEVENTS support for the at91rm9200.
- Oneshot mode (used for NO_HZ and high res timers) uses the
alarm to emulate a real oneshot timer; the trickiest bit is
how to avoid some lowlevel races. Thanks to Remy Bohmer for
various fixes to this code.- Tighten up periodic mode support using the PIT.
- Streamline reads of the 32KHz counter. Thanks to Marc Pignat
for some testing results: the CRTR register has *very* odd
behavior. The reread appears to work around stranger glitches
than just getting an old clock value (which would quickly
self-correct).- Remove the rounding-up of tick_usec to 10.009 msec (32KiHz/100),
since that no longer acts correct (time increases too fast).Note that the at91sam9 and at91x40 chips need other solutions,
since they don't have the same system timer module.Signed-off-by: David Brownell
Acked-by: Bill Gatliff
Acked-by:Remy Bohmer
Signed-off-by: Russell King -
This patch removes section mismatches related to DMA functions.
Signed-off-by: Krzysztof Helt
Acked-by: Ben Dooks
Signed-off-by: Russell King -
This patch removes section mismatches related to irq functions.
Signed-off-by: Krzysztof Helt
Acked-by: Ben Dooks
Signed-off-by: Russell King -
arch_decomp_setup() does not understand the new tagged lists
for parameter setup. It's fixed in using the older param struct.This patch adds support for tagged lists and allows the older
param struct too.Signed-off-by: Alan Hourihane
Signed-off-by: Russell King -
Now the drivers are responsible to clear the irq in the respective
device, which seems to be the normal thing to do.So the ack'ing of the timer irq moved to time.c.
Signed-off-by: Uwe Kleine-König
Signed-off-by: Russell King -
Configuration support for the AT91x40 CPU and EB01 board.
Signed-off-by: Greg Ungerer
Acked-by: Andrew Victor
Signed-off-by: Russell King -
Makefile build support for the Atmel AT91x40 CPU and EB01 board support.
Signed-off-by: Greg Ungerer
Acked-by: Andrew Victor
Signed-off-by: Russell King -
Support for the Atmel EB01 board (based on the Atmel AT91x40 CPU).
Signed-off-by: Greg Ungerer
Acked-by: Andrew Victor
Signed-off-by: Russell King -
Prototypes for the at91x40 CPU support functions.
Signed-off-by: Greg Ungerer
Acked-by: Andrew Victor
Signed-off-by: Russell King -
Interrupt setup support for the Atmel AT91x40 CPU family.
Signed-off-by: Greg Ungerer
Acked-by: Andrew Victor
Signed-off-by: Russell King -
Support for the timers in the Atmel AT91x40 family of CPUs.
Signed-off-by: Greg Ungerer
Acked-by: Andrew Victor
Signed-off-by: Russell King -
Allow for configuration of the processor ID for the simplar non-MMU
ARM parts.Signed-off-by: Greg Ungerer
Signed-off-by: Russell King
12 Oct, 2007
5 commits
-
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (408 commits)
[POWERPC] Add memchr() to the bootwrapper
[POWERPC] Implement logging of unhandled signals
[POWERPC] Add legacy serial support for OPB with flattened device tree
[POWERPC] Use 1TB segments
[POWERPC] XilinxFB: Allow fixed framebuffer base address
[POWERPC] XilinxFB: Add support for custom screen resolution
[POWERPC] XilinxFB: Use pdata to pass around framebuffer parameters
[POWERPC] PCI: Add 64-bit physical address support to setup_indirect_pci
[POWERPC] 4xx: Kilauea defconfig file
[POWERPC] 4xx: Kilauea DTS
[POWERPC] 4xx: Add AMCC Kilauea eval board support to platforms/40x
[POWERPC] 4xx: Add AMCC 405EX support to cputable.c
[POWERPC] Adjust TASK_SIZE on ppc32 systems to 3GB that are capable
[POWERPC] Use PAGE_OFFSET to tell if an address is user/kernel in SW TLB handlers
[POWERPC] 85xx: Enable FP emulation in MPC8560 ADS defconfig
[POWERPC] 85xx: Killed
[POWERPC] 85xx: Add cpm nodes for 8541/8555 CDS
[POWERPC] 85xx: Convert mpc8560ads to the new CPM binding.
[POWERPC] mpc8272ads: Remove muram from the CPM reg property.
[POWERPC] Make clockevents work on PPC601 processors
...Fixed up conflict in Documentation/powerpc/booting-without-of.txt manually.
-
* 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
[libata] sata_mv: more S/G fixes -
* corruption fix: we only want the lower 16 bits of length (0 == 64kb)
* ditto: the upper layer sets max-phys-segments to LIBATA_MAX_PRD,
so we must reset it to own hw-specific length.* delete unused mv_fill_sg() return value
Signed-off-by: Jeff Garzik
-
Signed-off-by: Jeff Garzik
Signed-off-by: Linus Torvalds -
This adds a memchr() implementation to the bootwrapper, which will
be needed when libfdt is merged in.Signed-off-by: David Gibson
Signed-off-by: Paul Mackerras