Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp844465imm; Wed, 1 Aug 2018 06:17:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdnsAdIy8GEqbBMirIjnMZT3zPYwuCHwWvbd3+r30mPb8yI0YwPoU9bRZYEh15whBTWq4ib X-Received: by 2002:a17:902:6b4c:: with SMTP id g12-v6mr24284340plt.159.1533129447461; Wed, 01 Aug 2018 06:17:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533129447; cv=none; d=google.com; s=arc-20160816; b=yvor6MdGYEt5zsCDGGBAvBLiaYfhB17pHBfYQnX5RFBVP4kS72/obLAKcAptaomwUG N1sAkDhgUtxaLcA1n0hnLjEzsJJzIbflja8j1ai2JubZNUqnpZvfI33YvM2yuDvP0Bro Whuo+nf4rRIgBki5C3OwwZiVfHDGD3ufSOJFolihws4EkrO0Hif5eFOITWOKGGVutrwB eyeZiNWzvx9TZeMMOR9NhUIQNdqFwK8+URv8380uf2ovDVkiaVVDobsMdQpERpUpqzdA VE4ugTkg76mSJ8OoO8uBSgbDOnEJZE4OiipvJ0om0iaPoSm3ncuXsUe0Irr1qUVedqmm G6xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=QRwr3HK7nt0hGQKlW4/QGEnnlhLebhT7hwSbjCz6vh4=; b=dCzRj6BJGHWGj/Rj7z2/9xKE6IYRW7OPvOdhRNIKzoONCatn53lI1Hsz3LrI9+dCBa +oaD5XAcnRmc3pO0SUyJH+DrhybG+2oKta/xIQ+VV9tZFX9NbmXj6RaHQwIs0Wf3CKg1 EW6l70FQ5vOOZDeoIVUZLmePxjreeTUWrBCi0Za+J47GmsAsnpDbd6e087GB8dryLF/A PqsK6+h257Eriu8ZwJ+v73VtDGs/C4WX6X77QjN7rq8fW2w76ZEIu95SevXMgejhhumt +9R6Yaj0P6TmBkd0xJ0AqwUSGP6R3hxrqBUtDcwyG2jxH60ditDU+S9a5C5h+IwbRmk6 lwBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dKPWpRLe; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b6-v6si15937725pgm.644.2018.08.01.06.17.12; Wed, 01 Aug 2018 06:17:27 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dKPWpRLe; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389352AbeHAPBq (ORCPT + 99 others); Wed, 1 Aug 2018 11:01:46 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:40331 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389256AbeHAPBq (ORCPT ); Wed, 1 Aug 2018 11:01:46 -0400 Received: by mail-it0-f66.google.com with SMTP id h23-v6so9217727ita.5 for ; Wed, 01 Aug 2018 06:16:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=QRwr3HK7nt0hGQKlW4/QGEnnlhLebhT7hwSbjCz6vh4=; b=dKPWpRLewCctKBhIttr1QfDzsKcsCU0zg+NuzxJYqUtJf6MiU8Eg8BHnqJFHoVaST1 PU2ToXuTUrgNfuuZ+te4D/NROVLpcNGv/Gx9F4OqhRy8QdqH/Acsc+20MsBNaOPEvZIK AIkqJvjC7m5DEYt9na5ddnMgswoL32EIscetle05S4cHYOaW7cVaFsbQqxC5y6OMcZ2h ovnI9206Wvma/v4DLcQrJr1MPviL9plg0pdrCbzwpfXiXaCsKxVBeqtJ0cag0pyYGnQj saLNNLsGPJEu1rXMK5qMNjPlG2olktPh0VY1ermoMniu5QkSaLVBfkNNXRzMGm/51SXa iVUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=QRwr3HK7nt0hGQKlW4/QGEnnlhLebhT7hwSbjCz6vh4=; b=BMDgcG7UvF92eKuTivZnDNAMJIBKkH+VoZmh15b1rkRr5Wu7jeWN7x+se7qIJgRzF7 vfLTw4lTeqisD8lSGevv62whaZy68xFzRo/xGqqB1uGE0HU68s8T/ZsuvKnAtHsSm5qZ PrCkncRkAlyDNuOdRGuHdDkBySj0PuYSL6/9g/xTRXEPz9rRyPgKrrSZLU80prTQrzQO rbwGNqOdjzp21Y1eq9OhvNCQLY5545ZXJpQVC5YW3M/jWhYzb0azM/01kHX8DsiXvjjp EOdD9wYTi0XcJnmqHXGEDQDUDBM/mcNk652VRF5zoghynbLIDelDI5xZQ3eqoR3R3+7g O86g== X-Gm-Message-State: AOUpUlEIXh29qauuIDmGWi5xqYEmMKrKpJR8BvdXBxUlCCP9sWCCP7Cj u2CyNO/ohKUcQmmCEP27Tt5vIckdmJA= X-Received: by 2002:a02:b468:: with SMTP id w37-v6mr23179683jaj.18.1533129361070; Wed, 01 Aug 2018 06:16:01 -0700 (PDT) Received: from [10.0.2.15] ([72.138.96.106]) by smtp.gmail.com with ESMTPSA id i9-v6sm5194147iom.19.2018.08.01.06.15.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Aug 2018 06:16:00 -0700 (PDT) Subject: Re: [RESEND PATCH 6/6] arm64: enable RapidIO menu in Kconfig To: Christoph Hellwig , Alexei Colin Cc: Catalin Marinas , Will Deacon , Andrew Morton , Russell King , John Paul Walters , x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mips@linux-mips.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20180731142954.30345-1-acolin@isi.edu> <20180731142954.30345-7-acolin@isi.edu> <20180801095404.GA17585@infradead.org> From: Alex Bounine Message-ID: Date: Wed, 1 Aug 2018 09:15:57 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180801095404.GA17585@infradead.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > 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.