riscv: Don't use stage-2 PTE lookup protection flags
When doing the fist of a two stage lookup (Hypervisor extensions) don't
set the current protection flags from the second stage lookup of the
base address PTE.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Anup Patel <anup@brainfault.org>
Message-id:
931db85d6890ed4bc2b527fd1011197cd28299aa.
1585262586.git.alistair.francis@wdc.com
Message-Id: <
931db85d6890ed4bc2b527fd1011197cd28299aa.
1585262586.git.alistair.francis@wdc.com>