Re: [PULL v4 74/83] intel-iommu: PASID support

2023-04-09 Thread Jason Wang
On Fri, Apr 7, 2023 at 12:22 AM Peter Maydell wrote: > > On Mon, 7 Nov 2022 at 22:53, Michael S. Tsirkin wrote: > > > > From: Jason Wang > > > > This patch introduce ECAP_PASID via "x-pasid-mode". > > Hi; Coverity points out an issue with this code (CID 1508100): > > > -static guint vtd_uint64_h

Re: [PULL v4 74/83] intel-iommu: PASID support

2023-04-06 Thread Peter Maydell
On Mon, 7 Nov 2022 at 22:53, Michael S. Tsirkin wrote: > > From: Jason Wang > > This patch introduce ECAP_PASID via "x-pasid-mode". Hi; Coverity points out an issue with this code (CID 1508100): > -static guint vtd_uint64_hash(gconstpointer v) > +static guint vtd_iotlb_hash(gconstpointer v) >

[PULL v4 74/83] intel-iommu: PASID support

2022-11-07 Thread Michael S. Tsirkin
From: Jason Wang This patch introduce ECAP_PASID via "x-pasid-mode". Based on the existing support for scalable mode, we need to implement the following missing parts: 1) tag VTDAddressSpace with PASID and support IOMMU/DMA translation with PASID 2) tag IOTLB with PASID 3) PASID cache and its