Documentation: RISC-V: Fix a typo in patch-acceptance
Subsystems (2)
PATCH 1/3 Documentation: RISC-V: Fix a typo in patch-acceptance
I just stumbled on this when modifying the docs.
--- Documentation/riscv/patch-acceptance.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/riscv/patch-acceptance.rst +1 -1
@@ -29,7 +29,7 @@ their own custom extensions. These custom extensions aren't required to go through any review or ratification process by the RISC-V Foundation. To avoid the maintenance complexity and potential performance impact of adding kernel code for implementor-specific -RISC-V extensions, we'll only to accept patches for extensions that +RISC-V extensions, we'll only accept patches for extensions that have been officially frozen or ratified by the RISC-V Foundation. (Implementors, may, of course, maintain their own Linux kernel trees containing code for any custom extensions that they wish.)
Signature · 7 lines
2.34.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
PATCH 2/3 Documentation: RISC-V: Allow patches for non-standard behavior
The patch acceptance policy forbids accepting support for non-standard behavior. This policy was written in order to both steer implementors towards the standards and to avoid
So let's just start taking code for vendor-defined extensions.
---
This was discussed at Plumbers, but as with any policy change it's important to make sure everyone has time to chime in. I intend on letting this sit on the lists for a bit to make sure everyone has a chance to comment, but in practice we're already regularly violating these policies so I'm going to just keep going with the status-quo in the meantime.
I'm also still not quite sure how to write down the hardware
requirement: the intent is to make this more or less in line with other kernel policies, with the added wrinkle that RISC-V is a bit more distributed than other systems and thus has more core functionality that is vendor-defined. Hence the need to allow some code to go in earlier than a requirement for publicly-available hardware would allow.
--- Documentation/riscv/patch-acceptance.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
Documentation/riscv/patch-acceptance.rst +7 -3
@@ -30,6 +30,10 @@ to go through any review or ratification process by the RISC-V Foundation. To avoid the maintenance complexity and potential performance impact of adding kernel code for implementor-specific RISC-V extensions, we'll only accept patches for extensions that -have been officially frozen or ratified by the RISC-V Foundation. -(Implementors, may, of course, maintain their own Linux kernel trees -containing code for any custom extensions that they wish.) +have been officially frozen or ratified by the RISC-V Foundation, or +for extensions that have been implemented in hardware that is either +widely available or for which a timeline for availability has been +made public. Hardware that does not meet its published timelines may +have support removed. (Implementors, may, of course, maintain their +own Linux kernel trees containing code for any custom extensions that +they wish.)
Signature · 7 lines
2.34.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Re: [PATCH 2/3] Documentation: RISC-V: Allow patches for non-standard behavior
Quoted 3 lines · Palmer Dabbelt
The patch acceptance policy forbids accepting support for non-standard behavior. This policy was written in order to both steer implementors towards the standards and to avoid
Commit message is cut off here.
Quoted 1 line
So let's just start taking code for vendor-defined extensions.
:)
Quoted 25 lines
Signed-off-by Palmer Dabbelt <[email protected]>---
This was discussed at Plumbers, but as with any policy change it's important to make sure everyone has time to chime in. I intend on letting this sit on the lists for a bit to make sure everyone has a chance to comment, but in practice we're already regularly violating these policies so I'm going to just keep going with the status-quo in the meantime.I'm also still not quite sure how to write down the hardware
requirement: the intent is to make this more or less in line with other kernel policies, with the added wrinkle that RISC-V is a bit more distributed than other systems and thus has more core functionality that is vendor-defined. Hence the need to allow some code to go in earlier than a requirement for publicly-available hardware would allow.--- Documentation/riscv/patch-acceptance.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)Documentation/riscv/patch-acceptance.rst +0
-0@@ -30,6 +30,10 @@ to go through any review or ratification process by the RISC-V Foundation. To avoid the maintenance complexity and potential
Documentation/riscv/patch-acceptance.rst to go through any review or ratification process by the RISC-V · line 39
Quoted 10 lines
Documentation/riscv/patch-acceptance.rst +7
-0performance impact of adding kernel code for implementor-specific RISC-V extensions, we'll only accept patches for extensions that +have been officially frozen or ratified by the RISC-V Foundation, or +for extensions that have been implemented in hardware that is either +widely available or for which a timeline for availability has been +made public. Hardware that does not meet its published timelines may +have support removed. (Implementors, may, of course, maintain their +own Linux kernel trees containing code for any custom extensions that +they wish.)
As you know, I was there so I don't disagree with the sentiment of the changes & as an employee of a vendor who wants to use a non-standard extension I welcome the change.
Only comment I have is that the sentence has gotta kinda long. How about a rephrasing/reworking to something like:
---8<---
To avoid the maintenance complexity and potential performance impact of adding kernel code for implementor-specific RISC-V extensions, we'll only accept patches for extensions that either:
- have been officially frozen or ratified by the RISC-V Foundation
- have been implemented in hardare that is publically available or has a timeline for availability that has been made public
Hardware that does not meet its published timelines may have support removed. Implementers, may, of course, maintai their own Linux kernel trees containing code for any custom extensions that they wish. ---8<---
I think breaking it up like that highlights the two distinct cases, but maybe that's just me. The o spelling of implementer is in here too. Again, am I missing some American English thing there?
I think the bit about the hardware is fair too. Gets the point across and if someone's timelines slip all they have to do is publish the new timelines...
Since my only comments were stylistic (modulo the potentially existing spelling mistake) this looks good to me on an idealogical/policy level:
Thanks,
Conor.
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Re: [PATCH 2/3] Documentation: RISC-V: Allow patches for non-standard behavior
Quoted 6 lines · Conor Dooley
Quoted 3 lines · Palmer Dabbelt
The patch acceptance policy forbids accepting support for non-standard behavior. This policy was written in order to both steer implementors towards the standards and to avoid
Commit message is cut off here.
Oops, I'll fix it in the v2.
Quoted 56 lines
Quoted 1 line
So let's just start taking code for vendor-defined extensions.
:)
Quoted 25 lines
Signed-off-by Palmer Dabbelt <[email protected]>---
This was discussed at Plumbers, but as with any policy change it's important to make sure everyone has time to chime in. I intend on letting this sit on the lists for a bit to make sure everyone has a chance to comment, but in practice we're already regularly violating these policies so I'm going to just keep going with the status-quo in the meantime.I'm also still not quite sure how to write down the hardware
requirement: the intent is to make this more or less in line with other kernel policies, with the added wrinkle that RISC-V is a bit more distributed than other systems and thus has more core functionality that is vendor-defined. Hence the need to allow some code to go in earlier than a requirement for publicly-available hardware would allow.--- Documentation/riscv/patch-acceptance.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)Documentation/riscv/patch-acceptance.rst +0
-0@@ -30,6 +30,10 @@ to go through any review or ratification process by the RISC-V Foundation. To avoid the maintenance complexity and potentialDocumentation/riscv/patch-acceptance.rst to go through any review or ratification process by the RISC-V · line 39
Quoted 10 lines
Documentation/riscv/patch-acceptance.rst +7
-0performance impact of adding kernel code for implementor-specific RISC-V extensions, we'll only accept patches for extensions that +have been officially frozen or ratified by the RISC-V Foundation, or +for extensions that have been implemented in hardware that is either +widely available or for which a timeline for availability has been +made public. Hardware that does not meet its published timelines may +have support removed. (Implementors, may, of course, maintain their +own Linux kernel trees containing code for any custom extensions that +they wish.)As you know, I was there so I don't disagree with the sentiment of the changes & as an employee of a vendor who wants to use a non-standard extension I welcome the change.
Only comment I have is that the sentence has gotta kinda long. How about a rephrasing/reworking to something like:
---8<---
To avoid the maintenance complexity and potential performance impact of adding kernel code for implementor-specific RISC-V extensions, we'll only accept patches for extensions that either:- have been officially frozen or ratified by the RISC-V Foundation
- have been implemented in hardare that is publically available or has a timeline for availability that has been made public
Quoted 6 lines
Hardware that does not meet its published timelines may have support removed. Implementers, may, of course, maintai their own Linux kernel trees containing code for any custom extensions that they wish. ---8<---
I think breaking it up like that highlights the two distinct cases, but maybe that's just me.
Seems reasonable, I'm just going to go with roughly that for the v2.
Quoted 6 lines
The o spelling of implementer is in here too. Again, am I missing some American English thing there?
I think the bit about the hardware is fair too. Gets the point across and if someone's timelines slip all they have to do is publish the new timelines...
Ya, that's the idea: we sort of just need to know this stuff is actually alive, if there's hardware that's easy but if not then at least getting an Ack that there's still some plans for it to show up helps.
Quoted 3 lines
Since my only comments were stylistic (modulo the potentially existing spelling mistake) this looks good to me on an idealogical/policy level:
Reviewed-by Conor Dooley <[email protected]>
OK.
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
PATCH 3/3 Documentation: RISC-V: Mention the UEFI Standards
In reply to Palmer DabbeltThe current patch acceptance policy requires that specifications are approved by the RISC-V foundation, but we rely on external specifications as well. This explicitly calls out the UEFI specifications that we're starting to depend on.
---
This also came up during the Plumbers BoF. The other discussed options were to wait for an ACPI/UEFI specification to be published or to just not wait at all, but this middle ground matches how we handle the RISC-V specifications and it seems like there was broad agreement on it.
As usual with policy stuff I'll wait a bit for others to have a chance to chime in, but I think the wording on this one is at least easier to reason about than some of the others.
--- Documentation/riscv/patch-acceptance.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
Documentation/riscv/patch-acceptance.rst +5 -3
@@ -20,9 +20,11 @@ Submit Checklist Addendum ------------------------- We'll only accept patches for new modules or extensions if the specifications for those modules or extensions are listed as being -"Frozen" or "Ratified" by the RISC-V Foundation. (Developers may, of -course, maintain their own Linux kernel trees that contain code for -any draft extensions that they wish.) +unlikely to make incompatible changes in the future. For +specifications from the RISC-V foundation this means "Frozen" or +"Ratified", for the UEFI specifications this means a published ECR. +(Developers may, of course, maintain their own Linux kernel trees that +contain code for any draft extensions that they wish.) Additionally, the RISC-V specification allows implementors to create their own custom extensions. These custom extensions aren't required
Signature · 7 lines
2.34.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Re: [PATCH 3/3] Documentation: RISC-V: Mention the UEFI Standards
Quoted 24 lines · Palmer Dabbelt
The current patch acceptance policy requires that specifications are approved by the RISC-V foundation, but we rely on external specifications as well. This explicitly calls out the UEFI specifications that we're starting to depend on.
Signed-off-by Palmer Dabbelt <[email protected]>---
This also came up during the Plumbers BoF. The other discussed options were to wait for an ACPI/UEFI specification to be published or to just not wait at all, but this middle ground matches how we handle the RISC-V specifications and it seems like there was broad agreement on it.As usual with policy stuff I'll wait a bit for others to have a chance to chime in, but I think the wording on this one is at least easier to reason about than some of the others.
--- Documentation/riscv/patch-acceptance.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)Documentation/riscv/patch-acceptance.rst +0
-0
Documentation/riscv/patch-acceptance.rst Submit Checklist Addendum · line 24
Quoted 5 lines
Documentation/riscv/patch-acceptance.rst +1
-0@@ -20,9 +20,11 @@ Submit Checklist Addendum ------------------------- We'll only accept patches for new modules or extensions if the specifications for those modules or extensions are listed as being +unlikely to make incompatible changes in the future. For
Nit, but the wording here is awkward since it sounds like the module or extension is the "actor". How about:
s/make incompatible changes/be incompatibly changed/
Documentation/riscv/patch-acceptance.rst Submit Checklist Addendum · line 27
Quoted 4 lines
Documentation/riscv/patch-acceptance.rst +4
-0+specifications from the RISC-V foundation this means "Frozen" or +"Ratified", for the UEFI specifications this means a published ECR. +(Developers may, of course, maintain their own Linux kernel trees that +contain code for any draft extensions that they wish.)
Could we just drop the brackets from this sentence?
Either way, policy wise/idealogically this again looks good to me, so with or without the wording changed:
Documentation/riscv/patch-acceptance.rst Submit Checklist Addendum · line 30
Quoted 2 lines
Documentation/riscv/patch-acceptance.rst +0
-0Additionally, the RISC-V specification allows implementors to create their own custom extensions. These custom extensions aren't required
Thanks,
Conor.
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Re: [PATCH 3/3] Documentation: RISC-V: Mention the UEFI Standards
Quoted 29 lines · Conor Dooley
Quoted 27 lines · Palmer Dabbelt
The current patch acceptance policy requires that specifications are approved by the RISC-V foundation, but we rely on external specifications as well. This explicitly calls out the UEFI specifications that we're starting to depend on.
Signed-off-by Palmer Dabbelt <[email protected]>---
This also came up during the Plumbers BoF. The other discussed options were to wait for an ACPI/UEFI specification to be published or to just not wait at all, but this middle ground matches how we handle the RISC-V specifications and it seems like there was broad agreement on it.As usual with policy stuff I'll wait a bit for others to have a chance to chime in, but I think the wording on this one is at least easier to reason about than some of the others.
--- Documentation/riscv/patch-acceptance.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)Documentation/riscv/patch-acceptance.rst +0
-0@@ -20,9 +20,11 @@ Submit Checklist Addendum ------------------------- We'll only accept patches for new modules or extensions if the specifications for those modules or extensions are listed as being
Quoted 5 lines
Documentation/riscv/patch-acceptance.rst Submit Checklist Addendum · line 23
Quoted 1 line
Documentation/riscv/patch-acceptance.rst +1
-0+unlikely to make incompatible changes in the future. ForNit, but the wording here is awkward since it sounds like the module or extension is the "actor". How about:
s/make incompatible changes/be incompatibly changed/
Makes sense, it's in the v2.
Quoted 6 lines
Documentation/riscv/patch-acceptance.rst Submit Checklist Addendum · line 27
Quoted 4 lines
Documentation/riscv/patch-acceptance.rst +4
-0+specifications from the RISC-V foundation this means "Frozen" or +"Ratified", for the UEFI specifications this means a published ECR. +(Developers may, of course, maintain their own Linux kernel trees that +contain code for any draft extensions that they wish.)Could we just drop the brackets from this sentence?
IMO we should keep it, there was some confusion about how kernel trees work when we were at Plumbers.
Quoted 10 lines
Either way, policy wise/idealogically this again looks good to me, so with or without the wording changed:
Reviewed-by Conor Dooley <[email protected]>Documentation/riscv/patch-acceptance.rst Submit Checklist Addendum · line 30
Quoted 2 lines
Documentation/riscv/patch-acceptance.rst +0
-0Additionally, the RISC-V specification allows implementors to create their own custom extensions. These custom extensions aren't requiredThanks,
Conor.
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Re: [PATCH 3/3] Documentation: RISC-V: Mention the UEFI Standards
In reply to Palmer DabbeltQuoted 25 lines · Palmer Dabbelt
The current patch acceptance policy requires that specifications are approved by the RISC-V foundation, but we rely on external specifications as well. This explicitly calls out the UEFI specifications that we're starting to depend on.
Signed-off-by Palmer Dabbelt <[email protected]>---
This also came up during the Plumbers BoF. The other discussed options were to wait for an ACPI/UEFI specification to be published or to just not wait at all, but this middle ground matches how we handle the RISC-V specifications and it seems like there was broad agreement on it.As usual with policy stuff I'll wait a bit for others to have a chance to chime in, but I think the wording on this one is at least easier to reason about than some of the others.
--- Documentation/riscv/patch-acceptance.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)Documentation/riscv/patch-acceptance.rst +0
-0
Documentation/riscv/patch-acceptance.rst Submit Checklist Addendum · line 25
Quoted 9 lines
Documentation/riscv/patch-acceptance.rst +3
-3@@ -20,9 +20,11 @@ Submit Checklist Addendum ------------------------- We'll only accept patches for new modules or extensions if the specifications for those modules or extensions are listed as being -"Frozen" or "Ratified" by the RISC-V Foundation. (Developers may, of -course, maintain their own Linux kernel trees that contain code for -any draft extensions that they wish.) +unlikely to make incompatible changes in the future. For +specifications from the RISC-V foundation this means "Frozen" or +"Ratified", for the UEFI specifications this means a published ECR.
It would be good to explicitly mention "UEFI forum specifications" or
UEFI/ACPI specifications.
Quoted 9 lines
Documentation/riscv/patch-acceptance.rst +2
-1+(Developers may, of course, maintain their own Linux kernel trees that +contain code for any draft extensions that they wish.) Additionally, the RISC-V specification allows implementors to create their own custom extensions. These custom extensions aren't required --2.34.1
Quoted 4 lines
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Other than that, LGTM
Signature · 7 lines
Regards, Atish _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Re: [PATCH 3/3] Documentation: RISC-V: Mention the UEFI Standards
Quoted 31 lines · On Mon, 26 Sep 2022 10:34:07 PDT (-0700), [email protected] wrote:
Quoted 30 lines · Palmer Dabbelt
The current patch acceptance policy requires that specifications are approved by the RISC-V foundation, but we rely on external specifications as well. This explicitly calls out the UEFI specifications that we're starting to depend on.
Signed-off-by Palmer Dabbelt <[email protected]>---
This also came up during the Plumbers BoF. The other discussed options were to wait for an ACPI/UEFI specification to be published or to just not wait at all, but this middle ground matches how we handle the RISC-V specifications and it seems like there was broad agreement on it.As usual with policy stuff I'll wait a bit for others to have a chance to chime in, but I think the wording on this one is at least easier to reason about than some of the others.
--- Documentation/riscv/patch-acceptance.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)Documentation/riscv/patch-acceptance.rst +0
-2@@ -20,9 +20,11 @@ Submit Checklist Addendum ------------------------- We'll only accept patches for new modules or extensions if the specifications for those modules or extensions are listed as being -"Frozen" or "Ratified" by the RISC-V Foundation. (Developers may, of -course, maintain their own Linux kernel trees that contain code for
Quoted 8 lines
Documentation/riscv/patch-acceptance.rst Submit Checklist Addendum · line 25
Quoted 4 lines
Documentation/riscv/patch-acceptance.rst +3
-1-any draft extensions that they wish.) +unlikely to make incompatible changes in the future. For +specifications from the RISC-V foundation this means "Frozen" or +"Ratified", for the UEFI specifications this means a published ECR.It would be good to explicitly mention "UEFI forum specifications" or
UEFI/ACPI specifications.
Ya, "UEFI" is definately wrong. I went with "UEFI forum specifications", I think that's likely the most accurate.
Quoted 10 lines
Quoted 10 lines
Documentation/riscv/patch-acceptance.rst +2
-1+(Developers may, of course, maintain their own Linux kernel trees that +contain code for any draft extensions that they wish.) Additionally, the RISC-V specification allows implementors to create their own custom extensions. These custom extensions aren't required --2.34.1
Quoted 8 lines
Quoted 4 lines
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscvOther than that, LGTM
Reviewed-by Atish Patra <[email protected]>
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 12 lines · Palmer Dabbelt
I just stumbled on this when modifying the docs.
Signed-off-by Palmer Dabbelt <[email protected]>--- Documentation/riscv/patch-acceptance.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/riscv/patch-acceptance.rst +0
-0
Documentation/riscv/patch-acceptance.rst their own custom extensions. These custom extensions aren't required · line 31
Quoted 3 lines
Documentation/riscv/patch-acceptance.rst +0
-0@@ -29,7 +29,7 @@ their own custom extensions. These custom extensions aren't required to go through any review or ratification process by the RISC-V Foundation. To avoid the maintenance complexity and potential performance impact of adding kernel code for implementor-specific
s/implementor/implementer no? Or is this an American spelling?
Quoted 13 lines
Documentation/riscv/patch-acceptance.rst +1
-1-RISC-V extensions, we'll only to accept patches for extensions that +RISC-V extensions, we'll only accept patches for extensions that have been officially frozen or ratified by the RISC-V Foundation. (Implementors, may, of course, maintain their own Linux kernel trees containing code for any custom extensions that they wish.)Signature · 7 lines
2.34.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 8 lines · Conor Dooley
Quoted 7 lines · Palmer Dabbelt
I just stumbled on this when modifying the docs.
Signed-off-by Palmer Dabbelt <[email protected]>--- Documentation/riscv/patch-acceptance.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 10 lines
Documentation/riscv/patch-acceptance.rst their own custom extensions. These custom extensions aren't required · line 31
Quoted 8 lines
Documentation/riscv/patch-acceptance.rst +0
-0@@ -29,7 +29,7 @@ their own custom extensions. These custom extensions aren't required to go through any review or ratification process by the RISC-V Foundation. To avoid the maintenance complexity and potential performance impact of adding kernel code for implementor-specifics/implementor/implementer no? Or is this an American spelling?
I actually have no idea. The "or" spelling seemed odd to me, but it was spell checking correctly. The internet seems to be split on whether or not it's actually a word, which probably means it's uncommon enough it's worth moving over. I'll just tack it on as a patch as there's enough feedback to have a v2.
Quoted 10 lines
Quoted 10 lines
Documentation/riscv/patch-acceptance.rst +1
-2-RISC-V extensions, we'll only to accept patches for extensions that +RISC-V extensions, we'll only accept patches for extensions that have been officially frozen or ratified by the RISC-V Foundation. (Implementors, may, of course, maintain their own Linux kernel trees containing code for any custom extensions that they wish.) --2.34.1
Quoted 4 lines
Quoted 4 lines
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv