Skip to content

x86/apic: Support for IPI shorthands

Thomas Gleixner lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest25 patches 1 replyIn review
  2. v225 patches 16 repliesSuperseded
  3. v118 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25x86/kgbd: Use NMI_VECTOR not APIC_DM_NMIarch/x86/kernel/kgdb.c+1 -10 replies
2/25x86/apic: Invoke perf_events_lapic_init() after enabling APICarch/x86/kernel/apic/apic.c+2 -30 replies
3/25x86/apic: Soft disable APIC before initializing itarch/x86/kernel/apic/apic.c+8 -00 replies
4/25x86/apic: Make apic_pending_intr_clear() more robustarch/x86/kernel/apic/apic.c+65 -460 replies
5/25x86/apic: Move IPI inlines into ipi.carch/x86/include/asm/ipi.h arch/x86/kernel/apic/ipi.c+13 -220 replies
6/25x86/apic: Cleanup the include mazearch/x86/kernel/apic/apic_flat_64.c arch/x86/kernel/apic/apic_noop.c arch/x86/kernel/apic/apic_numachip.c +6 more+24 -1100 replies
7/25x86/apic: Move ipi header into apic directoryarch/x86/include/asm/ipi.h arch/x86/kernel/apic/apic_flat_64.c arch/x86/kernel/apic/apic_numachip.c +6 more+103 -1040 replies
8/25x86/apic: Move apic_flat_64 header into apic directoryarch/x86/include/asm/apic_flat_64.h arch/x86/kernel/apic/apic_flat_64.c arch/x86/kernel/apic/apic_flat_64.h +1 more+10 -100 replies
9/25x86/apic: Consolidate the apic local headersarch/x86/kernel/apic/apic_flat_64.c arch/x86/kernel/apic/apic_flat_64.h arch/x86/kernel/apic/apic_numachip.c +9 more+83 -1190 replies
10/25x86/apic/uv: Make x2apic_extra_bits staticarch/x86/include/asm/apic.h arch/x86/kernel/apic/x2apic_uv_x.c+1 -30 replies
11/25smp/hotplug: Track booted once CPUs in a cpumaskinclude/linux/cpumask.h kernel/cpu.c+9 -40 replies
12/25x86/cpu: Move arch_smt_update() to a neutral placearch/x86/include/asm/bugs.h arch/x86/kernel/cpu/bugs.c arch/x86/kernel/cpu/common.c+12 -10 replies
13/25x86/hotplug: Silence APIC and NMI when CPU is deadarch/x86/include/asm/apic.h arch/x86/include/asm/processor.h arch/x86/kernel/apic/apic.c +2 more+42 -121 reply
14/25x86/apic: Remove dest argument from __default_send_IPI_shortcut()arch/x86/kernel/apic/apic_flat_64.c arch/x86/kernel/apic/ipi.c arch/x86/kernel/apic/local.h +1 more+11 -140 replies
15/25x86/apic: Add NMI_VECTOR wait to IPI shorthandarch/x86/kernel/apic/ipi.c+4 -10 replies
16/25x86/apic: Move no_ipi_broadcast() out of 32bitarch/x86/kernel/apic/ipi.c arch/x86/kernel/apic/local.h arch/x86/kernel/apic/probe_32.c+27 -290 replies
17/25x86/apic: Add static key to Control IPI shorthandsarch/x86/include/asm/apic.h arch/x86/kernel/apic/ipi.c arch/x86/kernel/apic/local.h +1 more+33 -10 replies
18/25x86/apic: Provide and use helper for send_IPI_allbutself()arch/x86/include/asm/apic.h arch/x86/kernel/apic/ipi.c arch/x86/kernel/kgdb.c +2 more+18 -90 replies
19/25cpumask: Implement cpumask_or_equal()include/linux/bitmap.h include/linux/cpumask.h lib/bitmap.c+57 -00 replies
20/25x86/smp: Move smp_function_call implementations into IPI codearch/x86/include/asm/smp.h arch/x86/kernel/apic/ipi.c arch/x86/kernel/smp.c+41 -400 replies
21/25x86/smp: Enhance native_send_call_func_ipi()arch/x86/kernel/apic/ipi.c+11 -130 replies
22/25x86/apic: Remove the shorthand decision logicarch/x86/kernel/apic/ipi.c+3 -240 replies
23/25x86/apic: Share common IPI helpersarch/x86/kernel/apic/ipi.c arch/x86/kernel/apic/local.h+18 -180 replies
24/25x86/apic/flat64: Remove the IPI shorthand decision logicarch/x86/include/asm/apic.h arch/x86/kernel/apic/apic_flat_64.c arch/x86/kernel/apic/probe_64.c+6 -540 replies
25/25x86/apic/x2apic: Implement IPI shorthands supportarch/x86/kernel/apic/local.h arch/x86/kernel/apic/x2apic_cluster.c arch/x86/kernel/apic/x2apic_phys.c+13 -40 replies

Reviews trailers per patch

None of the 25 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter Zijlstra (Intel)
SeriesA-b
1/25
2/25
3/25
4/25
5/25
6/25
7/25
8/25
9/25
10/25
11/25
12/25
13/25
14/25
15/25
16/25
17/25
18/25
19/25
20/25
21/25
22/25
23/25
24/25
25/25

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [patch V3 00/25] x86/apic: Support for IPI shorthands

This is merily a refresh of V2.

Changes vs. V2 (https://lkml.kernel.org/r/[email protected])

- Fix the NMI_VECTOR/VECTOR_NMI typo in kgdb

- Remove the misleading vector 0-31 wording

It applies on top of:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/apic

The series is also available from git:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/ipi

Thanks,

tglx

8<------------

 a/arch/x86/include/asm/apic_flat_64.h |    8 -
 a/arch/x86/include/asm/ipi.h          |  109 ---------------------
 a/arch/x86/kernel/apic/x2apic.h       |    9 -
 arch/x86/include/asm/apic.h           |   11 +-
 arch/x86/include/asm/bugs.h           |    2 
 arch/x86/include/asm/processor.h      |    2 
 arch/x86/include/asm/smp.h            |    1 
 arch/x86/kernel/apic/apic.c           |  157 +++++++++++++++++++------------
 arch/x86/kernel/apic/apic_flat_64.c   |   66 ++-----------
 arch/x86/kernel/apic/apic_noop.c      |   18 ---
 arch/x86/kernel/apic/apic_numachip.c  |    8 -
 arch/x86/kernel/apic/bigsmp_32.c      |    9 -
 arch/x86/kernel/apic/ipi.c            |  170 +++++++++++++++++++++++++---------
 arch/x86/kernel/apic/probe_32.c       |   41 --------
 arch/x86/kernel/apic/probe_64.c       |   21 ----
 arch/x86/kernel/apic/x2apic_cluster.c |   20 +---
 arch/x86/kernel/apic/x2apic_phys.c    |   25 ++---
 arch/x86/kernel/apic/x2apic_uv_x.c    |   30 +-----
 arch/x86/kernel/cpu/bugs.c            |    2 
 arch/x86/kernel/cpu/common.c          |   11 ++
 arch/x86/kernel/kgdb.c                |    2 
 arch/x86/kernel/nmi.c                 |    3 
 arch/x86/kernel/reboot.c              |    7 -
 arch/x86/kernel/smp.c                 |   44 --------
 arch/x86/kernel/smpboot.c             |   13 ++
 b/arch/x86/kernel/apic/local.h        |   68 +++++++++++++
 include/linux/bitmap.h                |   23 ++++
 include/linux/cpumask.h               |   16 +++
 kernel/cpu.c                          |   11 +-
 lib/bitmap.c                          |   20 ++++
 30 files changed, 450 insertions(+), 477 deletions(-)