[SRU][N:linux-intel][PATCH 0/1] Register TDX host key IDs to cgroup misc controller
Thibault Ferrante
thibault.ferrante at canonical.com
Wed Apr 2 19:57:01 UTC 2025
BugLink: https://bugs.launchpad.net/bugs/2104946
[ Impact ]
* Expose upper limit of TDs through cgroup v2 misc subsystem.
[ Fix ]
* Backport upstream submission :
https://lore.kernel.org/all/20250220170604.2279312-31-pbonzini@redhat.com/
[ Test Plan ]
* Compiled and Tested on TDX supported hardware by:
- Enabling TDX support (procedure described in https://github.com/canonical/tdx)
- `sudo mount -t cgroup2 none mnt/`
- Check mnt/misc.capacity for a TDX entry
- Check mnt/misc.current for TDX usage when starting
[ Where problems could occur ]
* Regression in confidential TDX subsystem
[ Other info ]
- This has been specifically requested for noble:linux-intel, not other series (for now).
Zhiming Hu (1):
UBUNTU: SAUCE: KVM: TDX: Register TDX host key IDs to cgroup misc
controller
arch/x86/include/asm/tdx.h | 2 ++
arch/x86/kvm/vmx/tdx.c | 15 +++++++++++++++
arch/x86/kvm/vmx/tdx.h | 1 +
arch/x86/virt/vmx/tdx/tdx.c | 6 ++++++
include/linux/misc_cgroup.h | 4 ++++
kernel/cgroup/misc.c | 5 +++++
6 files changed, 33 insertions(+)
--
2.48.1
More information about the kernel-team
mailing list