diff options
author | Kobayashi,Daisuke <[email protected]> | 2024-10-02 10:15:48 +0900 |
---|---|---|
committer | Dave Jiang <[email protected]> | 2024-10-28 10:07:14 -0700 |
commit | 7a01213d6c18d97c2f98455bb22c8416f8cca28b (patch) | |
tree | 223793c8a867ee93bd96170bef2b4205f5e8d5bc /tools/perf/scripts/python | |
parent | 66418687ac895717dc2f6ddffe24cf9b74cd0d3e (diff) |
cxl/core/regs: Add rcd_pcie_cap initialization
Add rcd_pcie_cap and its initialization to cache the offset of cxl1.1
device link status information. By caching it, avoid the walking
memory map area to find the offset when output the register value.
Given that this solution involves port lookups via cxl_pci_find_port()
and multiple exit paths where that reference needs to be dropped,
introduce a new put_cxl_root() scope-based-free handler.
Reviewed-by: Jonathan Cameron <[email protected]>
Signed-off-by: Kobayashi,Daisuke <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Ira Weiny <[email protected]>
Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions