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
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
>> 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.
> 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
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
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
> 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 |
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
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
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
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.
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
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
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
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
>
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:
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.
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
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
> 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
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
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
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
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
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
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 ---
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(+),
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(+)
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
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
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
--
---
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
> 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/
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
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
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
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
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 @@
>
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
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
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
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
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;
> +
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 -
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
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/
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
--
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
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
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
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
>> +++
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 @@
> *
>
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
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
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?
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
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
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
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
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
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
>> -
>>
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
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
>
>
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
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
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
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
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
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,
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
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
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
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 |
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
__
74 matches
Mail list logo