[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174653555029.1663285.12170965708138106654.b4-ty@kernel.org>
Date: Tue, 6 May 2025 20:04:53 +0100
From: Will Deacon <will@...nel.org>
To: robin.murphy@....com,
yangyicong@...wei.com,
wangzhou1@...ilicon.com,
Qinxin Xia <xiaqinxin@...wei.com>
Cc: catalin.marinas@....com,
kernel-team@...roid.com,
Will Deacon <will@...nel.org>,
linuxarm@...wei.com,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iommu/arm-smmu-v3: Fix incorrect return in arm_smmu_attach_dev
On Tue, 22 Apr 2025 19:29:51 +0800, Qinxin Xia wrote:
> An error is introduced in commit '48e7b8e284e5'. When the smmu
> does not match with domain,an error code is not returned.
> An example of an error scenario: In vfio_iommu_type1_attach_group,
> vfio will try to match an existing compatible domain. During this process,
> iommu invokes the attach_dev interface.The mismatched dev and domain
> does not return an error code as expected.
> As a result, an exception occurs when the vfio operates the smmu.
>
> [...]
Applied to iommu (arm/smmu/updates), thanks!
[1/1] iommu/arm-smmu-v3: Fix incorrect return in arm_smmu_attach_dev
https://git.kernel.org/iommu/c/be5a2d3f8f97
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists