summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2023-12-27 12:25:09 +0530
committerAnup Patel <[email protected]>2023-12-27 12:25:09 +0530
commitbbd065d903c8cafdcdc01aea5ccf280e17137013 (patch)
tree1c270c21d401d85f1b4e8726861b7b284597b341 /scripts
parentba29293dc947e13fa2e63de7ed289d7bb9b540f4 (diff)
lib: sbi: Detect Zicntr extension only based on traps
OpenSBI uses time CSR if Zicntr extension present which causes it to crash on an older QEMU because QEMU generates Zicntr in the ISA string for unleashed machine which only has CYCLE and INSTRET counters. Fixes: 776770d2adbf ("lib: sbi: Using one array to define the name of extensions") Signed-off-by: Anup Patel <[email protected]> Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions