diff options
author | Dave Jiang <dave.jiang@intel.com> | 2022-01-27 23:31:12 +0300 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2022-01-28 18:19:16 +0300 |
commit | d5081bf5dcfb1cb83fb538708b0ac07a10a79cc4 (patch) | |
tree | 2d5d427ee254443915c86297c3f5a0747258311e /include | |
parent | 305325688ff924c52a6e12f92235a89536e022cf (diff) | |
download | linux-d5081bf5dcfb1cb83fb538708b0ac07a10a79cc4.tar.xz |
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: 26bfe3d0b227 ("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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions