[Linux-kernel-mentees] [RFC PATCH 00/17] Drop uses of pci_read_config_*() return value
hch at infradead.org
Mon Aug 3 06:56:29 UTC 2020
On Sun, Aug 02, 2020 at 02:14:06PM -0500, Bjorn Helgaas wrote:
> But what guarantees that a PCI config register cannot contain ~0?
> If there's something about that in the spec I'd love to know where it
> is because it would simplify a lot of things.
There isn't. An we even have cases like the NVMe controller memory
buffer and persistent memory region, which are BARs that store
abritrary values for later retreival, so it can't. (now those
features have a major issue with error detection, but that is another
More information about the Linux-kernel-mentees