diff options
author | Ira Weiny <ira.weiny@intel.com> | 2021-06-18 01:16:18 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-08-07 11:01:09 +0300 |
commit | 0b9159d0ff21bc281dbb9ede06ad566330ac0943 (patch) | |
tree | 9b8a608f786b60861ed43d9374ecf71d954a6bbe /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5b68705d1e6340127464ef0ac0e1de94f823f14e (diff) | |
download | linux-0b9159d0ff21bc281dbb9ede06ad566330ac0943.tar.xz |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions