Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6999571imm; Tue, 24 Jul 2018 06:51:40 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeM41bcSBVvleBgjaWK+Q8RLI7jrl3LfolWxrPissqNkPQWrWrHWOHt60TPFh4BdMoL1Ne6 X-Received: by 2002:a62:1e81:: with SMTP id e123-v6mr18080952pfe.24.1532440300816; Tue, 24 Jul 2018 06:51:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532440300; cv=none; d=google.com; s=arc-20160816; b=g5HBKJ7j67c395mm1BM61OheCDpSHGL1pSgknZuerfyb80nSqFCFC5xertX+0Zq4rb pDIh0sy0ZaZnyv7+hiEhg9dhjk6g9wcR5qrzRrw/QLjaRMQzpPpSweFxp0qBW5REUbWM 1+9lxHGTqaGLvwfu9KISWq7g6J3A8Oojks3E6EbobNm9gjHGgNsYdCZi8zAPIrEasEWv /m+yhhyDAkK3su8RVRs91xEpKIUiNTsAAftwsNnMZ3nkeK21PokLSxfd/JcJPveLxNt4 izpuAXFZnfHUj3ALbp7qMgEHh5iqLc/Q4UA6VHWzcYyCkzmqnsubjGu5Oh+dtUZsvtj3 BjWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=B3ZGt07zfYhJidi6buak8cgXuWXF2Kr6USAPjvIcdAE=; b=J13fb273bMYEgUCdwrJzBOr8rDcOW5jIqE0G5P7/UHYJ8CWnFVZCI9geF9TYSqmAQZ i7nXYuSdju1BiF52+UABpdWq1fIS60qxT3uCGal+SPLmYTKdtpnnaj201KS1J0aV6rGg tTG1fEvWfSz+6bA7JCUSuZrtuo5qZePBHhFCdNizxkoIQxnb+kO4QZc1blLVuf/fvQ5Y fQlAiU8zt98J2Wl+mJQcoDwVUBNW9VbGaKLthiuenGOtlDgKTKOgNRkfJM6dp0dMjG5+ t36mwltbcpAyHYK72zyzzcCY4gzE30EVWWaWPCc+zvg/QCoaiVyPsKY6P/J1ICfbkj3Z 0Ujw== 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 v12-v6si10566089plo.264.2018.07.24.06.51.26; Tue, 24 Jul 2018 06:51:40 -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 S2388484AbeGXO46 (ORCPT + 99 others); Tue, 24 Jul 2018 10:56:58 -0400 Received: from mail-c.ads.isi.edu ([128.9.180.198]:41855 "EHLO mail-c.ads.isi.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388315AbeGXO46 (ORCPT ); Tue, 24 Jul 2018 10:56:58 -0400 X-Greylist: delayed 321 seconds by postgrey-1.27 at vger.kernel.org; Tue, 24 Jul 2018 10:56:58 EDT X-IronPort-AV: E=Sophos;i="5.51,398,1526367600"; d="scan'208";a="6610587" Received: from guest228.east.isi.edu (HELO localhost) ([65.123.202.228]) by mail-c.ads.isi.edu with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jul 2018 06:47:17 -0700 From: Alexei Colin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon Cc: Alex Bounine , Barry Wood , John Paul Walters , Alexei Colin Subject: [PATCH] arm64: enable RapidIO config options in Kconfig Date: Tue, 24 Jul 2018 09:45:14 -0400 Message-Id: <20180724134513.86796-1-acolin@isi.edu> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ARM64 SoCs with a PCI bus present the RapiodIO options; SoCs with RapidIO IP blocks but without a PCI bus, need to select HAS_RAPIDIO in Kconfig.platforms. HAS_RAPIDIO was chosen over HAVE_RAPIDIO to be consistent with other architectures which already define this flag (powerpc). Signed-off-by: Alexei Colin --- Tested that kernel builds with RapidIO subsystem and switch drivers and that modules insert successfully in a custom Qemu hardware model. Maintainers for RapidIO subsystem CCed. Similar patch for ARM has been submitted. arch/arm64/Kconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 42c090cf0292..8dceaa5b674c 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -293,6 +293,22 @@ config PCI_SYSCALL source "drivers/pci/Kconfig" +config HAS_RAPIDIO + bool + default n + +config RAPIDIO + tristate "RapidIO support" + depends on HAS_RAPIDIO || PCI + help + This feature enables support for RapidIO high-performance + packet-switched interconnect. + + If you say Y here, the kernel will include drivers and + infrastructure code to support RapidIO interconnect devices. + +source "drivers/rapidio/Kconfig" + endmenu menu "Kernel Features" -- 2.18.0