[PW_SID:1136815] dt-bindings: riscv: Add RISC-V Worlds and SiFive WorldGuard DT bindings - #2385
[PW_SID:1136815] dt-bindings: riscv: Add RISC-V Worlds and SiFive WorldGuard DT bindings#2385linux-riscv-bot wants to merge 4 commits into
Conversation
Add DT bindings for five RISC-V Worlds ISA extensions that implement World ID tagging for hardware-enforced context isolation. Also, add checks for extension dependency requirements. Signed-off-by: Yu-Chien Peter Lin <peter.lin@sifive.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
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 <peter.lin@sifive.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add YAML binding schema for the SiFive wgChecker, a programmable access controller integrated in the interconnect fabric of RISC-V Worlds-capable SoCs. wgChecker enforces World ID (WID) based access control on downstream bus transactions. Each checker slot encodes a 2-bit permission field per WID (read/write), enabling fine-grained memory partitioning and device isolation between execution contexts. Violations are reported via bus errors, interrupts, or both, selectable and lockable per slot. The binding registers wgChecker as an access-controllers provider. Consumers (i.e. its protected device) reference it via the standard access-controllers phandle to declare their access requirements. Also document the sifive,trustedwid property for the /cpus node, identifying the privileged WID authorized to configure all checkers on the platform. Link: https://github.com/riscvarchive/security/blob/main/papers/worldguard%20proposal.pdf Signed-off-by: Yu-Chien Peter Lin <peter.lin@sifive.com> Reviewed-by: Zong Li <zong.li@sifive.com> Reviewed-by: Jim Shu <jim.shu@sifive.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[v2,1/3] dt-bindings: riscv: Add Worlds ISA extensions" |
|
Patch 1: "[v2,1/3] dt-bindings: riscv: Add Worlds ISA extensions" |
|
Patch 1: "[v2,1/3] dt-bindings: riscv: Add Worlds ISA extensions" |
|
Patch 1: "[v2,1/3] dt-bindings: riscv: Add Worlds ISA extensions" |
|
Patch 1: "[v2,1/3] dt-bindings: riscv: Add Worlds ISA extensions" |
|
Patch 1: "[v2,1/3] dt-bindings: riscv: Add Worlds ISA extensions" |
|
Patch 1: "[v2,1/3] dt-bindings: riscv: Add Worlds ISA extensions" |
|
Patch 1: "[v2,1/3] dt-bindings: riscv: Add Worlds ISA extensions" |
|
Patch 1: "[v2,1/3] dt-bindings: riscv: Add Worlds ISA extensions" |
|
Patch 1: "[v2,1/3] dt-bindings: riscv: Add Worlds ISA extensions" |
|
Patch 1: "[v2,1/3] dt-bindings: riscv: Add Worlds ISA extensions" |
|
Patch 1: "[v2,1/3] dt-bindings: riscv: Add Worlds ISA extensions" |
|
Patch 2: "[v2,2/3] dt-bindings: riscv: Add Worlds per-hart properties" |
|
Patch 2: "[v2,2/3] dt-bindings: riscv: Add Worlds per-hart properties" |
|
Patch 2: "[v2,2/3] dt-bindings: riscv: Add Worlds per-hart properties" |
|
Patch 2: "[v2,2/3] dt-bindings: riscv: Add Worlds per-hart properties" |
|
Patch 2: "[v2,2/3] dt-bindings: riscv: Add Worlds per-hart properties" |
|
Patch 2: "[v2,2/3] dt-bindings: riscv: Add Worlds per-hart properties" |
|
Patch 2: "[v2,2/3] dt-bindings: riscv: Add Worlds per-hart properties" |
|
Patch 2: "[v2,2/3] dt-bindings: riscv: Add Worlds per-hart properties" |
|
Patch 2: "[v2,2/3] dt-bindings: riscv: Add Worlds per-hart properties" |
|
Patch 2: "[v2,2/3] dt-bindings: riscv: Add Worlds per-hart properties" |
|
Patch 2: "[v2,2/3] dt-bindings: riscv: Add Worlds per-hart properties" |
|
Patch 2: "[v2,2/3] dt-bindings: riscv: Add Worlds per-hart properties" |
|
Patch 3: "[v2,3/3] dt-bindings: sifive: Add WorldGuard Checker" |
|
Patch 3: "[v2,3/3] dt-bindings: sifive: Add WorldGuard Checker" |
38a42cb to
b4b7ad7
Compare
|
Patch 3: "[v2,3/3] dt-bindings: sifive: Add WorldGuard Checker" |
|
Patch 3: "[v2,3/3] dt-bindings: sifive: Add WorldGuard Checker" |
|
Patch 3: "[v2,3/3] dt-bindings: sifive: Add WorldGuard Checker" |
|
Patch 3: "[v2,3/3] dt-bindings: sifive: Add WorldGuard Checker" |
|
Patch 3: "[v2,3/3] dt-bindings: sifive: Add WorldGuard Checker" |
|
Patch 3: "[v2,3/3] dt-bindings: sifive: Add WorldGuard Checker" |
|
Patch 3: "[v2,3/3] dt-bindings: sifive: Add WorldGuard Checker" |
|
Patch 3: "[v2,3/3] dt-bindings: sifive: Add WorldGuard Checker" |
|
Patch 3: "[v2,3/3] dt-bindings: sifive: Add WorldGuard Checker" |
|
Patch 3: "[v2,3/3] dt-bindings: sifive: Add WorldGuard Checker" |
971bf8c to
caa07c5
Compare
PR for series 1136815 applied to workflow__riscv__fixes
Name: dt-bindings: riscv: Add RISC-V Worlds and SiFive WorldGuard DT bindings
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1136815
Version: 2