diff options
| author | Alejandro Lucero <alucerop@amd.com> | 2026-06-30 16:13:45 +0100 |
|---|---|---|
| committer | Dave Jiang <dave.jiang@intel.com> | 2026-06-30 15:24:16 -0700 |
| commit | 0418860ef2ca8ab4e696ce3913fd76660c881c0e (patch) | |
| tree | ec4791a6ad7ccfb55bef259e09e8e08df32ffba8 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 230284c1b1654d9ba51d9e33bd5fd15c7847c13e (diff) | |
sfc: obtain and map cxl range using devm_cxl_probe_mem
Use core API for safely obtain the CXL range linked to an HDM committed
by the BIOS. Map such a range for being used as the ctpio buffer.
A potential user space action through sysfs unbinding or core cxl
modules remove will trigger sfc driver device detachment, with that case
not racing with this mapping as this is done during driver probe and
therefore protected with device lock against those user space actions.
Signed-off-by: Alejandro Lucero <alucerop@amd.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Acked-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: Dan Williams <djbw@kernel.org>
Link: https://patch.msgid.link/20260630151346.31201-5-alejandro.lucero-palau@amd.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
