summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGuixin Liu <kanie@linux.alibaba.com>2026-10-08 11:46:12 +0800
committerDave Jiang <dave.jiang@intel.com>2026-10-09 14:09:24 -0700
commitd2654fa0d841fa36ffa76577f83a2810d643ae19 (patch)
tree7efde872f582cb1e7be67d9ab5d40d87face0d42 /tools/perf/scripts/python/export-to-sqlite.py
parentbcda00c78d075340fe30cb6c980507fac711e7d1 (diff)
downloadlinux-next-d2654fa0d841fa36ffa76577f83a2810d643ae19.tar.gz
linux-next-d2654fa0d841fa36ffa76577f83a2810d643ae19.zip
cxl/pci: Use the Device GPF DVSEC for restricted endpoints
cxl_gpf_get_dvsec() picks between the Port and the Device GPF DVSEC from the PCIe type of the given device, and only a plain endpoint counts as a device. A restricted CXL device is an endpoint too, but it falls into the port case and is probed for the Port GPF DVSEC instead of the Device GPF DVSEC. On an RCD, dirty shutdown tracking therefore never arms: the DVSEC lookup in cxl_nvdimm_arm_dirty_shutdown_tracking() fails, the dirty shutdown count stays invalid, and the warning complains about a missing Port GPF DVSEC on a device. Treat restricted endpoints as devices. Fixes: 36aace15d9bd ("cxl/pci: Drop the parameter is_port of cxl_gpf_get_dvsec()") Cc: stable@vger.kernel.org Assisted-by: LLM Signed-off-by: Guixin Liu <kanie@linux.alibaba.com> Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Alison Schofield <alison.schofield@intel.com> Link: https://patch.msgid.link/20261008034619.28059-2-kanie@linux.alibaba.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions