commit | 0dde1c08d1b9dea01cefb327dba8a6e3ae795214 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Mon Apr 17 15:20:58 2017 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Wed Apr 19 12:52:40 2017 -0500 |
tree | 0bb3fcdc85007277cafcd3dcd0e52f6a4136c101 | |
parent | 81a5e70e0de55707c3184d186b2103b5bb9377ec [diff] |
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: Bjorn Helgaas <bhelgaas@google.com>