Hi, Please find a bunch of patches for the switchtec driver collected over the last few months. The first 2 patches fix a couple of minor bugs. Patch 3 adds support for a new event that is available in specific firmware versions. Patches 4 and 5 are some code cleanup changes to simplify the logic. And the last 6 patches implement support for the new Gen4 hardware. This patchset is based on v5.5-rc5 and a git branch is available here: https://github.com/sbates130272/linux-p2pmem switchtec-next Thanks, Logan -- Kelvin Cao (3): PCI/switchtec: Add gen4 support in struct flash_info_regs PCI/switchtec: Add permission check for the GAS access MRPC commands PCI/switchtec: Introduce gen4 variant IDS in the device ID table Logan Gunthorpe (6): PCI/switchtec: Fix vep_vector_number ioread width PCI/switchtec: Add support for new events PCI/switchtec: Introduce Generation Variable PCI/switchtec: Separate out gen3 specific fields in the sys_info_regs structure PCI/switchtec: Add gen4 support in struct sys_info_regs PCI: Apply switchtec DMA aliasing quirk to GEN4 devices Wesley Sheng (3): PCI/switchtec: Use dma_set_mask_and_coherent() PCI/switchtec: Remove redundant valid PFF number count PCI/switchtec: Move check event id from mask_event() to switchtec_event_isr() drivers/pci/quirks.c | 18 ++ drivers/pci/switch/switchtec.c | 365 ++++++++++++++++++++------- include/linux/switchtec.h | 160 ++++++++++-- include/uapi/linux/switchtec_ioctl.h | 13 +- 4 files changed, 450 insertions(+), 106 deletions(-) -- 2.20.1