Re: [PATCH v2 2/3] dt-bindings: riscv: Add Worlds per-hart properties
"Rob Herring (Arm)" <[email protected]> Wed, 29 Jul 2026 13:06:59 -0500
| Newsgroups | org.infradead.lists.linux-riscv,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 30 Jul 2026 00:39:07 +0800, Yu-Chien Peter Lin wrote: > Add per-hart DT properties for the RISC-V Worlds architecture: > riscv,pmwid, riscv,pmwidlist, and riscv,pmlwidlist. These > platform-defined values are primarily used by M-mode firmware > to configure World ID CSRs and restrict WID usage across > privilege levels. > > Also add schema validation rules to enforce valid property > combinations based on the ISA extensions present. > > Signed-off-by: Yu-Chien Peter Lin <[email protected]> > --- > .../devicetree/bindings/riscv/cpus.yaml | 61 +++++++++++++++ > .../devicetree/bindings/riscv/worlds.yaml | 77 +++++++++++++++++++ > 2 files changed, 138 insertions(+) > create mode 100644 Documentation/devicetree/bindings/riscv/worlds.yaml > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: Documentation/devicetree/bindings/cpu/idle-states.example.dtb: cpu@0 (riscv): 'riscv,pmwid' is a required property from schema $id: http://devicetree.org/schemas/riscv/cpus.yaml Documentation/devicetree/bindings/cpu/idle-states.example.dtb: cpu@1 (riscv): 'riscv,pmwid' is a required property from schema $id: http://devicetree.org/schemas/riscv/cpus.yaml Documentation/devicetree/bindings/cpu/idle-states.example.dtb: cpu@10 (riscv): 'riscv,pmwid' is a required property from schema $id: http://devicetree.org/schemas/riscv/cpus.yaml Documentation/devicetree/bindings/cpu/idle-states.example.dtb: cpu@11 (riscv): 'riscv,pmwid' is a required property from schema $id: http://devicetree.org/schemas/riscv/cpus.yaml doc reference errors (make refcheckdocs): See https://patchwork.kernel.org/project/devicetree/patch/[email protected] The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema. _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv