[PATCH v2 1/2] PCI: Add TLP Prefix reading into pcie_read_tlp_log()

Ilpo Järvinen ilpo.jarvinen at linux.intel.com
Thu Apr 4 20:51:20 AEDT 2024


On Thu, 4 Apr 2024, Lukas Wunner wrote:

> On Wed, Apr 03, 2024 at 01:02:05PM +0300, Ilpo Järvinen wrote:
> > pcie_read_tlp_log() handles only 4 TLP Header Log DWORDs but TLP Prefix
> > Log (PCIe r6.1 secs 7.8.4.12 & 7.9.14.13) may also be present.
> > 
> > Generalize pcie_read_tlp_log() and struct pcie_tlp_log to handle also
> > TLP Prefix Log. The layout of relevant registers in AER and DPC
> > Capability is not identical but the offsets of TLP Header Log and TLP
>                 ^^^           ^^^
> Somehow this doesn't seem to make sense.  Is the "not" perhaps wrong here?

Hi Lukas,

How about changing it into plural and adding a comma:

The layouts of relevant registers in AER and DPC Capabilities are not 
identical, but ...

Does that sound better?

> > Prefix Log vary so the callers must pass the offsets to
> > pcie_read_tlp_log().


-- 
 i.


More information about the Linuxppc-dev mailing list