From: Nick Kossifidis <mick@ics.forth.gr>
To: Yu-Chien Peter Lin <peter.lin@sifive.com>,
devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-kernel@vger.kernel.org
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu,
alex@ghiti.fr
Subject: Re: [PATCH v2 0/3] dt-bindings: riscv: Add RISC-V Worlds and SiFive WorldGuard DT bindings
Date: Fri, 31 Jul 2026 04:43:56 +0300 [thread overview]
Message-ID: <bf39e87c-c077-4ccf-a791-42ae194b4780@ics.forth.gr> (raw)
In-Reply-To: <20260729163908.249838-1-peter.lin@sifive.com>
Hello Peter,
On 7/29/26 19:39, Yu-Chien Peter Lin wrote:
> Add device tree bindings for RISC-V Worlds, a standard extension that tags
> every transaction with a World ID for fine-grained isolation. SiFive's
> WorldGuard Checker is a hardware firewall in the system interconnect that
> inspects transaction WIDs and enforces per-World access policies on memory
> and MMIO devices.
>
> wgChecker specification reference:
> https://github.com/riscvarchive/security/blob/main/papers/worldguard%20proposal.pdf
>
> Yu-Chien Peter Lin (3):
> dt-bindings: riscv: Add Worlds ISA extensions
> dt-bindings: riscv: Add Worlds per-hart properties
> dt-bindings: sifive: Add WorldGuard Checker
>
> .../devicetree/bindings/riscv/cpus.yaml | 61 +++
> .../devicetree/bindings/riscv/extensions.yaml | 53 +++
> .../devicetree/bindings/riscv/worlds.yaml | 86 +++++
> .../bindings/sifive/sifive,wgchecker2.yaml | 356 ++++++++++++++++++
> 4 files changed, 556 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/riscv/worlds.yaml
> create mode 100644 Documentation/devicetree/bindings/sifive/sifive,wgchecker2.yaml
>
What's the plan for this and why do we need Linux-specific dt bindings ?
This looks more like a set of firmware specific bindings, like OpenSBI
domains for example
(https://github.com/riscv-software-src/opensbi/blob/master/docs/domain_support.md).
I understand adding the ISA extensions in the list (although the fast
track is still underway, it's not ratified yet), but the rest don't make
sense, not yet at least. How do you plan to use pmlwidlist on Linux to
associate processes to wids ? Do you plan on adding a driver for the wg
checker (and the markers that you mention) on Linux ? Do you ever expect
Linux to run under trustedwid ?
Regards,
Nick
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
WARNING: multiple messages have this Message-ID (diff)
From: Nick Kossifidis <mick@ics.forth.gr>
To: Yu-Chien Peter Lin <peter.lin@sifive.com>,
devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-kernel@vger.kernel.org
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu,
alex@ghiti.fr
Subject: Re: [PATCH v2 0/3] dt-bindings: riscv: Add RISC-V Worlds and SiFive WorldGuard DT bindings
Date: Fri, 31 Jul 2026 04:43:56 +0300 [thread overview]
Message-ID: <bf39e87c-c077-4ccf-a791-42ae194b4780@ics.forth.gr> (raw)
In-Reply-To: <20260729163908.249838-1-peter.lin@sifive.com>
Hello Peter,
On 7/29/26 19:39, Yu-Chien Peter Lin wrote:
> Add device tree bindings for RISC-V Worlds, a standard extension that tags
> every transaction with a World ID for fine-grained isolation. SiFive's
> WorldGuard Checker is a hardware firewall in the system interconnect that
> inspects transaction WIDs and enforces per-World access policies on memory
> and MMIO devices.
>
> wgChecker specification reference:
> https://github.com/riscvarchive/security/blob/main/papers/worldguard%20proposal.pdf
>
> Yu-Chien Peter Lin (3):
> dt-bindings: riscv: Add Worlds ISA extensions
> dt-bindings: riscv: Add Worlds per-hart properties
> dt-bindings: sifive: Add WorldGuard Checker
>
> .../devicetree/bindings/riscv/cpus.yaml | 61 +++
> .../devicetree/bindings/riscv/extensions.yaml | 53 +++
> .../devicetree/bindings/riscv/worlds.yaml | 86 +++++
> .../bindings/sifive/sifive,wgchecker2.yaml | 356 ++++++++++++++++++
> 4 files changed, 556 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/riscv/worlds.yaml
> create mode 100644 Documentation/devicetree/bindings/sifive/sifive,wgchecker2.yaml
>
What's the plan for this and why do we need Linux-specific dt bindings ?
This looks more like a set of firmware specific bindings, like OpenSBI
domains for example
(https://github.com/riscv-software-src/opensbi/blob/master/docs/domain_support.md).
I understand adding the ISA extensions in the list (although the fast
track is still underway, it's not ratified yet), but the rest don't make
sense, not yet at least. How do you plan to use pmlwidlist on Linux to
associate processes to wids ? Do you plan on adding a driver for the wg
checker (and the markers that you mention) on Linux ? Do you ever expect
Linux to run under trustedwid ?
Regards,
Nick
next prev parent reply other threads:[~2026-07-31 1:59 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-29 16:39 [PATCH v2 0/3] dt-bindings: riscv: Add RISC-V Worlds and SiFive WorldGuard DT bindings Yu-Chien Peter Lin
2026-07-29 16:39 ` Yu-Chien Peter Lin
2026-07-29 16:39 ` [PATCH v2 1/3] dt-bindings: riscv: Add Worlds ISA extensions Yu-Chien Peter Lin
2026-07-29 16:39 ` Yu-Chien Peter Lin
2026-07-29 16:45 ` sashiko-bot
2026-07-29 16:39 ` [PATCH v2 2/3] dt-bindings: riscv: Add Worlds per-hart properties Yu-Chien Peter Lin
2026-07-29 16:39 ` Yu-Chien Peter Lin
2026-07-29 16:52 ` sashiko-bot
2026-07-29 18:06 ` Rob Herring (Arm)
2026-07-29 18:06 ` Rob Herring (Arm)
2026-07-30 7:30 ` Krzysztof Kozlowski
2026-07-30 7:30 ` Krzysztof Kozlowski
2026-07-29 16:39 ` [PATCH v2 3/3] dt-bindings: sifive: Add WorldGuard Checker Yu-Chien Peter Lin
2026-07-29 16:39 ` Yu-Chien Peter Lin
2026-07-29 18:07 ` Rob Herring (Arm)
2026-07-29 18:07 ` Rob Herring (Arm)
2026-07-30 7:35 ` Krzysztof Kozlowski
2026-07-30 7:35 ` Krzysztof Kozlowski
2026-07-30 7:37 ` Krzysztof Kozlowski
2026-07-30 7:37 ` Krzysztof Kozlowski
2026-07-30 17:36 ` Conor Dooley
2026-07-30 17:36 ` Conor Dooley
2026-07-31 1:43 ` Nick Kossifidis [this message]
2026-07-31 1:43 ` [PATCH v2 0/3] dt-bindings: riscv: Add RISC-V Worlds and SiFive WorldGuard DT bindings Nick Kossifidis
2026-08-04 8:25 ` Yu-Chien Peter Lin
2026-08-04 8:25 ` Yu-Chien Peter Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bf39e87c-c077-4ccf-a791-42ae194b4780@ics.forth.gr \
--to=mick@ics.forth.gr \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=peter.lin@sifive.com \
--cc=pjw@kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.