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