summaryrefslogtreecommitdiffstats
path: root/tools/tracing
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2021-04-16 17:43:30 -0700
committerDan Williams <dan.j.williams@intel.com>2021-04-16 18:21:56 -0700
commitfae8817ae804a682c6823ad1672438f39fc46c28 (patch)
tree2776b4624c017f4f28c581352686bebb266d0681 /tools/tracing
parentb21bb4cd1102dd9e24a169d09cf4e6f3c8a46bcf (diff)
downloadlinux-fae8817ae804a682c6823ad1672438f39fc46c28.tar.bz2
cxl/mem: Fix memory device capacity probing
The CXL Identify Memory Device output payload emits capacity in 256MB units. The driver is treating the capacity field as bytes. This was missed because QEMU reports bytes when it should report bytes / 256MB. Fixes: 8adaf747c9f0 ("cxl/mem: Find device capabilities") Reviewed-by: Vishal Verma <vishal.l.verma@intel.com> Cc: Ben Widawsky <ben.widawsky@intel.com> Link: https://lore.kernel.org/r/161862021044.3259705.7008520073059739760.stgit@dwillia2-desk3.amr.corp.intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/tracing')
0 files changed, 0 insertions, 0 deletions