Documentation: RISC-V: Define Xlinuxs{s,m}aia
Subsystems (2)
PATCH 1/1 Documentation: RISC-V: Define Xlinuxs{s,m}aia
The AIA specification was only partially frozen, but provides no way to refer to the subset of behavior that has been frozen. It seems like there's not a whole lot of interest in the non-frozen behavior, so let's just define an extension that only consists of the frozen behavior
--- Documentation/riscv/extensions.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Documentation/riscv/extensions.rst
Documentation/riscv/extensions.rst new file +10 -0
@@ -0,0 +1,10 @@ +.. SPDX-License-Identifier: GPL-2.0 + +Custom RISC-V Extensions +======================== + +* The `Xlinuxsmaia` and `Xlinuxssaia` extensions coorespond to the standard + `Smaia` and `Ssaia` extensions as defined by version 1.0-RC2 of the RISC-V + Advanced Interrupt Architecture (AIA) specification, with the difference that + chapters 5 (Duo-PLIC) and 9 (IOMMU Support for MSIs to Virtual Machines) do + not exist.
Signature · 7 lines
2.39.0 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 2 lines · Palmer Dabbelt
The AIA specification was only partially frozen, but provides no way to refer to the subset of behavior that has been frozen.
Ahh, wonderful.
Quoted 17 lines
It seems like
there's not a whole lot of interest in the non-frozen behavior, so let's just define an extension that only consists of the frozen behaviorSigned-off-by Palmer Dabbelt <[email protected]>---
Documentation/riscv/extensions.rst| 10 ++++++++++1 file changed, 10 insertions(+)create mode 100644
Documentation/riscv/extensions.rstDocumentation/riscv/extensions.rst new file +0
-0
Documentation/riscv/extensions.rst line 6
Quoted 6 lines
Documentation/riscv/extensions.rst new file +6
-0@@ -0,0 +1,10 @@ +.. SPDX-License-Identifier: GPL-2.0 + +Custom RISC-V Extensions +======================== + +* The `Xlinuxsmaia` and `Xlinuxssaia` extensions coorespond to the standard
Typo: correspond
Documentation/riscv/extensions.rst line 10
Quoted 4 lines
Documentation/riscv/extensions.rst new file +4
-0+ `Smaia` and `Ssaia` extensions as defined by version 1.0-RC2 of the RISC-V + Advanced Interrupt Architecture (AIA) specification, with the difference that + chapters 5 (Duo-PLIC) and 9 (IOMMU Support for MSIs to Virtual Machines) do + not exist.
Perhaps this document needs an intro section specifying what you expect to go in it. Is this for any custom stuff, or just places where Linux has to work around RVI?
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 34 lines · Conor Dooley
Quoted 2 lines · Palmer Dabbelt
The AIA specification was only partially frozen, but provides no way to refer to the subset of behavior that has been frozen.
Ahh, wonderful.
Quoted 17 lines
It seems like
there's not a whole lot of interest in the non-frozen behavior, so let's just define an extension that only consists of the frozen behaviorSigned-off-by Palmer Dabbelt <[email protected]>---
Documentation/riscv/extensions.rst| 10 ++++++++++1 file changed, 10 insertions(+)create mode 100644
Documentation/riscv/extensions.rstDocumentation/riscv/extensions.rst new file +0
-0Documentation/riscv/extensions.rst line 6
Quoted 6 lines
Documentation/riscv/extensions.rst new file +6
-0@@ -0,0 +1,10 @@ +.. SPDX-License-Identifier: GPL-2.0 + +Custom RISC-V Extensions +======================== + +* The `Xlinuxsmaia` and `Xlinuxssaia` extensions coorespond to the standardTypo: correspond
Quoted 7 lines
Documentation/riscv/extensions.rst line 10
Quoted 4 lines
Documentation/riscv/extensions.rst new file +4
-0+ `Smaia` and `Ssaia` extensions as defined by version 1.0-RC2 of the RISC-V + Advanced Interrupt Architecture (AIA) specification, with the difference that + chapters 5 (Duo-PLIC) and 9 (IOMMU Support for MSIs to Virtual Machines) do + not exist.Perhaps this document needs an intro section specifying what you expect to go in it. Is this for any custom stuff, or just places where Linux has to work around RVI?
From talking on the patchwork call, it sounds like 1.0.0-rc2 may not be what's going to be ratified. If the plan really is to remove the draft chapters when the spec is ratified, which does sometimes happen, then those might just solve the problem -- but sometimes things marked as drafts get ratified, so we really just have no idea what the spec is going to be. It's going to be pretty much imposible to get everyone on the same page until we can see the spec that's going to be ratified. So I think until that gets sorted out, there's not really a whole lot more we can do here.
The other option would be to just properly commit to moving away from ISA strings in the DT interface. We've sort of soft-forked already, but we're at least trying to keep things looking similar. Properly forking would really make everyone happy, as we'd no longer need to worry about the specs getting the details right.
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 52 lines · Palmer Dabbelt
Quoted 39 lines · Conor Dooley
Quoted 2 lines · Palmer Dabbelt
The AIA specification was only partially frozen, but provides no way to refer to the subset of behavior that has been frozen.
Ahh, wonderful.
Quoted 17 lines
It seems like
there's not a whole lot of interest in the non-frozen behavior, so let's just define an extension that only consists of the frozen behaviorSigned-off-by Palmer Dabbelt <[email protected]>---
Documentation/riscv/extensions.rst| 10 ++++++++++1 file changed, 10 insertions(+)create mode 100644
Documentation/riscv/extensions.rstDocumentation/riscv/extensions.rst new file +0
-0Documentation/riscv/extensions.rst line 6
Quoted 6 lines
Documentation/riscv/extensions.rst new file +6
-0@@ -0,0 +1,10 @@ +.. SPDX-License-Identifier: GPL-2.0 + +Custom RISC-V Extensions +======================== + +* The `Xlinuxsmaia` and `Xlinuxssaia` extensions coorespond to the standardTypo: correspond
Documentation/riscv/extensions.rst line 10
Quoted 4 lines
Documentation/riscv/extensions.rst new file +4
-0+ `Smaia` and `Ssaia` extensions as defined by version 1.0-RC2 of the RISC-V + Advanced Interrupt Architecture (AIA) specification, with the difference that + chapters 5 (Duo-PLIC) and 9 (IOMMU Support for MSIs to Virtual Machines) do + not exist.Quoted 4 lines
Perhaps this document needs an intro section specifying what you expect to go in it. Is this for any custom stuff, or just places where Linux has to work around RVI?
From talking on the patchwork call, it sounds like 1.0.0-rc2 may not be
what's going to be ratified. If the plan really is to remove the draft chapters when the spec is ratified, which does sometimes happen, then those might just solve the problem -- but sometimes things marked as drafts get ratified, so we really just have no idea what the spec is going to be. It's going to be pretty much imposible to get everyone on the same page until we can see the spec that's going to be ratified. So I think until that gets sorted out, there's not really a whole lot more we can do here.
Quoted 5 lines
The other option would be to just properly commit to moving away from ISA strings in the DT interface. We've sort of soft-forked already, but we're at least trying to keep things looking similar. Properly forking would really make everyone happy, as we'd no longer need to worry about the specs getting the details right.
So reading between the lines (based on that patchwork call), this is a self-NAK for this patch and a NAK for adding the regular variants of these extensions to the ISA string in the first place. Perhaps it'd be worth noting that on [1] where the CC list is both broader and more specific? (Apologies if you already indended doing so there & I'm just preempting you).
Thanks,
Conor.
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv