Documentation: Provide guidelines for tool-generated content
Subsystems (2)
PATCH v3 1/1 Documentation: Provide guidelines for tool-generated content
In the last few years, the capabilities of coding tools have exploded. As those capabilities have expanded, contributors and maintainers have more and more questions about how and when to apply those capabilities.
Add new Documentation to guide contributors on how to best use kernel development tools, new and old.
Note, though, there are fundamentally no new or unique rules in this new document. It clarifies expectations that the kernel community has had for many years. For example, researchers are already asked to disclose the tools they use to find issues in Documentation/process/researcher-guidelines.rst. This new document just reiterates existing best practices for development tooling.
In short: Please show your work and make sure your contribution is easy to review.
--
There has been a ton of feedback since v2. Thanks everyone! I've tried to respect all of the feedback, but some of it has been contradictory and I haven't been able to incorporate everything.
Please speak up if I missed something important here.
Changes from v2:
* Mention testing (Shuah)
* Remove "very", rename LLM => coding assistant (Dan)
* More formatting sprucing up and minor typos (Miguel)
* Make changelog and text less flashy (Christian)
* Tone down critical=>helpful (Neil)
Changes from v1:
* Rename to generated-content.rst and add to documentation index. (Jon)
* Rework subject to align with the new filename
* Replace commercial names with generic ones. (Jon)
* Be consistent about punctuation at the end of bullets for whole sentences. (Miguel)
* Formatting sprucing up and minor typos (Miguel)
This document was a collaborative effort from all the members of the TAB. I just reformatted it into .rst and wrote the changelog.
--- Documentation/process/generated-content.rst | 96 +++++++++++++++++++++ Documentation/process/index.rst | 1 + 2 files changed, 97 insertions(+) create mode 100644 Documentation/process/generated-content.rst
Documentation/process/generated-content.rst new file +96 -0
@@ -0,0 +1,96 @@ +============================================ +Kernel Guidelines for Tool Generated Content +============================================ + +Purpose +======= + +Kernel contributors have been using tooling to generate contributions +for a long time. These tools can increase the volume of contributions. +At the same time, reviewer and maintainer bandwidth is a scarce +resource. Understanding which portions of a contribution come from +humans versus tools is helpful to maintain those resources and keep +kernel development healthy. + +The goal here is to clarify community expectations around tools. This +lets everyone become more productive while also maintaining high +degrees of trust between submitters and reviewers. + +Out of Scope +============ + +These guidelines do not apply to tools that make trivial tweaks to +preexisting content. Nor do they pertain to AI tooling that helps with +menial tasks. Some examples: + + - Spelling and grammar fix ups, like rephrasing to imperative voice + - Typing aids like identifier completion, common boilerplate or + trivial pattern completion + - Purely mechanical transformations like variable renaming + - Reformatting, like running Lindent, ``clang-format`` or + ``rust-fmt`` + +Even if your tool use is out of scope you should still always consider +if it would help reviewing your contribution if the reviewer knows +about the tool that you used. + +In Scope +======== + +These guidelines apply when a meaningful amount of content in a kernel +contribution was not written by a person in the Signed-off-by chain, +but was instead created by a tool. + +Detection of a problem and testing the fix for it is also part of the +development process; if a tool was used to find a problem addressed by +a change, that should be noted in the changelog. This not only gives +credit where it is due, it also helps fellow developers find out about +these tools. + +Some examples: + - Any tool-suggested fix such as ``checkpatch.pl --fix`` + - Coccinelle scripts + - A chatbot generated a new function in your patch to sort list entries. + - A .c file in the patch was originally generated by a coding + assistant but cleaned up by hand. + - The changelog was generated by handing the patch to a generative AI + tool and asking it to write the changelog. + - The changelog was translated from another language. + +If in doubt, choose transparency and assume these guidelines apply to +your contribution. + +Guidelines +========== + +First, read the Developer's Certificate of Origin: +Documentation/process/submitting-patches.rst. Its rules are simple +and have been in place for a long time. They have covered many +tool-generated contributions. Ensure that you understand your entire +submission and are prepared to respond to review comments. + +Second, when making a contribution, be transparent about the origin of +content in cover letters and changelogs. You can be more transparent +by adding information like this: + + - What tools were used? + - The input to the tools you used, like the Coccinelle source script. + - If code was largely generated from a single or short set of + prompts, include those prompts. For longer sessions, include a + summary of the prompts and the nature of resulting assistance. + - Which portions of the content were affected by that tool? + - How is the submission tested and tools used to test the fix? + +As with all contributions, individual maintainers have discretion to +choose how they handle the contribution. For example, they might: + + - Treat it just like any other contribution. + - Reject it outright. + - Treat the contribution specially like reviewing with extra scrutiny, + or at a lower priority than human-generated content + - Suggest a better prompt instead of suggesting specific code changes. + - Ask for some other special steps, like asking the contributor to + elaborate on how the tool or model was trained. + - Ask the submitter to explain in more detail about the contribution + so that the maintainer can feel comfortable that the submitter fully + understands how the code works.
Documentation/process/index.rst +1 -0
@@ -68,6 +68,7 @@ beyond). stable-kernel-rules management-style researcher-guidelines + generated-content Dealing with bugs -----------------
Signature · 1 line
2.34.1
Quoted 137 lines · Dave Hansen
In the last few years, the capabilities of coding tools have exploded. As those capabilities have expanded, contributors and maintainers have more and more questions about how and when to apply those capabilities.
Add new Documentation to guide contributors on how to best use kernel development tools, new and old.
Note, though, there are fundamentally no new or unique rules in this new document. It clarifies expectations that the kernel community has had for many years. For example, researchers are already asked to disclose the tools they use to find issues in
Documentation/process/researcher-guidelines.rst. This new document just reiterates existing best practices for development tooling.In short: Please show your work and make sure your contribution is easy to review.
Signed-off-by Dave Hansen <[email protected]>Reviewed-by Shuah Khan <[email protected]>Reviewed-by Kees Cook <[email protected]>Reviewed-by Greg Kroah-Hartman <[email protected]>Reviewed-by Miguel Ojeda <[email protected]>Cc NeilBrown <[email protected]>Cc Lorenzo Stoakes <[email protected]>Cc Dan Williams <[email protected]>Cc Theodore Ts'o <[email protected]>Cc Sasha Levin <[email protected]>Cc Jonathan Corbet <[email protected]>Cc Vlastimil Babka <[email protected]>--
There has been a ton of feedback since v2. Thanks everyone! I've tried to respect all of the feedback, but some of it has been contradictory and I haven't been able to incorporate everything.
Please speak up if I missed something important here.
Changes from v2:
* Mention testing (Shuah)
* Remove "very", rename LLM => coding assistant (Dan)
* More formatting sprucing up and minor typos (Miguel)
* Make changelog and text less flashy (Christian)
* Tone down critical=>helpful (Neil)Changes from v1:
* Rename togenerated-content.rstand add to documentation index. (Jon)
* Rework subject to align with the new filename
* Replace commercial names with generic ones. (Jon)
* Be consistent about punctuation at the end of bullets for whole sentences. (Miguel)
* Formatting sprucing up and minor typos (Miguel)This document was a collaborative effort from all the members of the TAB. I just reformatted it into .rst and wrote the changelog.
--- Documentation/process/generated-content.rst | 96 +++++++++++++++++++++ Documentation/process/index.rst | 1 + 2 files changed, 97 insertions(+) create mode 100644 Documentation/process/generated-content.rstDocumentation/process/generated-content.rst new file +66
-0@@ -0,0 +1,96 @@ +============================================ +Kernel Guidelines for Tool Generated Content +============================================ + +Purpose +======= + +Kernel contributors have been using tooling to generate contributions +for a long time. These tools can increase the volume of contributions. +At the same time, reviewer and maintainer bandwidth is a scarce +resource. Understanding which portions of a contribution come from +humans versus tools is helpful to maintain those resources and keep +kernel development healthy. + +The goal here is to clarify community expectations around tools. This +lets everyone become more productive while also maintaining high +degrees of trust between submitters and reviewers. + +Out of Scope +============ + +These guidelines do not apply to tools that make trivial tweaks to +preexisting content. Nor do they pertain to AI tooling that helps with +menial tasks. Some examples: + + - Spelling and grammar fix ups, like rephrasing to imperative voice + - Typing aids like identifier completion, common boilerplate or + trivial pattern completion + - Purely mechanical transformations like variable renaming + - Reformatting, like running Lindent, ``clang-format`` or + ``rust-fmt`` + +Even if your tool use is out of scope you should still always consider +if it would help reviewing your contribution if the reviewer knows +about the tool that you used. + +In Scope +======== + +These guidelines apply when a meaningful amount of content in a kernel +contribution was not written by a person in the Signed-off-by chain, +but was instead created by a tool. + +Detection of a problem and testing the fix for it is also part of the +development process; if a tool was used to find a problem addressed by +a change, that should be noted in the changelog. This not only gives +credit where it is due, it also helps fellow developers find out about +these tools. + +Some examples: + - Any tool-suggested fix such as ``checkpatch.pl --fix`` + - Coccinelle scripts + - A chatbot generated a new function in your patch to sort list entries. + - A .c file in the patch was originally generated by a coding + assistant but cleaned up by hand. + - The changelog was generated by handing the patch to a generative AI + tool and asking it to write the changelog. + - The changelog was translated from another language. + +If in doubt, choose transparency and assume these guidelines apply to +your contribution. + +Guidelines +========== + +First, read the Developer's Certificate of Origin:
Documentation/process/generated-content.rst line 76
Quoted 10 lines
Documentation/process/generated-content.rst new file +10
-0+Documentation/process/submitting-patches.rst. Its rules are simple +and have been in place for a long time. They have covered many +tool-generated contributions. Ensure that you understand your entire +submission and are prepared to respond to review comments. + +Second, when making a contribution, be transparent about the origin of +content in cover letters and changelogs. You can be more transparent +by adding information like this: + + - What tools were used?
I really think we should just recommend the user to *consider* using:
Generated-by
I've been using it for Coccinelle on Linux for years, and it was not just me. In other projects, in particular kdevops we started using this to also be clear about the use of AI tools, and I've found it instrumental to keep track of how much code *does not use it*.
Documentation/process/generated-content.rst
Quoted 3 lines
Documentation/process/generated-content.rst new file +3
-0+ - The input to the tools you used, like the Coccinelle source script. + - If code was largely generated from a single or short set of + prompts, include those prompts.
A long time ago we evaluated the question of using git notes for coccinelle used input, and the issue back then was we didn't have support for it I think. But I think that hump is gone?
If so, would using git notes for prompts be useful in this case as we scale tooling outside of Coccinelle, like AI prompts? I believe this can be instrumental for enhancing LLMs as well for fine tuned LLMs for Linux development.
Otherwise, looks good.
Luis
Quoted 7 lines · On Fri, 14 Nov 2025 10:35:28 -0800 Dave Hansen <[email protected]>…
In the last few years, the capabilities of coding tools have exploded. As those capabilities have expanded, contributors and maintainers have more and more questions about how and when to apply those capabilities.
Add new Documentation to guide contributors on how to best use kernel development tools, new and old.
Thank you for writing this!
[...]
Documentation/process/generated-content.rst line 90
Quoted 7 lines
Documentation/process/generated-content.rst new file +7
-0+As with all contributions, individual maintainers have discretion to +choose how they handle the contribution. For example, they might: + + - Treat it just like any other contribution. + - Reject it outright. + - Treat the contribution specially like reviewing with extra scrutiny, + or at a lower priority than human-generated content
Nit. The ending period is missed?
Thanks,
SJ
[...]
Sent using hkml (https://github.com/sjp38/hackermail)
On 11/14/25 12:08, Luis Chamberlain wrote:
...>> + - What tools were used?
Quoted 9 lines
I really think we should just recommend the user to *consider* using:
Generated-by
I've been using it for Coccinelle on Linux for years, and it was not just me. In other projects, in particular kdevops we started using this to also be clear about the use of AI tools, and I've found it instrumental to keep track of how much code *does not use it*.
That sounds like a reasonable enough idea. But I think it's mostly orthogonal to this document. If there were Generated-by documentation in submitting-patches.rst, it would definitely get a special mention here.
Quoted 4 lines
Quoted 3 lines
+ - The input to the tools you used, like the Coccinelle source script.
+ - If code was largely generated from a single or short set of
+ prompts, include those prompts.
Quoted 8 lines
A long time ago we evaluated the question of using git notes for coccinelle used input, and the issue back then was we didn't have support for it I think. But I think that hump is gone?
If so, would using git notes for prompts be useful in this case as we scale tooling outside of Coccinelle, like AI prompts? I believe this can be instrumental for enhancing LLMs as well for fine tuned LLMs for Linux development.
I looked at git notes a bit during the Link: tag discussion. There still seem to be a few humps left, like git needing special configuration not to lose notes on "git commit --amend" or rebases.
They seem to be _getting_ there, but they certainly don't seem to be a nice, seamless thing that can easily be put into everyone's existing workflows.
Quoted 1 line
Reviewed-by Luis Chamberlain <[email protected]>
Thanks!
Quoted 3 lines · SeongJae Park
Quoted 2 lines
+ - Treat the contribution specially like reviewing with extra scrutiny,
+ or at a lower priority than human-generated contentNit. The ending period is missed?
Fixed, thanks!
Quoted 18 lines · Dave Hansen
In the last few years, the capabilities of coding tools have exploded. As those capabilities have expanded, contributors and maintainers have more and more questions about how and when to apply those capabilities.
Add new Documentation to guide contributors on how to best use kernel development tools, new and old.
Note, though, there are fundamentally no new or unique rules in this new document. It clarifies expectations that the kernel community has had for many years. For example, researchers are already asked to disclose the tools they use to find issues in
Documentation/process/researcher-guidelines.rst. This new document just reiterates existing best practices for development tooling.In short: Please show your work and make sure your contribution is easy to review.
Quoted 8 lines
Signed-off-by Dave Hansen <[email protected]>Reviewed-by Shuah Khan <[email protected]>Reviewed-by Kees Cook <[email protected]>Reviewed-by Greg Kroah-Hartman <[email protected]>Reviewed-by Miguel Ojeda <[email protected]>Cc NeilBrown <[email protected]>Cc Lorenzo Stoakes <[email protected]>Cc Dan Williams <[email protected]>
All my concerns have been addressed.
Quoted 15 lines · Dave Hansen
Documentation/process/generated-content.rst new file +15
-0+In Scope +======== + +These guidelines apply when a meaningful amount of content in a kernel +contribution was not written by a person in the Signed-off-by chain, +but was instead created by a tool. + +Detection of a problem and testing the fix for it is also part of the +development process; if a tool was used to find a problem addressed by +a change, that should be noted in the changelog. This not only gives +credit where it is due, it also helps fellow developers find out about +these tools. + +Some examples: + - Any tool-suggested fix such as ``checkpatch.pl --fix``
Documentation/process/generated-content.rst line 61
Quoted 10 lines
Documentation/process/generated-content.rst new file +10
-0+ - Coccinelle scripts + - A chatbot generated a new function in your patch to sort list entries. + - A .c file in the patch was originally generated by a coding + assistant but cleaned up by hand. + - The changelog was generated by handing the patch to a generative AI + tool and asking it to write the changelog. + - The changelog was translated from another language. + +If in doubt, choose transparency and assume these guidelines apply to +your contribution.
Can we pretty please define a tag and format for this?
I'm not really interested in the creative ways which will otherwise make change logs even more incomprehensible.
Thanks
tglx
Quoted 15 lines · On Fri, 14 Nov 2025 10:35:28 -0800 Dave Hansen <[email protected]>…
In the last few years, the capabilities of coding tools have exploded. As those capabilities have expanded, contributors and maintainers have more and more questions about how and when to apply those capabilities.
Add new Documentation to guide contributors on how to best use kernel development tools, new and old.
Note, though, there are fundamentally no new or unique rules in this new document. It clarifies expectations that the kernel community has had for many years. For example, researchers are already asked to disclose the tools they use to find issues in
Documentation/process/researcher-guidelines.rst. This new document just reiterates existing best practices for development tooling.
Quoted 2 lines
In short: Please show your work and make sure your contribution is easy to review.
Thanks Dave for pushing this through!
-- Steve
Quoted 15 lines
Signed-off-by Dave Hansen <[email protected]>Reviewed-by Shuah Khan <[email protected]>Reviewed-by Kees Cook <[email protected]>Reviewed-by Greg Kroah-Hartman <[email protected]>Reviewed-by Miguel Ojeda <[email protected]>Cc NeilBrown <[email protected]>Cc Lorenzo Stoakes <[email protected]>Cc Dan Williams <[email protected]>Cc Theodore Ts'o <[email protected]>Cc Sasha Levin <[email protected]>Cc Jonathan Corbet <[email protected]>Cc Vlastimil Babka <[email protected]>
Quoted 7 lines · On Sat, 15 Nov 2025 16:22:15 +0100 Thomas Gleixner <[email protected]> wrote:
Documentation/process/generated-content.rst line 61
Quoted 2 lines
Documentation/process/generated-content.rst new file +2
-0+If in doubt, choose transparency and assume these guidelines apply to +your contribution.Can we pretty please define a tag and format for this?
I'm not really interested in the creative ways which will otherwise make change logs even more incomprehensible.
As Dave responded to Luis, although that is a good idea, it's out of scope for this document (for now). A patch that adds a tag to submitting-patches can then update this document to mention it. But until submitting-patches specifies what tag to use, we didn't want to mention it in this document.
-- Steve
Quoted 2 lines · On Sat, 15 Nov 2025 14:05:56 -0500 Steven Rostedt <[email protected]> wrote:
As Dave responded to Luis, although that is a good idea, it's out of scope for this document (for now).
I should have said it's out of scope for this patch, not document. The point is that what tag to use for this is a separate discussion.
-- Steve
Randy Dunlap
reviewerQuoted 5 lines · Dave Hansen
In the last few years, the capabilities of coding tools have exploded. As those capabilities have expanded, contributors and maintainers have more and more questions about how and when to apply those capabilities.
Quoted 7 lines
Add new Documentation to guide contributors on how to best use kernel development tools, new and old.
Note, though, there are fundamentally no new or unique rules in this new document. It clarifies expectations that the kernel community has had for many years. For example, researchers are already asked to disclose the tools they use to find issues in
"in" is ambiguous here. s/in/by/ or move the "in..." phrase to just after "are already asked." Or maybe it doesn't matter in the commit message. :)
Quoted 59 lines
Documentation/process/researcher-guidelines.rst. This new document just reiterates existing best practices for development tooling.In short: Please show your work and make sure your contribution is easy to review.
Signed-off-by Dave Hansen <[email protected]>Reviewed-by Shuah Khan <[email protected]>Reviewed-by Kees Cook <[email protected]>Reviewed-by Greg Kroah-Hartman <[email protected]>Reviewed-by Miguel Ojeda <[email protected]>Cc NeilBrown <[email protected]>Cc Lorenzo Stoakes <[email protected]>Cc Dan Williams <[email protected]>Cc Theodore Ts'o <[email protected]>Cc Sasha Levin <[email protected]>Cc Jonathan Corbet <[email protected]>Cc Vlastimil Babka <[email protected]>--
There has been a ton of feedback since v2. Thanks everyone! I've tried to respect all of the feedback, but some of it has been contradictory and I haven't been able to incorporate everything.
Please speak up if I missed something important here.
Changes from v2:
* Mention testing (Shuah)
* Remove "very", rename LLM => coding assistant (Dan)
* More formatting sprucing up and minor typos (Miguel)
* Make changelog and text less flashy (Christian)
* Tone down critical=>helpful (Neil)Changes from v1:
* Rename togenerated-content.rstand add to documentation index. (Jon)
* Rework subject to align with the new filename
* Replace commercial names with generic ones. (Jon)
* Be consistent about punctuation at the end of bullets for whole sentences. (Miguel)
* Formatting sprucing up and minor typos (Miguel)This document was a collaborative effort from all the members of the TAB. I just reformatted it into .rst and wrote the changelog.
--- Documentation/process/generated-content.rst | 96 +++++++++++++++++++++ Documentation/process/index.rst | 1 + 2 files changed, 97 insertions(+) create mode 100644 Documentation/process/generated-content.rstDocumentation/process/generated-content.rst new file +0
-0
Documentation/process/generated-content.rst line 2
Quoted 2 lines
Documentation/process/generated-content.rst new file +2
-0@@ -0,0 +1,96 @@ +============================================ +Kernel Guidelines for Tool Generated Content
Tool-Generated
Quoted 21 lines
Documentation/process/generated-content.rst new file +21
-0+============================================ + +Purpose +======= + +Kernel contributors have been using tooling to generate contributions +for a long time. These tools can increase the volume of contributions. +At the same time, reviewer and maintainer bandwidth is a scarce +resource. Understanding which portions of a contribution come from +humans versus tools is helpful to maintain those resources and keep +kernel development healthy. + +The goal here is to clarify community expectations around tools. This +lets everyone become more productive while also maintaining high +degrees of trust between submitters and reviewers. + +Out of Scope +============ + +These guidelines do not apply to tools that make trivial tweaks to +preexisting content. Nor do they pertain to AI tooling that helps with
Documentation/process/generated-content.rst line 33
Quoted 10 lines
Documentation/process/generated-content.rst new file +10
-0+menial tasks. Some examples: + + - Spelling and grammar fix ups, like rephrasing to imperative voice + - Typing aids like identifier completion, common boilerplate or + trivial pattern completion + - Purely mechanical transformations like variable renaming + - Reformatting, like running Lindent, ``clang-format`` or + ``rust-fmt`` + +Even if your tool use is out of scope you should still always consider
maybe: scope,
Quoted 39 lines
Documentation/process/generated-content.rst new file +39
-0+if it would help reviewing your contribution if the reviewer knows +about the tool that you used. + +In Scope +======== + +These guidelines apply when a meaningful amount of content in a kernel +contribution was not written by a person in the Signed-off-by chain, +but was instead created by a tool. + +Detection of a problem and testing the fix for it is also part of the +development process; if a tool was used to find a problem addressed by +a change, that should be noted in the changelog. This not only gives +credit where it is due, it also helps fellow developers find out about +these tools. + +Some examples: + - Any tool-suggested fix such as ``checkpatch.pl --fix`` + - Coccinelle scripts + - A chatbot generated a new function in your patch to sort list entries. + - A .c file in the patch was originally generated by a coding + assistant but cleaned up by hand. + - The changelog was generated by handing the patch to a generative AI + tool and asking it to write the changelog. + - The changelog was translated from another language. + +If in doubt, choose transparency and assume these guidelines apply to +your contribution. + +Guidelines +========== + +First, read the Developer's Certificate of Origin: +Documentation/process/submitting-patches.rst. Its rules are simple +and have been in place for a long time. They have covered many +tool-generated contributions. Ensure that you understand your entire +submission and are prepared to respond to review comments. + +Second, when making a contribution, be transparent about the origin of
Documentation/process/generated-content.rst line 82
Quoted 10 lines
Documentation/process/generated-content.rst new file +10
-0+content in cover letters and changelogs. You can be more transparent +by adding information like this: + + - What tools were used? + - The input to the tools you used, like the Coccinelle source script. + - If code was largely generated from a single or short set of + prompts, include those prompts. For longer sessions, include a + summary of the prompts and the nature of resulting assistance. + - Which portions of the content were affected by that tool? + - How is the submission tested and tools used to test the fix?
and what tools were used to test the fix?
Quoted 4 lines
Documentation/process/generated-content.rst new file +4
-0+ +As with all contributions, individual maintainers have discretion to +choose how they handle the contribution. For example, they might: +
Documentation/process/generated-content.rst line 96
Quoted 10 lines
Documentation/process/generated-content.rst new file +10
-0+ - Treat it just like any other contribution. + - Reject it outright. + - Treat the contribution specially like reviewing with extra scrutiny, + or at a lower priority than human-generated content + - Suggest a better prompt instead of suggesting specific code changes. + - Ask for some other special steps, like asking the contributor to + elaborate on how the tool or model was trained. + - Ask the submitter to explain in more detail about the contribution + so that the maintainer can feel comfortable that the submitter fully + understands how the code works.
thanks.
Signature · 1 line
~Randy
Quoted 8 lines · Steven Rostedt
Quoted 2 lines · On Sat, 15 Nov 2025 14:05:56 -0500 Steven Rostedt <[email protected]> wrote:
As Dave responded to Luis, although that is a good idea, it's out of scope for this document (for now).
I should have said it's out of scope for this patch, not document. The point is that what tag to use for this is a separate discussion.
Which should be held in the context of this patch to make it complete.
Thanks,
tglx
Quoted 11 lines · CET Thomas Gleixner
Quoted 8 lines · Steven Rostedt
Quoted 2 lines · On Sat, 15 Nov 2025 14:05:56 -0500 Steven Rostedt <[email protected]> wrote:
As Dave responded to Luis, although that is a good idea, it's out of scope for this document (for now).
I should have said it's out of scope for this patch, not document. The point is that what tag to use for this is a separate discussion.
Which should be held in the context of this patch to make it complete.
I agree, it would be good to get it all done in one go.
Quoted 8 lines · Rafael J. Wysocki
Quoted 7 lines · CET Thomas Gleixner
Quoted 6 lines · Steven Rostedt
Quoted 2 lines · On Sat, 15 Nov 2025 14:05:56 -0500 Steven Rostedt <[email protected]> wrote:
As Dave responded to Luis, although that is a good idea, it's out of scope for this document (for now).
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
I should have said it's out of scope for this patch, not document. The point is that what tag to use for this is a separate discussion.
Which should be held in the context of this patch to make it complete.
I agree, it would be good to get it all done in one go.
A tag isn't going to capture what we need today. Because the LLM usage is so variable, it'll be, at best, misleading or, at worst, totally inaccurate. I've provided several examples of this where the range of LLM involvement is very low to very high. The prior discussions have shown that we haven't yet found a sensible way for a tag to capture that.
But the common thing everyone appears to agree on is the "show your work" concept that this patch is trying to capture. I think it's likely we'll grow a tag eventually, but it isn't something we understand the context for yet. As a first step, this document is designed to show the foundational goals for what we want documented.
Over some time of applying this, we'll start to see common patterns and repeated descriptions in commit logs. At that point, I think a tag will be warranted. But right now, we don't generally agree about what aspects we want a tag to cover.
-Kees
Signature · 1 line
Kees Cook
Quoted 8 lines · On Sun, 16 Nov 2025 13:38:35 +0100 "Rafael J. Wysocki" <[email protected]>…
Quoted 7 lines · CET Thomas Gleixner
Quoted 6 lines · Steven Rostedt
Quoted 2 lines · On Sat, 15 Nov 2025 14:05:56 -0500 Steven Rostedt <[email protected]> wrote:
As Dave responded to Luis, although that is a good idea, it's out of scope for this document (for now).
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
I should have said it's out of scope for this patch, not document. The point is that what tag to use for this is a separate discussion.
Which should be held in the context of this patch to make it complete.
I agree, it would be good to get it all done in one go.
It's still out of scope of this patch. As the change log states:
Note, though, there are fundamentally no new or unique rules in this new document. It clarifies expectations that the kernel community has had for many years.
A tag is a new rule. This document is to express existing behavior. Adding a tag that currently doesn't match existing behavior should be a separate patch.
-- Steve
Quoted 13 lines · On Sun, 16 Nov 2025 07:25:46 -0800 Kees Cook <[email protected]> wrote:
A tag isn't going to capture what we need today. Because the LLM usage is so variable, it'll be, at best, misleading or, at worst, totally inaccurate. I've provided several examples of this where the range of LLM involvement is very low to very high. The prior discussions have shown that we haven't yet found a sensible way for a tag to capture that.
But the common thing everyone appears to agree on is the "show your work" concept that this patch is trying to capture. I think it's likely we'll grow a tag eventually, but it isn't something we understand the context for yet. As a first step, this document is designed to show the foundational goals for what we want documented.
Quoted 4 lines
Over some time of applying this, we'll start to see common patterns and repeated descriptions in commit logs. At that point, I think a tag will be warranted. But right now, we don't generally agree about what aspects we want a tag to cover.
Exactly. My fear was that by adding any new rules (like a tag) will steer this conversation into a never ending bikeshed arguments, which was exactly what we wanted to avoid.
Let's have the "tag" conversation at Maintainers Summit and just keep this document as something to describe what we do today.
-- Steve
Quoted 5 lines · Thomas Gleixner
Quoted 4 lines
Quoted 2 lines
As Dave responded to Luis, although that is a good idea, it's out of scope for this document (for now).
I should have said it's out of scope for this patch, not document. The point is that what tag to use for this is a separate discussion.
Which should be held in the context of this patch to make it complete.
In a perfect world, I totally agree.
But the tag is something we can't really take back. It's like an ABI in that there needs to be some kind of contract between producers and consumers, and it's harmful if the contract needs to be revised.
Given how messy the process of formalizing a tag is, I'd really hate to tie the two things (a policy document and a tag) together unnecessarily.
Quoted 21 lines · Steven Rostedt
Quoted 13 lines · On Sun, 16 Nov 2025 07:25:46 -0800 Kees Cook <[email protected]> wrote:
A tag isn't going to capture what we need today. Because the LLM usage is so variable, it'll be, at best, misleading or, at worst, totally inaccurate. I've provided several examples of this where the range of LLM involvement is very low to very high. The prior discussions have shown that we haven't yet found a sensible way for a tag to capture that.
But the common thing everyone appears to agree on is the "show your work" concept that this patch is trying to capture. I think it's likely we'll grow a tag eventually, but it isn't something we understand the context for yet. As a first step, this document is designed to show the foundational goals for what we want documented.
Quoted 4 lines
Over some time of applying this, we'll start to see common patterns and repeated descriptions in commit logs. At that point, I think a tag will be warranted. But right now, we don't generally agree about what aspects we want a tag to cover.
Quoted 6 lines
Exactly. My fear was that by adding any new rules (like a tag) will steer this conversation into a never ending bikeshed arguments, which was exactly what we wanted to avoid.
Let's have the "tag" conversation at Maintainers Summit and just keep this document as something to describe what we do today.
What's the status of this patch? I don't see it in linux-next, is it supposed to go through some specific tree?
thanks,
greg k-h
Jonathan Corbet
maintainerQuoted 2 lines · Greg Kroah-Hartman
What's the status of this patch? I don't see it in linux-next, is it supposed to go through some specific tree?
I've been assuming there would be another version after the meeting, so haven't applied anything. (Besides, between travel, 100mph winds, and several days without power, I've not gotten much done in general...)
jon
Quoted 9 lines · On Tue, 23 Dec 2025 10:10:14 -0700 Jonathan Corbet <[email protected]> wrote:
Quoted 2 lines · Greg Kroah-Hartman
What's the status of this patch? I don't see it in linux-next, is it supposed to go through some specific tree?
I've been assuming there would be another version after the meeting, so haven't applied anything. (Besides, between travel, 100mph winds, and several days without power, I've not gotten much done in general...)
Yeah. I was talking with Dave on the way to the Kill Bill evening event and I believe he was planning on doing another version sometime when he got back.
Dave correct me if I'm wrong.
-- Steve
Quoted 10 lines · Steven Rostedt
Quoted 6 lines
Quoted 2 lines
What's the status of this patch? I don't see it in linux-next, is it supposed to go through some specific tree?
I've been assuming there would be another version after the meeting, so haven't applied anything. (Besides, between travel, 100mph winds, and several days without power, I've not gotten much done in general...)
Yeah. I was talking with Dave on the way to the Kill Bill evening event and I believe he was planning on doing another version sometime when he got back.
Dave correct me if I'm wrong.
Yup, I was just waiting to post again until I know I can be attentive to email and responsive to an reviewers. It's definitely not dropped on the floor.
Simon Glass
Reviewed-byQuoted 8 lines · Dave Hansen
Quoted 6 lines · Steven Rostedt
Quoted 6 lines
Quoted 2 lines
What's the status of this patch? I don't see it in linux-next, is it supposed to go through some specific tree?
I've been assuming there would be another version after the meeting, so haven't applied anything. (Besides, between travel, 100mph winds, and several days without power, I've not gotten much done in general...)
Quoted 9 lines
Quoted 4 lines
Yeah. I was talking with Dave on the way to the Kill Bill evening event and I believe he was planning on doing another version sometime when he got back.
Dave correct me if I'm wrong.
Yup, I was just waiting to post again until I know I can be attentive to email and responsive to an reviewers. It's definitely not dropped on the floor.