]> Git Repo - linux.git/commit
x86/cpufeatures: Mark ENQCMD as disabled when configured out
authorFenghua Yu <[email protected]>
Tue, 15 Sep 2020 16:30:12 +0000 (09:30 -0700)
committerBorislav Petkov <[email protected]>
Thu, 17 Sep 2020 18:22:15 +0000 (20:22 +0200)
commit1478b99a76534b6c244cfe24fa616280a9441118
treec44a7227124d4aa5835a167b5bc13763e94b3212
parent52ad9bc64c74167466e70e0df4b99ee5ccef0078
x86/cpufeatures: Mark ENQCMD as disabled when configured out

Currently, the ENQCMD feature depends on CONFIG_IOMMU_SUPPORT. Add
X86_FEATURE_ENQCMD to the disabled features mask so that it gets
disabled when the IOMMU config option above is not enabled.

Signed-off-by: Fenghua Yu <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Tony Luck <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
arch/x86/include/asm/disabled-features.h
This page took 0.048983 seconds and 4 git commands to generate.