Re: [PATCH 2/3] [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need

2007-08-17 Thread Kumar Gala
On Aug 17, 2007, at 6:25 PM, Segher Boessenkool wrote: >> include/asm-powerpc/8xx_immap.h | 564 + >> include/asm-powerpc/commproc.h| 692 >> include/asm-powerpc/cpm2.h| 1248 + >> >> include/asm-powerpc/g

Re: [PATCH] [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards

2007-08-17 Thread Kumar Gala
On Aug 17, 2007, at 6:53 PM, Paul Mackerras wrote: > Kumar Gala writes: > >> Its a regression in that the ULI M1575 doesn't really work properly >> on some of these boards in certain situations. > > Well, "it doesn't work" isn't of itself a regression, a regression is > "it used to work and now i

Re: [PATCH] powerpc: Implement atomic{, 64}_{read, write}() without volatile

2007-08-17 Thread Segher Boessenkool
>> Instead, use asm() like all other atomic operations already do. > >> +static __inline__ long atomic64_read(const atomic_t *v) > >> +static __inline__ void atomic64_set(atomic_t *v, long i) > > s/atomic_t/atomic64_t/ in both lines. I've edited my copy of the > patch. Ouch, sorry about that.

Re: still using stabs debug format?

2007-08-17 Thread Segher Boessenkool
> Is anyone really still using the stabs format for kernel debug? > > can we kill off the .stabs references? What, you want to replace them with dwarf markup? Or just get rid of the debug info completely? Segher ___ Linuxppc-dev mailing list Linuxppc

Re: [PATCH] [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards

2007-08-17 Thread Paul Mackerras
Kumar Gala writes: > Its a regression in that the ULI M1575 doesn't really work properly > on some of these boards in certain situations. Well, "it doesn't work" isn't of itself a regression, a regression is "it used to work and now it doesn't". In any case the lateness x largeness product (Lx

Re: Patches for ppc?

2007-08-17 Thread Satya
hi, what's the issue with arch/ppc again? why is it being phased out? I am working with the IBM Blue Gene/L which is based on ppc440. I need to get a patch in too! :) I noticed that head_44x.S has been copied to arch/powerpc/kernel in the current head tree, but is it functional yet? has everything

Re: [PATCH 2/3] [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need

2007-08-17 Thread Segher Boessenkool
> include/asm-powerpc/8xx_immap.h | 564 + > include/asm-powerpc/commproc.h| 692 > include/asm-powerpc/cpm2.h| 1248 > + > include/asm-powerpc/gg2.h | 61 ++ > include/asm-powerpc/highmem.h |

Re: [PATCH 1/1] libata: pata_pdc2027x PLL input clock fix

2007-08-17 Thread Mikael Pettersson
On Thu, 16 Aug 2007 21:19:40 +0100, Alan Cox wrote: > > > Unfortunately this breaks pata_pdc2027x on my PowerMac G3: > > > > Did this ever get resolved? > > All went quiet so I assume its gone away ? -ENOTIME The regression is still there in 2.6.23-rc3 (I just checked), but I haven't had time t

Re: [PATCH 2/3] [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need

2007-08-17 Thread Arnd Bergmann
On Friday 17 August 2007, Arnd Bergmann wrote: > The m8260_pci.h file is not namespace clean, it defines macros like > PCI_CFG_ADDR_REG that are likely to create conflicts at some point of > time. Since the only file including this header is > arch/powerpc/platforms/82xx/m82xx_pci.h, I'd suggest m

Re: [PATCH 2/3] [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need

2007-08-17 Thread Scott Wood
On Fri, Aug 17, 2007 at 03:45:02PM -0500, Scott Wood wrote: > On Fri, Aug 17, 2007 at 07:05:52PM +0200, Arnd Bergmann wrote: > > The m8260_pci.h file is not namespace clean, it defines macros like > > PCI_CFG_ADDR_REG that are likely to create conflicts at some point of > > time. Since the only fil

Re: [PATCH 2/3] [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need

2007-08-17 Thread Scott Wood
On Fri, Aug 17, 2007 at 07:05:52PM +0200, Arnd Bergmann wrote: > The m8260_pci.h file is not namespace clean, it defines macros like > PCI_CFG_ADDR_REG that are likely to create conflicts at some point of > time. Since the only file including this header is > arch/powerpc/platforms/82xx/m82xx_pci.

Re: [PATCH 0/3] Remove need for include/asm-ppc

2007-08-17 Thread Arnd Bergmann
On Friday 17 August 2007, Kumar Gala wrote: > This patch series removes the need for include/asm-ppc in the ARCH=powerpc > build for ppc32.  They exist in the following git tree: > >   master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git for-2.6.24 > > posting here for everyone else to s

Re: [PATCH 2/3] [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need

2007-08-17 Thread Arnd Bergmann
On Friday 17 August 2007, Kumar Gala wrote: > To build arch/powerpc without including asm-ppc/ we need these files > in asm-powerpc/ Looks mostly good, but > include/asm-powerpc/8xx_immap.h | 564 + > include/asm-powerpc/commproc.h| 692 > include/asm

Re: [PATCH 1/2] Add scaled time to taskstats based process accounting

2007-08-17 Thread Balbir Singh
Andrew Morton wrote: > On Fri, 17 Aug 2007 11:09:41 +1000 > Michael Neuling <[EMAIL PROTECTED]> wrote: > >> This adds items to the taststats struct to account for user and system >> time based on scaling the CPU frequency and instruction issue rates. >> >> Adds account_(user|system)_time_scaled ca

Re: [PATCH 1/2] Add scaled time to taskstats based process accounting

2007-08-17 Thread Andrew Morton
On Fri, 17 Aug 2007 11:09:41 +1000 Michael Neuling <[EMAIL PROTECTED]> wrote: > This adds items to the taststats struct to account for user and system > time based on scaling the CPU frequency and instruction issue rates. > > Adds account_(user|system)_time_scaled callbacks which architectures >

Re: [PATCH] [POWERPC] Fix 8xx compile failure

2007-08-17 Thread Kumar Gala
On Aug 17, 2007, at 11:19 AM, Stephen Rothwell wrote: > Hi Kumar, > > On Fri, 17 Aug 2007 11:11:20 -0500 Kumar Gala > <[EMAIL PROTECTED]> wrote: >> >> On Aug 17, 2007, at 10:55 AM, Stephen Rothwell wrote: >> >>> On Fri, 17 Aug 2007 08:24:02 -0500 (CDT) Kumar Gala >>> <[EMAIL PROTECTED]> wrote:

Re: [PATCH] advertise correct IDE mode on Pegasos2

2007-08-17 Thread Olaf Hering
On Fri, Aug 17, Matt Sealey wrote: > Setting them to ~0x5 will set them to 0 (legacy mode) and they will always > read > back as 0 (legacy mode.. sigh) even if in native mode. The pci_dev->class needs updating as well, see second version of the patch.

[PATCH] advertise correct IDE mode on Pegasos2

2007-08-17 Thread Olaf Hering
The built-in IDE controller is configured in legacy mode, but the PCI registers advertise native mode. Force the PCI class into legacy mode. This allows pata_via to access two drives. The Pegasos specific irq enforcement in the via82cxxx driver must stay because there is aparently no generic way to

[PATCH v2] powerpc: Fix definition of global-utilites structure for 86xx

2007-08-17 Thread Timur Tabi
The current definition of struct ccsr_guts in immap_86xx.h was for 85xx. This patch fixes that and replaces the vague integer types with sized types of the correct endianness. The unused struct ccsr_pci is also deleted. Signed-off-by: Timur Tabi <[EMAIL PROTECTED]> --- This is for for-2.6.24. I

Re: [PATCH] [POWERPC] Add interrupt resource for RTC CMOS driver

2007-08-17 Thread Kumar Gala
> Please add a comment to the source code (similar to that in changelog) > explaining the reason for the 8. Done. - k ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] advertise correct IDE mode on Pegasos2

2007-08-17 Thread Matt Sealey
ibata decide what to do \ \ Changelog: \ \ 0.1: ISA ranges & IDE interrupts fixes from Linux \ Requires prom_init.c patch to fix the PCI config space \ as the \ 0.2: keyboard controller fix ." PegasosPPC Device Tree Supplement 20070817" cr ." (c) 2007 Matt Sealey, Ge

[PATCH 6/7 v2] fs_enet: Be an of_platform device when CONFIG_PPC_CPM_NEW_BINDING is set.

2007-08-17 Thread Scott Wood
The existing OF glue code was crufty and broken. Rather than fix it, it will be removed, and the ethernet driver now talks to the device tree directly. The old, non-CONFIG_PPC_CPM_NEW_BINDING code can go away once CPM platforms are dropped from arch/ppc (which will hopefully be soon), and existin

[PATCH 6/7] fs_enet: Be an of_platform device when CONFIG_PPC_CPM_NEW_BINDING is set.

2007-08-17 Thread Scott Wood
The existing OF glue code was crufty and broken. Rather than fix it, it will be removed, and the ethernet driver now talks to the device tree directly. The old, non-CONFIG_PPC_CPM_NEW_BINDING code can go away once CPM platforms are dropped from arch/ppc (which will hopefully be soon), and existin

[PATCH 7/7] fs_enet: sparse fixes

2007-08-17 Thread Scott Wood
Mostly a bunch of __iomem annotations. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- drivers/net/fs_enet/fs_enet-main.c | 16 +- drivers/net/fs_enet/fs_enet.h | 30 +- drivers/net/fs_enet/mac-fcc.c | 60 --- drivers/net/f

[PATCH 5/7] fs_enet: Align receive buffers.

2007-08-17 Thread Scott Wood
At least some hardware driven by this driver needs receive buffers to be aligned on a 16-byte boundary. This usually happens by chance, but it breaks if slab debugging is enabled. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- drivers/net/fs_enet/fs_enet-main.c | 21 +++-- d

[PATCH 4/7] fs_enet: mac-fcc: Eliminate __fcc-* macros.

2007-08-17 Thread Scott Wood
These macros accomplish nothing other than defeating type checking. This patch also fixes one instance of the wrong register size being used that was revealed by enabling type checking. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- drivers/net/fs_enet/mac-fcc.c | 25 ---

[PATCH 3/7] fs_enet: Don't share the interrupt.

2007-08-17 Thread Scott Wood
This driver can't handle an interrupt immediately after request_irq (making it fail with CONFIG_DEBUG_SHIRQ), and has unshared interrupts on all hardware I'm aware of. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- drivers/net/fs_enet/fs_enet-main.c |2 +- 1 files changed, 1 insertions(+),

[PATCH 2/7] fs_enet: Whitespace cleanup.

2007-08-17 Thread Scott Wood
Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- drivers/net/fs_enet/fs_enet-main.c | 85 --- drivers/net/fs_enet/fs_enet.h |4 +- drivers/net/fs_enet/mac-fcc.c |1 - drivers/net/fs_enet/mii-fec.c |1 - 4 files changed, 41 insertions(+)

[PATCH 1/7] Generic bitbanged MDIO library

2007-08-17 Thread Scott Wood
Previously, bitbanged MDIO was only supported in individual hardware-specific drivers. This code factors out the higher level protocol implementation, reducing the hardware-specific portion to functions setting direction, data, and clock. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- drivers

[PATCH 0/7] fs_enet patches

2007-08-17 Thread Scott Wood
The following patchset includes several updates for the fs_enet driver, the most prominent being conversion to an of_platform device (with platform_device code remaining until arch/ppc goes away). It also includes a generic MDIO bitbang library, and converts fs_enet to use it. I have a powerpc pa

Re: for-2.6.24 branch in powerpc.git created

2007-08-17 Thread Dave Jiang
Paul Mackerras wrote: > I have made a for-2.6.24 branch in powerpc.git and pushed the > following patches to it. > > Paul. Paul, Are these two patches ready for 2.6.24? Thx! http://patchwork.ozlabs.org/linuxppc/patch?id=12627 http://patchwork.ozlabs.org/linuxppc/patch?id=12749 -- ---

Re: [PATCH 1/2] Add scaled time to taskstats based process accounting

2007-08-17 Thread Linas Vepstas
On Fri, Aug 17, 2007 at 08:22:40AM +1000, Paul Mackerras wrote: > Linas Vepstas writes: > > > My gut impression (maybe wrong?) is that the scaled time is, > > in a certain sense, "more accurate" than the unscaled time. > > The "unscaled" time is just time, as in "how many seconds did this > task

Re: [PATCH] [POWERPC] Add interrupt resource for RTC CMOS driver

2007-08-17 Thread Dale Farnsworth
> The RTC CMOS driver expects the interrupt to be a resource of the platform > device. Use a fixed interrupt value of 8 since on PPC if we are using this > its off an i8259 which we ensure has interrupt numbers 0..15. > > Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> > --- > arch/powerpc/sysdev/

[PATCH] powerpc: add clrsetbits macros

2007-08-17 Thread Timur Tabi
This patch adds the clrsetbits_xxx() macros, which are used to set and clear multiple bits in a single read-modify-write operation. Specify the bits to clear in the 'clear' parameter and the bits to set in the 'set' parameter. These macros can also be used to set a multiple-bit bit pattern using a

Re: [PATCH] [POWERPC] Fix 8xx compile failure

2007-08-17 Thread Stephen Rothwell
Hi Kumar, On Fri, 17 Aug 2007 11:11:20 -0500 Kumar Gala <[EMAIL PROTECTED]> wrote: > > On Aug 17, 2007, at 10:55 AM, Stephen Rothwell wrote: > > > On Fri, 17 Aug 2007 08:24:02 -0500 (CDT) Kumar Gala > > <[EMAIL PROTECTED]> wrote: > >> > >> diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/power

Re: [PATCH] [POWERPC] Fix 8xx compile failure

2007-08-17 Thread Kumar Gala
On Aug 17, 2007, at 10:55 AM, Stephen Rothwell wrote: > Hi Kumar, > > On Fri, 17 Aug 2007 08:24:02 -0500 (CDT) Kumar Gala > <[EMAIL PROTECTED]> wrote: >> >> diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/ >> fsl_soc.c >> index 727453d..f6943fc 100644 >> --- a/arch/powerpc/sys

Re: [PATCH] powerpc: add setclrbits macros

2007-08-17 Thread Timur Tabi
Geert Uytterhoeven wrote: > Sorry for nitpicking again, but since the clear is done before the set (cfr. > the expanded functionality), perhaps they should be changed to > clrsetbits_X(addr, clear, set)? *sigh* You're right. New patch coming soon. -- Timur Tabi Linux Kernel Developer @ Freesc

Re: [PATCH] [POWERPC] Fix 8xx compile failure

2007-08-17 Thread Stephen Rothwell
Hi Kumar, On Fri, 17 Aug 2007 08:24:02 -0500 (CDT) Kumar Gala <[EMAIL PROTECTED]> wrote: > > diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c > index 727453d..f6943fc 100644 > --- a/arch/powerpc/sysdev/fsl_soc.c > +++ b/arch/powerpc/sysdev/fsl_soc.c > @@ -36,6 +36,7 @@ >

Re: RFC: [PATCH] Fixup modpost warnings in head*.S for ppc32

2007-08-17 Thread Josh Boyer
On Fri, 17 Aug 2007 08:48:40 -0500 (CDT) Kumar Gala <[EMAIL PROTECTED]> wrote: > Addess the following modpost warnings we get out of the ppc32 head files: > > WARNING: vmlinux.o(.text+0x358): Section mismatch: reference to > .init.text:early_init (between 'skpinv' and 'interrupt_base') > WARNING

Re: Patches for ppc?

2007-08-17 Thread Johan Borkhuis
David Woodhouse wrote: > On Fri, 2007-08-17 at 16:36 +0200, Johan Borkhuis wrote: > >> Well, this is one of the minor issues I have with the ppc architecture, >> but I am quite happy with it. Even for this I could make a workaround, >> but I guess this is something that other might stumble upo

Re: Patches for ppc?

2007-08-17 Thread David Woodhouse
On Fri, 2007-08-17 at 16:36 +0200, Johan Borkhuis wrote: > Well, this is one of the minor issues I have with the ppc architecture, > but I am quite happy with it. Even for this I could make a workaround, > but I guess this is something that other might stumble upon. > > I would like to move to p

Re: Patches for ppc?

2007-08-17 Thread Johan Borkhuis
David Woodhouse wrote: > On Fri, 2007-08-17 at 09:43 +0200, Johan Borkhuis wrote: > >> I am working with a PPC-kernel, and came across a problem with the PCI >> initialisation. On this mailing list I see a lot of patches, but they >> are all for the PowerPC architecture. Are patches for the PP

Re: [PATCH] advertise correct IDE mode on Pegasos2

2007-08-17 Thread Olaf Hering
On Fri, Aug 17, Olaf Hering wrote: Still not 100% perfect. > + prom_printf("Fixing up IDE class-code on Pegasos...\n"); > + rc = prom_getprop(ph, "class-code", prop, sizeof(u32)); > + if (rc == sizeof(u32)) { > + prop[0] &= ~0x5; > +

[PATCH 6/6] ibmveth: Remove use of bitfields

2007-08-17 Thread Brian King
Removes the use of bitfields from the ibmveth driver. This results in slightly smaller object code. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/net/ibmveth.c | 90 linux-2.6-bjking1/drivers/net/ibmveth.h | 56 -

[PATCH 5/6] ibmveth: Remove dead frag processing code

2007-08-17 Thread Brian King
Removes dead frag processing code from ibmveth. Since NETIF_F_SG was not set, this code was never executed. Also, since the ibmveth interface can only handle 6 fragments, core networking code would need to be modified in order to efficiently enable this support. Signed-off-by: Brian King <[EMAIL

[PATCH 4/6] ibmveth: Add ethtool driver stats hooks

2007-08-17 Thread Brian King
Add ethtool hooks to ibmveth to retrieve driver statistics. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/net/ibmveth.c | 51 1 file changed, 51 insertions(+) diff -puN drivers/net/ibmveth.c~ibmveth_ethtool_driver_stats drivers/

[PATCH 3/6] ibmveth: Add ethtool TSO handlers

2007-08-17 Thread Brian King
Add handlers for get_tso and get_ufo to prevent errors being printed by ethtool. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/net/ibmveth.c |2 ++ 1 file changed, 2 insertions(+) diff -puN drivers/net/ibmveth.c~ibmveth_ethtool_get_tso drivers/net/ibmveth.c --

[PATCH 2/6] ibmveth: Implement ethtool hooks to enable/disable checksum offload

2007-08-17 Thread Brian King
This patch adds the appropriate ethtool hooks to allow for enabling/disabling of hypervisor assisted checksum offload for TCP. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/net/ibmveth.c | 125 +++- linux-2.6-bjking1/drivers/net/ibmveth

[PATCH 1/6] ibmveth: Enable TCP checksum offload

2007-08-17 Thread Brian King
This patchset enables TCP checksum offload support for IPV4 on ibmveth. This completely eliminates the generation and checking of the checksum for packets that are completely virtual and never touch a physical network. A simple TCP_STREAM netperf run on a virtual network with maximum mtu set yield

Re: RFC: [PATCH] Fixup modpost warnings in head*.S for ppc32

2007-08-17 Thread Josh Boyer
On Fri, 17 Aug 2007 09:10:10 -0500 Kumar Gala <[EMAIL PROTECTED]> wrote: > > On Aug 17, 2007, at 9:05 AM, Josh Boyer wrote: > > > On Fri, 17 Aug 2007 08:48:40 -0500 (CDT) > > Kumar Gala <[EMAIL PROTECTED]> wrote: > > > >> diff --git a/arch/powerpc/kernel/head_4xx.S b/arch/powerpc/kernel/ > >> h

Re: RFC: [PATCH] Fixup modpost warnings in head*.S for ppc32

2007-08-17 Thread Kumar Gala
On Aug 17, 2007, at 9:05 AM, Josh Boyer wrote: > On Fri, 17 Aug 2007 08:48:40 -0500 (CDT) > Kumar Gala <[EMAIL PROTECTED]> wrote: > >> diff --git a/arch/powerpc/kernel/head_4xx.S b/arch/powerpc/kernel/ >> head_4xx.S >> index adc7f80..a0c9151 100644 >> --- a/arch/powerpc/kernel/head_4xx.S >> +++

Re: RFC: [PATCH] Fixup modpost warnings in head*.S for ppc32

2007-08-17 Thread Josh Boyer
On Fri, 17 Aug 2007 08:48:40 -0500 (CDT) Kumar Gala <[EMAIL PROTECTED]> wrote: > diff --git a/arch/powerpc/kernel/head_4xx.S b/arch/powerpc/kernel/head_4xx.S > index adc7f80..a0c9151 100644 > --- a/arch/powerpc/kernel/head_4xx.S > +++ b/arch/powerpc/kernel/head_4xx.S > @@ -53,9 +53,9 @@ > * >

RFC: [PATCH] Fixup modpost warnings in head*.S for ppc32

2007-08-17 Thread Kumar Gala
Addess the following modpost warnings we get out of the ppc32 head files: WARNING: vmlinux.o(.text+0x358): Section mismatch: reference to .init.text:early_init (between 'skpinv' and 'interrupt_base') WARNING: vmlinux.o(.text+0x380): Section mismatch: reference to .init.text:machine_init (between

Please pull from 'for-2.6.24' branch

2007-08-17 Thread Josh Boyer
Hi Paul, Please pull from the 'for-2.6.24' branch of git://git.infradead.org/~jwboyer/powerpc.git for-2.6.24 It contains the patches sent in http://ozlabs.org/pipermail/linuxppc-dev/2007-August/040512.html rebased on top of your for-2.6.24 branch with the acks from David included in th

Re: for-2.6.24 branch in powerpc.git created

2007-08-17 Thread Josh Boyer
On Fri, 17 Aug 2007 12:13:42 +1000 Paul Mackerras <[EMAIL PROTECTED]> wrote: > I have made a for-2.6.24 branch in powerpc.git and pushed the > following patches to it. Care to pick up the 4xx series (sending a separate pull request) and this one below? http://patchwork.ozlabs.org/linuxppc/patch?

Re: Please pull from 'fixes-2.6.23' branch

2007-08-17 Thread Kumar Gala
On Aug 17, 2007, at 12:02 AM, Kumar Gala wrote: > Please pull from 'fixes-2.6.23' branch of > > master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git > fixes-2.6.23 > > to receive the following updates: > > arch/powerpc/boot/dts/mpc8544ds.dts| 88 -- > arch/powe

[PATCH] [POWERPC] Fix 8xx compile failure

2007-08-17 Thread Kumar Gala
CC arch/powerpc/sysdev/commproc.o arch/powerpc/sysdev/fsl_soc.c: In function fsl_pcmcia_of_init: arch/powerpc/sysdev/fsl_soc.c:1109: error: implicit declaration of function of_platform_device_create Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- This patch is in the fixes-2.6.23 branch

still using stabs debug format?

2007-08-17 Thread Kumar Gala
Is anyone really still using the stabs format for kernel debug? can we kill off the .stabs references? - k ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH] advertise correct IDE mode on Pegasos2

2007-08-17 Thread Olaf Hering
The built-in IDE controller is configured in legacy mode, but the PCI registers advertise native mode. Force the PCI class into legacy mode. This allows pata_via to access two drives. The Pegasos specific irq enforcement in the via82cxxx driver can be removed. Tested on Pegasos2 with firmware ver

Re: [PATCH 0/3] Remove need for include/asm-ppc

2007-08-17 Thread Kumar Gala
On Aug 17, 2007, at 7:30 AM, Josh Boyer wrote: > On Fri, 17 Aug 2007 02:11:58 -0500 (CDT) > Kumar Gala <[EMAIL PROTECTED]> wrote: > >> This patch series removes the need for include/asm-ppc in the >> ARCH=powerpc >> build for ppc32. They exist in the following git tree: >> >> master.kernel.o

Re: [PATCH 3/3] [POWERPC] Stop include asm-ppc when building ARCH=powerpc for ppc32

2007-08-17 Thread Kumar Gala
On Aug 17, 2007, at 3:13 AM, Stephen Rothwell wrote: > On Fri, 17 Aug 2007 02:15:54 -0500 (CDT) Kumar Gala > <[EMAIL PROTECTED]> wrote: >> >> @@ -172,18 +168,15 @@ install: >> archclean: >> $(Q)$(MAKE) $(clean)=$(boot) >> >> -archmrproper: >> -$(Q)rm -rf arch/$(ARCH)/include >> - >>

Re: [PATCH] [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards

2007-08-17 Thread Kumar Gala
On Aug 17, 2007, at 3:07 AM, Paul Mackerras wrote: > Kumar Gala writes: > >> The interrupt routing in the device trees for the ULI M1575 was >> inproperly using the interrupt line field as pci function. Fixed >> up the device tree's to actual conform for to specification and >> changed the inter

Re: [PATCH 0/3] Remove need for include/asm-ppc

2007-08-17 Thread Josh Boyer
On Fri, 17 Aug 2007 02:11:58 -0500 (CDT) Kumar Gala <[EMAIL PROTECTED]> wrote: > This patch series removes the need for include/asm-ppc in the ARCH=powerpc > build for ppc32. They exist in the following git tree: > > master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git for-2.6.24 > >

Re: Patches for ppc?

2007-08-17 Thread David Woodhouse
On Fri, 2007-08-17 at 09:43 +0200, Johan Borkhuis wrote: > I am working with a PPC-kernel, and came across a problem with the PCI > initialisation. On this mailing list I see a lot of patches, but they > are all for the PowerPC architecture. Are patches for the PPC > architecture still processed

[PATCH]ppc: fix unalligned PCI BAR-mapping

2007-08-17 Thread Johan Borkhuis
Hello, The following patch makes sure that all areas referred to through a BAR register in a PCI device are aligned on a PAGE_SIZE boundary. When looking at the result of the PCI initialization, the BAR registers are filled with values that make sure the areas are directly adjacent. This is a p

Re: [PATCH 3/3] [POWERPC] Stop include asm-ppc when building ARCH=powerpc for ppc32

2007-08-17 Thread Stephen Rothwell
On Fri, 17 Aug 2007 02:15:54 -0500 (CDT) Kumar Gala <[EMAIL PROTECTED]> wrote: > > @@ -172,18 +168,15 @@ install: > archclean: > $(Q)$(MAKE) $(clean)=$(boot) > > -archmrproper: > - $(Q)rm -rf arch/$(ARCH)/include > - > archprepare: checkbin > > -ifeq ($(CONFIG_PPC32),y) > -# Temporary

Re: [PATCH] [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards

2007-08-17 Thread Paul Mackerras
Kumar Gala writes: > The interrupt routing in the device trees for the ULI M1575 was > inproperly using the interrupt line field as pci function. Fixed > up the device tree's to actual conform for to specification and > changed the interrupt mapping code so it just uses a static mapping > setup a

Re: Patches for ppc?

2007-08-17 Thread Kumar Gala
On Aug 17, 2007, at 2:43 AM, Johan Borkhuis wrote: > Hello, > > I am working with a PPC-kernel, and came across a problem with the PCI > initialisation. On this mailing list I see a lot of patches, but they > are all for the PowerPC architecture. Are patches for the PPC > architecture still proce

Patches for ppc?

2007-08-17 Thread Johan Borkhuis
Hello, I am working with a PPC-kernel, and came across a problem with the PCI initialisation. On this mailing list I see a lot of patches, but they are all for the PowerPC architecture. Are patches for the PPC architecture still processed? I know that the ppc-architecture is being phased out,

Please pull from 'for-2.6.24' branch

2007-08-17 Thread Kumar Gala
Paul, Please pull from 'for-2.6.24' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git for-2.6.24 It would be good to get these changes in ASAP as a baseline for other work that might need to move other files over to asm-powerpc or other clean ups. to receive the fo

[PATCH 3/3] [POWERPC] Stop include asm-ppc when building ARCH=powerpc for ppc32

2007-08-17 Thread Kumar Gala
We no longer have any dependancies on include/asm-ppc so we can get ride of the makefile hacks to include it in the build process. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- arch/powerpc/Makefile | 23 --- 1 files changed, 8 insertions(+), 15 deletions(-) diff --git

[PATCH 2/3] [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need

2007-08-17 Thread Kumar Gala
To build arch/powerpc without including asm-ppc/ we need these files in asm-powerpc/ Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- include/asm-powerpc/8xx_immap.h | 564 + include/asm-powerpc/commproc.h| 692 include/asm-powerpc/cpm2.h| 124

[PATCH 1/3] [POWERPC] Remove old includes from arch/ppc

2007-08-17 Thread Kumar Gala
Remove includes of files that existed in arch/ppc that we dont need in arch/powerpc anymore. The following includes were removed: Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- arch/powerpc/kernel/setup_32.c |2 -- arch/powerpc/platforms/52xx/lite5200.c |

[PATCH 0/3] Remove need for include/asm-ppc

2007-08-17 Thread Kumar Gala
This patch series removes the need for include/asm-ppc in the ARCH=powerpc build for ppc32. They exist in the following git tree: master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git for-2.6.24 posting here for everyone else to see. - k __