aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2021-04-16 17:43:30 -0700
committerDan Williams <[email protected]>2021-04-16 18:21:56 -0700
commitfae8817ae804a682c6823ad1672438f39fc46c28 (patch)
tree2776b4624c017f4f28c581352686bebb266d0681 /scripts/gdb/linux/tasks.py
parentb21bb4cd1102dd9e24a169d09cf4e6f3c8a46bcf (diff)
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 <[email protected]> Cc: Ben Widawsky <[email protected]> Link: https://lore.kernel.org/r/161862021044.3259705.7008520073059739760.stgit@dwillia2-desk3.amr.corp.intel.com Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions