From patchwork Tue Dec 20 01:12:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Feng X-Patchwork-Id: 34865 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp2708460wrn; Mon, 19 Dec 2022 17:14:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf6EWSrk353sW0Ia5Gy45PWRlSfO+R6EL/Jnzw7aKc/03uxad3VcIc29uyFUgoNSbKfCWvGn X-Received: by 2002:a05:6a20:3d0c:b0:ad:eac2:25e7 with SMTP id y12-20020a056a203d0c00b000adeac225e7mr40578785pzi.30.1671498850611; Mon, 19 Dec 2022 17:14:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671498850; cv=none; d=google.com; s=arc-20160816; b=rQBbDg934FeLZf3ROyIV2aRRDsHjqwSD7VUGyvn6+fObtNN9OMfPTXDjaGcSlG0y+u 8LPkQwONRKrwoPJ6cFirTtDGFsTFNNOQHa+UMQTy3BgyKKOP3BQrytqg+4NX9JAb3WCS I2g0FOP7HtGdOicwAQcuimpkzfRp2BNg7LVswlMU5rJJRIs7lpXK9vMYDIcN8BhR+RiG hkr5ErnQNQX0tU3MfIXfel0LabaN4gHJ614izkuZ+PKULp+8F1qmKwxuCUKr7EcjP434 SH3vLMnIuP5TuOKQXgtDGSUlEi+w5sRjxOBEFjd9kOSTGc0IZBDnZqIutlNBbsluXXLS 552Q== 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; bh=Q296luDc/j8lHxnzJX/oxdpwzl7aTXFaQ1wfgQ9qaQo=; b=xevhAkpcyYCgufIgxvAs9XL1L8JuFLo6MylNJVVM+sJ4aHPTJDLN3f4anOpVzzpIS3 t+GuQdBJyUHF9zDXiKPGX+qWoCtQA+AnVw6TxCiLwuVG8/tObyo3vIspNtoPbcRIlKQP +LT4uKpz96GyV8o1XHrLeod9VTduE1tS3P3Yf5eYQ9xtDrcEgW1eBhAKZuwNsRgX9xah cgOCj53ZmDclGRa4lFUMN5TL6QJo4XwNhcFLNI59X5SoaUJ0wYZy2imNtoD4n/GWahbi oorWAfKIzP+2a52AQ/rFZCkCkfZ2qYRupVODZicBa0AD13Tn3DkbMZ+TbOfpjJsexdDl eCng== ARC-Authentication-Results: i=1; mx.google.com; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m36-20020a634c64000000b0047895cb2289si13286626pgl.644.2022.12.19.17.13.57; Mon, 19 Dec 2022 17:14:10 -0800 (PST) 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; 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 S232054AbiLTBNM convert rfc822-to-8bit (ORCPT + 99 others); Mon, 19 Dec 2022 20:13:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232848AbiLTBM4 (ORCPT ); Mon, 19 Dec 2022 20:12:56 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6402511C15; Mon, 19 Dec 2022 17:12:55 -0800 (PST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id F2F4424E004; Tue, 20 Dec 2022 09:12:53 +0800 (CST) Received: from EXMBX172.cuchost.com (172.16.6.92) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 20 Dec 2022 09:12:53 +0800 Received: from ubuntu.localdomain (183.27.97.120) by EXMBX172.cuchost.com (172.16.6.92) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 20 Dec 2022 09:12:52 +0800 From: Hal Feng To: , CC: Conor Dooley , Palmer Dabbelt , "Rob Herring" , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , Ben Dooks , Daniel Lezcano , "Thomas Gleixner" , Marc Zyngier , Stephen Boyd , Michael Turquette , "Philipp Zabel" , Linus Walleij , Emil Renner Berthing , Hal Feng , Subject: [PATCH v3 5/7] soc: sifive: ccache: Add StarFive JH7110 support Date: Tue, 20 Dec 2022 09:12:45 +0800 Message-ID: <20221220011247.35560-6-hal.feng@starfivetech.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221220011247.35560-1-hal.feng@starfivetech.com> References: <20221220011247.35560-1-hal.feng@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [183.27.97.120] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX172.cuchost.com (172.16.6.92) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752693578556826670?= X-GMAIL-MSGID: =?utf-8?q?1752693578556826670?= From: Emil Renner Berthing This adds support for the StarFive JH7110 SoC which also features this SiFive cache controller. Signed-off-by: Emil Renner Berthing Signed-off-by: Hal Feng --- drivers/soc/Makefile | 2 +- drivers/soc/sifive/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index 69ba6508cf2c..534669840858 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc/Makefile @@ -26,7 +26,7 @@ obj-y += qcom/ obj-y += renesas/ obj-y += rockchip/ obj-$(CONFIG_SOC_SAMSUNG) += samsung/ -obj-$(CONFIG_SOC_SIFIVE) += sifive/ +obj-y += sifive/ obj-y += sunxi/ obj-$(CONFIG_ARCH_TEGRA) += tegra/ obj-y += ti/ diff --git a/drivers/soc/sifive/Kconfig b/drivers/soc/sifive/Kconfig index ed4c571f8771..e86870be34c9 100644 --- a/drivers/soc/sifive/Kconfig +++ b/drivers/soc/sifive/Kconfig @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 -if SOC_SIFIVE +if SOC_SIFIVE || SOC_STARFIVE config SIFIVE_CCACHE bool "Sifive Composable Cache controller"