]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Rename "nxe" role bit to "efer_nx" for macro shenanigans
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 17:57:09 +0000 (10:57 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 22:00:41 +0000 (18:00 -0400)
commitb1186a50bf77834d9342e6c836b396520fe09180
treeb3332cf47fa67cf4e678c15fda72ce59633f67ea
parentd37b8dfd8f2326d6a8eec7d6471d3a732f7a34db
KVM: x86/mmu: Rename "nxe" role bit to "efer_nx" for macro shenanigans

Rename "nxe" to "efer_nx" so that future macro magic can use the pattern
<reg>_<bit> for all CR0, CR4, and EFER bits that included in the role.
Using "efer_nx" also makes it clear that the role bit reflects EFER.NX,
not the NX bit in the corresponding PTE.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-25-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virt/kvm/mmu.rst
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/mmutrace.h
tools/lib/traceevent/plugins/plugin_kvm.c