diff options
| author | Ben Zong-You Xie <[email protected]> | 2026-08-05 17:33:54 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2026-09-04 13:44:57 +0530 |
| commit | 7384968e020f3bf9d524a00c6dc5638f3383aa92 (patch) | |
| tree | f3eefa7aa47e36dba313c763bfae695ce5ce250d /include/sbi_utils/cppc/fdt_cppc.h | |
| parent | c5077d497d0f7c7c9a74218ef2c448bc1a6d8a31 (diff) | |
lib: sbi: respect scounteren when emulating timeh
beef2f693785 ("lib: sbi: Respect scounteren when emulating the time
CSR") restored it for TIME only, so on RV32 supervisor software still
cannot restrict U-mode or VS-mode access to time: rdtime traps as
intended while rdtimeh keeps returning the upper half.
Signed-off-by: Ben Zong-You Xie <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include/sbi_utils/cppc/fdt_cppc.h')
0 files changed, 0 insertions, 0 deletions
