[PATCH v2] raw/ntb: add PPD status check for SPR
Thomas Monjalon
thomas at monjalon.net
Tue Jul 5 21:56:21 CEST 2022
> > Add PPD (PCIe Port Definition) status check for SPR (Sapphire Rapids).
> >
> > Note that NTB on SPR has the same device id with that on ICX, while
> > the field offsets of PPD Control Register are different. Here, we use
> > the PCI device revision id to distinguish the HW platform (ICX/SPR)
> > and check the Port Config Status and Port Definition accordingly.
> >
> > +---------------------------+--------------------+--------------------+
> > | Fields | Bit Range (on ICX) | Bit Range (on SPR) |
> > +---------------------------+--------------------+--------------------+
> > | Port Configuration Status | 12 | 14 |
> > | Port Definition | 9:8 | 10:8 |
> > +---------------------------+--------------------+--------------------+
> >
> > v2:
> > fix revision id value check logic.
> >
> > Signed-off-by: Junfeng Guo <junfeng.guo at intel.com>
> Acked-by: Jingjing Wu <jingjing.wu at intel.com>
Not sure it is urgent, anyway
Applied, thanks.
More information about the dev
mailing list