aboutsummaryrefslogtreecommitdiff
path: root/hw/char/serial-pci.c
diff options
context:
space:
mode:
authorFan Ni <fan.ni@samsung.com>2024-11-01 13:20:04 +0000
committerMichael S. Tsirkin <mst@redhat.com>2024-11-04 16:03:25 -0500
commit0564019bf1d9dd76ee7d212c26cf40e73eb3a00c (patch)
tree5678871ee1ff10615429a079e631bd630d284383 /hw/char/serial-pci.c
parent449dca6ac93afbed1af00b6a29c9729f6cb18c35 (diff)
downloadqemu-0564019bf1d9dd76ee7d212c26cf40e73eb3a00c.zip
qemu-0564019bf1d9dd76ee7d212c26cf40e73eb3a00c.tar.gz
qemu-0564019bf1d9dd76ee7d212c26cf40e73eb3a00c.tar.bz2
cxl/cxl-mailbox-utils: Fix size check for cmd_firmware_update_get_info
In the function cmd_firmware_update_get_info for handling Get FW info command (0x0200h), the vmem, pmem and DC capacity size check were incorrect. The size should be aligned to 256MiB, not smaller than 256MiB. Signed-off-by: Fan Ni <fan.ni@samsung.com> Reviewed-by: Davidlohr Bueso <dave@stgolabs.net> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20241101132005.26633-2-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/char/serial-pci.c')
0 files changed, 0 insertions, 0 deletions