Message ID | 1623576555-40338-1-git-send-email-liudongdong3@huawei.com |
---|---|
Headers | show |
Series | PCI: Enable 10-Bit tag support for PCIe devices | expand |
Looks good,
Reviewed-by: Christoph Hellwig <hch@lst.de>
On Sun, Jun 13, 2021 at 05:29:14PM +0800, Dongdong Liu wrote: > Enable VF 10-Bit Tag Requester when it's upstream component support > 10-bit Tag Completer. > > Signed-off-by: Dongdong Liu <liudongdong3@huawei.com> Looks good, Reviewed-by: Christoph Hellwig <hch@lst.de>
On 2021/6/14 13:49, Christoph Hellwig wrote: >> + if (!(bridge->pcie_devcap2 & PCI_EXP_DEVCAP2_ATOMIC_ROUTE)) > > Overly long line. > Will fix. >> +static void pci_init_devcap2(struct pci_dev *dev) >> +{ >> + if (!pci_is_pcie(dev)) >> + return; >> + >> + pcie_capability_read_dword(dev, PCI_EXP_DEVCAP2, &dev->pcie_devcap2); >> +} > > Wouldn't it make sene to merge this into set_pcie_port_type? Good suggestion, will do. Thanks, Dongdong > . >