Re: [PATCH v7 08/10] PCI, x86: add MMCFG information on demand

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 16, 2012 at 2:23 AM, Jiang Liu <jiang.liu@xxxxxxxxxx> wrote:
> On 2012-6-16 0:51, Yinghai Lu wrote:
>>
>> still have some problem:
>> pci_mmcfg_check_reserved==>is_mmconf_reserved
>>
>> will update cfg->end_bus.
> Hi Yinghai,
>        How about following patch for this issue? I guess we need to
> keep current behavior at boot time for backward compatibility, right?

We'd better to make all path share as most code as possible.
1. hostbridge scanning during boot -- early, it will check chipset and e820
2. MCFG checking during boot -- early, it will check e820
3. MCFG checking during boot -- late, it will check acpi pnp
4. _CBA checking for hotplug-able pci root bus but it is installed during boot.
5. _CBA checking for hotplug-able pci root bus during run time.

please keep mapping for all entries in MCFG table. aka 1, 2, 3.
I have some local patches that will read ext pci conf space before scan pci bus.
please check attached one for nehalem-ioh.

for case 4, 5: only need to add one bool in acpi_pci_root to record if
mmconf list and mapping is touched.

Thanks

Yinghai

Attachment: intel_bus_new_all.patch
Description: Binary data


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux