21 Jan, 2011
1 commit
-
We check for a valid handler before calling ppc_md.machine_kexec_prepare
so we can just remove these empty handlers.Signed-off-by: Anton Blanchard
Signed-off-by: Benjamin Herrenschmidt
11 Sep, 2010
1 commit
-
Fix memblock API change fallout in the WII code.
Signed-off-by: Yinghai Lu
Cc: linux-mm@kvack.org
Cc: Benjamin Herrenschmidt
LKML-Reference:
Signed-off-by: Ingo Molnar
04 Aug, 2010
1 commit
-
Signed-off-by: Benjamin Herrenschmidt
14 Jul, 2010
1 commit
-
via following scripts
FILES=$(find * -type f | grep -vE 'oprofile|[^K]config')
sed -i \
-e 's/lmb/memblock/g' \
-e 's/LMB/MEMBLOCK/g' \
$FILESfor N in $(find . -name lmb.[ch]); do
M=$(echo $N | sed 's/lmb/memblock/g')
mv $N $M
doneand remove some wrong change like lmbench and dlmb etc.
also move memblock.c from lib/ to mm/
Suggested-by: Ingo Molnar
Acked-by: "H. Peter Anvin"
Acked-by: Benjamin Herrenschmidt
Acked-by: Linus Torvalds
Signed-off-by: Yinghai Lu
Signed-off-by: Benjamin Herrenschmidt
26 Apr, 2010
1 commit
-
discontiguous => discontinuous
coealesce => coalesceSigned-off-by: Thomas Weber
Signed-off-by: Jiri Kosina
21 Dec, 2009
2 commits
-
Fix the following build failures:
arch/powerpc/platforms/embedded6xx/flipper-pic.c: In function 'flipper_pic_map':
arch/powerpc/platforms/embedded6xx/flipper-pic.c:105: error: implicit declaration of function 'get_irq_desc'arch/powerpc/platforms/embedded6xx/hlwd-pic.c: In function 'hlwd_pic_map':
arch/powerpc/platforms/embedded6xx/hlwd-pic.c:98: error: implicit declaration of function 'get_irq_desc'These failures are caused by the changes introduced in commit
"powerpc: Remove get_irq_desc()". The reason these drivers were not
updated is that they weren't merged yet.Signed-off-by: Albert Herranz
Signed-off-by: Benjamin Herrenschmidt -
Fix the following build failures:
arch/powerpc/platforms/embedded6xx/hlwd-pic.c: In function 'hlwd_pic_irq_cascade':
arch/powerpc/platforms/embedded6xx/hlwd-pic.c:135: error: passing argument 1 of 'spin_lock' from incompatible pointer type
arch/powerpc/platforms/embedded6xx/hlwd-pic.c:137: error: passing argument 1 of 'spin_unlock' from incompatible pointer type
arch/powerpc/platforms/embedded6xx/hlwd-pic.c:145: error: passing argument 1 of 'spin_lock' from incompatible pointer type
arch/powerpc/platforms/embedded6xx/hlwd-pic.c:149: error: passing argument 1 of 'spin_unlock' from incompatible pointer typeThese failures are caused by the changes introduced in commit
"genirq: Convert irq_desc.lock to raw_spinlock". The reason this driver
was not updated is that it wasn't merged yet.Signed-off-by: Albert Herranz
Signed-off-by: Benjamin Herrenschmidt
18 Dec, 2009
1 commit
-
The retry logic in ug_putc() is broken.
If the TX fifo is not ready and the counter runs out it will have a
value of -1 and no transfer should be attempted. Also, a counter
with a value of 0 means that the TX fifo got ready in the last try
and the transfer should be attempted.Reported-by: "Juha Leppanen"
Signed-off-by: "Juha Leppanen"
Signed-off-by: Albert Herranz
Signed-off-by: Benjamin Herrenschmidt
13 Dec, 2009
9 commits
-
Enable the flag that allows a platform to ioremap memory marked
as reserved.This is currently needed on the Nintendo Wii video game console
due to the workaround introduced in "wii: use both mem1 and mem2 as ram".This will no longer be needed when proper discontig memory support
for 32-bit PowerPC is added to the kernel.Signed-off-by: Albert Herranz
Acked-by: Benjamin Herrenschmidt
Signed-off-by: Grant Likely -
The Nintendo Wii video game console has two discontiguous RAM regions:
- MEM1: 24MB @ 0x00000000
- MEM2: 64MB @ 0x10000000Unfortunately, the kernel currently does not support discontiguous RAM
memory regions on 32-bit PowerPC platforms.This patch adds a series of workarounds to allow the use of the second
memory region (MEM2) as RAM by the kernel.
Basically, a single range of memory from the beginning of MEM1 to the
end of MEM2 is reported to the kernel, and a memory reservation is
created for the hole between MEM1 and MEM2.With this patch the system is able to use all the available RAM and not
just ~27% of it.This will no longer be needed when proper discontig memory support
for 32-bit PowerPC is added to the kernel.Signed-off-by: Albert Herranz
Acked-by: Benjamin Herrenschmidt
Signed-off-by: Grant Likely -
Add support for using the USB Gecko adapter as an early debugging
console on the Nintendo GameCube and Wii video game consoles.
The USB Gecko is a 3rd party memory card interface adapter that provides
a EXI (External Interface) to USB serial converter.Signed-off-by: Albert Herranz
Acked-by: Benjamin Herrenschmidt
Signed-off-by: Grant Likely -
Add platform support for the Nintendo Wii video game console.
Signed-off-by: Albert Herranz
Acked-by: Benjamin Herrenschmidt
Acked-by: Segher Boessenkool
Signed-off-by: Grant Likely -
Add support for the dual interrupt controller included in the "Hollywood"
chipset of the Nintendo Wii video game console.
This interrupt controller serves both the Broadway processor (as a cascade)
and the Starlet processor, and is used to manage interrupts for the
non-classic hardware.Signed-off-by: Albert Herranz
Acked-by: Benjamin Herrenschmidt
Acked-by: Segher Boessenkool
Signed-off-by: Grant Likely -
Add platform support for the Nintendo GameCube video game console.
Signed-off-by: Albert Herranz
Signed-off-by: Grant Likely -
Add support for the interrupt controller included in the "Flipper"
chipset of the Nintendo GameCube video game console.
The same interrupt controller is also present in the "Hollywood" chipset
of the Nintendo Wii.Signed-off-by: Albert Herranz
Acked-by: Segher Boessenkool
Signed-off-by: Grant Likely -
Add support for using the USB Gecko adapter via the udbg facility on
the Nintendo GameCube and Wii video game consoles.
The USB Gecko is a 3rd party memory card interface adapter that provides
a EXI (External Interface) to USB serial converter.Signed-off-by: Albert Herranz
Acked-by: Segher Boessenkool
Signed-off-by: Grant Likely -
Add a config option GAMECUBE_COMMON to be used as a dependency for all
options common to the Nintendo GameCube and Wii video game consoles.Signed-off-by: Albert Herranz
Acked-by: Grant Likely
Signed-off-by: Grant Likely
24 Mar, 2009
1 commit
11 Mar, 2009
1 commit
-
CONFIG_PPC_MULTIPLATFORM is a remain of the pre-powerpc days and isn't
really meaningful anymore. It was basically equivalent to PPC64 || 6xx.This removes it along with the following changes:
- 32-bit platforms that relied on PPC32 && PPC_MULTIPLATFORM now rely
on 6xx which is what they want anyway.- A new symbol, PPC_BOOK3S, is defined that represent compliance with
the "Server" variant of the architecture. This is set when either 6xx
or PPC64 is set and open the door for future BOOK3E 64-bit.- 64-bit platforms that relied on PPC64 && PPC_MULTIPLATFORM now use
PPC64 && PPC_BOOK3S- A separate and selectable CONFIG_PPC_OF_BOOT_TRAMPOLINE option is now
used to control the use of prom_init.cSigned-off-by: Benjamin Herrenschmidt
10 Mar, 2009
1 commit
-
Defining flash partition table in platform code is deprecated, and due to
recent changes linkstation and storcenter do not compile any more with
their default configurations because of undefined references to
physmap_set_partitions(). Instead of fixing them by using the correct
kernel configuration macro in preprocessor conditional, remove partition
table definitions altogether. Instead add support for partition definition
on the command-line and in device tree to the default configurations.Signed-off-by: Guennadi Liakhovetski
Signed-off-by: Kumar Gala
23 Dec, 2008
1 commit
-
Default ops are implicit now.
Signed-off-by: Anton Vorontsov
Signed-off-by: Paul Mackerras
28 Oct, 2008
1 commit
-
The i2c bus defn is broken on linkstation / kurobox machines since at
least 2.6.27. Fix it. Also remove CONFIG_SERIAL_OF_PLATFORM, which, if
enabled, breaks the serial console after the
"console handover: boot [udbg0] -> real [ttyS1]" message.Signed-off-by: Guennadi Liakhovetski
Signed-off-by: Kumar Gala
22 Oct, 2008
1 commit
-
Most of the platforms were printing the size of the memory
in their show_cpuinfo implementations. This moves that to
the common show_cpuinfo, so that all 32-bit platforms will
now print the size of memory. I also update the code
to deal with the fact that total_memory is now a phys_addr_t.Signed-off-by: Becky Bruce
Signed-off-by: Benjamin Herrenschmidt
29 Sep, 2008
1 commit
-
For many of the embedded boards, "model" and "Machine" are printing
the same thing; remove the redundant code and allow the generic
show_cpuinfo to print the model information.Signed-off-by: Becky Bruce
Acked-by: Paul Gortmaker
Acked-by: Martyn Welch
Signed-off-by: Kumar Gala
09 Jun, 2008
2 commits
-
Support for the C2K cPCI Single Board Computer from GEFanuc
(PowerPC MPC7448 with a Marvell MV64460 chipset).
All features of the board are not supported yet, but the board
boots, flash works, all Ethernet ports are working and PCI
devices are all found (USB and SATA on PCI1 do not work yet).Part 5 of 5: add the Kconfig entry for the C2K board.
Signed-off-by: Remi Machet
Signed-off-by: Paul Mackerras -
Support for the C2K cPCI Single Board Computer from GEFanuc
(PowerPC MPC7448 with a Marvell MV64460 chipset).
All features of the board are not supported yet, but the board
boots, flash works, all Ethernet ports are working and PCI
devices are all found (USB and SATA on PCI1 do not work yet).Part 3 of 5: driver for the board. At this time it is very generic
and similar to its original, the driver for the prpmc2800.Signed-off-by: Remi Machet
Signed-off-by: Paul Mackerras
15 Apr, 2008
1 commit
-
Compatible names should refer to a specific version of the hardware,
without wildcards. Change each instance of mv64x60 to mv64360, which
is the oldest version we currently support.Signed-off-by: Mark A. Greer
Signed-off-by: Dale Farnsworth
Signed-off-by: Paul Mackerras
01 Apr, 2008
1 commit
-
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison
Cc: Benjamin Herrenschmidt
Signed-off-by: Andrew Morton
Signed-off-by: Paul Mackerras
14 Feb, 2008
1 commit
-
CONFIG_DEVICE_TREE was the only user of CONFIG_WANT_DEVICE_TREE but
it was removed in commit id 25431333813686654907ab987fb5de10c10a16db
(bootwrapper: Build multiple cuImages).This removes CONFIG_WANT_DEVICE_TREE from Kconfig and the defconfigs.
Signed-off-by: Grant Likely
Signed-off-by: Paul Mackerras
06 Feb, 2008
1 commit
-
Cleaned up IRQ layout and removed unsused ISU allocations.
Fixed RTC address typo from /dts-v1/ conversion.
Incorporated list suggestions to use an "iomega," vendor prefix,
and to use a node reference rather than a hard path.Signed-off-by: Jon Loeliger
Signed-off-by: Kumar Gala
28 Jan, 2008
1 commit
-
Signed-off-by: Grant Likely
Signed-off-by: Kumar Gala
24 Jan, 2008
2 commits
-
Use cuImage bootwrapper until U-Boot port is completed.
Derived heavily from Linkstation port.Signed-off-by: Jon Loeliger
Acked-by: Andy Wilcox
Signed-off-by: Kumar Gala -
Prevents miscellaneous users from declaring it locally.
Signed-off-by: Jon Loeliger
Signed-off-by: Kumar Gala
20 Dec, 2007
1 commit
-
There's nothing in holly.c that needs linux/ide.h, just remove it from
the list of includes.Signed-off-by: Olof Johansson
Acked-by: Josh Boyer
Signed-off-by: Paul Mackerras
06 Dec, 2007
1 commit
-
Convert #include of asm/of_{platform, device}.h into
linux/of_{platform,device}.h for a few scattered platforms.Signed-off-by: Jon Loeliger
Signed-off-by: Paul Mackerras
19 Nov, 2007
1 commit
-
Turn on the L2 cache on the prpmc2800 platform.
Signed-off-by: Mark A. Greer
08 Oct, 2007
1 commit
-
On the Freescale embedded (83xx, 85xx, 86xx) and a few of the discrete
bridges (mpc10x, tsi108) use the new for_each_compatible_node() or
for_each_node_by_type() to provide more exact matching when looking for
PHBs in the device tree.With the previous code it was possible to match on pci bridges since
we were only matching on device_type.Signed-off-by: Kumar Gala
05 Oct, 2007
1 commit
-
This patch adds cuboot support for MPC7448HPC2 platform.
The cuImage can be used with legacy u-boot without FDT support.Signed-off-by: Roy Zang
Acked-by: David Gibson
Signed-off-by: Kumar Gala
03 Oct, 2007
1 commit
-
The various embedded 6xx systems can easily coexist in one kernel
together with the other 6xx based systems, so there is no strict
reason to keep them separate.Signed-off-by: Arnd Bergmann
Signed-off-by: Paul Mackerras
22 Sep, 2007
1 commit
-
Commit 69331af, "Fixes and cleanups for earlyprintk aka boot console",
resulted in printk output prior to the initialization of the mpsc
console driver not being printed. That commit causes the mpsc's
CON_PRINTBUFFER flag to be cleared since udbg should have printed
the previous output.I guess we can no longer ignore udbg. :)
This patch provides udbg_putc() and udbg_getc() functions for the
Marvell mv64x60 chips. These functions are enabled if an mv64x60
port is to be used as the console as determined from the device tree.Signed-off-by: Dale Farnsworth
Acked-by: Mark A. Greer
Signed-off-by: Paul Mackerras