linux-stable/drivers/cxl/core
Terry Bowman b3741ac86c cxl/pci: Change CXL AER support check to use native AER
Native CXL protocol errors are delivered to the OS through AER
reporting. The owner of AER owns CXL Protocol error management with
respect to _OSC negotiation.[1] CXL device errors are handled by a
separate interrupt with native control gated by _OSC control field
'CXL Memory Error Reporting Control'.

The CXL driver incorrectly checks for 'CXL Memory Error Reporting
Control' before accessing AER registers and caching RCH downport
AER registers. Replace the current check in these 2 cases with
native AER checks.

[1] CXL 3.0 - 9.17.2 CXL _OSC, Table-9-26, Interpretation of CXL
_OSC Support Fields, p.641

Fixes: f05fd10d13 ("cxl/pci: Add RCH downstream port AER register discovery")
Signed-off-by: Terry Bowman <terry.bowman@amd.com>
Reviewed-by: Smita Koralahalli <Smita.KoralahalliChannabasappa@amd.com>
Link: https://lore.kernel.org/r/20231102155232.1421261-1-terry.bowman@amd.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2023-11-02 14:09:01 -07:00
..
core.h Merge branch 'for-6.7/cxl-rch-eh' into cxl/next 2023-10-31 10:59:00 -07:00
hdm.c cxl/hdm: Remove broken error path 2023-10-31 14:10:04 -07:00
Makefile cxl/pci: Find and register CXL PMU devices 2023-05-30 11:20:35 -07:00
mbox.c Merge branch 'for-6.7/cxl-commited' into cxl/next 2023-10-31 11:00:08 -07:00
memdev.c cxl: Add cxl_decoders_committed() helper 2023-10-27 20:29:41 -07:00
pci.c cxl/pci: Change CXL AER support check to use native AER 2023-11-02 14:09:01 -07:00
pmem.c cxl/memdev: Formalize endpoint port linkage 2023-06-25 14:31:33 -07:00
pmu.c cxl/pci: Find and register CXL PMU devices 2023-05-30 11:20:35 -07:00
port.c Merge branch 'for-6.7/cxl-commited' into cxl/next 2023-10-31 11:00:08 -07:00
region.c cxl/hdm: Remove broken error path 2023-10-31 14:10:04 -07:00
regs.c cxl/core/regs: Rework cxl_map_pmu_regs() to use map->dev for devm 2023-10-27 20:13:39 -07:00
suspend.c PM: CXL: Disable suspend 2022-04-22 16:09:42 -07:00
trace.c cxl/trace: Add an HPA to cxl_poison trace events 2023-04-23 11:46:13 -07:00
trace.h cxl/memdev: Trace inject and clear poison as cxl_poison events 2023-04-23 12:08:39 -07:00