[v1,3/4] soc: sifive: make SiFive's cache controller driver depend on ARCH_ symbols
Message ID | 20230406-subdued-observer-cbb0e2f72cc7@spud |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1303408vqo; Thu, 6 Apr 2023 14:11:50 -0700 (PDT) X-Google-Smtp-Source: AKy350bKUHSEz0TL4eugge2SliudN1opaGXxcUqW9RB3YZ+pL9ksc/Ao2wDE6P3DKak3zvO7pGgN X-Received: by 2002:a17:907:761b:b0:93f:2114:9a1c with SMTP id jx27-20020a170907761b00b0093f21149a1cmr180427ejc.45.1680815510666; Thu, 06 Apr 2023 14:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680815510; cv=none; d=google.com; s=arc-20160816; b=ndjgw99rSmHrrEHed9Nl9Tp+Kq0EjlCrOZeXPi+MljZN6c2KnfnkgAFkLcKgp/JoMq GA2uAD23T9DM7pmbFomX6REZEDg3g6ZSOEuu1HULv3Env00oMfxtdBBc9UxE0kKBhYmH qMYQNDnaXfBIkj0Fdh9phQURpnra8XOC0pF7y06ZYShpXHkDeKkK++fbH2LKKECb2Ih2 4Mz4Bz4F2UoG1CAVkfXbt0Ds4K+pA2tdCKq94ngxrKEMhWjZWR5sfisZ0yUPx9JMAtn3 YSKJh1tF/450Oo/5HdKx+h6CYnNEsKidTomemS5rIoIPfTAo00KR6oqq4Z8x0pC01RSI 9i6w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NgwTWlJDrVuDNfe3ytUCZFpWyRdfyw+mWlQ1+LQW30M=; b=Ic2EOiGa9U6FLbclzuQrJX+1ya0NekJ7HyeXWon7RRlY6DZ9+wpSZDsE9U8cjNvsPe c3O0oBPM1GNZ/9Q33Aa5rZcoY13kkch53R7GKUCB+Md48IV0ad6BOaS61smqyhvKdAE1 hxlPiHBc0CBN1b9v6AME3Soq1KlpeX+DAE69kX3xKLRUxRf2nK/FJEhaAvDttPD4XY2O IU6PGlvQcRJEDnFegkAmovucVpIFQ/esU04/as3ErbQbe/aSWMMgDvz4wa+ipq9paiAt 4gWdekUjRGMOsGbXL8XRHmFqj6vRP445ZjI7Ph5KN++Upao/2ETIMt+YQveyog6QnbF+ DNAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RwqiZWFh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id tb26-20020a1709078b9a00b008b17ae97330si1987848ejc.880.2023.04.06.14.11.26; Thu, 06 Apr 2023 14:11:50 -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=@kernel.org header.s=k20201202 header.b=RwqiZWFh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240261AbjDFU6v (ORCPT <rfc822;a1648639935@gmail.com> + 99 others); Thu, 6 Apr 2023 16:58:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240076AbjDFU6m (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 6 Apr 2023 16:58:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87C8BAD0C; Thu, 6 Apr 2023 13:58:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A1F3F64BDC; Thu, 6 Apr 2023 20:58:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1C4DC433A4; Thu, 6 Apr 2023 20:58:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680814715; bh=GUOoSqrJ3HEphPnioWv++YNspCVNct6juRt4rZsQ5Zk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RwqiZWFhztmW9W3iOP/4ITXmX+Joly7WG9QWptavLAFppW9wM9gEvqsIQiqAlHwex Uw91P1eGGLH71clAFgPvovbgcywLj7mvYplgab6i1Zwi456AjwBqpLuljm+GwPXitq HzE1zAVb+x3pRTaHV3njmQQhkZJHQVPuhjWkNLkK4thfmETQ2L3hIAr+RDWLyLhAFl xK7UYvuVDoTkrK3v5KAUa3RY1EiemOsqowy+QS++JtNEwg5/u8nesj5t0vxiaiE7gJ YI0zuN/7Hylh35WHhyBHjN7rMmw4JqiO0I6ywHu8y33rn8zIQ5CRd/d/Np1txcP+ZG zQ/WsNEyoYnIQ== From: Conor Dooley <conor@kernel.org> To: linux-riscv@lists.infradead.org Cc: conor@kernel.org, Conor Dooley <conor.dooley@microchip.com>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Palmer Dabbelt <palmer@dabbelt.com>, Paul Walmsley <paul.walmsley@sifive.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= <kw@linux.com>, Rob Herring <robh@kernel.org>, Bjorn Helgaas <bhelgaas@google.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org>, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v1 3/4] soc: sifive: make SiFive's cache controller driver depend on ARCH_ symbols Date: Thu, 6 Apr 2023 21:57:49 +0100 Message-Id: <20230406-subdued-observer-cbb0e2f72cc7@spud> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230406-undertake-stowing-50f45b90413a@spud> References: <20230406-undertake-stowing-50f45b90413a@spud> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=718; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=9Il+wlZDZcYvFbiMxYuYNQnDgGowSqAh6MrzvX34VSo=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCn6Rl7Xa0sar/bLGTzU1X7Xa/VrrZdyuYlbkKlinvGcU t8v+9d0lLIwiHEwyIopsiTe7muRWv/HZYdzz1uYOaxMIEMYuDgFYCJtQYwMx2/Zz59+bt29s1w7 +s7pGE6qNclY3aGzI2hi77trW1lLWBkZNnl8Vl5dvaZRUmSO6Dbet34f3SI/f3rwcT6DxcrCfeb lvAA= X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762462805156573811?= X-GMAIL-MSGID: =?utf-8?q?1762462805156573811?= |
Series |
Convert SiFive drivers from SOC_FOO dependencies to ARCH_FOO
|
|
Commit Message
Conor Dooley
April 6, 2023, 8:57 p.m. UTC
From: Conor Dooley <conor.dooley@microchip.com> As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the use of such symbols on other architectures, convert the SiFive soc drivers to use the new ARCH_FOO symbols. Signed-off-by: Conor Dooley <conor.dooley@microchip.com> --- drivers/soc/sifive/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, 06 Apr 2023 13:57:49 PDT (-0700), Conor Dooley wrote: > From: Conor Dooley <conor.dooley@microchip.com> > > As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the > use of such symbols on other architectures, convert the SiFive soc > drivers to use the new ARCH_FOO symbols. > > Signed-off-by: Conor Dooley <conor.dooley@microchip.com> > --- > drivers/soc/sifive/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/soc/sifive/Kconfig b/drivers/soc/sifive/Kconfig > index e86870be34c9..139884addc41 100644 > --- a/drivers/soc/sifive/Kconfig > +++ b/drivers/soc/sifive/Kconfig > @@ -1,6 +1,6 @@ > # SPDX-License-Identifier: GPL-2.0 > > -if SOC_SIFIVE || SOC_STARFIVE > +if ARCH_SIFIVE || ARCH_STARFIVE > > config SIFIVE_CCACHE > bool "Sifive Composable Cache controller" Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com> Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
diff --git a/drivers/soc/sifive/Kconfig b/drivers/soc/sifive/Kconfig index e86870be34c9..139884addc41 100644 --- a/drivers/soc/sifive/Kconfig +++ b/drivers/soc/sifive/Kconfig @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 -if SOC_SIFIVE || SOC_STARFIVE +if ARCH_SIFIVE || ARCH_STARFIVE config SIFIVE_CCACHE bool "Sifive Composable Cache controller"