Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1323088
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | David Vrabel <david.vrabel@citrix.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] Xen/PCI: correct notifier used for device removal |
| Date | Mon, 01 Feb 2016 14:20:02 +0100 |
| Message-ID | <qXmoX-3eN-53@gated-at.bofh.it> (permalink) |
| References | <qXljc-25A-19@gated-at.bofh.it> <qXlsT-2sn-21@gated-at.bofh.it> <qXlCy-2xe-11@gated-at.bofh.it> |
| X-Original-To | Jan Beulich <JBeulich@suse.com> |
| X-Ironport-Av | E=Sophos;i="5.22,380,1449532800"; d="scan'208";a="335259676" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="windows-1252" |
| Content-Transfer-Encoding | 7bit |
| X-Dlp | MIA2 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 26 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | xen-devel <xen-devel@lists.xenproject.org>, Boris Ostrovsky <boris.ostrovsky@oracle.com>, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>, <linux-kernel@vger.kernel.org> |
| X-Original-Date | Mon, 1 Feb 2016 13:03:09 +0000 |
| X-Original-Message-ID | <56AF578D.6000004@citrix.com> |
| X-Original-References | <56AF566002000078000CCE71@prv-mh.provo.novell.com> <56AF4911.8030208@citrix.com> <56AF5AAB02000078000CCED7@prv-mh.provo.novell.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1323088 |
Show key headers only | View raw
On 01/02/16 12:16, Jan Beulich wrote: >>>> On 01.02.16 at 13:01, <david.vrabel@citrix.com> wrote: >> On 01/02/16 11:58, Jan Beulich wrote: >>> Commit 599bad38cf added BUS_NOTIFY_REMOVED_DEVICE in order to allow >>> avoiding removal of IOMMU mappings before the driver actually got >>> unbound from the device. Naturally we should be using this too. >> >> Because otherwise...? What happens if we don't make this change? >> >> Removing IOMMU mappings for a device when the driver is still bound to >> the device looks wrong to me. Surely the device is still active and may >> still be performing DMA at this point? > > Exactly - you answered your own question (as does the commit > referred to). I misread, sorry. I think I will reword this as: "Commit 599bad38cf added BUS_NOTIFY_REMOVED_DEVICE to defer the removal of IOMMU mappings until the driver has been unbound from the device (i.e., until it is guaranteed that there are no outstanding DMA transactions). Naturally we should be using this too." David
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] Xen/PCI: correct notifier used for device removal "Jan Beulich" <JBeulich@suse.com> - 2016-02-01 13:00 +0100
Re: [PATCH] Xen/PCI: correct notifier used for device removal David Vrabel <david.vrabel@citrix.com> - 2016-02-01 13:10 +0100
Re: [PATCH] Xen/PCI: correct notifier used for device removal "Jan Beulich" <JBeulich@suse.com> - 2016-02-01 13:20 +0100
Re: [PATCH] Xen/PCI: correct notifier used for device removal "Jan Beulich" <JBeulich@suse.com> - 2016-02-01 14:10 +0100
Re: [PATCH] Xen/PCI: correct notifier used for device removal David Vrabel <david.vrabel@citrix.com> - 2016-02-01 14:20 +0100
csiph-web