Received: by 2002:ac0:cd04:0:0:0:0:0 with SMTP id w4csp452376imn; Fri, 1 Jul 2022 20:28:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ueJLLA/7ou29kM53IPXnIxI8jRq7ATeZR5h+jH7uHCW2P7E5FXhAMHwrjjbIwXLJplz5o/ X-Received: by 2002:a63:1459:0:b0:411:b06f:646f with SMTP id 25-20020a631459000000b00411b06f646fmr9125780pgu.338.1656732536614; Fri, 01 Jul 2022 20:28:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656732536; cv=none; d=google.com; s=arc-20160816; b=E7oYVdbUXR7oqM5zuGCYmDg/ZlFRnP9HWfVxAuMlQ2mubv2Qz0a+gpc8yzr3RSZ09a BVAsBDP8NggG/E2fLkAoQjf+J00A721owmcOpLfyzSFHiU4Jw/sHa15JoVm0edqNuYoV U3JkAkOvajXyYbYOp8NQsGfuKIYctKjY5iWikuQ6ieSCl4pcHw/HBr7j8u6JmX3KHQuJ qpZz3wu47H7OWTIgDXXOnOiNF+i99/f3DOYz/ez52UnxMQIZsZQ99vCvyl5keV+J+tRk DNKzO37J0gNO1RsifA7eIoc6cy4QICUhSb3QNIbe0wYy6NscRbwMXg7aybkrH+IVHLrR 2KoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=aSJJxlyL6XPezKf/zOjOwtmW7W1A/fXy5V9azTBip78=; b=ajrgn5xG762ahl0s1qJjHL5K3lZLczBhU+EcXJ9q/qdKaeiAz5s8iELW2BS30mraGy OHHC/cI2gT0UpEq1aZhSrNNxVywK+uVCF8Vx+OwBhweT4R2C1KKqwxKpDnhFK5M7c0LU vxqPHrPtgbXbZ/SUmBYHWxQ6cMmTVVpG4016w0vvJF6tmS5V5hRWjyVr5KolR6Chjfn0 QZMXaHtzg95+NL3YiawPwNdhly5DdmQ/UlOYWlZnhzqm4Ib/eRA0+SbrSYLXtyoroF5N 2QinnuuxNM9XwfahegmFMg89dy2gaSofzgTg0LmhgDw5cMB8CtA/yr0k37NQjAsB2K3P zHIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b="cN/SSYcV"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=w1U+5Mq0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pf7-20020a17090b1d8700b001ec93087883si7774828pjb.121.2022.07.01.20.28.27; Fri, 01 Jul 2022 20:28:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b="cN/SSYcV"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=w1U+5Mq0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231545AbiGBDZ0 (ORCPT + 99 others); Fri, 1 Jul 2022 23:25:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229782AbiGBDZY (ORCPT ); Fri, 1 Jul 2022 23:25:24 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AA6037A18 for ; Fri, 1 Jul 2022 20:25:23 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AC6CF5C049B; Fri, 1 Jul 2022 23:25:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 01 Jul 2022 23:25:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=1656732322; x=1656818722; bh=aSJJxlyL6XPezKf/zOjOwtmW7 W1A/fXy5V9azTBip78=; b=cN/SSYcV/5hqqtMqm4pWnzGRa7abNf0GnsBq+rIRb ENT9Oly2PJmSVcPD/NQspc2jAcWrLQb/KKaMfNjUEnao0F1kJ+Zb1jXWyZQ8kgp1 naZnLX+gXicGr5jP1IxjKQk23SogMTweHuAeAOGvxQXk4NM06suNfP3vOYUKOdCU whYsH+qUl5XGFgob0j8QP/HB+sWjpVtSG5wiJ7wUPkSM3Xr2N4eN9SkAFH0bq5iz F/n1TYpdq+G5B0EXu2cbRrGaRSGeXkDTZNahF7pWr8IBS1qJPBdIO6cjMr3tv++H UQHrBcXnPcvuDcipGYd2c+t/zYli3vt4IP109E+wN8ymg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1656732322; x=1656818722; bh=aSJJxlyL6XPezKf/zOjOwtmW7W1A/fXy5V9 azTBip78=; b=w1U+5Mq0yvoiDzaaZzfaZ2BcmEijSDHf0NorVPJo5bBJFDXhBKP QXn9zn12tEVFHJF1TGPvXFnFeiqUZ3Vlj9Q/d1o0bow/tHmB9gVAZZygiVpV/e7c wjOtVXGCPFEcNNcNWaAR8tTXOsCWCs4JVxemBkVB2umKJvjW6Lp1VZ3HmQj6E1WK 9CQGgYPYr6tC/YBhLdG172NTuG+2CZEhzx8k3hmTFpyw4EknkJr4/CckJs5akXM5 3P5R4hvTJPIvVEY1xW8fBuWI3c3fES2TPPT6diJhJDTO2X2vmLGLTAnrhx76csDh 3ZPwddfbapS5E/bJRQc3RsKSKwvBW2QIgWQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudehgedgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghl ucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecuggftrf grthhtvghrnhepkeevlefhjeeuleeltedvjedvfeefteegleehueejffehgffffeekhefh hfekkeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 1 Jul 2022 23:25:21 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec Cc: Samuel Holland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: [PATCH] soc: sunxi: mbus: Only build the driver on ARM/ARM64 Date: Fri, 1 Jul 2022 22:25:20 -0500 Message-Id: <20220702032520.22129-1-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This driver exists as a workaround for old devicetrees which are missing interconnects properties, so it is only useful for those specific platforms, which all happen to be ARM or ARM64. This solves the issue that the driver fails to build on RISC-V, where PHYS_OFFSET is not defined. Signed-off-by: Samuel Holland --- drivers/soc/sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/sunxi/Kconfig b/drivers/soc/sunxi/Kconfig index 1fef0e711056..8aecbc9b1976 100644 --- a/drivers/soc/sunxi/Kconfig +++ b/drivers/soc/sunxi/Kconfig @@ -6,6 +6,7 @@ config SUNXI_MBUS bool default ARCH_SUNXI + depends on ARM || ARM64 help Say y to enable the fixups needed to support the Allwinner MBUS DMA quirks. -- 2.35.1