summaryrefslogtreecommitdiff
path: root/mm/mapping_dirty_helpers.c
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2021-06-17 15:16:18 -0700
committerDan Williams <dan.j.williams@intel.com>2021-08-07 01:01:09 -0700
commit0b9159d0ff21bc281dbb9ede06ad566330ac0943 (patch)
tree9b8a608f786b60861ed43d9374ecf71d954a6bbe /mm/mapping_dirty_helpers.c
parent5b68705d1e6340127464ef0ac0e1de94f823f14e (diff)
cxl/pci: Store memory capacity values
The Identify Memory Device command returns information about the volatile only and persistent only memory capacities. Store those values in the cxl_mem structure for later use. While at it, reuse those calculations to calculate the ram and pmem ranges. Signed-off-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20210617221620.1904031-2-ira.weiny@intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mm/mapping_dirty_helpers.c')
0 files changed, 0 insertions, 0 deletions