Skip to content

Commit 584f86c

Browse files
committed
chore: Link to kernel patch series for fixing unpermitted XTILE CPUID
The link would be helpful for people who don't have much context around that. Signed-off-by: Takahiro Itazuri <[email protected]>
1 parent ca825b6 commit 584f86c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vmm/src/arch/x86_64/xstate.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ pub fn request_dynamic_xstate_features() -> Result<(), XstateError> {
4343
// causes guest crash during boot because a guest calls XSETBV instruction with all
4444
// XSAVE feature bits enumerated on CPUID and XSETBV only accepts either of both Intel
4545
// AMX bits enabled or disabled; otherwise resulting in general protection fault.
46+
// https://lore.kernel.org/all/[email protected]/
4647
if supported_xfeatures & INTEL_AMX_MASK == INTEL_AMX_MASK {
4748
request_xfeature_permission(arch_prctl::ARCH_XCOMP_TILEDATA).map_err(|err| {
4849
XstateError::RequestFeaturePermission(arch_prctl::ARCH_XCOMP_TILEDATA, err)

0 commit comments

Comments
 (0)