Draft: SGX updates from v5.17
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2081354
Upstream Status: merged into the linux.git
Bring in important SGX commits from v5.17. All the commits except
one apply cleanly.
Three commits are touching arch/x86/mm and NUMA code. They were
checked carefully, they add new functionality related to SGX, but
do not change anything previously existing:
drivers/base/node.c: use bin_attribute to break the size limitation of cpumap ABI
x86/sgx: Add an attribute for the amount of SGX memory in a NUMA node
The third commit has conflicts, but only a context ones. An include,
a helper function and a new case in switch() are added. Nothing existing
previously is touched. The details are in the commit message:
x86/sgx: Remove .fixup usage
Signed-off-by: Vladis Dronov <vdronov@redhat.com>