brintos

brintos / linux-shallow public Read only

0
0
Text · 2.7 KiB · 634aa22 Raw
60 lines · plain
1.. SPDX-License-Identifier: GPL-2.02 3arch/riscv maintenance guidelines for developers4================================================5 6Overview7--------8The RISC-V instruction set architecture is developed in the open:9in-progress drafts are available for all to review and to experiment10with implementations.  New module or extension drafts can change11during the development process - sometimes in ways that are12incompatible with previous drafts.  This flexibility can present a13challenge for RISC-V Linux maintenance.  Linux maintainers disapprove14of churn, and the Linux development process prefers well-reviewed and15tested code over experimental code.  We wish to extend these same16principles to the RISC-V-related code that will be accepted for17inclusion in the kernel.18 19Patchwork20---------21 22RISC-V has a patchwork instance, where the status of patches can be checked:23 24  https://patchwork.kernel.org/project/linux-riscv/list/25 26If your patch does not appear in the default view, the RISC-V maintainers have27likely either requested changes, or expect it to be applied to another tree.28 29Automation runs against this patchwork instance, building/testing patches as30they arrive. The automation applies patches against the current HEAD of the31RISC-V `for-next` and `fixes` branches, depending on whether the patch has been32detected as a fix. Failing those, it will use the RISC-V `master` branch.33The exact commit to which a series has been applied will be noted on patchwork.34Patches for which any of the checks fail are unlikely to be applied and in most35cases will need to be resubmitted.36 37Submit Checklist Addendum38-------------------------39We'll only accept patches for new modules or extensions if the40specifications for those modules or extensions are listed as being41unlikely to be incompatibly changed in the future.  For42specifications from the RISC-V foundation this means "Frozen" or43"Ratified", for the UEFI forum specifications this means a published44ECR.  (Developers may, of course, maintain their own Linux kernel trees45that contain code for any draft extensions that they wish.)46 47Additionally, the RISC-V specification allows implementers to create48their own custom extensions.  These custom extensions aren't required49to go through any review or ratification process by the RISC-V50Foundation.  To avoid the maintenance complexity and potential51performance impact of adding kernel code for implementor-specific52RISC-V extensions, we'll only consider patches for extensions that either:53 54- Have been officially frozen or ratified by the RISC-V Foundation, or55- Have been implemented in hardware that is widely available, per standard56  Linux practice.57 58(Implementers, may, of course, maintain their own Linux kernel trees containing59code for any custom extensions that they wish.)60