RE: MMCONFIG violates pci power mgmt spec

From: Michael Chan
Date: Thu Aug 05 2004 - 18:24:37 EST



> > For example, if the device is transitioning into or out of
> D3hot, the
> > spec requires a delay of 10 msec before any accesses can be made to
> > the device. The dummy read in pci_mmcfg_write violates the delay
> > requirements even though pci_set_power_state has all the necessary
> > delays.
>
> Interesting. What happens? Hangs?
>

What happens depends on the system/chipset/bios. Sometimes we see an
NMI, sometimes nothing bad happens.

>
> Reading is the official way to flush.
>

The MMCONFIG ECN document from pcisig below gives a few examples on how
the mmconfig write can be flushed. The exact mechanism of course is
implemention specific.

http://www.pcisig.com/specifications/pciexpress/specifications

Michael

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/