Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2131599imm; Thu, 2 Aug 2018 06:47:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeYChCEop4o0+TujEuhjNXNO4B2wtalC4jiXI1dnbTnZCnhiwENMeCQil06szIZXmh/3FqG X-Received: by 2002:a63:8042:: with SMTP id j63-v6mr2921523pgd.230.1533217647012; Thu, 02 Aug 2018 06:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533217646; cv=none; d=google.com; s=arc-20160816; b=jzEyppGlU+7S/Rp9BORazGzTsMSWQbAnenxA8rTtdiw7U7eWioGzbr41abeQo/PwNS UJ8HOkKadDQWwqgpXwrm3GV/GFJWurw7u1TJv9xYPswMrYkqzS02jA2th1bUMU6z0mDk 5nqTn9lXQ0zS5/uhDKzJlXDwsMgQ1s7inFWqDLPpeGUliy72pEG/L7zzD0Ki+08kTx0A NjbWbHLHLgwMqrV2jPz1Bj85pdmlc8wxW6ntr+giHjlqBJlizQCeAcvnnNqKBA3/fUzn zI67dKbm2F7Vp6jjgdzyCfu92k20qLED6lyxUo/XqGxor5yxPjg8nn5nzeKGuL2edSVu bugA== 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=wnhkaxESGzueJF/VTG955bY6QmusxFn31nWUJkqIURA=; b=sKIy0UfEP5sa1PBwtQT12/ysj3L7hnlIbHF8p7a5SJAhpphRoerXf51IfUb5jg371K ZRckjPzXZiXL+yAM728+VVjX/u7pqjvtJ0j7xKHI786R+ccX6fQJg/Ib+Co/xgs2nUKh tmjFgBFwYlTJT5SQ0LjWNeSNnaJf+G03fvEoDUgG580H1QyqlEVGUzixnUADKLPRGM/7 yqWjXav/c+JC+Vv5SHSWRJLi3UVwf2AldGTy+K76c4p/yuX8fZNBOC/0FevR5EV7pjKR LMNmhlPkh6vT9f0QSnHJbRIVwdjGrldVCEhaXw52nlO8un1SYnVgl+oDeaLvMXYGaHut RJ0w== 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 g67-v6si1441622plb.73.2018.08.02.06.47.11; Thu, 02 Aug 2018 06:47:26 -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 S1732429AbeHBPhE (ORCPT + 99 others); Thu, 2 Aug 2018 11:37:04 -0400 Received: from mail-d.ads.isi.edu ([128.9.180.199]:26690 "EHLO mail-d.ads.isi.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732079AbeHBPhE (ORCPT ); Thu, 2 Aug 2018 11:37:04 -0400 X-IronPort-AV: E=Sophos;i="5.51,436,1526367600"; d="scan'208";a="2662501" Received: from guest228.east.isi.edu (HELO localhost) ([65.123.202.228]) by mail-d.ads.isi.edu with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Aug 2018 06:45:46 -0700 Date: Thu, 2 Aug 2018 09:45:44 -0400 From: Alexei Colin To: Geert Uytterhoeven Cc: alex.bou9@gmail.com, Christoph Hellwig , Linux MIPS Mailing List , Catalin Marinas , the arch/x86 maintainers , Will Deacon , Russell King , Linux Kernel Mailing List , jwalters@isi.edu, Andrew Morton , linuxppc-dev , Linux ARM Subject: Re: [RESEND PATCH 6/6] arm64: enable RapidIO menu in Kconfig Message-ID: <20180802134544.GG38497@guest228.east.isi.edu> References: <20180731142954.30345-1-acolin@isi.edu> <20180731142954.30345-7-acolin@isi.edu> <20180801095404.GA17585@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 02, 2018 at 10:57:00AM +0200, Geert Uytterhoeven wrote: > On Wed, Aug 1, 2018 at 3:16 PM Alex Bounine wrote: > > On 2018-08-01 05:54 AM, Christoph Hellwig wrote: > > > On Tue, Jul 31, 2018 at 10:29:54AM -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. > > > > > > As said before, please include it from drivers/Kconfig so that _all_ > > > architectures supporting PCI (or other Rapidio attachements) get it > > > and not some arbitrary selection of architectures. > > +1 > > > As it was replied earlier this is not a random selection of > > architectures but only ones that implement support for RapidIO as system > > bus. If other architectures choose to adopt RapidIO we will include them > > as well. > > > > On some platforms RapidIO can be the only system bus available replacing > > PCI/PCIe or RapidIO can coexist with PCIe. > > > > As it is done now, RapidIO is configured in "Bus Options" (x86/PPC) or > > "Bus Support" (ARMs) sub-menu and from system configuration option it > > should be kept this way. > > > > Current location of RAPIDIO configuration option is familiar to users of > > PowerPC and x86 platforms, and is similarly available in some ARM > > manufacturers kernel code trees. > > > > drivers/Kconfig will be used for configuring drivers for peripheral > > RapidIO devices if/when such device drivers will be published. > > Everything in drivers/rapidio/Kconfig depends on RAPIDIO (probably it should > use a big if RAPIDIO/endif instead), so it can just be included from > drivers/Kconfig now. > > The sooner you do that, the less treewide changes are needed (currently > limited to mips, powerpc, and x86; your patch adds arm64). If I move RapidIO option to drivers/Kconfig, then it won't appear under the Bus Options/System Support menu, along with other choices for the system bus (PCI, PCMCIA, ISA, TC, ...). Alex explains above that RapidIO may be selected as a system bus on some architectures, and users expect it to be in the menu in which it has been for some time now. What problem is the current organization causing? This patch does not intend to propose any changes to the current organization of the menus, if such changes are needed, another patch can be made with that purpose. What problem is this patch introducing?