Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4889815imm; Tue, 31 Jul 2018 01:43:21 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfjHJM8jdK0JLtgHq9kypccRXh0YnziKVg8h2erooGOv4oYWhCxPH0VuInmF9f5zr9Whps2 X-Received: by 2002:a63:f206:: with SMTP id v6-v6mr19542596pgh.319.1533026601084; Tue, 31 Jul 2018 01:43:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533026601; cv=none; d=google.com; s=arc-20160816; b=LdSxsuPRT7XdvkEQ38drgayqafOJPEQHDnFsR19XulFhSiv7d6wUroEkzieiO00FUJ 6KypB5yLNFqGx9X+Wyp6xC4ktAWZf6vRkteiSsxdNUwABVU7/S8p4CRICrM6ku0GeDcJ kifpyR0XZuh5gqbRnLGk8IwwcUlqoobbD3k0UELLN71U3km9vws1sH9N879dOxzYGkr+ g7DnBugIpdfPKZ66qkCT3fL8v1rp5NQHh3BK1dm0MnwufEHDkvS9BV4dFFY6IvdVwS/q 53D0UXe7IfBwQ8K78ZOhf9x7HPW/mHCc3FkL+XUZTuNg1bMyjpXX7eMSJuUZSgPIhHn1 YN/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=36EzEwi0d+2EweGXYfiAGdb/lyuYUd6xaMhDyuA9sMM=; b=W7KMXLLJAvBQBfEmlggxDZ0JJtW8EoEykNWBVXXklcvrhd8AKqK9yIbPjC7r30gJv/ mD2VAy9XT+Emf8+XHgA8YCtzhA7xqMcs+DSWjQMQCPEy8z8V9pR+m82029aKhCG5JtuV GDb5G66fVU+q8aHv4LhQDoOcX30dr73GOHAqRudz8MDXt2GlftGrFs0fVe8lsYIWCuS+ 1XcbjrHvvOhj0N8MEbsXmB6XYFK8c51TXpxkLcJaUMr3Wfy6F/hVDsIWZ/qMEPMwGSZj EteoO+iTkTerMidSCipKSRcHo0o+d4C3IODS4kpEaPg6pDqkTCfUSrW95bRTapMzQSEi tcyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64-v6si14019350pgd.509.2018.07.31.01.43.07; Tue, 31 Jul 2018 01:43:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729982AbeGaKU5 (ORCPT + 99 others); Tue, 31 Jul 2018 06:20:57 -0400 Received: from foss.arm.com ([217.140.101.70]:50098 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729485AbeGaKU5 (ORCPT ); Tue, 31 Jul 2018 06:20:57 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 600037A9; Tue, 31 Jul 2018 01:41:42 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2DE113F5BA; Tue, 31 Jul 2018 01:41:42 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 0C24F1AE2F57; Tue, 31 Jul 2018 09:41:43 +0100 (BST) Date: Tue, 31 Jul 2018 09:41:43 +0100 From: Will Deacon To: Alexei Colin Cc: Alexandre Bounine , Catalin Marinas , Andrew Morton , Russell King , John Paul Walters , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/6] arm64: enable RapidIO menu in Kconfig Message-ID: <20180731084143.GA4680@arm.com> References: <20180730225035.28365-1-acolin@isi.edu> <20180730225035.28365-7-acolin@isi.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180730225035.28365-7-acolin@isi.edu> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 30, 2018 at 06:50:34PM -0400, Alexei Colin wrote: > Platforms with a PCI bus will be offered the RapidIO menu since they may > be want support for a RapidIO PCI device. Platforms without a PCI bus > that might include a RapidIO IP block will need to "select HAS_RAPIDIO" > in the platform-/machine-specific "config ARCH_*" Kconfig entry. > > Tested that kernel builds for arm64 with RapidIO subsystem and > switch drivers enabled, also that the modules load successfully > on a custom Aarch64 Qemu model. > > Cc: Andrew Morton > Cc: Russell King > Cc: John Paul Walters > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org, > Signed-off-by: Alexei Colin > --- > arch/arm64/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) Thanks, this looks much cleaner than before: Acked-by: Will Deacon The only thing I'm not sure about is why we don't just select HAS_RAPIDIO unconditionally in the arm64 Kconfig. Does selecting only that option actually pull in new code to the build? Will > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index a8f0c74e6f7f..5e8cf90505ec 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -308,6 +308,8 @@ config PCI_SYSCALL > > source "drivers/pci/Kconfig" > > +source "drivers/rapidio/Kconfig" > + > endmenu > > menu "Kernel Features" > -- > 2.18.0 >