Skip to content

Switchtec Gen4 Support

Logan Gunthorpe linux-pci lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyIn review
  2. v112 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7PCI/switchtec: Rename generation specific constantsdrivers/pci/switch/switchtec.c include/linux/switchtec.h include/uapi/linux/switchtec_ioctl.h+13 -100 replies
2/7PCI/switchtec: Introduce Generation Variabledrivers/pci/switch/switchtec.c include/linux/switchtec.h+64 -320 replies
3/7PCI/switchtec: Refactor ioctl_flash_part_info()drivers/pci/switch/switchtec.c+42 -260 replies
4/7PCI/switchtec: Separate out gen3 register structures into unionsedrivers/pci/switch/switchtec.c include/linux/switchtec.h+54 -250 replies
5/7PCI/switchtec: Add gen4 support for the system info registersdrivers/pci/switch/switchtec.c include/linux/switchtec.h+48 -00 replies
6/7PCI/switchtec: Add gen4 support for the flash information interfacedrivers/pci/switch/switchtec.c include/linux/switchtec.h include/uapi/linux/switchtec_ioctl.h+171 -00 replies
7/7PCI/switchtec: Introduce gen4 variant IDS in the device ID tabledrivers/pci/quirks.c drivers/pci/switch/switchtec.c+36 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] Switchtec Gen4 Support

Hi,

Here are the cleaned up version of the patches for Gen4 support in switchtec. The end result is mostly the same, save some very minor changes, but the organization into commits has been reworked per Bjorn's feedback. This set is also rebased onto pci/switchtec.

A git branch is available here:

https://github.com/sbates130272/linux-p2pmem switchtec-next-v2

Thanks,

Logan

--

Kelvin Cao (2):
PCI/switchtec: Add gen4 support for the flash information interface PCI/switchtec: Introduce gen4 variant IDS in the device ID table

Logan Gunthorpe (5):
PCI/switchtec: Rename generation specific constants PCI/switchtec: Introduce Generation Variable PCI/switchtec: Refactor ioctl_flash_part_info() PCI/switchtec: Separate out gen3 register structures into unionse PCI/switchtec: Add gen4 support for the system info registers

 drivers/pci/quirks.c                 |  18 ++
 drivers/pci/switch/switchtec.c       | 334 +++++++++++++++++++++------
 include/linux/switchtec.h            | 148 ++++++++++--
 include/uapi/linux/switchtec_ioctl.h |  13 +-
 4 files changed, 424 insertions(+), 89 deletions(-)

--
2.20.1