All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add MODULE_ALIAS for Xen pciback. (v1)
@ 2014-08-20 16:40 Konrad Rzeszutek Wilk
  2014-08-20 16:40 ` [PATCH] xen-pciback: Add MODULE_ALIAS for pciback Konrad Rzeszutek Wilk
  2014-08-20 16:40 ` Konrad Rzeszutek Wilk
  0 siblings, 2 replies; 12+ messages in thread
From: Konrad Rzeszutek Wilk @ 2014-08-20 16:40 UTC (permalink / raw)
  To: xen-devel, linux-kernel

Most of the drivers had this in them except the Xen pciback.
This patch fixes that.

 drivers/xen/xen-pciback/pci_stub.c | 1 +
 1 file changed, 1 insertion(+)

Konrad Rzeszutek Wilk (1):
      xen-pciback: Add MODULE_ALIAS for pciback.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH] xen-pciback: Add MODULE_ALIAS for pciback.
  2014-08-20 16:40 [PATCH] Add MODULE_ALIAS for Xen pciback. (v1) Konrad Rzeszutek Wilk
@ 2014-08-20 16:40 ` Konrad Rzeszutek Wilk
  2014-08-20 17:18   ` [Xen-devel] " Ian Campbell
  2014-08-20 17:18   ` Ian Campbell
  2014-08-20 16:40 ` Konrad Rzeszutek Wilk
  1 sibling, 2 replies; 12+ messages in thread
From: Konrad Rzeszutek Wilk @ 2014-08-20 16:40 UTC (permalink / raw)
  To: xen-devel, linux-kernel; +Cc: Konrad Rzeszutek Wilk

The rest of the Xen device drivers use an module alias
to load devices when they shop up in XenBus.

This is done for the rest of them but hadn't been done
for Xen PCI back. This patch fixes it.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
 drivers/xen/xen-pciback/pci_stub.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/xen/xen-pciback/pci_stub.c b/drivers/xen/xen-pciback/pci_stub.c
index d57a173..7da75f7 100644
--- a/drivers/xen/xen-pciback/pci_stub.c
+++ b/drivers/xen/xen-pciback/pci_stub.c
@@ -1538,3 +1538,4 @@ module_exit(xen_pcibk_cleanup);
 
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_ALIAS("xen-backend:pci");
+MODULE_ALIAS("xen:pci");
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH] xen-pciback: Add MODULE_ALIAS for pciback.
  2014-08-20 16:40 [PATCH] Add MODULE_ALIAS for Xen pciback. (v1) Konrad Rzeszutek Wilk
  2014-08-20 16:40 ` [PATCH] xen-pciback: Add MODULE_ALIAS for pciback Konrad Rzeszutek Wilk
@ 2014-08-20 16:40 ` Konrad Rzeszutek Wilk
  1 sibling, 0 replies; 12+ messages in thread
From: Konrad Rzeszutek Wilk @ 2014-08-20 16:40 UTC (permalink / raw)
  To: xen-devel, linux-kernel; +Cc: Konrad Rzeszutek Wilk

The rest of the Xen device drivers use an module alias
to load devices when they shop up in XenBus.

This is done for the rest of them but hadn't been done
for Xen PCI back. This patch fixes it.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
 drivers/xen/xen-pciback/pci_stub.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/xen/xen-pciback/pci_stub.c b/drivers/xen/xen-pciback/pci_stub.c
index d57a173..7da75f7 100644
--- a/drivers/xen/xen-pciback/pci_stub.c
+++ b/drivers/xen/xen-pciback/pci_stub.c
@@ -1538,3 +1538,4 @@ module_exit(xen_pcibk_cleanup);
 
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_ALIAS("xen-backend:pci");
+MODULE_ALIAS("xen:pci");
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [Xen-devel] [PATCH] xen-pciback: Add MODULE_ALIAS for pciback.
  2014-08-20 16:40 ` [PATCH] xen-pciback: Add MODULE_ALIAS for pciback Konrad Rzeszutek Wilk
@ 2014-08-20 17:18   ` Ian Campbell
  2014-08-20 17:20     ` Konrad Rzeszutek Wilk
  2014-08-20 17:20     ` [Xen-devel] " Konrad Rzeszutek Wilk
  2014-08-20 17:18   ` Ian Campbell
  1 sibling, 2 replies; 12+ messages in thread
From: Ian Campbell @ 2014-08-20 17:18 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel, linux-kernel

On Wed, 2014-08-20 at 12:40 -0400, Konrad Rzeszutek Wilk wrote:
> The rest of the Xen device drivers use an module alias
> to load devices when they shop up in XenBus.

"show".
>  
>  MODULE_LICENSE("Dual BSD/GPL");
>  MODULE_ALIAS("xen-backend:pci");
> +MODULE_ALIAS("xen:pci");

Isn't that xen-backend:pci already the right thing for a backend device?
xen: is for frontends, I thought.

Ian.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] xen-pciback: Add MODULE_ALIAS for pciback.
  2014-08-20 16:40 ` [PATCH] xen-pciback: Add MODULE_ALIAS for pciback Konrad Rzeszutek Wilk
  2014-08-20 17:18   ` [Xen-devel] " Ian Campbell
@ 2014-08-20 17:18   ` Ian Campbell
  1 sibling, 0 replies; 12+ messages in thread
From: Ian Campbell @ 2014-08-20 17:18 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel, linux-kernel

On Wed, 2014-08-20 at 12:40 -0400, Konrad Rzeszutek Wilk wrote:
> The rest of the Xen device drivers use an module alias
> to load devices when they shop up in XenBus.

"show".
>  
>  MODULE_LICENSE("Dual BSD/GPL");
>  MODULE_ALIAS("xen-backend:pci");
> +MODULE_ALIAS("xen:pci");

Isn't that xen-backend:pci already the right thing for a backend device?
xen: is for frontends, I thought.

Ian.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Xen-devel] [PATCH] xen-pciback: Add MODULE_ALIAS for pciback.
  2014-08-20 17:18   ` [Xen-devel] " Ian Campbell
  2014-08-20 17:20     ` Konrad Rzeszutek Wilk
@ 2014-08-20 17:20     ` Konrad Rzeszutek Wilk
  2014-08-20 17:26       ` Ian Campbell
  2014-08-20 17:26       ` [Xen-devel] " Ian Campbell
  1 sibling, 2 replies; 12+ messages in thread
From: Konrad Rzeszutek Wilk @ 2014-08-20 17:20 UTC (permalink / raw)
  To: Ian Campbell; +Cc: xen-devel, linux-kernel

On Wed, Aug 20, 2014 at 06:18:52PM +0100, Ian Campbell wrote:
> On Wed, 2014-08-20 at 12:40 -0400, Konrad Rzeszutek Wilk wrote:
> > The rest of the Xen device drivers use an module alias
> > to load devices when they shop up in XenBus.
> 
> "show".
> >  
> >  MODULE_LICENSE("Dual BSD/GPL");
> >  MODULE_ALIAS("xen-backend:pci");
> > +MODULE_ALIAS("xen:pci");
> 
> Isn't that xen-backend:pci already the right thing for a backend device?
> xen: is for frontends, I thought.

Oh, you are right. Cool! Thanks!
> 
> Ian.
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] xen-pciback: Add MODULE_ALIAS for pciback.
  2014-08-20 17:18   ` [Xen-devel] " Ian Campbell
@ 2014-08-20 17:20     ` Konrad Rzeszutek Wilk
  2014-08-20 17:20     ` [Xen-devel] " Konrad Rzeszutek Wilk
  1 sibling, 0 replies; 12+ messages in thread
From: Konrad Rzeszutek Wilk @ 2014-08-20 17:20 UTC (permalink / raw)
  To: Ian Campbell; +Cc: xen-devel, linux-kernel

On Wed, Aug 20, 2014 at 06:18:52PM +0100, Ian Campbell wrote:
> On Wed, 2014-08-20 at 12:40 -0400, Konrad Rzeszutek Wilk wrote:
> > The rest of the Xen device drivers use an module alias
> > to load devices when they shop up in XenBus.
> 
> "show".
> >  
> >  MODULE_LICENSE("Dual BSD/GPL");
> >  MODULE_ALIAS("xen-backend:pci");
> > +MODULE_ALIAS("xen:pci");
> 
> Isn't that xen-backend:pci already the right thing for a backend device?
> xen: is for frontends, I thought.

Oh, you are right. Cool! Thanks!
> 
> Ian.
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Xen-devel] [PATCH] xen-pciback: Add MODULE_ALIAS for pciback.
  2014-08-20 17:20     ` [Xen-devel] " Konrad Rzeszutek Wilk
  2014-08-20 17:26       ` Ian Campbell
@ 2014-08-20 17:26       ` Ian Campbell
  2014-11-26 16:39         ` Luis R. Rodriguez
  2014-11-26 16:39         ` [Xen-devel] " Luis R. Rodriguez
  1 sibling, 2 replies; 12+ messages in thread
From: Ian Campbell @ 2014-08-20 17:26 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel, linux-kernel

On Wed, 2014-08-20 at 13:20 -0400, Konrad Rzeszutek Wilk wrote:
> On Wed, Aug 20, 2014 at 06:18:52PM +0100, Ian Campbell wrote:
> > On Wed, 2014-08-20 at 12:40 -0400, Konrad Rzeszutek Wilk wrote:
> > > The rest of the Xen device drivers use an module alias
> > > to load devices when they shop up in XenBus.
> > 
> > "show".
> > >  
> > >  MODULE_LICENSE("Dual BSD/GPL");
> > >  MODULE_ALIAS("xen-backend:pci");
> > > +MODULE_ALIAS("xen:pci");
> > 
> > Isn't that xen-backend:pci already the right thing for a backend device?
> > xen: is for frontends, I thought.
> 
> Oh, you are right. Cool! Thanks!

The patch turned out to be even more trivial than expected ;-)

Ian.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] xen-pciback: Add MODULE_ALIAS for pciback.
  2014-08-20 17:20     ` [Xen-devel] " Konrad Rzeszutek Wilk
@ 2014-08-20 17:26       ` Ian Campbell
  2014-08-20 17:26       ` [Xen-devel] " Ian Campbell
  1 sibling, 0 replies; 12+ messages in thread
From: Ian Campbell @ 2014-08-20 17:26 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel, linux-kernel

On Wed, 2014-08-20 at 13:20 -0400, Konrad Rzeszutek Wilk wrote:
> On Wed, Aug 20, 2014 at 06:18:52PM +0100, Ian Campbell wrote:
> > On Wed, 2014-08-20 at 12:40 -0400, Konrad Rzeszutek Wilk wrote:
> > > The rest of the Xen device drivers use an module alias
> > > to load devices when they shop up in XenBus.
> > 
> > "show".
> > >  
> > >  MODULE_LICENSE("Dual BSD/GPL");
> > >  MODULE_ALIAS("xen-backend:pci");
> > > +MODULE_ALIAS("xen:pci");
> > 
> > Isn't that xen-backend:pci already the right thing for a backend device?
> > xen: is for frontends, I thought.
> 
> Oh, you are right. Cool! Thanks!

The patch turned out to be even more trivial than expected ;-)

Ian.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Xen-devel] [PATCH] xen-pciback: Add MODULE_ALIAS for pciback.
  2014-08-20 17:26       ` [Xen-devel] " Ian Campbell
  2014-11-26 16:39         ` Luis R. Rodriguez
@ 2014-11-26 16:39         ` Luis R. Rodriguez
  1 sibling, 0 replies; 12+ messages in thread
From: Luis R. Rodriguez @ 2014-11-26 16:39 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Konrad Rzeszutek Wilk, xen-devel, linux-kernel

On Wed, Aug 20, 2014 at 1:26 PM, Ian Campbell <ian.campbell@citrix.com> wrote:
> On Wed, 2014-08-20 at 13:20 -0400, Konrad Rzeszutek Wilk wrote:
>> On Wed, Aug 20, 2014 at 06:18:52PM +0100, Ian Campbell wrote:
>> > On Wed, 2014-08-20 at 12:40 -0400, Konrad Rzeszutek Wilk wrote:
>> > > The rest of the Xen device drivers use an module alias
>> > > to load devices when they shop up in XenBus.
>> >
>> > "show".
>> > >
>> > >  MODULE_LICENSE("Dual BSD/GPL");
>> > >  MODULE_ALIAS("xen-backend:pci");
>> > > +MODULE_ALIAS("xen:pci");
>> >
>> > Isn't that xen-backend:pci already the right thing for a backend device?
>> > xen: is for frontends, I thought.
>>
>> Oh, you are right. Cool! Thanks!
>
> The patch turned out to be even more trivial than expected ;-)

Is this what we expected to be pending work for the item "device
hotplug (MODULE_ALIAS)" on the upstream TODO list?

http://wiki.xenproject.org/wiki/XenParavirtOps#Upstream_delta_details

This was simply to just auto load that driver when needed right?

Also as for actual PCI device hotplug support:

http://wiki.xen.org/wiki/Xen_PCI_Passthrough#Hotplug

I don't think we need a delta for that do we?

 Luis

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] xen-pciback: Add MODULE_ALIAS for pciback.
  2014-08-20 17:26       ` [Xen-devel] " Ian Campbell
@ 2014-11-26 16:39         ` Luis R. Rodriguez
  2014-11-26 16:39         ` [Xen-devel] " Luis R. Rodriguez
  1 sibling, 0 replies; 12+ messages in thread
From: Luis R. Rodriguez @ 2014-11-26 16:39 UTC (permalink / raw)
  To: Ian Campbell; +Cc: xen-devel, linux-kernel

On Wed, Aug 20, 2014 at 1:26 PM, Ian Campbell <ian.campbell@citrix.com> wrote:
> On Wed, 2014-08-20 at 13:20 -0400, Konrad Rzeszutek Wilk wrote:
>> On Wed, Aug 20, 2014 at 06:18:52PM +0100, Ian Campbell wrote:
>> > On Wed, 2014-08-20 at 12:40 -0400, Konrad Rzeszutek Wilk wrote:
>> > > The rest of the Xen device drivers use an module alias
>> > > to load devices when they shop up in XenBus.
>> >
>> > "show".
>> > >
>> > >  MODULE_LICENSE("Dual BSD/GPL");
>> > >  MODULE_ALIAS("xen-backend:pci");
>> > > +MODULE_ALIAS("xen:pci");
>> >
>> > Isn't that xen-backend:pci already the right thing for a backend device?
>> > xen: is for frontends, I thought.
>>
>> Oh, you are right. Cool! Thanks!
>
> The patch turned out to be even more trivial than expected ;-)

Is this what we expected to be pending work for the item "device
hotplug (MODULE_ALIAS)" on the upstream TODO list?

http://wiki.xenproject.org/wiki/XenParavirtOps#Upstream_delta_details

This was simply to just auto load that driver when needed right?

Also as for actual PCI device hotplug support:

http://wiki.xen.org/wiki/Xen_PCI_Passthrough#Hotplug

I don't think we need a delta for that do we?

 Luis

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] xen-pciback: Add MODULE_ALIAS for pciback.
@ 2014-11-26 17:18 Konrad Rzeszutek Wilk
  0 siblings, 0 replies; 12+ messages in thread
From: Konrad Rzeszutek Wilk @ 2014-11-26 17:18 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: xen-devel, linux-kernel, Ian Campbell


On Nov 26, 2014 11:39 AM, "Luis R. Rodriguez" <mcgrof@do-not-panic.com> wrote:
>
> On Wed, Aug 20, 2014 at 1:26 PM, Ian Campbell <ian.campbell@citrix.com> wrote: 
> > On Wed, 2014-08-20 at 13:20 -0400, Konrad Rzeszutek Wilk wrote: 
> >> On Wed, Aug 20, 2014 at 06:18:52PM +0100, Ian Campbell wrote: 
> >> > On Wed, 2014-08-20 at 12:40 -0400, Konrad Rzeszutek Wilk wrote: 
> >> > > The rest of the Xen device drivers use an module alias 
> >> > > to load devices when they shop up in XenBus. 
> >> > 
> >> > "show". 
> >> > > 
> >> > >  MODULE_LICENSE("Dual BSD/GPL"); 
> >> > >  MODULE_ALIAS("xen-backend:pci"); 
> >> > > +MODULE_ALIAS("xen:pci"); 
> >> > 
> >> > Isn't that xen-backend:pci already the right thing for a backend device? 
> >> > xen: is for frontends, I thought. 
> >> 
> >> Oh, you are right. Cool! Thanks! 
> > 
> > The patch turned out to be even more trivial than expected ;-) 
>
> Is this what we expected to be pending work for the item "device 
> hotplug (MODULE_ALIAS)" on the upstream TODO list? 
>
> http://wiki.xenproject.org/wiki/XenParavirtOps#Upstream_delta_details 
>
> This was simply to just auto load that driver when needed right? 
>

Right which it does now.

> Also as for actual PCI device hotplug support: 
>
> http://wiki.xen.org/wiki/Xen_PCI_Passthrough#Hotplug 
>
> I don't think we need a delta for that do we? 

Nope. This one is all done.
>
> Luis 
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-11-26 17:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20 16:40 [PATCH] Add MODULE_ALIAS for Xen pciback. (v1) Konrad Rzeszutek Wilk
2014-08-20 16:40 ` [PATCH] xen-pciback: Add MODULE_ALIAS for pciback Konrad Rzeszutek Wilk
2014-08-20 17:18   ` [Xen-devel] " Ian Campbell
2014-08-20 17:20     ` Konrad Rzeszutek Wilk
2014-08-20 17:20     ` [Xen-devel] " Konrad Rzeszutek Wilk
2014-08-20 17:26       ` Ian Campbell
2014-08-20 17:26       ` [Xen-devel] " Ian Campbell
2014-11-26 16:39         ` Luis R. Rodriguez
2014-11-26 16:39         ` [Xen-devel] " Luis R. Rodriguez
2014-08-20 17:18   ` Ian Campbell
2014-08-20 16:40 ` Konrad Rzeszutek Wilk
2014-11-26 17:18 Konrad Rzeszutek Wilk

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.