summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2023-11-21 21:36:41 +0300
committerBjorn Helgaas <bhelgaas@google.com>2023-12-05 19:56:56 +0300
commitf284dff47b6d00efe1f774d25e9d74874e78c600 (patch)
tree81b37eb0e71154d18bfbb13f95ce8141996dc3b8 /tools/perf/scripts/python/export-to-sqlite.py
parentd26e7fc3d907db19f7e25126476cb416f0527592 (diff)
downloadlinux-f284dff47b6d00efe1f774d25e9d74874e78c600.tar.xz
x86/pci: Comment pci_mmconfig_insert() obscure MCFG dependency
In pci_mmconfig_insert(), there's no reference to "addr" between locking pci_mmcfg_lock and testing "addr", so it *looks* like we should move the test before the lock. But 07f9b61c3915 ("x86/PCI: MMCONFIG: Check earlier for MMCONFIG region at address zero") did that, which broke things by returning -EINVAL when "addr" is zero instead of -EEXIST. So 07f9b61c3915 was reverted by 67d470e0e171 ("Revert "x86/PCI: MMCONFIG: Check earlier for MMCONFIG region at address zero""). Add a comment about this issue to prevent it from happening again. Link: https://lore.kernel.org/r/20231121183643.249006-8-helgaas@kernel.org Tested-by: Tomasz Pala <gotar@polanet.pl> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions