summaryrefslogtreecommitdiff
path: root/lib/utils/timer
diff options
context:
space:
mode:
authorCheng Yang <[email protected]>2024-05-15 14:15:14 +0800
committerAnup Patel <[email protected]>2024-05-16 10:21:16 +0530
commite3a30a2c918aae79d4cc403d474c3d2872a9063c (patch)
tree172a226587819b5285eb8163bd159327de038d5a /lib/utils/timer
parent2bed4c1c57a7775bcef534934cab5c83b45b954f (diff)
lib: utils/irqchip: Check before initializing imsic
The current mlevel imsic check is only for the platform, which may cause hart without imsic in the platform to trigger an illegal instruction exception when initializing imsic. For example, the platform contains a management hart that only supports wired interrupts. This patch will check if each hart supports Smaia extension before doing imsic initialization to avoid triggering illegal instruction exceptions. Signed-off-by: Cheng Yang <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions