summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <dbarboza@ventanamicro.com>2023-02-22 15:51:57 -0300
committerPalmer Dabbelt <palmer@rivosinc.com>2023-03-01 13:47:09 -0800
commit5b17fefb90adcd79854858b2671106ad1035b391 (patch)
tree0e015322c52b2783c9552c7032ba0e04b1013f14 /docs/devel/secure-coding-practices.rst
parentd4ea71170432fef9e8394ab33eac3cdc3a9540d3 (diff)
downloadfocaccia-qemu-5b17fefb90adcd79854858b2671106ad1035b391.tar.gz
focaccia-qemu-5b17fefb90adcd79854858b2671106ad1035b391.zip
target/riscv: do not mask unsupported QEMU extensions in write_misa()
The masking done using env->misa_ext_mask already filters any extension
that QEMU doesn't support. If the hart supports the extension then QEMU
supports it as well.

If the masking done by env->misa_ext_mask is somehow letting unsupported
QEMU extensions pass by, misa_ext_mask itself needs to be fixed instead.

Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Reviewed-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Message-ID: <20230222185205.355361-3-dbarboza@ventanamicro.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions