[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 0/2] TPM-CRB: Remove spurious error report when used with
From: |
Eric Auger |
Subject: |
Re: [PATCH v3 0/2] TPM-CRB: Remove spurious error report when used with VFIO |
Date: |
Tue, 8 Feb 2022 14:35:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
Hi,
On 2/8/22 2:31 PM, Eric Auger wrote:
> This series aims at removing a spurious error message we get when
> launching a guest with a TPM-CRB device and VFIO-PCI devices.
>
> 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 series proposes to use a ram-device
> region instead which helps in better assessing the dma map error
> failure on VFIO side.
>
> Best Regards
>
> Eric
>
> This series can be found at:
> https://github.com/eauger/qemu/tree/tpm-crb-ram-device-v3
oups sorry. As philippe sent the v3, I forgot to double increment :-/ I
will resend a v4. Sorry for the noise
Thanks
Eric
>
> History:
> v2 -> v3:
> - Use PRIxPTR
> - call vmstate_unregister_ram
>
> v1 -> v2:
> - added tpm_crb_unrealize (dared to keep Stefan's T-b though)
>
> Eric Auger (2):
> tpm: CRB: Use ram_device for "tpm-crb-cmd" region
> hw/vfio/common: Silence ram device offset alignment error traces
>
> hw/tpm/tpm_crb.c | 23 +++++++++++++++++++++--
> hw/vfio/common.c | 15 ++++++++++++++-
> hw/vfio/trace-events | 1 +
> 3 files changed, 36 insertions(+), 3 deletions(-)
>