OrangePi_CM5/arch/x86/kvm/mmu
Sean Christopherson 230e369d49 KVM: x86: Tag kvm_mmu_x86_module_init() with __init
commit 982bae43f11c37b51d2f1961bb25ef7cac3746fa upstream.

Mark kvm_mmu_x86_module_init() with __init, the entire reason it exists
is to initialize variables when kvm.ko is loaded, i.e. it must never be
called after module initialization.

Fixes: 1d0e84806047 ("KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded")
Cc: stable@vger.kernel.org
Reviewed-by: Kai Huang <kai.huang@intel.com>
Tested-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220803224957.1285926-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-21 15:15:21 +02:00
..
mmu.c KVM: x86: Tag kvm_mmu_x86_module_init() with __init 2022-08-21 15:15:21 +02:00
mmu_audit.c KVM: x86/mmu: Rename page_header() to to_shadow_page() 2020-07-08 16:21:55 -04:00
mmu_internal.h kvm: x86/mmu: NX largepage recovery for TDP MMU 2020-10-23 03:42:16 -04:00
mmutrace.h kvm: x86/mmu: Add TDP MMU PF handler 2020-10-23 03:42:04 -04:00
page_track.c KVM: x86: Handle SRCU initialization failure during page track init 2021-10-06 15:56:04 +02:00
paging.h KVM: x86/mmu: Do not apply HPA (memory encryption) mask to GPAs 2021-07-20 16:05:36 +02:00
paging_tmpl.h KVM: x86/mmu: do compare-and-exchange of gPTE via the user address 2022-04-08 14:40:44 +02:00
spte.c KVM: mmu: Fix SPTE encoding of MMIO generation upper half 2020-12-11 19:18:43 -05:00
spte.h KVM: x86/mmu: Do not apply HPA (memory encryption) mask to GPAs 2021-07-20 16:05:36 +02:00
tdp_iter.c KVM: x86/mmu: Ensure forward progress when yielding in TDP MMU iter 2021-04-14 08:42:04 +02:00
tdp_iter.h KVM: x86/mmu: Ensure forward progress when yielding in TDP MMU iter 2021-04-14 08:42:04 +02:00
tdp_mmu.c KVM: x86/mmu: Check for present SPTE when clearing dirty bit in TDP MMU 2022-04-08 14:40:36 +02:00
tdp_mmu.h KVM: x86/mmu: Don't allow TDP MMU to yield when recovering NX pages 2021-04-14 08:42:04 +02:00