[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/6] Improve the U/S/H extension related check
From: |
Weiwei Li |
Subject: |
[PATCH 0/6] Improve the U/S/H extension related check |
Date: |
Sun, 10 Jul 2022 16:23:54 +0800 |
This patchset tries to improve the U/S/H related check:
* add check for the supported privilege modes conbinations: only supporting M,
S mode is not a suggested combination
* add check for "H extension depends on I extension"
* add check for csrs only existed when U mode is supported
* fix and simplify the checks in hmode/hmode32
Any suggestions are welcome.
Weiwei Li (6):
target/riscv: add check for supported privilege modes conbinations
target/riscv: H extension depends on I extension
target/riscv: fix checkpatch warning may triggered in csr_ops table
target/riscv: add check for csrs existed with U extension
target/riscv: fix checks in hmode/hmode32
target/riscv: simplify the check in hmode to resue the check in
riscv_csrrw_check
target/riscv/cpu.c | 12 ++
target/riscv/csr.c | 412 ++++++++++++++++++++++++---------------------
2 files changed, 236 insertions(+), 188 deletions(-)
--
2.17.1
- [PATCH 0/6] Improve the U/S/H extension related check,
Weiwei Li <=
- [PATCH 1/6] target/riscv: add check for supported privilege modes conbinations, Weiwei Li, 2022/07/10
- [PATCH 5/6] target/riscv: fix checks in hmode/hmode32, Weiwei Li, 2022/07/10
- [PATCH 2/6] target/riscv: H extension depends on I extension, Weiwei Li, 2022/07/10
- [PATCH 4/6] target/riscv: add check for csrs existed with U extension, Weiwei Li, 2022/07/10
- [PATCH 6/6] target/riscv: simplify the check in hmode to resue the check in riscv_csrrw_check, Weiwei Li, 2022/07/10