Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934874Ab3E1QsR (ORCPT ); Tue, 28 May 2013 12:48:17 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:47264 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934859Ab3E1QsN (ORCPT ); Tue, 28 May 2013 12:48:13 -0400 Date: Tue, 28 May 2013 17:48:01 +0100 From: Matthew Garrett To: Bjorn Helgaas Cc: Matt Fleming , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , Matt Fleming , Seth Forshee , Jesse Barnes , stable@vger.kernel.org Subject: Re: [PATCH] x86/PCI: setup data may be in highmem Message-ID: <20130528164801.GA2345@srcf.ucam.org> References: <1369215782-32697-1-git-send-email-matt@console-pimps.org> <20130528113617.GR14575@console-pimps.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1065 Lines: 23 On Tue, May 28, 2013 at 10:31:51AM -0600, Bjorn Helgaas wrote: > On Tue, May 28, 2013 at 5:36 AM, Matt Fleming wrote: > > On Fri, 24 May, at 08:38:10AM, Bjorn Helgaas wrote: > >> pcibios_add_device() is mostly called at boot-time, when > >> early_ioremap() probably works well. But it's also called when we > >> hot-add devices later, and it looks like early_ioremap() will then > >> generate warnings because "system_state != SYSTEM_BOOTING". > > > > Oops. Good point. Is there any reason we can't use ioremap()? > > I assume Matthew had some reason for avoiding that in the first place, > so I hope he'll chime in. I have no recollection of why I did it that way. If this is all happening late enough for ioremap() to work then that sounds fine. -- Matthew Garrett | mjg59@srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/