Re: [PATCH V5 4/4] intel-iommu: PASID support

2022-10-31 Thread Jason Wang
On Mon, Oct 31, 2022 at 5:28 PM Yi Liu wrote: > > On 2022/10/31 17:15, Jason Wang wrote: > > On Mon, Oct 31, 2022 at 2:43 PM Michael S. Tsirkin wrote: > >> > >> On Fri, Oct 28, 2022 at 09:49:36PM +0800, Yi Liu wrote: > >>> On 2022/10/28 14:14, Jason Wang wrote: > This patch introduce ECAP_PA

Re: [PATCH V5 4/4] intel-iommu: PASID support

2022-10-31 Thread Yi Liu
On 2022/10/31 17:15, Jason Wang wrote: On Mon, Oct 31, 2022 at 2:43 PM Michael S. Tsirkin wrote: On Fri, Oct 28, 2022 at 09:49:36PM +0800, Yi Liu wrote: On 2022/10/28 14:14, Jason Wang wrote: This patch introduce ECAP_PASID via "x-pasid-mode". Based on the existing support for scalable mode,

Re: [PATCH V5 4/4] intel-iommu: PASID support

2022-10-31 Thread Jason Wang
On Mon, Oct 31, 2022 at 2:43 PM Michael S. Tsirkin wrote: > > On Fri, Oct 28, 2022 at 09:49:36PM +0800, Yi Liu wrote: > > On 2022/10/28 14:14, Jason Wang wrote: > > > This patch introduce ECAP_PASID via "x-pasid-mode". Based on the > > > existing support for scalable mode, we need to implement the

Re: [PATCH V5 4/4] intel-iommu: PASID support

2022-10-30 Thread Michael S. Tsirkin
On Fri, Oct 28, 2022 at 09:49:36PM +0800, Yi Liu wrote: > On 2022/10/28 14:14, Jason Wang wrote: > > 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 PA

Re: [PATCH V5 4/4] intel-iommu: PASID support

2022-10-28 Thread Yi Liu
On 2022/10/28 14:14, Jason Wang wrote: 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

[PATCH V5 4/4] intel-iommu: PASID support

2022-10-27 Thread 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 flush 4) PASID bas