Re: [PATCH 0/3] RISC-V KVM preparation

From: Palmer Dabbelt
Date: Mon May 04 2020 - 16:01:35 EST


On Thu, 23 Apr 2020 21:59:25 PDT (-0700), Anup Patel wrote:
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(-)

These are on fixes.