From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Keir Fraser <keir@xen.org>
Subject: Re: Re: Konrad devel/next-3.0, pci-passthrough not working: Error: pci: PCI Backend and pci-stub don't own device
Date: Wed, 22 Jun 2011 10:28:13 -0400 [thread overview]
Message-ID: <20110622142813.GA6285@dumpdata.com> (raw)
In-Reply-To: <717240289.20110622161313@eikelenboom.it>
[-- Attachment #1: Type: text/plain, Size: 2236 bytes --]
> >> >> module name: xen_pciback
> >> >> driver: pciback
> >> >>
> >> >> Quite a mix of names, and different use of minus and underscore.
> >>
> >> > Hmm, you are a right. I somehow I thought I backed up the patch that
> >> > used the wrong name (well, not wrong but just incorrect).
> >>
> >> So if I understand you correct you will revert the driver name from xen-pciback to pciback, so no xen change is needed ?
>
> > So this patch:
> > f3fc28d52f42220bcce8c2fed12aef2a88c9fadc
>
> > xen/pciback: revert the name of the PCI driver to 'pciback'.
>
> > should have done the trick but I am not seeing it in the
> > devel/xen-pciback-0.6.. Aha! I forgot to push the branch up to git.kernel.org.
>
> > Before I do that, can you cherry-pick that one please and tell
> > me if it works? If it does I will stick 'Reported-by' and 'Tested-by'
> > on the patch if you are OK with that.
>
> And were exactly do i cherry pick that from ? :-) since you say you haven't pushed it :p
<smacks his head>
> If you can attach the patch i will test it right away, sticking the reported and tested-by is fine !
See attached or inline:
commit f3fc28d52f42220bcce8c2fed12aef2a88c9fadc
Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Date: Wed Apr 20 16:06:47 2011 -0400
xen/pciback: revert the name of the PCI driver to 'pciback'.
At least until the toolstack catches up and it will be able
to handle 'xen_pciback'.
This means we have these directories in sysfs:
./bus/pci/drivers/pciback
./bus/xen-backend/drivers/xen-pciback
./module/xen_pciback
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
diff --git a/drivers/pci/xen-pciback/pci_stub.c b/drivers/pci/xen-pciback/pci_stub.c
index d802261..aec214a 100644
--- a/drivers/pci/xen-pciback/pci_stub.c
+++ b/drivers/pci/xen-pciback/pci_stub.c
@@ -848,7 +848,9 @@ static struct pci_error_handlers xen_pcibk_error_handler = {
*/
static struct pci_driver xen_pcibk_pci_driver = {
- .name = DRV_NAME,
+ /* The name should be xen_pciback, but until the tools are updated
+ * we will keep it as pciback. */
+ .name = "pciback",
.id_table = pcistub_ids,
.probe = pcistub_probe,
.remove = pcistub_remove,
[-- Attachment #2: pciback.patch --]
[-- Type: text/x-diff, Size: 1099 bytes --]
commit f3fc28d52f42220bcce8c2fed12aef2a88c9fadc
Author: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Date: Wed Apr 20 16:06:47 2011 -0400
xen/pciback: revert the name of the PCI driver to 'pciback'.
At least until the toolstack catches up and it will be able
to handle 'xen_pciback'.
This means we have these directories in sysfs:
./bus/pci/drivers/pciback
./bus/xen-backend/drivers/xen-pciback
./module/xen_pciback
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
diff --git a/drivers/pci/xen-pciback/pci_stub.c b/drivers/pci/xen-pciback/pci_stub.c
index d802261..aec214a 100644
--- a/drivers/pci/xen-pciback/pci_stub.c
+++ b/drivers/pci/xen-pciback/pci_stub.c
@@ -848,7 +848,9 @@ static struct pci_error_handlers xen_pcibk_error_handler = {
*/
static struct pci_driver xen_pcibk_pci_driver = {
- .name = DRV_NAME,
+ /* The name should be xen_pciback, but until the tools are updated
+ * we will keep it as pciback. */
+ .name = "pciback",
.id_table = pcistub_ids,
.probe = pcistub_probe,
.remove = pcistub_remove,
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2011-06-22 14:28 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-21 13:41 Konrad devel/next-3.0, pci-passthrough not working: Error: pci: PCI Backend and pci-stub don't own device Sander Eikelenboom
2011-06-21 14:13 ` Konrad Rzeszutek Wilk
2011-06-21 14:24 ` Sander Eikelenboom
2011-06-21 14:40 ` Sander Eikelenboom
2011-06-21 15:11 ` Sander Eikelenboom
2011-06-21 15:39 ` Sander Eikelenboom
2011-06-21 17:05 ` Konrad Rzeszutek Wilk
2011-06-21 17:17 ` Sander Eikelenboom
2011-06-21 19:02 ` Sander Eikelenboom
2011-06-22 14:00 ` Konrad Rzeszutek Wilk
2011-06-22 14:13 ` Sander Eikelenboom
2011-06-22 14:28 ` Konrad Rzeszutek Wilk [this message]
2011-06-22 15:17 ` Sander Eikelenboom
2011-06-27 15:26 ` Konrad Rzeszutek Wilk
2011-06-27 17:09 ` Sander Eikelenboom
2011-06-29 7:19 ` Ian Campbell
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=20110622142813.GA6285@dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=keir@xen.org \
--cc=linux@eikelenboom.it \
--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.