From: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] pcifront/pciback: Fix Handling of Device Disconnect
Date: Wed, 16 Jul 2008 19:46:44 +0900 [thread overview]
Message-ID: <487DD194.3080200@ab.jp.nec.com> (raw)
[-- 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
reply other threads:[~2008-07-16 10:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=487DD194.3080200@ab.jp.nec.com \
--to=y-iwamatsu@ab.jp.nec.com \
--cc=xen-devel@lists.xensource.com \
/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 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.