summaryrefslogtreecommitdiff
path: root/samples/seccomp
diff options
context:
space:
mode:
authorTerry Bowman <terry.bowman@amd.com>2023-10-18 20:17:07 +0300
committerDan Williams <dan.j.williams@intel.com>2023-10-28 06:13:38 +0300
commit6c5f3aacb2963d49a11d4f8accb1188db6a6404b (patch)
tree182bd125b34e68c8b3733ef06d274b8f56ae237a /samples/seccomp
parentbf6c9fa846e2a0f7db2a2eabd52ad4f8d4335bcb (diff)
downloadlinux-6c5f3aacb2963d49a11d4f8accb1188db6a6404b.tar.xz
cxl/pci: Map RCH downstream AER registers for logging protocol errors
The restricted CXL host (RCH) error handler will log protocol errors using AER and RAS status registers. The AER and RAS registers need to be virtually memory mapped before enabling interrupts. Create the initializer function devm_cxl_setup_parent_dport() for this when the endpoint is connected with the dport. The initialization sets up the RCH RAS and AER mappings. Add 'struct cxl_regs' to 'struct cxl_dport' for saving a pointer to the RCH downstream port's AER and RAS registers. Signed-off-by: Terry Bowman <terry.bowman@amd.com> Co-developed-by: Robert Richter <rrichter@amd.com> Signed-off-by: Robert Richter <rrichter@amd.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20231018171713.1883517-15-rrichter@amd.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'samples/seccomp')
0 files changed, 0 insertions, 0 deletions