diff options
author | Ira Weiny <ira.weiny@intel.com> | 2024-11-07 23:58:23 +0300 |
---|---|---|
committer | Dave Jiang <dave.jiang@intel.com> | 2024-11-08 19:39:31 +0300 |
commit | 27fcfb416827b9e549d821317a9bd21d1abe6821 (patch) | |
tree | 0b275fbb24791a9015431b8ac3d104c92937dd77 /tools/perf/scripts/python/gecko.py | |
parent | 0f6f0d687adcb4747e71f2a797acc9a739d71778 (diff) | |
download | linux-27fcfb416827b9e549d821317a9bd21d1abe6821.tar.xz |
cxl/hdm: Use guard() in cxl_dpa_set_mode()
Additional DCD functionality is being added to this call which will be
simplified by the use of guard() with the cxl_dpa_rwsem.
Convert the function to use guard() prior to adding DCD functionality.
Suggested-by: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Link: https://patch.msgid.link/20241107-dcd-type2-upstream-v7-5-56a84e66bc36@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions