aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorIra Weiny <[email protected]>2021-05-27 17:49:18 -0700
committerDan Williams <[email protected]>2021-06-05 17:24:04 -0700
commit07d62eac422c5c8aec6ec1dacdc27423334b2d17 (patch)
treeb1e526307abb713754a080f27f5ff7119c5fe492 /lib/mpi/mpi-sub-ui.c
parent6630d31c912ed2dfbc035caf0f54709b50ce779e (diff)
cxl/pci: Introduce cxl_decode_register_block()
Each register block located in the DVSEC needs to be decoded from 2 words, 'register offset high' and 'register offset low'. Create a function, cxl_decode_register_block() to perform this decode and return the bar, offset, and register type of the register block. Then use the values decoded in cxl_mem_map_regblock() instead of passing the raw registers. Signed-off-by: Ira Weiny <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions