* [PATCH 0/3] sparc32: SMP IPI patches
@ 2011-04-27 13:18 Daniel Hellstrom
2011-05-16 20:04 ` David Miller
2011-05-16 20:06 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Daniel Hellstrom @ 2011-04-27 13:18 UTC (permalink / raw)
To: sparclinux
Hello Dave,
I have made a new set of IPI patches, this time it includes a patch for
SUN4M but still missing SUN4D however.
I have tried to use BTFIXUPs and extract some code from the LEON to the
common smp_32.c as you suggested. I have left the non-spinlock LEON code
around per-cpu work data as we discussed, I think the same argumentation
works for sun4m to avoid races when clearing the pending register in the
interrupt trap handler.
This time I added some IPI IRQ statistics to the genirq
arch_show_interrupts(),
so the patches must be applied to sparc-next containing genirq patches.
Daniel
arch/sparc/Kconfig | 3 +-
arch/sparc/include/asm/cpudata_32.h | 5 ++
arch/sparc/include/asm/leon.h | 4 +-
arch/sparc/include/asm/smp_32.h | 22 +++----
arch/sparc/kernel/entry.S | 45 +++++++++++++-
arch/sparc/kernel/irq_32.c | 10 +++
arch/sparc/kernel/leon_smp.c | 109
++++++++++++++++++++++++++++++++++-
arch/sparc/kernel/smp_32.c | 52 +++++++++++++++--
arch/sparc/kernel/sun4m_smp.c | 29 +++++++++
9 files changed, 251 insertions(+), 28 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 0/3] sparc32: SMP IPI patches
2011-04-27 13:18 [PATCH 0/3] sparc32: SMP IPI patches Daniel Hellstrom
@ 2011-05-16 20:04 ` David Miller
2011-05-16 20:06 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2011-05-16 20:04 UTC (permalink / raw)
To: sparclinux
From: Daniel Hellstrom <daniel@gaisler.com>
Date: Wed, 27 Apr 2011 15:18:43 +0200
> I have made a new set of IPI patches, this time it includes a patch
> for SUN4M but still missing SUN4D however.
>
> I have tried to use BTFIXUPs and extract some code from the LEON to
> the common smp_32.c as you suggested. I have left the non-spinlock
> LEON code around per-cpu work data as we discussed, I think the same
> argumentation works for sun4m to avoid races when clearing the pending
> register in the interrupt trap handler.
>
> This time I added some IPI IRQ statistics to the genirq
> arch_show_interrupts(),
> so the patches must be applied to sparc-next containing genirq
> patches.
All 3 patches applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 0/3] sparc32: SMP IPI patches
2011-04-27 13:18 [PATCH 0/3] sparc32: SMP IPI patches Daniel Hellstrom
2011-05-16 20:04 ` David Miller
@ 2011-05-16 20:06 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2011-05-16 20:06 UTC (permalink / raw)
To: sparclinux
From: David Miller <davem@davemloft.net>
Date: Mon, 16 May 2011 13:04:28 -0700 (PDT)
> From: Daniel Hellstrom <daniel@gaisler.com>
> Date: Wed, 27 Apr 2011 15:18:43 +0200
>
>> I have made a new set of IPI patches, this time it includes a patch
>> for SUN4M but still missing SUN4D however.
>>
>> I have tried to use BTFIXUPs and extract some code from the LEON to
>> the common smp_32.c as you suggested. I have left the non-spinlock
>> LEON code around per-cpu work data as we discussed, I think the same
>> argumentation works for sun4m to avoid races when clearing the pending
>> register in the interrupt trap handler.
>>
>> This time I added some IPI IRQ statistics to the genirq
>> arch_show_interrupts(),
>> so the patches must be applied to sparc-next containing genirq
>> patches.
>
> All 3 patches applied.
Oops, I see now there was a 4-patch "v2" series, will look that
over instead. :-)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-16 20:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-27 13:18 [PATCH 0/3] sparc32: SMP IPI patches Daniel Hellstrom
2011-05-16 20:04 ` David Miller
2011-05-16 20:06 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.