diff options
| author | 2022-07-29 17:15:12 +0530 | |
|---|---|---|
| committer | 2022-07-29 17:15:12 +0530 | |
| commit | 659ad6d82c3121088daeaa38ba94d182b55bbb22 (patch) | |
| tree | 7496f658bf6ac2b9e30dda2b8e510f0d23109637 /kernel/debug/ssh:/git@git.zx2c4.com | |
| parent | RISC-V: KVM: Add G-stage ioremap() and iounmap() functions (diff) | |
| download | linux-dev-659ad6d82c3121088daeaa38ba94d182b55bbb22.tar.xz linux-dev-659ad6d82c3121088daeaa38ba94d182b55bbb22.zip | |
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 'kernel/debug/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
