[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] intel-iommu: correctly check passthrough during translation
From: |
Peter Xu |
Subject: |
Re: [PATCH] intel-iommu: correctly check passthrough during translation |
Date: |
Wed, 22 Dec 2021 19:38:56 +0800 |
On Wed, Dec 22, 2021 at 02:39:56PM +0800, Jason Wang wrote:
> When scsalable mode is enabled, the passthrough more is not determined
> by the context entry but PASID entry, so switch to use the logic of
> vtd_dev_pt_enabled() to determine the passthrough mode in
> vtd_do_iommu_translate().
>
> Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
--
Peter Xu