OpenCloudOS-Kernel/drivers/ntb/hw
Dave Jiang d5081bf5dc ntb: intel: fix port config status offset for SPR
The field offset for port configuration status on SPR has been changed to
bit 14 from ICX where it resides at bit 12. By chance link status detection
continued to work on SPR. This is due to bit 12 being a configuration bit
which is in sync with the status bit. Fix this by checking for a SPR device
and checking correct status bit.

Fixes: 26bfe3d0b2 ("ntb: intel: Add Icelake (gen4) support for Intel NTB")
Tested-by: Jerry Dai <jerry.dai@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
2022-01-28 10:19:16 -05:00
..
amd ntb_hw_amd: Add NTB PCI ID for new gen CPU 2022-01-11 15:38:59 -05:00
epf NTB: Add support for EPF PCI Non-Transparent Bridge 2021-02-23 14:12:53 -06:00
idt NTB: switch from 'pci_' to 'dma_' API 2021-09-05 18:08:14 -04:00
intel ntb: intel: fix port config status offset for SPR 2022-01-28 10:19:16 -05:00
mscc ntb_hw_switchtec: Fix a minor issue in config_req_id_table() 2022-01-11 15:38:59 -05:00
Kconfig NTB: Add support for EPF PCI Non-Transparent Bridge 2021-02-23 14:12:53 -06:00
Makefile NTB: Add support for EPF PCI Non-Transparent Bridge 2021-02-23 14:12:53 -06:00