diff options
author | Kobayashi,Daisuke <kobayashi.da-06@fujitsu.com> | 2024-10-02 04:15:48 +0300 |
---|---|---|
committer | Dave Jiang <dave.jiang@intel.com> | 2024-10-28 20:07:14 +0300 |
commit | 7a01213d6c18d97c2f98455bb22c8416f8cca28b (patch) | |
tree | 223793c8a867ee93bd96170bef2b4205f5e8d5bc /tools/perf/scripts/python | |
parent | 66418687ac895717dc2f6ddffe24cf9b74cd0d3e (diff) | |
download | linux-7a01213d6c18d97c2f98455bb22c8416f8cca28b.tar.xz |
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 <Jonathan.Cameron@huawei.com>
Signed-off-by: Kobayashi,Daisuke <kobayashi.da-06@fujitsu.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Link: https://patch.msgid.link/20241002011549.408412-2-kobayashi.da-06@fujitsu.com
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions