summary refs log tree commit diff stats
path: root/hw/intc
diff options
context:
space:
mode:
authorJoel Granados <j.granados@samsung.com>2023-02-20 12:59:22 +0100
committerKlaus Jensen <k.jensen@samsung.com>2023-03-06 15:28:02 +0100
commita555af1707be7f564320cbb444ef68448ff16549 (patch)
tree57b04db5fd2fa0d3d339f5aaae5ffef7016e2206 /hw/intc
parentf003dd8d81f7d88f4b1f8802309eaa76f6eb223a (diff)
downloadfocaccia-qemu-a555af1707be7f564320cbb444ef68448ff16549.tar.gz
focaccia-qemu-a555af1707be7f564320cbb444ef68448ff16549.zip
hw/nvme: move adjustment of data_units{read,written}
Move the rounding of bytes read/written into nvme_smart_log which
reports in units of 512 bytes, rounded up in thousands. This is in
preparation for adding the Endurance Group Information log page which
reports in units of billions, rounded up.

Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Joel Granados <j.granados@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions