linux/drivers/cxl/core
Dave Jiang b6cfddd26e cxl: Adjust offset calculation for poison injection
The HPA to DPA translation for poison injection assumes that the
base address starts from where the CXL region begins. When the
extended linear cache is active, the offset can be within the DRAM
region. Adjust the offset so that it correctly reflects the offset
within the CXL region.

[ dj: Add fixes tag from Alison ]

Fixes: c3dd67681c ("cxl/region: Add inject and clear poison by region offset")
Link: https://patch.msgid.link/20251031173224.3537030-5-dave.jiang@intel.com
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
2025-11-07 09:22:10 -07:00
..
cdat.c Merge branch 'for-6.18/cxl-delay-dport' into cxl-for-next 2025-09-18 14:34:51 -07:00
core.h Merge branch 'for-6.18/cxl-delay-dport' into cxl-for-next 2025-09-18 14:34:51 -07:00
edac.c Merge branch 'for-6.17/cxl-acquire' into cxl-for-next 2025-07-16 13:30:17 -07:00
features.c cxl/features: Add check for no entries in cxl_feature_info 2025-10-13 13:47:49 -07:00
hdm.c Merge branch 'for-6.18/cxl-delay-dport' into cxl-for-next 2025-09-18 14:34:51 -07:00
Makefile cxl: Remove core/acpi.c and cxl core dependency on ACPI 2025-07-15 07:51:54 -07:00
mbox.c Merge branch 'for-6.17/cxl-events-updates' into cxl-for-next 2025-07-18 16:15:44 -07:00
mce.c cxl: Add mce notifier to emit aliased address for extended linear cache 2025-02-26 14:13:49 -07:00
mce.h cxl: mce: fix typo "notifer" 2025-08-02 12:01:39 -07:00
memdev.c cxl/region: Add inject and clear poison by region offset 2025-08-12 16:02:00 -07:00
pci.c cxl/test: Add mock version of devm_cxl_add_dport_by_dev() 2025-09-18 09:55:23 -07:00
pmem.c cxl/pmem: Remove is_cxl_nvdimm_bridge() 2025-01-03 11:20:06 +01:00
pmu.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
port.c cxl/port: Avoid missing port component registers setup 2025-10-13 12:01:01 -07:00
ras.c cxl/ras: Fix CPER handler device confusion 2025-06-13 09:02:04 -07:00
region.c cxl: Adjust offset calculation for poison injection 2025-11-07 09:22:10 -07:00
regs.c cxl/core/regs.c: Skip Memory Space Enable check for RCD and RCH Ports 2025-04-21 08:30:13 -07:00
suspend.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
trace.c cxl/region: Move cxl_trace_hpa() work to the region driver 2024-04-30 12:24:42 -07:00
trace.h cxl/trace: Subtract to find an hpa_alias0 in cxl_poison events 2025-10-14 14:48:14 -07:00