WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] RE: [PATCH] pv-ops: register xen pci notifier

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx>
Subject: [Xen-devel] RE: [PATCH] pv-ops: register xen pci notifier
From: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Date: Thu, 30 Jul 2009 13:48:37 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "'linux-pci@xxxxxxxxxxxxxxx'" <linux-pci@xxxxxxxxxxxxxxx>, "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>, "'Keir.Fraser@xxxxxxxxxxxxx'" <Keir.Fraser@xxxxxxxxxxxxx>, "'jbarnes@xxxxxxxxxxxxxxxx'" <jbarnes@xxxxxxxxxxxxxxxx>
Delivery-date: Wed, 29 Jul 2009 22:49:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A70869F.4000909@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1248659808-22198-1-git-send-email-weidong.han@xxxxxxxxx> <4A6F3F54.9030601@xxxxxxxx> <715D42877B251141A38726ABF5CABF2C05481C2352@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4A70869F.4000909@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoQcfD86hIo6q92Q8OkvqSqZPxqKQAZzvNQ
Thread-topic: [PATCH] pv-ops: register xen pci notifier
yes, the pci_iommu_init() is also fs_initcall().

--jyh

Jeremy Fitzhardinge wrote:
> On 07/28/09 18:33, Han, Weidong wrote:
>> register_xen_pci_notifier must be executed after PCI
> subsystem. I think fs_initcall is the suitable initcall achieve it.
>> 
> 
> Yes, that's a bit awkward.  It requires pci_bus_type to have been
> registered/initialized with bus_register() before you can register a
> notifier on it.  Its a pity it couldn't be rearranged so that you can
> register the notifier at any time.
> 
>    J
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel