From: "joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org" <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
To: "Suthikulpanit,
Suravee" <Suravee.Suthikulpanit-5C7GfCeVMHo@public.gmane.org>
Cc: Boris Ostrovsky
<boris.ostrovsky-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>,
"iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org"
<iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>,
"Singh, Brijesh" <brijesh.singh-5C7GfCeVMHo@public.gmane.org>,
"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] iommu/amd: Fix IOMMU page flush when detach all devices from a domain
Date: Thu, 24 Jan 2019 09:04:31 +0100 [thread overview]
Message-ID: <20190124080431.GG32526@8bytes.org> (raw)
In-Reply-To: <54a1da19-54dd-30cc-191b-7fe5dc4a58fa-5C7GfCeVMHo@public.gmane.org>
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
next prev parent reply other threads:[~2019-01-24 8:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-16 4:16 [PATCH] iommu/amd: Fix IOMMU page flush when detach all devices from a domain Suthikulpanit, Suravee
2019-01-16 13:26 ` joro
2019-01-16 14:08 ` Suthikulpanit, Suravee
2019-01-16 17:08 ` joro
2019-01-17 8:44 ` Suthikulpanit, Suravee
2019-01-17 11:48 ` Suthikulpanit, Suravee
2019-01-22 10:44 ` joro
2019-01-22 15:53 ` Suthikulpanit, Suravee
2019-01-23 7:56 ` joro
[not found] ` <20190123075658.GE32526-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2019-01-24 3:25 ` Suthikulpanit, Suravee
[not found] ` <54a1da19-54dd-30cc-191b-7fe5dc4a58fa-5C7GfCeVMHo@public.gmane.org>
2019-01-24 8:04 ` joro-zLv9SwRftAIdnm+yROfE0A [this message]
2019-01-16 14:40 ` Suthikulpanit, Suravee
2019-01-16 17:09 ` joro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190124080431.GG32526@8bytes.org \
--to=joro-zlv9swrftaidnm+yrofe0a@public.gmane.org \
--cc=Suravee.Suthikulpanit-5C7GfCeVMHo@public.gmane.org \
--cc=boris.ostrovsky-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
--cc=brijesh.singh-5C7GfCeVMHo@public.gmane.org \
--cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).