Go to file
Zheng Wu 9932062b90 ntb: intel: fix port config status offset for SPR
commit d5081bf5dc 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.

Intel-SIG: commit d5081bf5dc ntb: intel: fix port config status offset
for SPR to OC 5.4.119 kernel.

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>
[ Zheng Wu: amend commit log ]
Signed-off-by: Zheng Wu <wu.zheng@intel.com>
2024-06-11 21:24:31 +08:00
Documentation Documentation/x86: Introduce enclave runtime management section 2024-06-11 21:24:17 +08:00
LICENSES LICENSES: Rename other to deprecated 2019-05-03 06:34:32 -06:00
arch perf/x86/uncore: Don't WARN_ON_ONCE() for a broken discovery table 2024-06-11 21:24:30 +08:00
block ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
certs ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
crypto ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
dist dist: remove leds from filter out directory 2024-06-11 21:23:35 +08:00
drivers ntb: intel: fix port config status offset for SPR 2024-06-11 21:24:31 +08:00
fs mm, memcg: rework remote charging API to support nesting 2024-06-11 21:23:42 +08:00
include x86/sgx: Add an attribute for the amount of SGX memory in a NUMA node 2024-06-11 21:24:07 +08:00
init irqlatency: add irq latency monitor support 2024-06-11 21:18:47 +08:00
ipc ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
kernel irqlatency: add irq latency monitor support 2024-06-11 21:18:47 +08:00
lib lib: Uplevel the pmem "region" ida to a global allocator 2024-06-11 21:18:38 +08:00
mm x86/sgx: Hook arch_memory_failure() into mainline code 2024-06-11 21:24:00 +08:00
net ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
package iommu/vt-d: Retain PASID entry if guest switched remapping mode 2024-06-11 21:18:02 +08:00
samples vfio/mbochs: Fix close when multiple device FDs are open 2024-06-11 21:15:41 +08:00
scripts PCI / VFIO: Add 'override_only' support for VFIO PCI sub system 2024-06-11 21:15:47 +08:00
security ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
sound I2S driver support for Phytium CPUs 2024-06-11 21:23:34 +08:00
tools tools headers cpufeatures: Sync with the kernel sources 2024-06-11 21:24:24 +08:00
usr tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
virt kvm: rename KVM_MAX_VCPU_ID to KVM_MAX_VCPU_IDS 2024-06-11 21:17:35 +08:00
.clang-format clang-format: Update with the latest for_each macro list 2019-08-31 10:00:51 +02:00
.cocciconfig
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
.gitignore ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
COPYING COPYING: use the new text with points to the license files 2018-03-23 12:41:45 -06:00
CREDITS MAINTAINERS: Remove Simon as Renesas SoC Co-Maintainer 2019-10-10 08:12:51 -07:00
Kbuild kbuild: do not descend to ./Kbuild when cleaning 2019-08-21 21:03:58 +09:00
Kconfig docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
MAINTAINERS x86/sgx: Expose SGX architectural definitions to the kernel 2024-06-11 21:23:44 +08:00
Makefile ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00
README.md tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
backport_remove_lists.txt tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
tools_key.pub tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00

README.md

Tencent Linux Kernel 4.0