Skip to content

vhost-vdpa: skip TPM CRB memory section

Laurent Vivier qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 3 repliesIn review
  2. v12 patches 14 repliesSuperseded

Changes in v2 from the cover letter

- do not introduce special case for TPM CRB
- do not set RAM_PROTECTED flag for TPM CRB
- remove error_report() and replace it with a trace

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1vhost-vdpa: mute unaligned memory error reporthw/virtio/trace-events hw/virtio/vhost-vdpa.c+8 -23 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchDavid HildenbrandJason Wang
1/1R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/1] vhost-vdpa: skip TPM CRB memory section

An error is reported for vhost-vdpa case:
qemu-kvm: vhost_vdpa_listener_region_add received unaligned region

Marc-André has proposed a fix to this problem by skipping the memory region owned by the TPM CRB but it seems more generic to skip not aligned memory.

v1 of this series proposed to set the RAM_PROTECTED flag for the TPM CRB memory region.

v2:
- do not introduce special case for TPM CRB
- do not set RAM_PROTECTED flag for TPM CRB
- remove error_report() and replace it with a trace

For the previous discussions, see

https://lists.nongnu.org/archive/html/qemu-devel/2022-11/msg03670.html

and from Eric for VFIO:

https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/

Thanks,
Laurent

Laurent Vivier (1):
vhost-vdpa: mute unaligned memory error report

 hw/virtio/trace-events | 2 ++
 hw/virtio/vhost-vdpa.c | 8 ++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)
Signature · 1 line
2.41.0