Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754149AbbETRru (ORCPT ); Wed, 20 May 2015 13:47:50 -0400 Received: from mga01.intel.com ([192.55.52.88]:42075 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754003AbbETRrq (ORCPT ); Wed, 20 May 2015 13:47:46 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,465,1427785200"; d="scan'208";a="496176130" Date: Wed, 20 May 2015 10:59:23 -0700 From: Bin Gao To: Paul Bolle Cc: One Thousand Gnomes , Greg Kroah-Hartman , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Hurley , Jiri Slaby Subject: Re: [PATCH v3 1/2] serial_core: add pci uart early console support Message-ID: <20150520175922.GA163133@worksta> References: <20150518212152.GA95407@worksta> <1432036867.9091.75.camel@x220> <20150519173224.GA202975@worksta> <1432113385.21715.76.camel@x220> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1432113385.21715.76.camel@x220> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 943 Lines: 23 On Wed, May 20, 2015 at 11:16:25AM +0200, Paul Bolle wrote: > What I should have asked is: do you expect architectures other than X86 > to set HAVE_EARLY_PCI? Because then you should put that Kconfig entry in > a file reachable by all architectures. Say, in init/Kconfig or in > drivers/tty/serial/Kconfig. > > (You can also have an entry for HAVE_EARLY_PCI for each arch that needs > it, but that would be a bit silly.) > The HAVE_EARLY_PCI entry should be actually in generic PCI layer, i.e. drivers/pci, because it's a PCI feature but only some archs (currently only x86) support it. Then an arch with this feature could announce it in arch//Kconfig by: select HAVE_EARLY_PCI if PCI -- 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/