Fwd: [RFC/PATCH v2] [POWERPC] bootwrapper: build multiple cuImages

2008-02-03 Thread Grant Likely
David, can you please take a look at this patch? It makes two changes which will have an impact on distributions. First, it changes the ps3 target from zImage.ps3 to zImage.dtb.ps3. The change was made to simplify the build dependancies in arch/powerpc/boot/Makefile so that each target that embed

Re: [PATCH] create modalias file in sysfs for bus vio

2008-02-03 Thread Stephen Rothwell
Hi Olaf, [Sorry, been on vacation] On Fri, 25 Jan 2008 18:09:14 +0100 Olaf Hering <[EMAIL PROTECTED]> wrote: > > On Wed, Jan 23, Stephen Rothwell wrote: > > > It would be nice if we could factor out the "vio:T%sS%s" string as it is > > also used in vio_hotplug(). > > What exactly do you have in

Re: [ppc] Disparity between sys_clock_getres and vdso implementation

2008-02-03 Thread Tony Breeds
On Sun, Jan 27, 2008 at 07:32:59PM +0530, Sripathi Kodi wrote: > Hi Paul, > > On PPC, I see a disparity between clock_getres implementations in the > vdso and syscall. I am using a IBM Openpower hardware and 2.6.24 kernel > with CONFIG_HIGH_RES_TIMERS=y. > > clock_getres call for CLOCK_REALTIME

Re: [PATCH] Fix ext4 bitops

2008-02-03 Thread Aneesh Kumar K.V
On Fri, Feb 01, 2008 at 09:02:40PM +0100, Bastian Blank wrote: > Fix ext4 bitops. > > Signed-off-by: Bastian Blank <[EMAIL PROTECTED]> > > diff --git a/include/asm-powerpc/bitops.h b/include/asm-powerpc/bitops.h > index 220d9a7..d0980df 100644 > --- a/include/asm-powerpc/bitops.h > +++ b/include/

Re: [PATCH] Fix ext4 bitops

2008-02-03 Thread Aneesh Kumar K.V
On Sun, Feb 03, 2008 at 01:39:02PM +0100, Geert Uytterhoeven wrote: > On Sun, 3 Feb 2008, Heiko Carstens wrote: > > On Fri, Feb 01, 2008 at 10:04:04PM +0100, Bastian Blank wrote: > > > On Fri, Feb 01, 2008 at 12:22:57PM -0800, Andrew Morton wrote: > > > > On Fri, 1 Feb 2008 21:02:08 +0100 > > > > B

Re: [PATCH 04/11] [RFC][GPIOLIB] add gpio_set_dedicated() routine

2008-02-03 Thread Anton Vorontsov
On Sun, Feb 03, 2008 at 01:22:08PM -0800, David Brownell wrote: [...] > > One of the biggest things these conventions omit is pin multiplexing, > > since this is highly chip-specific and nonportable. > > > > Let me counter: "chip-specific" is a weak argument, IMO. > > Then focus on "nonportab

PATCH[1/1] 8xx: resubmit Add clock-frequency parameter to adder875 and mpc885ads dts configurations

2008-02-03 Thread Bryan O'Donoghue
Previous patch submission contained tabs munged into whitespace. This patch adds the clock-frequency parameter in decimal instead of hex. Signed-off-by: Bryan O'Donoghue <[EMAIL PROTECTED]> --- diff --git a/arch/powerpc/boot/dts/adder875-redboot.dts b/arch/powerpc/boot/dts/adder875-redboot.dts

Re: [PATCH 01/11] [POWERPC] Implement support for the GPIO LIB API

2008-02-03 Thread David Brownell
On Sunday 03 February 2008, Anton Vorontsov wrote: > This patch implements support for the GPIO LIB API. Two calls > unimplemented though: irq_to_gpio and gpio_to_irq. Also gpio_cansleep(). > +Example of two SOC GPIO banks defined as gpio-controller nodes: > + > + qe_pio_a: [EMAIL PROTECTED]

Re: [PATCH 04/11] [RFC][GPIOLIB] add gpio_set_dedicated() routine

2008-02-03 Thread David Brownell
On Sunday 03 February 2008, Anton Vorontsov wrote: > This routine sets dedicated functions of the GPIO pin. > > --- > > Hello David, > > Yes, I did read Documentation/gpio.txt's last chapter. :-) > > ...that says: > > One of the biggest things these conventions omit is pin multiplexing, >

[PATCH 10/11] [POWERPC] mpc8360erdk: add FHCI USB support

2008-02-03 Thread Anton Vorontsov
This consists of: usb node, gtm node and gpio-controllers of the B and E banks. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc836x_rdk.dts | 42 + 1 files changed, 42 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/

[PATCH 09/11] [POWERPC] qe_lib: add support for QE USB

2008-02-03 Thread Anton Vorontsov
I believe QE USB clocks routing is qe_lib authority, so usb.c created. Also, now cmxgcr needs its own lock. This patch also fixes QE_USB_RESTART_TX command definition. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/qe_lib/Kconfig |6 arch/powerpc/sysdev/qe_l

[PATCH 08/11] [POWERPC] qe_lib: implement QE GTM support

2008-02-03 Thread Anton Vorontsov
GTM stands for General-purpose Timers Module and able to generate timer{1,2,3,4} interrupts. There are several limitations in this support: 1. Cascaded (32 bit) timers unimplemented (1-2, 3-4). This is straightforward to implement when needed, two timers should be marked as "requested" and c

[PATCH 07/11] [POWERPC] qe_lib: export qe_get_brg_clk

2008-02-03 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/qe_lib/qe.c |5 +++-- include/asm-powerpc/qe.h|1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/sysdev/qe_lib/qe.c b/arch/powerpc/sysdev/qe_lib/qe.c index 0757def..a0d0ec0 100

[PATCH 06/11] [POWERPC] qe_lib: implement qe_muram_offset

2008-02-03 Thread Anton Vorontsov
qe_muram_offset is the reverse of the qe_muram_addr. Also, move qe_muram_addr to the qe.h header. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/qe_lib/qe.c |6 -- include/asm-powerpc/qe.h| 11 ++- 2 files changed, 10 insertions(+), 7 deletio

[PATCH 05/11] [POWERPC] qe_lib: support for gpio_set_dedicated

2008-02-03 Thread Anton Vorontsov
So far we just restore pre-set dedicated function of the pin. No need for anything else, so far. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/qe_lib/qe_io.c | 46 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/a

[PATCH 04/11] [RFC][GPIOLIB] add gpio_set_dedicated() routine

2008-02-03 Thread Anton Vorontsov
This routine sets dedicated functions of the GPIO pin. --- Hello David, Yes, I did read Documentation/gpio.txt's last chapter. :-) ...that says: One of the biggest things these conventions omit is pin multiplexing, since this is highly chip-specific and nonportable. Let me counter: "chip-

[PATCH 03/11] [POWERPC] QE: implement GPIO LIB API

2008-02-03 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 32 --- arch/powerpc/platforms/Kconfig |2 + arch/powerpc/sysdev/qe_lib/qe_io.c | 133 ++ 3 files changed, 155 insertions(+), 12 deletion

[PATCH 02/11] [POWERPC] QE: split par_io_config_pin()

2008-02-03 Thread Anton Vorontsov
This patch splits par_io_config_pin so we can use it with GPIO LIB API. Also add a comment regarding #ifdef CONFIG_PPC_85xx being legacy. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/qe_lib/qe_io.c | 60 +++ 1 files changed, 39 inse

[PATCH 01/11] [POWERPC] Implement support for the GPIO LIB API

2008-02-03 Thread Anton Vorontsov
This patch implements support for the GPIO LIB API. Two calls unimplemented though: irq_to_gpio and gpio_to_irq. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 58 arch/powerpc/Kconfig |5 + arch/powerpc

compile quirk linux-2.6.24 (with workaround)

2008-02-03 Thread Bernhard Reiter
Dear linux powerpc Maintainers and Users, recently I have tried to compile a new kernel on a Debian sarge ppc system (PowerBook5,6 MacRISC3 Power Macintosh). The build system bailed out with BOOTCC arch/powerpc/boot/4xx.o cc1: error: bad value (440) for -mcpu= switch make[

[RFC PATCH 0/11] Patches needed to support QE USB Host Controller

2008-02-03 Thread Anton Vorontsov
Hi all, These patches are needed to support "FHCI" host controller. This includes: - GPIO LIB support for PowerPC; - GPIO LIB support for QUICC Engine; - gpio_set_dedicated() addition to GPIO LIB; - QE LIB additions: usb, gtm; - FHCI driver; - Support for MPC8360E-RDK as an example. I have alre

[PATCH] ADB: Add missing #include

2008-02-03 Thread Geert Uytterhoeven
ADB: Add missing #include Commit c9f6d3d5c6d4f4cd3a53549a69c92951180e2a76 [POWERPC] adb: Replace sleep notifier with platform driver suspend/resume hooks introduced compile errors on m68k because is not explicitly included. On powerpc, it's pulled in through . Signed-off-by: Geert Uytte

Re: [PATCH] Fix ext4 bitops

2008-02-03 Thread Geert Uytterhoeven
On Sun, 3 Feb 2008, Heiko Carstens wrote: > On Fri, Feb 01, 2008 at 10:04:04PM +0100, Bastian Blank wrote: > > On Fri, Feb 01, 2008 at 12:22:57PM -0800, Andrew Morton wrote: > > > On Fri, 1 Feb 2008 21:02:08 +0100 > > > Bastian Blank <[EMAIL PROTECTED]> wrote: > > > > > > > Fix ext4 bitops. > > >

[PATCH] MTD support for the AMCC Taishan

2008-02-03 Thread Imre Kaloz
Signed-off-by: Imre Kaloz <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/taishan.dts | 33 +++- arch/powerpc/configs/taishan_defconfig | 89 ++-- 2 files changed, 116 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/boot/dts/taishan.dts b/arch/p

Re: [PATCH] Fix ext4 bitops

2008-02-03 Thread Benjamin Herrenschmidt
On Fri, 2008-02-01 at 21:02 +0100, Bastian Blank wrote: > Fix ext4 bitops. Please provide a better description, as it's not obvious at first sight. > Signed-off-by: Bastian Blank <[EMAIL PROTECTED]> > > diff --git a/include/asm-powerpc/bitops.h b/include/asm-powerpc/bitops.h > index 220d9a7..d0