Skip to content

lib: utils/fdt: Add ISA extension validation framework for CPU fixup#12

Merged
cp0613 merged 1 commit into
XUANTIE-RV:opensbi-v1.7-devfrom
cp0613:opensbi-v1.7-dev
Jun 5, 2026
Merged

lib: utils/fdt: Add ISA extension validation framework for CPU fixup#12
cp0613 merged 1 commit into
XUANTIE-RV:opensbi-v1.7-devfrom
cp0613:opensbi-v1.7-dev

Conversation

@cp0613

@cp0613 cp0613 commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

Extend the existing MISA-based single-letter ISA fixup into a table-driven validation framework for multi-letter extensions. Extensions declared in DT but missing required properties (e.g. zicbom without riscv,cbom-block-size) are now removed during fixup.

New validators: H (MISA check), zicbom (cbom-block-size presence). Adding future validators requires only appending to isa_ext_validators[].

Extend the existing MISA-based single-letter ISA fixup into a
table-driven validation framework for multi-letter extensions.
Extensions declared in DT but missing required properties (e.g.
zicbom without riscv,cbom-block-size) are now removed during fixup.

New validators: H (MISA check), zicbom (cbom-block-size presence).
Adding future validators requires only appending to isa_ext_validators[].

Signed-off-by: Chen Pei <cp0613@linux.alibaba.com>
@cp0613 cp0613 merged commit 36e4433 into XUANTIE-RV:opensbi-v1.7-dev Jun 5, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant