OpenTitan RFC Process
The OpenTitan RFC process is the mechanism by which technical proposals can be reviewed and voted upon by the Technical Committee (TC). More generally, the RFC process ensures changes are appropriately reviewed, gives the contributor community opportunity to give feedback, and helps ensure alternative implementation options are also evaluated. Many other open source projects implement such a process with varying degrees of formality, e.g. Python Enhancement Proposals, RFCs in the LLVM community, and more.
RFCs can't be used for resource allocation or to “force” other people to do some work. E.g. “Implement IP block X” is not a useful RFC unless either the proposer is willing to do that work or someone else is interested in pursuing it.
This document outlines the basic structure of the RFC process, with the expectation that it will evolve over time based on the experience of active contributors.
- [Optional: Seek feedback on whether an RFC is desired. This is recommended for a lengthy “out of the blue” proposal, to ensure time isn't wasted writing up a detailed proposal for something that is out of scope or that can't be decided upon at this stage.]
- An author (or set of authors) writes an RFC. This might be triggered simply by an idea, by a discussion in a meeting, or by a request from a Committer after submitting a PR. The TC will maintain examples of high quality RFCs to refer to in terms of structure and approach.
- The RFC authors may solicit early feedback while preparing an RFC, possibly before sharing publicly.
- If requested, the TC could help to nominate a small group to shepherd the RFC.
- If the RFC potentially contains information that could be certification-sensitive (guidance to be shared), send a note to email@example.com first for feedback.
- The RFC is shared publicly by filing a GitHub issue and tagging with the
- Once the author is happy that the RFC is complete, they submit it to the Technical Committee for review by adding the label
For TC Review.
- The Technical Committee will consider active RFCs in each meeting (those that have been marked ready for at least a week).
If an RFC saw large changes in the week it has been “ready” the TC may postpone judgement in order to allow more comment.
They will decide whether to:
- Accept: Indicate they are happy for this proposal to be implemented. May be conditional on certain changes.
- Reject: Decided against the proposal at this time
- Postpone: The proposal seemed to have the right level of detail and form, but the project won't be making a decision on it at this time (e.g. refers to work that is scheduled too far in the future).
- Request revision: The TC feel they could make an accept/reject decision if certain changes were made (e.g. fleshing out a description of alternate approaches, considering changes to the approach etc).
RFCs should be created at least for any major new piece of code (e.g. IP block), or cross-cutting changes that need careful consideration. Generally speaking, an RFC should be created when there is demand for one (especially when that request comes from a Committer). Although it is a power that is not expected to be deployed regularly, RFCs may be unilaterally approved/rejected by the Project Director. Even in these cases, they would likely still follow the normal review and feedback process.
Potential future RFC process refinements
The process has been kept as simple as possible to start with, closely mimicking the informal consensus approach being used in the early stages of the OpenTitan project. However, there are a range of potential improvements that it may make sense for the Technical Committee and wider contributor community to explore:
- We currently have no particular rule on RFC format and structure. It may be useful to at least suggest a structure for certain categories of changes (e.g. outline of headings).
- Rust RFCs and the Kotlin Evolution and Enhancement Process both introduce the idea of a “Shepherd”, which we may want to adopt.
- If the volume of RFCs increased to the point it was too time consuming for the Technical Committee to handle each review request, the TC may delegate some responsibility for pre-filtering. E.g. the Chair/Vice-Chair may make a determination on whether an RFC has attracted sufficient support for further discussion.