]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RISC-V: KVM: Break down the __kvm_riscv_switch_to() into macros
authorAnup Patel <apatel@ventanamicro.com>
Sun, 20 Oct 2024 19:47:25 +0000 (01:17 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 28 Oct 2024 11:13:45 +0000 (16:43 +0530)
commit8f57adac39167de7416c7eae91b4621454def3cd
treef4f371bb7c80fe0ad0c15b1aac851d70ded05231
parentb922307a5fecfcf33ca1697f6ec33c9274b75c46
RISC-V: KVM: Break down the __kvm_riscv_switch_to() into macros

Break down the __kvm_riscv_switch_to() function into macros so that
these macros can be later re-used by SBI NACL extension based low-level
switch function.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20241020194734.58686-5-apatel@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/kvm/vcpu_switch.S