commit | b6377ccdd7651c7b5d0bce95aaefaa343b093b5d | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <npitre@baylibre.com> | Wed Jun 15 18:02:37 2022 -0400 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Jun 23 13:12:05 2022 -0400 |
tree | 8de357b6e0aa9f1b89e8dd0307db36fc3f14e371 | |
parent | 00a9634c0570468f054f54c1d5e1ddb1aa632298 [diff] |
riscv: pmp: work around another QEMU bug A QEMU bug may create bad transient PMP representations causing false access faults to be reported. Work around it by setting pmp registers to zero from the update start point to the end before updating them with new values. The QEMU fix is here with more details about this bug: https://lists.gnu.org/archive/html/qemu-devel/2022-06/msg02800.html Signed-off-by: Nicolas Pitre <npitre@baylibre.com>