Skip to content

arch/x86, x86/hyperv: Few fixes for the AP startup

Roman Kisel linux-acpi linux-hyperv lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/hyperv: Fix APIC ID and VP index confusion in hv_snp_boot_ap()arch/x86/hyperv/hv_init.c arch/x86/hyperv/hv_vtl.c arch/x86/hyperv/ivm.c +2 more+64 -430 replies
2/2arch/x86: Provide the CPU number in the wakeup AP callbackarch/x86/coco/sev/core.c arch/x86/hyperv/hv_vtl.c arch/x86/hyperv/ivm.c +7 more+28 -492 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMichael KelleyTom LendackyThomas GleixnerRafael J. Wysocki
1/2R-b
2/2R-b R-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH hyperv-next 0/2] arch/x86, x86/hyperv: Few fixes for the AP startup

This patchset combines two patches that depend on each other and were not applying cleanly:
1. Fix APIC ID and VP index confusion in hv_snp_boot_ap():

    https://lore.kernel.org/linux-hyperv/[email protected]/
  2. Provide the CPU number in the wakeup AP callback:
    https://lore.kernel.org/linux-hyperv/[email protected]/

I rebased the patches on top of the latest hyperv-next tree and updated the second patch that broke the linux-next build. That fix that, I made one non-functional change:
updated the signature of numachip_wakeup_secondary() to match the parameter list of wakeup_secondary_cpu().

Roman Kisel (2):
x86/hyperv: Fix APIC ID and VP index confusion in hv_snp_boot_ap() arch/x86: Provide the CPU number in the wakeup AP callback

 arch/x86/coco/sev/core.c             | 13 ++-----
 arch/x86/hyperv/hv_init.c            | 33 +++++++++++++++++
 arch/x86/hyperv/hv_vtl.c             | 54 ++++------------------------
 arch/x86/hyperv/ivm.c                | 11 ++++--
 arch/x86/include/asm/apic.h          |  8 ++---
 arch/x86/include/asm/mshyperv.h      |  7 ++--
 arch/x86/kernel/acpi/madt_wakeup.c   |  2 +-
 arch/x86/kernel/apic/apic_noop.c     |  8 ++++-
 arch/x86/kernel/apic/apic_numachip.c |  2 +-
 arch/x86/kernel/apic/x2apic_uv_x.c   |  2 +-
 arch/x86/kernel/smpboot.c            | 10 +++---
 include/hyperv/hvgdk_mini.h          |  2 +-
 12 files changed, 76 insertions(+), 76 deletions(-)

base-commit: 9b0844d87b1407681b78130429f798beb366f43f

Signature · 1 line
2.43.0