Skip to content

Add kernel document#18

Merged
pastaq merged 3 commits intomainfrom
kernel-organization
Feb 13, 2026
Merged

Add kernel document#18
pastaq merged 3 commits intomainfrom
kernel-organization

Conversation

@BoukeHaarsma23
Copy link
Copy Markdown
Contributor

After our discussion on Discord I wanted to place this here.

Copy link
Copy Markdown
Member

@pastaq pastaq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor nits and clarification requests

Comment thread kernel/README.md Outdated

## 1. Introduction

The Open Gaming Collective (OGC) maintains a custom Linux kernel intended for use by downstream distributions and their users. This proposal describes the recommended repository layout, workflows, and policies for developing, maintaining, and distributing OGC kernel patches.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's adjust the verbage. Instead of proposal let's refine it as the accepted governance document in some way.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I'll update that :)

Comment thread kernel/README.md

* Patches maintained by third parties (e.g. CachyOS, Linux stable).
* The OGC org will merge and keep up with these patches.
* These patches are also periodically reviewed for relevance and maintenance cost.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add an example? This seems nebulous and I can't imagine a scenario where these don't match one of the two other options.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know exactly what you mean. But I can imagine a case where we would drop a certain patchset due to high maintenance or not able to rebase or whatever.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In what scenario would adding a patch fall under this category?

Comment thread kernel/README.md
Comment thread kernel/README.md

### 4.5 Pull Request Requirements

* All supported package formats are built for every pull request.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this should be automatic for members with the workflow triggered manually by the member reviewer from outside collaborators

We should also have a separate workflow for validation (no warnings, checkpatch --strict passing, documentation validation etc )

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread kernel/README.md

* Only merge commits and tag commits are permitted.
* Updates to patch series and/or linux-stable are applied via merges only.
* This means that these branches will not be rebased for a clear history.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Booooo

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can always choose to change this in the future if it is not workable. But for me, a clean history is more important here.

Comment thread kernel/README.md

### 5.4 Release and Distribution Model

* **Rolling distributions:**
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have any rolling release members?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Bazzite is this under a technicality only. We're based on Fedora versions but users are updated to the latest version automatically. Whether that matters enough to be a distinction here is another question.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I just wanted to be flexible for downstreams here. I think we should default to packages, but if a container format is wanted I don't want to block that.

Comment thread kernel/README.md
* The history of `/OGC` branches **must not be rewritten**.

* Only merge commits and tag commits are permitted.
* Updates to patch series and/or linux-stable are applied via merges only.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think in this model it's especially important that you have metadata in the commit message to indicate where code came from or it's going to be incredibly difficult to unwind.

For example cherry picks must be run with -x and patches from mailing lists need to have the URL added to commit messages.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding to that, I think all commits should be signed by the person requesting the merge, so -s should also be required.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be good to have an entire section dedicated to workflow detailing on how to pull in changes from a URL, another branch, a patch file, etc.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, but is it OK to do that in a seperate PR?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's fine

@KyleGospo
Copy link
Copy Markdown
Member

Approved based on existing conversations and their resolutions, just adding my +1

@pastaq
Copy link
Copy Markdown
Member

pastaq commented Feb 13, 2026

I added an additional document to the branch detailing the procedure for adding patches to the OGC kernel.

@pastaq pastaq force-pushed the kernel-organization branch 4 times, most recently from 7336eb4 to 44cb3b8 Compare February 13, 2026 03:18
@KyleGospo
Copy link
Copy Markdown
Member

Can we merge this? Seems the only change request we've accepted fixing in a separate pr

@pastaq pastaq force-pushed the kernel-organization branch from 44cb3b8 to 14955fb Compare February 13, 2026 06:03
@pastaq pastaq merged commit de9af53 into main Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants