target/riscv: Use cpu_ld*_code_mmu for HLVX
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 12 Apr 2023 11:43:17 +0000 (13:43 +0200)
committerAlistair Francis <alistair.francis@wdc.com>
Fri, 5 May 2023 00:49:50 +0000 (10:49 +1000)
commita7f112c5fd1ac22732e523c8e933728fca681a0a
tree59ca554cf6b01ed90a42a867f5b933237cbb58c9
parentc8f8a9957ea20ac4ba0588ddd00130e8dcf41d93
target/riscv: Use cpu_ld*_code_mmu for HLVX

Use the new functions to properly check execute permission
for the read rather than read permission.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Tested-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20230325105429.1142530-10-richard.henderson@linaro.org>
Message-Id: <20230412114333.118895-10-richard.henderson@linaro.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/op_helper.c