All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pcifront/pciback: Fix Handling of Device Disconnect
@ 2008-07-16 10:46 Yosuke Iwamatsu
  0 siblings, 0 replies; only message in thread
From: Yosuke Iwamatsu @ 2008-07-16 10:46 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 660 bytes --]

When destroying pcifront/pciback, the following message appears in
the guest linux kernel log.

  WARNING: g.e. still in use!
  WARNING: leaking g.e. and page still in use!

This is caused by the wrong disconnect procedure that pcifront
terminates the gnttab foreign access before pciback unmaps the ring.

This patch corrects the handling of pcifront/pciback destruction
sequence. Firstly pcifront cleans up root buses to ensure no more pci_op
is issued, then pciback unmaps the shared ring and finally devices are
discarded.

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>

Regards,
-----------------------
Yosuke Iwamatsu
        NEC Corporation

[-- Attachment #2: pcifront_back_disconnect.patch --]
[-- Type: all/allfiles, Size: 4163 bytes --]

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-16 10:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 10:46 [PATCH] pcifront/pciback: Fix Handling of Device Disconnect Yosuke Iwamatsu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.