[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190124080431.GG32526@8bytes.org>
Date: Thu, 24 Jan 2019 09:04:31 +0100
From: "joro@...tes.org" <joro@...tes.org>
To: "Suthikulpanit, Suravee" <Suravee.Suthikulpanit@....com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"iommu@...ts.linux-foundation.org" <iommu@...ts.linux-foundation.org>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
"Singh, Brijesh" <brijesh.singh@....com>
Subject: Re: [PATCH] iommu/amd: Fix IOMMU page flush when detach all devices
from a domain
Hi Suravee,
On Thu, Jan 24, 2019 at 03:25:19AM +0000, Suthikulpanit, Suravee wrote:
> Actually, I just noticed that device_flush_dte() has already handled flushing the DTE
> for alias device as well. Please see the link below.
>
> https://elixir.bootlin.com/linux/latest/source/drivers/iommu/amd_iommu.c#L1219
>
> So, we don't need to call device_flush_dte() for alias device in do_detach().
You are right, I missed that.
Thanks,
Joerg
Powered by blists - more mailing lists