x86/apic: Implement single target IPI callback
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | x86/apic: Add a single-target IPI function to the apicarch/ arch/ | +15 | 0 replies | |
| 2/14 | x86/apic: Implement single target IPI function for x2apic_clusterarch/ | +12 | 3 replies | |
| 3/14 | x86/apic: Implement default single target IPI functionarch/ arch/ | +11 | 0 replies | |
| 4/14 | x86/apic: Remove pointless indirections from apic_physflatarch/ | +3 | 0 replies | |
| 5/14 | x86/apic: Wire up single IPI for apic_physflatarch/ | +1 | 0 replies | |
| 6/14 | x86/apic: Remove pointless indirections from bigsmp_apicarch/ | +2 | 0 replies | |
| 7/14 | x86/apic: Wire up single IPI for bigsmp_apicarch/ | +1 | 0 replies | |
| 8/14 | x86/apic: Implement single IPI for x2apic_physarch/ | +12 | 0 replies | |
| 9/14 | x86/apic: Wire up single IPI for x2apic_uvarch/ | +1 | 0 replies | |
| 10/14 | x86/apic: Implement single IPI for apic_nooparch/ | +2 | 0 replies | |
| 11/14 | x86/apic: Wire up single IPI for apic_numachiparch/ | +2 | 0 replies | |
| 12/14 | x86/apic: Provide default send single IPI wrapperarch/ arch/ | +9 | 0 replies | |
| 13/14 | x86/apic: Use default send single IPI wrapperarch/ arch/ | +2 | 0 replies | |
| 14/14 | x86/smp: Remove single IPI wrapperarch/ | +2 | 0 replies |
Reviews trailers per patch
1 of 14 patches has a Reviewed-by or Acked-by.
| Patch | Ingo Molnar |
|---|---|
| 1/14 | |
| 2/14 | R-b |
| 3/14 | |
| 4/14 | |
| 5/14 | |
| 6/14 | |
| 7/14 | |
| 8/14 | |
| 9/14 | |
| 10/14 | |
| 11/14 | |
| 12/14 | |
| 13/14 | |
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 00/14] x86/apic: Implement single target IPI callback
Linus provided a implementation for this for x2apic_cluster and mumbled at http://marc.info/?l=linux-kernel&m=144660325518209 :
Quoted 10 lines
Side note, I have an *old* patch that I think simplifies the (reasonably common) case of sending IPI's to individual CPU's. That's done by the "reschedule ipi" in particular.
That's something that is trivially done on the x2apic, but that the mask-based interfaces makes insanely complicated.
I have *not* rebased this on top of modern kernels so it may not actually work as a patch any more, because I'm just sending this out as a "Hmm, what do you guys think" rather than a real submission.
I thought it's worthwhile so I had a look at the other apic implementations and all but apic_default and apic_flat can be converted halfways simple to provide a single target callback.
The following series does that and gets rid of the wrapper in the call site at the end.
Compiles and didn't explode when booting it, so it must be perfect :)
Thanks,
tglx
---
arch/x86/include/asm/apic.h | 1 + arch/x86/include/asm/ipi.h | 2 ++ arch/x86/kernel/apic/apic_flat_64.c | 19 +++++-------------- arch/x86/kernel/apic/apic_noop.c | 2 ++ arch/x86/kernel/apic/apic_numachip.c | 2 ++ arch/x86/kernel/apic/bigsmp_32.c | 10 +++------- arch/x86/kernel/apic/ipi.c | 18 ++++++++++++++++++ arch/x86/kernel/apic/probe_32.c | 1 + arch/x86/kernel/apic/x2apic_cluster.c | 12 ++++++++++++ arch/x86/kernel/apic/x2apic_phys.c | 12 ++++++++++++ arch/x86/kernel/apic/x2apic_uv_x.c | 1 + arch/x86/kernel/smp.c | 4 ++-- 12 files changed, 61 insertions(+), 23 deletions(-)