Skip to contentSkip to conversation

PCI: x86 MMCONFIG - a couple of corrections to the preamble

PATCH Tony Camuso 1 participant 1 message Dec 22, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20071222024044.26026.1461.sendpatchset@dhcp83-188.boston.redhat.com

#1 lore raw

Some corrections to the preamble.

Quoted 2 lines

The large amount of text is due to the nature of the problem and the discussion it engendered on the lkml.

Should say:

The large amount of text in the explanation below is due to the nature of the problem and the discussion engendered on lkml by my first submission.

Quoted 3 lines

This patch-set detects the problem by comparing an MMCONFIG read to a Legacy PCI config read of the vendor/device dword of every device discovered during the PCI probing sequence.

Actually, the patch doesn't do a pci config read of EVERY device discovered on every bus. Only on buses above a number defined by PCI_MMCFG_MAX_CHECK_BUS and whose parent bus's pci_bus.ops field points to pci_root_ops, which are mmconfig access routines in systems in which mmconfig is the default mechanism.

In such cases where the parent bus pci_bus.ops field points to pci_legacy_ops, the current bus does not need to be probed, since its own pci_bus.ops field will inherit the pointer to pci_legacy_ops from its parent.