summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2022-01-27 23:31:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-08 21:12:44 +0300
commit5d7c23d39660902088879454f3ea238377e8c957 (patch)
treeb30f7cc1a360170b007785f5fc6287878c5f55e5 /mm
parent78acc7dbd84a8c173a08584750845c31611160f2 (diff)
downloadlinux-5d7c23d39660902088879454f3ea238377e8c957.tar.xz
ntb: intel: fix port config status offset for SPR
commit d5081bf5dcfb1cb83fb538708b0ac07a10a79cc4 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions