mbox series

[V2,0/5] PCI: Enable 10-Bit tag support for PCIe devices

Message ID 1620741585-53304-1-git-send-email-liudongdong3@huawei.com
Headers show
Series PCI: Enable 10-Bit tag support for PCIe devices | expand

Message

Dongdong Liu May 11, 2021, 1:59 p.m. UTC
10-Bit Tag capability, introduced in PCIe-4.0 increases the total Tag
field size from 8 bits to 10 bits.

This patchset is to enable 10-Bit tag for PCIe EP devices (include VF) and
RP devices.

V1->V2: Fix some comments by Christoph.
- Store the devcap2 value in the pci_dev instead of reading it multiple
  times.
- Change pci_info to pci_dbg to avoid the noisy log.
- Rename ext_10bit_tag_comp_path to ext_10bit_tag.
- Fix the compile error.
- Rebased on v5.13-rc1.

Dongdong Liu (5):
  PCI: Use cached Device Capabilities 2 Register
  PCI: Add 10-Bit Tag register definitions
  PCI: Enable 10-Bit tag support for PCIe Endpoint devices
  PCI/IOV: Enable 10-Bit tag support for PCIe VF devices
  PCI: Enable 10-Bit tag support for PCIe RP devices

 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c |  4 +-
 drivers/pci/iov.c                               |  8 +++
 drivers/pci/pci.c                               |  8 +--
 drivers/pci/pcie/portdrv_pci.c                  | 76 +++++++++++++++++++++++++
 drivers/pci/probe.c                             | 54 ++++++++++++++++--
 include/linux/pci.h                             |  3 +
 include/uapi/linux/pci_regs.h                   |  5 ++
 7 files changed, 144 insertions(+), 14 deletions(-)

--
2.7.4

Comments

Dongdong Liu May 11, 2021, 2:18 p.m. UTC | #1
This patchset missed a patch [PATCH V2 5/5], ignore the patchset,
I will resend.

On 2021/5/11 21:59, Dongdong Liu wrote:
> 10-Bit Tag capability, introduced in PCIe-4.0 increases the total Tag
> field size from 8 bits to 10 bits.
>
> This patchset is to enable 10-Bit tag for PCIe EP devices (include VF) and
> RP devices.
>
> V1->V2: Fix some comments by Christoph.
> - Store the devcap2 value in the pci_dev instead of reading it multiple
>   times.
> - Change pci_info to pci_dbg to avoid the noisy log.
> - Rename ext_10bit_tag_comp_path to ext_10bit_tag.
> - Fix the compile error.
> - Rebased on v5.13-rc1.
>
> Dongdong Liu (5):
>   PCI: Use cached Device Capabilities 2 Register
>   PCI: Add 10-Bit Tag register definitions
>   PCI: Enable 10-Bit tag support for PCIe Endpoint devices
>   PCI/IOV: Enable 10-Bit tag support for PCIe VF devices
>   PCI: Enable 10-Bit tag support for PCIe RP devices
>
>  drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c |  4 +-
>  drivers/pci/iov.c                               |  8 +++
>  drivers/pci/pci.c                               |  8 +--
>  drivers/pci/pcie/portdrv_pci.c                  | 76 +++++++++++++++++++++++++
>  drivers/pci/probe.c                             | 54 ++++++++++++++++--
>  include/linux/pci.h                             |  3 +
>  include/uapi/linux/pci_regs.h                   |  5 ++
>  7 files changed, 144 insertions(+), 14 deletions(-)
>
> --
> 2.7.4
>
> .
>