diff options
author | Anup Patel <apatel@ventanamicro.com> | 2022-07-29 17:15:12 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-07-29 17:15:12 +0530 |
commit | 659ad6d82c3121088daeaa38ba94d182b55bbb22 (patch) | |
tree | 7496f658bf6ac2b9e30dda2b8e510f0d23109637 /lib/mpi/mpi-pow.c | |
parent | c9d57373fc87a3ad00d12cffd0bb4c8108c73ff9 (diff) |
RISC-V: KVM: Use PAGE_KERNEL_IO in kvm_riscv_gstage_ioremap()
When the host has Svpbmt extension, we should use page based memory
type 2 (i.e. IO) for IO mappings in the G-stage page table.
To achieve this, we replace use of PAGE_KERNEL with PAGE_KERNEL_IO
in the kvm_riscv_gstage_ioremap().
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions