summaryrefslogtreecommitdiff
path: root/lib/utils/timer/objects.mk
diff options
context:
space:
mode:
authorEric Lin <[email protected]>2024-07-30 17:30:22 +0800
committerAnup Patel <[email protected]>2024-08-02 08:43:27 +0530
commitdf997c6e55fe5940fd035097e6ecb5612aa95b4b (patch)
treeec7ef3aabf02b38c421e9d58658619e92ff5fce3 /lib/utils/timer/objects.mk
parentbb7267a07f8f93b30355c66538f0752c4766b309 (diff)
include: Adjust Sscofpmf mhpmevent mask for upper 8 bits
Currently, OpenSBI reserves the upper 16 bits in mhpmevent for the Sscofpmf extension. However, according to the Sscofpmf extension specification[1], it only defines the upper 8 bits in mhpmevent for privilege mode inhibit and counter overflow disable. Other bits are defined by the platform for event selection. Since vendors might define raw event encoding exceeding 48 bits in mhpmevent, we should adjust the MHPMEVENT_SSCOF_MASK to support it. Link: https://github.com/riscvarchive/riscv-count-overflow [1] Signed-off-by: Eric Lin <[email protected]> Reviewed-by: Xiang W <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/objects.mk')
0 files changed, 0 insertions, 0 deletions