commit | 659ad6d82c3121088daeaa38ba94d182b55bbb22 | [log] [tgz] |
---|---|---|
author | Anup Patel <apatel@ventanamicro.com> | Fri Jul 29 17:15:12 2022 +0530 |
committer | Anup Patel <anup@brainfault.org> | Fri Jul 29 17:15:12 2022 +0530 |
tree | 7496f658bf6ac2b9e30dda2b8e510f0d23109637 | |
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>