diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2026-04-08 18:42:04 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2026-05-10 15:52:57 +0300 |
| commit | f603854a1b42486ae6303675fcb47377c1396c80 (patch) | |
| tree | 4b5e4a8bd791d21ec9cf2044c9e16249e5f2fb73 /include/linux/timerqueue.h | |
| parent | 2e111d932d1d7d5bbe2ecb5f0557a81281527cb7 (diff) | |
| download | linux-f603854a1b42486ae6303675fcb47377c1396c80.tar.xz | |
KVM: x86/mmu: move cr4_smep to base role
Guest page tables can be reused independent of the value of CR4.SMEP
(at least if WP=1). However, this is not true of EPT MBEC pages,
because presence of EPT entries is signaled by bits 0-2 when MBEC
is off, and bits 0-2 + bit 10 when MBEC is on.
In preparation for enabling MBEC, move cr4_smep to the base role.
This makes the smep_andnot_wp bit redundant, so remove it.
Tested-by: David Riley <d.riley@proxmox.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
