Re: [PATCH 23/44] KVM: RISC-V: Tag init functions and data with __init, __ro_after_init

2022-11-06 Thread Anup Patel
On Thu, Nov 3, 2022 at 4:49 AM Sean Christopherson wrote: > > Now that KVM setup is handled directly in riscv_kvm_init(), tag functions > and data that are used/set only during init with __init/__ro_after_init. > > Signed-off-by: Sean Christopherson For KVM RISC-V: Acked-by: Anup Patel

[PATCH 23/44] KVM: RISC-V: Tag init functions and data with __init, __ro_after_init

2022-11-02 Thread Sean Christopherson
Now that KVM setup is handled directly in riscv_kvm_init(), tag functions and data that are used/set only during init with __init/__ro_after_init. Signed-off-by: Sean Christopherson --- arch/riscv/include/asm/kvm_host.h | 6 +++--- arch/riscv/kvm/mmu.c | 12 ++--