On Tue, Jan 18, 2022 at 02:01:45PM -0600, Bjorn Helgaas wrote:
Haha :) I was hoping not to touch it myself because I think this whole stolen memory thing is kind of nasty. It's not clear to me why we need it at all, or why we have to keep all this device-specific logic in the kernel, or why it has to be an early quirk as opposed to a regular PCI quirk. We had a thread [1] about it a while ago but I don't think anything got resolved.
/me goes and skims over it.
OMG, what a mess. And OEM BIOS is involved.
Makes me wanna run away screaming.
But to try to make forward progress, I applied patch 1/5 (actually, the updated one from [2]) to my pci/misc branch with the updated commit log and code comments below.
Yap.
And if that stops the continuous stream of new-platform-addition patches, even better.