[PATCH 0/3] RISC-V KVM preparation

From: Anup Patel
Date: Fri Apr 24 2020 - 01:00:16 EST


This patch series is factored-out from the KVM RISC-V v11 series and is
based upon Linux-5.7-rc2.

These patches are mostly preparatory changes in Linux RISC-V kernel which
we require for KVM RISC-V implementation. Also, most of these patches are
already reviewed as part of original KVM RISC-V series.

Anup Patel (3):
RISC-V: Export riscv_cpuid_to_hartid_mask() API
RISC-V: Add bitmap reprensenting ISA features common across CPUs
RISC-V: Remove N-extension related defines

arch/riscv/include/asm/csr.h | 3 --
arch/riscv/include/asm/hwcap.h | 22 +++++++++
arch/riscv/kernel/cpufeature.c | 83 ++++++++++++++++++++++++++++++++--
arch/riscv/kernel/smp.c | 2 +
4 files changed, 104 insertions(+), 6 deletions(-)

--
2.25.1