Skip to content

Commit 936100d

Browse files
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 implementers towards the standards and to avoid coupling the upstream kernel too tightly to vendor-specific features. Those were good goals, but in practice the policy just isn't working: every RISC-V system we have needs vendor-specific behavior in the kernel and we end up taking that support which violates the policy. That's confusing for contributors, which is the main reason we have a written policy in the first place. So let's just start taking code for vendor-defined behavior. Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com> Link: https://lore.kernel.org/all/alpine.DEB.2.21.999.2211181027590.4480@utopia.booyaka.com/ [Palmer: merge in Paul's suggestions] Link: https://lore.kernel.org/r/20221207020815.16214-3-palmer@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 37f0ab1 commit 936100d

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

Documentation/riscv/patch-acceptance.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ their own custom extensions. These custom extensions aren't required
2929
to go through any review or ratification process by the RISC-V
3030
Foundation. To avoid the maintenance complexity and potential
3131
performance impact of adding kernel code for implementor-specific
32-
RISC-V extensions, we'll only accept patches for extensions that
33-
have been officially frozen or ratified by the RISC-V Foundation.
34-
(Implementors, may, of course, maintain their own Linux kernel trees
35-
containing code for any custom extensions that they wish.)
32+
RISC-V extensions, we'll only consider patches for extensions that either:
33+
34+
- Have been officially frozen or ratified by the RISC-V Foundation, or
35+
- Have been implemented in hardware that is widely available, per standard
36+
Linux practice.
37+
38+
(Implementors, may, of course, maintain their own Linux kernel trees containing
39+
code for any custom extensions that they wish.)

0 commit comments

Comments
 (0)