Commit b6cfddd
committed
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: c3dd676 ("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>1 parent 7c3643f commit b6cfddd
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3702 | 3702 | | |
3703 | 3703 | | |
3704 | 3704 | | |
| 3705 | + | |
3705 | 3706 | | |
3706 | 3707 | | |
3707 | 3708 | | |
| |||
3734 | 3735 | | |
3735 | 3736 | | |
3736 | 3737 | | |
| 3738 | + | |
3737 | 3739 | | |
3738 | 3740 | | |
3739 | 3741 | | |
| |||
0 commit comments