Centos-kernel-stream-9/kernel/cgroup
Paolo Bonzini 3832e86c12 KVM: TDX: Register TDX host key IDs to cgroup misc controller
JIRA: https://issues.redhat.com/browse/RHEL-15711
Upstream status: https://git.kernel.org/pub/scm/virt/kvm/kvm.git

TDX host key IDs (HKID) are limit resources in a machine, and the misc
cgroup lets the machine owner track their usage and limits the possibility
of abusing them outside the owner's control.

The cgroup v2 miscellaneous subsystem was introduced to control the
resource of AMD SEV & SEV-ES ASIDs.  Likewise introduce HKIDs as a misc
resource.

Signed-off-by: Zhiming Hu <zhiming.hu@intel.com>
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 7c035bea94074b19ed560a4f23a76c5a6c8e594f)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

RHEL: context
2025-07-15 19:12:38 +02:00
..
Makefile cgroup/cpuset: guard cpuset-v1 code under CONFIG_CPUSETS_V1 2025-04-28 11:26:44 +01:00
cgroup-internal.h Revert "Revert "Merge: cgroup: Backport upstream cgroup commits up to v6.8"" 2024-05-18 21:38:20 -04:00
cgroup-v1.c cgroup: Do not report unavailable v1 controllers in /proc/cgroups 2025-04-28 11:26:39 +01:00
cgroup.c Revert "cgroup: Avoid -Wstringop-overflow warnings" 2025-04-28 19:13:12 +01:00
cpuset-internal.h cgroup/cpuset: Move cpu.h include to cpuset-internal.h 2025-04-28 11:26:45 +01:00
cpuset-v1.c cgroup/cpuset: Move procfs cpuset attribute under cgroup-v1.c 2025-04-28 19:13:12 +01:00
cpuset.c cgroup/cpuset: Move procfs cpuset attribute under cgroup-v1.c 2025-04-28 19:13:12 +01:00
debug.c
freezer.c
legacy_freezer.c cgroup, legacy_freezer: update comment for freezer_css_offline() 2024-09-30 09:47:00 -04:00
misc.c KVM: TDX: Register TDX host key IDs to cgroup misc controller 2025-07-15 19:12:38 +02:00
namespace.c Revert "Revert "Merge: cgroup: Backport upstream cgroup commits up to v6.8"" 2024-05-18 21:38:20 -04:00
pids.c cgroup/pids: Remove unreachable paths of pids_{can,cancel}_fork 2025-04-28 11:26:40 +01:00
rdma.c rdmacg: fix kernel-doc warnings in rdmacg 2023-11-08 14:47:35 -05:00
rstat.c cgroup/rstat: Tracking cgroup-level niced CPU time 2025-04-28 11:26:46 +01:00