vfio/common: remove spurious tpm-crb-cmd misalignment warning
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest2 patches 10 repliesIn review
- v41 patch 7 repliesSuperseded
- v31 patch 4 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 1 patch | 2 replies | Superseded | |
| v1 | 1 patch | 5 replies | Superseded |
Changes in v5 from the cover letter
- Add sysemu: tpm: Add a stub function for TPM_IS_CRB to fix compilation error if CONFIG_TPM is unset
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sysemu: tpm: Add a stub function for TPM_IS_CRBinclude/ | +6 | 8 replies | |
| 2/2 | vfio/common: remove spurious tpm-crb-cmd misalignment warninghw/ hw/ | +27 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé | Stefan Berger | Cornelia Huck |
|---|---|---|---|
| 1/2 | R-b | ||
| 2/2 | R-b | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v5 0/2] vfio/common: remove spurious tpm-crb-cmd misalignment warning
The CRB command buffer currently is a RAM MemoryRegion and given its base address alignment, it causes an error report on vfio_listener_region_add(). This region could have been a RAM device region, easing the detection of such safe situation but this option was not well received. So let's add a helper function that uses the memory region owner type to detect the situation is safe wrt the assignment. Other device types can be checked here if such kind of problem occurs again.
As TPM devices can be compiled out we need to introduce a stub for TPM_IS_CRB.
Best Regards
Eric
This series can be found at:
https://github.com/eauger/qemu/tree/tpm-crb-vfio-v5
History:
v4 -> v5:
- Add sysemu: tpm: Add a stub function for TPM_IS_CRB to fix compilation error if CONFIG_TPM is unset
Eric Auger (2):
sysemu: tpm: Add a stub function for TPM_IS_CRB vfio/common: remove spurious tpm-crb-cmd misalignment warning
hw/vfio/common.c | 27 ++++++++++++++++++++++++++- hw/vfio/trace-events | 1 + include/sysemu/tpm.h | 6 ++++++ 3 files changed, 33 insertions(+), 1 deletion(-)
Signature · 1 line
2.35.1