Re: [PATCH v3 16/27] PPC: use helpers for rlimits

2009-11-28 Thread Benjamin Herrenschmidt
On Sat, 2009-11-28 at 09:47 +0100, Jiri Slaby wrote: > Are you sure? The previous version with ACCESS_ONCE was generally > NACKed. This one uses a newly added helper which is much more cleaner > way to do it. I haven't seen a nack, but then I haven't pushed out yet so I can easily back it off and

[RFC PATCH v2 11/11] powerpc: gamecube: default config

2009-11-28 Thread Albert Herranz
Add a default configuration for the Nintendo GameCube video game console. Signed-off-by: Albert Herranz --- arch/powerpc/configs/gamecube_defconfig | 1061 +++ 1 files changed, 1061 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/configs/gamecube_defcon

[RFC PATCH v2 10/11] powerpc: gamecube: platform support

2009-11-28 Thread Albert Herranz
Add platform support for the Nintendo GameCube video game console. Signed-off-by: Albert Herranz --- v1 -> v2 - Get rid of show_cpuinfo hooks. Suggestion by Grant Likely. - Drop unneeded (at this stage) empty functions. Suggestion by Grant Likely. - Merge gamecube.c and gamecube_dev.c into a sing

[RFC PATCH v2 09/11] powerpc: gamecube/wii: flipper interrupt controller support

2009-11-28 Thread Albert Herranz
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 --- v1 -> v2 - Build always Flipper interrupt control

[RFC PATCH v2 08/11] powerpc: gamecube/wii: early debugging using usbgecko

2009-11-28 Thread Albert Herranz
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 --- v1 -> v2 -

[RFC PATCH v2 07/11] powerpc: gamecube/wii: udbg support for usbgecko

2009-11-28 Thread Albert Herranz
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 --- v1 -> v2 - Get rid

[RFC PATCH v2 06/11] powerpc: gamecube/wii: do not include PCI support

2009-11-28 Thread Albert Herranz
The Nintendo GameCube and Wii video game consoles do not have PCI hardware. Avoid wasting their scarce memory by not including PCI support into the kernel. Signed-off-by: Albert Herranz --- v1 -> v2 - Drop selection of NOT_COHERENT_CACHE when GAMECUBE_COMMON is set and just make NOT_COHERENT_CA

[RFC PATCH v2 05/11] powerpc: gamecube/wii: declare as non-coherent platforms

2009-11-28 Thread Albert Herranz
The processors bundled in the Nintendo GameCube and Wii video game consoles require explicit cache handling when DMA engines are used. Signed-off-by: Albert Herranz --- arch/powerpc/platforms/Kconfig.cputype |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/p

[RFC PATCH v2 04/11] powerpc: gamecube/wii: introduce GAMECUBE_COMMON

2009-11-28 Thread Albert Herranz
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 --- arch/powerpc/platforms/embedded6xx/Kconfig |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arc

[RFC PATCH v2 03/11] powerpc: gamecube: bootwrapper bits

2009-11-28 Thread Albert Herranz
Add support for the Nintendo GameCube video game console to the powerpc bootwrapper. dtbImage.gamecube is a wrapped image that contains a flat device tree, an entry point compatible with SDload, and an optional initrd. Signed-off-by: Albert Herranz --- v1 -> v2 - Use a separate asm file for the

[RFC PATCH v2 02/11] powerpc: gamecube: device tree

2009-11-28 Thread Albert Herranz
Add a device tree source file for the Nintendo GameCube video game console. Signed-off-by: Albert Herranz --- v1 -> v2 - Document new bindings in Documentation/powerpc/dts-bindings. Suggestion by Grant Likely. - Use same form for model property and compatible properties on the root node. Sug

[RFC PATCH v2 01/11] powerpc: gamecube/wii: usbgecko bootwrapper console support

2009-11-28 Thread Albert Herranz
Add support for using the USB Gecko adapter as a bootwrapper 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 --- v1 -> v2 - Prob

[RFC PATCH v2 00/11] powerpc: nintendo gamecube support

2009-11-28 Thread Albert Herranz
The following patches add the base support for the Nintendo GameCube video game console on the powerpc arch. The following is included: - a device tree source - bootwrapper support - udbg console option - early udbg console option - interrupt controller support - platform support With these patch

unsubscribe

2009-11-28 Thread Thomas Rinder
unsubscribe ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v3 16/27] PPC: use helpers for rlimits

2009-11-28 Thread Jiri Slaby
On 11/28/2009 01:19 AM, Benjamin Herrenschmidt wrote: > On Sat, 2009-11-28 at 00:05 +0100, Jiri Slaby wrote: >> Make sure compiler won't do weird things with limits. E.g. fetching >> them twice may return 2 different values after writable limits are >> implemented. >> >> I.e. either use newly added