Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel: Prepare and clean before the big PCI subsystem new design #24152

Merged
merged 11 commits into from May 14, 2024

Conversation

supercomputer7
Copy link
Member

Commits are taken from #23448.
It mostly boils down to cleaning lots of mess and prepare before we could remove the old design and put the new one.

@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Apr 28, 2024
@supercomputer7 supercomputer7 force-pushed the prepare-to-pci-refactor branch 2 times, most recently from 5aa92ae to 8cda2c1 Compare April 28, 2024 18:46
@supercomputer7
Copy link
Member Author

I had to remove supercomputer7@0bfc7b0 from this PR, as aarch64 would not compile otherwise. I will see how to fix this in the big refactor PR, when we get there.

We never used these virtual methods outside their own implementation,
so let's stop pretending that we should be able to utilize this for
unknown purpose.
We can just do the initialization sequence in the constructor.
Prepare to remove biglock on PCI::Access in a future commit, so we can
ensure we only lock a spinlock on a precise PCI HostController if needed
instead of the entire subsystem.
GenericGraphicsAdapter is mouthful. Also, the idea is to move towards a
more advanced subsystem that handles GPUs, not merely graphics adapters.
This code is actually for the old PIIX4 PCI host bridge, which requires
to use legacy x86 IO instructions.
@supercomputer7 supercomputer7 removed the ⚠️ pr-has-conflicts PR has merge conflicts and needs to be rebased label May 14, 2024
This file will be removed in a future commit, so let's get rid of what
we can right now.
@ADKaster ADKaster added ✅ pr-maintainer-approved-but-awaiting-ci PR has been approved by a maintainer and can be merged after CI has passed and removed 👀 pr-needs-review PR needs review from a maintainer or community member labels May 14, 2024
@github-actions github-actions bot added 👀 pr-needs-review PR needs review from a maintainer or community member and removed ✅ pr-maintainer-approved-but-awaiting-ci PR has been approved by a maintainer and can be merged after CI has passed labels May 14, 2024
@ADKaster ADKaster merged commit 5f3ef1a into SerenityOS:master May 14, 2024
11 checks passed
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label May 14, 2024
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.

None yet

3 participants