Re: [PATCH] powerpc: add support for PAGE_SIZEs greater than 4KB for

2008-09-13 Thread Josh Boyer
On Sat, 13 Sep 2008 10:49:13 -0700 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > On Thu, 2008-09-11 at 09:57 -0700, prodyut hazarika wrote: > > > You should mention an example of dedicated cases (eg. RAID). > > I think this help should mention that for page size 256KB, you will > > need to

Re: [PATCH 2/2] ehea: Enable DLPAR memory remove

2008-09-13 Thread Jeff Garzik
Hannes Hering wrote: This patch adds the capability flag to the capability list for dynamic LPAR memory remove to enable this feature. Signed-off-by: Hannes Hering <[EMAIL PROTECTED]> --- diff -Nurp -X dontdiff linux-2.6.27-rc5/drivers/net/ehea/ehea.h patched_kernel/drivers/net/ehea/ehea.h ---

Re: demuxing irqs

2008-09-13 Thread Roland Dreier
> The muxed interrupts are inside a SOC CPU. For example eight GPIOs > can each individually be enabled to trigger hardware interrupt 7. When > I get hw interrupt 7 i want to demux it into 8 virtual interrupts. > There are eight bit registers for individually acking, enabling, etc > each of t

Re: demuxing irqs

2008-09-13 Thread Jon Smirl
On Sat, Sep 13, 2008 at 6:41 PM, Roland Dreier <[EMAIL PROTECTED]> wrote: > > Can someone point me at a simple example of how to demux irqs using > > the powerpc irq functions? I have eight devices on a single irq and I > > want to turn them into virtual irqs. > > Sorry about the previous reply.

Re: demuxing irqs

2008-09-13 Thread Roland Dreier
> Can someone point me at a simple example of how to demux irqs using > the powerpc irq functions? I have eight devices on a single irq and I > want to turn them into virtual irqs. Sorry about the previous reply. Anyway, what are you going to demux based on? Do you have some other signal you

Re: [PATCH 1/2] ehea: Fix DLPAR memory handling

2008-09-13 Thread Jeff Garzik
Hannes Hering wrote: The ehea busmap must be allocated only once in the first of many calls of the ehea_create_busmap_callback. Signed-off-by: Hannes Hering <[EMAIL PROTECTED]> --- diff -Nurp -X dontdiff linux-2.6.27-rc5/drivers/net/ehea/ehea_qmr.c patched_kernel/drivers/net/ehea/ehea_qmr.c --

Re: [PATCH] ibm_newemac: Add support for GPCS, SGMII and M88E1112 PHY

2008-09-13 Thread Jeff Garzik
Victor Gallardo wrote: This patch adds GPCS, SGMII and M88E1112 PHY support for the AMCC PPC460GT/EX processors. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- drivers/net/ibm_newemac/core.c | 40 +++ drivers/net/ibm_newemac/core.h |3 + drivers/net/ibm_newemac/phy

Re: [PATCH 1/3] ibm_newemac: Allow the "no flow control" EMAC feature to work

2008-09-13 Thread Jeff Garzik
Josh Boyer wrote: Some PowerPC 40x chips have errata that force us not to use the integrated flow control. We have the feature defined, but it currently can't be used because it is never added to EMAC_FTRS_POSSIBLE. This adds a Kconfig option for affected platforms to select and puts the featur

Re: [PATCH 2/2] ehea: fix mutex and spinlock use

2008-09-13 Thread Jeff Garzik
Sebastien Dugue wrote: Looks like to me that the ehea_fw_handles.lock mutex and the ehea_bcmc_regs.lock spinlock are taken much longer than necessary and could as well be pushed inside the functions that need them (ehea_update_firmware_handles() and ehea_update_bcmc_registrations()) rather than

Re: [PATCH 1/2] ehea: fix phyp debugging typo

2008-09-13 Thread Jeff Garzik
Sebastien Dugue wrote: Fix typo in ehea_h_query_ehea() which prevents building when DEBUG is on. Signed-off-by: Sebastien Dugue <[EMAIL PROTECTED]> --- drivers/net/ehea/ehea_phyp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/ehea/ehea_phyp.c b/drivers

demuxing irqs

2008-09-13 Thread Jon Smirl
Can someone point me at a simple example of how to demux irqs using the powerpc irq functions? I have eight devices on a single irq and I want to turn them into virtual irqs. -- Jon Smirl [EMAIL PROTECTED] ___ Linuxppc-dev mailing list Linuxppc-dev@ozla

Re: [PATCH v4 1/4] powerpc: Introduce local (non-broadcast) forms of tlb invalidates

2008-09-13 Thread Benjamin Herrenschmidt
> static inline void flush_tlb_range(struct vm_area_struct *vma, > unsigned long start, unsigned long end) > { > - _tlbia(); > + _tlbil_all(); > } Why not the _pid() variant here ? > +/* > + * Flush MMU TLB for a particular process id, but only on the

Re: [PATCH] powerpc: add support for PAGE_SIZEs greater than 4KB for

2008-09-13 Thread Benjamin Herrenschmidt
On Thu, 2008-09-11 at 09:57 -0700, prodyut hazarika wrote: > You should mention an example of dedicated cases (eg. RAID). > I think this help should mention that for page size 256KB, you will > need to have a special version of binutils, since the ELF standard > mentions page sizes only upto 64KB.

Re: [PATCH] powerpc: add support for PAGE_SIZEs greater than 4KB for

2008-09-13 Thread Benjamin Herrenschmidt
> [snip] > > diff --git a/arch/powerpc/kernel/head_booke.h > > b/arch/powerpc/kernel/head_booke.h > > index fce2df9..4f802df 100644 > > --- a/arch/powerpc/kernel/head_booke.h > > +++ b/arch/powerpc/kernel/head_booke.h > > @@ -20,7 +20,9 @@ > > beq 1f;