aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorTerry Bowman <[email protected]>2023-10-18 19:17:07 +0200
committerDan Williams <[email protected]>2023-10-27 20:13:38 -0700
commit6c5f3aacb2963d49a11d4f8accb1188db6a6404b (patch)
tree182bd125b34e68c8b3733ef06d274b8f56ae237a /tools/testing/selftests/bpf/progs/test_autoload.c
parentbf6c9fa846e2a0f7db2a2eabd52ad4f8d4335bcb (diff)
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 <[email protected]> Co-developed-by: Robert Richter <[email protected]> Signed-off-by: Robert Richter <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions