qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH intel_iommu 5/7] intel_iommu: extract device IOTLB invalidati


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH intel_iommu 5/7] intel_iommu: extract device IOTLB invalidation logic
Date: Mon, 22 Apr 2024 18:59:10 +0200
User-agent: Mozilla Thunderbird

On 22/4/24 17:52, CLEMENT MATHIEU--DRIF wrote:
This piece of code can be shared by both IOTLB invalidation and
PASID-based IOTLB invalidation

Signed-off-by: Clément Mathieu--Drif <clement.mathieu--drif@eviden.com>
---
  hw/i386/intel_iommu.c | 57 +++++++++++++++++++++++++------------------
  1 file changed, 33 insertions(+), 24 deletions(-)


  static bool vtd_process_device_iotlb_desc(IntelIOMMUState *s,
                                            VTDInvDesc *inv_desc)
  {
      VTDAddressSpace *vtd_dev_as;
-    IOMMUTLBEvent event;
      hwaddr addr;
-    uint64_t sz;
      uint16_t sid;
      bool size;
@@ -2912,6 +2941,7 @@ static bool vtd_process_device_iotlb_desc(IntelIOMMUState *s,
          return false;
      }
+

Spurious newline ;)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

      /*




reply via email to

[Prev in Thread] Current Thread [Next in Thread]