From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: [PATCH] pv-ops: register xen pci notifier Date: Wed, 29 Jul 2009 10:27:59 -0700 Message-ID: <4A70869F.4000909@goop.org> References: <1248659808-22198-1-git-send-email-weidong.han@intel.com> <4A6F3F54.9030601@goop.org> <715D42877B251141A38726ABF5CABF2C05481C2352@pdsmsx503.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <715D42877B251141A38726ABF5CABF2C05481C2352@pdsmsx503.ccr.corp.intel.com> Sender: linux-pci-owner@vger.kernel.org To: "Han, Weidong" Cc: "'jbarnes@virtuousgeek.org'" , "'xen-devel@lists.xensource.com'" , "'linux-pci@vger.kernel.org'" , "'Keir.Fraser@eu.citrix.com'" , "Jiang, Yunhong" , "Kay, Allen M" List-Id: xen-devel@lists.xenproject.org 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