Skip to content

x86/xen: Make idle tasks reliable

Miroslav Benes live-patching lkml xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 5 repliesSuperseded
  3. v12 patches 9 repliesSuperseded

Changes in v3 from the cover letter

- change prototype of asm_cpu_bringup_and_idle()
- replace %_ASM_SP with %rsp and %esp respectively
- fix build for !CONFIG_XEN_PV_SMP

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/xen: Make the boot CPU idle task reliablearch/x86/xen/xen-head.S+6 -21 reply
2/2x86/xen: Make the secondary CPU idle tasks reliablearch/x86/xen/smp_pv.c arch/x86/xen/xen-head.S+12 -11 reply

Reviews trailers per patch

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

PatchJuergen Gross
1/2R-b
2/2R-b

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 0/2] x86/xen: Make idle tasks reliable

The unwinder reports idle tasks' stack on XEN PV as unreliable which complicates things for at least live patching. The two patches in the series try to amend that by using similar approach as non-XEN x86 does.

v2->v3:
- change prototype of asm_cpu_bringup_and_idle()
- replace %_ASM_SP with %rsp and %esp respectively
- fix build for !CONFIG_XEN_PV_SMP

v1->v2:
- call instruction used instead of push+jmp
- initial_stack used directly

v1 https://lore.kernel.org/live-patching/[email protected]/
v2 https://lore.kernel.org/live-patching/[email protected]/

Miroslav Benes (2):
x86/xen: Make the boot CPU idle task reliable x86/xen: Make the secondary CPU idle tasks reliable

 arch/x86/xen/smp_pv.c   |  3 ++-
 arch/x86/xen/xen-head.S | 18 ++++++++++++++++--
 2 files changed, 18 insertions(+), 3 deletions(-)
Signature · 1 line
2.25.1