[SRU][N:linux, N:linux-azure][PATCH 0/1] Fix failure to build TDX module
John Cabaj
john.cabaj at canonical.com
Thu Oct 2 21:50:14 UTC 2025
BugLink: https://bugs.launchpad.net/bugs/2126698
SRU Justification
[Impact]
* Upstream 9f98a4f4e721: "x86/tdx: Fix arch_safe_halt() execution for TDX VMs" added irq.safe_halt and irq.halt calls outside of the CONFIG_PARAVIRT_XXL preprocessor directive of which the definitions occur in arch/x86/include/asm/paravirt_types.h, leading to a compilation error
[Fix]
* Simple backport of 22cc5ca5de52: "x86/paravirt: Move halt paravirt calls under CONFIG_PARAVIRT" upstream
[Test Plan]
* Compile tested
[Regression potential]
* Possible regressions could result in unexpected behavior of Xen guests, though patch has been upstream for around 8 months.
Kirill A. Shutemov (1):
x86/paravirt: Move halt paravirt calls under CONFIG_PARAVIRT
arch/x86/include/asm/irqflags.h | 40 +++++++++++++++------------
arch/x86/include/asm/paravirt.h | 20 +++++++-------
arch/x86/include/asm/paravirt_types.h | 3 +-
arch/x86/kernel/paravirt.c | 14 ++++++----
4 files changed, 41 insertions(+), 36 deletions(-)
--
2.43.0
More information about the kernel-team
mailing list