Skip to content
Commit 0dde1c08 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

PCI: Don't reassign resources that are already aligned



The "pci=resource_alignment=" kernel argument designates devices for which
we want alignment greater than is required by the PCI specs.  Previously we
set IORESOURCE_UNSET for every MEM resource of those devices, even if the
resource was *already* sufficiently aligned.

If a resource is already sufficiently aligned, leave it alone and don't try
to reassign it.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 81a5e70e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment