diff options
author | 2025-07-11 11:23:55 +0800 | |
---|---|---|
committer | 2025-07-11 09:46:53 -0700 | |
commit | 5b6031c832c2747d58d3f0130098d965ef050b9a (patch) | |
tree | 3956e368b1fddce10e5bd35be1745eb9b4486a7c /tools/perf/scripts/python | |
parent | cxl: make cxl_bus_type constant (diff) | |
download | wireguard-linux-5b6031c832c2747d58d3f0130098d965ef050b9a.tar.xz wireguard-linux-5b6031c832c2747d58d3f0130098d965ef050b9a.zip |
cxl/core: Introduce a new helper cxl_resource_contains_addr()
In CXL subsystem, many functions need to check an address availability
by checking if the resource range contains the address. Providing a new
helper function cxl_resource_contains_addr() to check if the resource
range contains the input address.
Suggested-by: Alison Schofield <alison.schofield@intel.com>
Signed-off-by: Li Ming <ming.li@zohomail.com>
Tested-by: Shiju Jose <shiju.jose@huawei.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Link: https://patch.msgid.link/20250711032357.127355-2-ming.li@zohomail.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions