summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2023-05-26 10:58:21 +0100
committerDan Williams <dan.j.williams@intel.com>2023-05-30 11:20:35 -0700
commitd717d7f3df18494baafd9595fb4bcb9c380d7389 (patch)
treea85db24346118496f9f723791c5dac631bbc99de /arch/sparc
parent143f83e2003a4c3ca0c2558254129569048e0759 (diff)
cxl: Add functions to get an instance of / count regblocks of a given type
Until the recently release CXL 3.0 specification, there was only ever one instance of any given register block pointed to by the Register Block Locator DVSEC. Now, the specification allows for multiple CXL PMU instances, each with their own register block. To enable this add cxl_find_regblock_instance() that takes an index parameter and use that to implement cxl_count_regblock() and cxl_find_regblock(). Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/20230526095824.16336-3-Jonathan.Cameron@huawei.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions