Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp3448058rwr; Sun, 7 May 2023 12:00:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7WZmXcay9sjvoorE43E2Gx/kccvYdSt7IMvK8+6BGs1Bpmf1nip7u94kyfHLrVDOTTRCT1 X-Received: by 2002:a05:6a00:2d0e:b0:63d:2680:94dd with SMTP id fa14-20020a056a002d0e00b0063d268094ddmr11773607pfb.6.1683486055384; Sun, 07 May 2023 12:00:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683486055; cv=none; d=google.com; s=arc-20160816; b=0xSCJ7T791VdwDPgmLF7zJtTcsD1MWx9iGvGEMGRc+K3+tfqJPRsesRyXNRL9fF/qd HbF0Q/Icfk3nzDSRUJMZK6kItR0U8SYmOEqTNq+HUteKFiFHpVrgP4Od4hGE09yvkNCs 8S2gdiXDv9LLUDRKI4YG60yB70/oiZ8KRS3CxszV9po1DSn54+WTOy0H2kr/7YadZSjs oiuzlHq9S8n1YieyP7zPJCMHwFKp3JQJ9pkfqGKac+CzZqQCfqgRsJsqXLHIr7HNE7fF OGa012QyD+6pc3Kqu5/cwz+bJChlUHNZUCj0poFKQZJVVcLEFPh4I+/SbJWlnTxnVqdX Qecg== 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=h46a+QpLj5LYU5bOmoNmV5X6h4gVOo8EJ5U67Pyvwx8=; b=je6EhOcHH7QqzUW/uwQE3qqRqUSt57E2W89FyuokOSw2zNjsTK7ZLdlDEMSlM9QENY fTc1nez+bEEItbSJjC1YGDtdHodJQHCSpVwebTpPIUXgSwyTi+KKqqrnPVXiQGlrFxWo RWUKhzu2UWnoTkGh3gVBucDuwnrMnO8ekzipjH0Wi2jpYmkELGvEotBAWUpC2Fy6d5cL j+9YlVzq52gIvfX4Bfc1ChAmxwfcx+ZMd8AT7HMNocrVNmeA+Db7KnyE2J+iT+H+k6zJ FTDtTP1JHlnlKXN6B9bldAj9t/USngZ90pNj1wL8R3cs0MwP7/Y7qCziT/9YASyHP1cB J53w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uNMPk3nt; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v6-20020a637a06000000b005138c1f1fccsi6686304pgc.31.2023.05.07.12.00.37; Sun, 07 May 2023 12:00:55 -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=uNMPk3nt; 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 S231287AbjEGSeX (ORCPT + 99 others); Sun, 7 May 2023 14:34:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231472AbjEGSeU (ORCPT ); Sun, 7 May 2023 14:34:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 096EA9EE8; Sun, 7 May 2023 11:34:20 -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 8FAF86119E; Sun, 7 May 2023 18:34:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F993C433D2; Sun, 7 May 2023 18:34:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683484459; bh=Cwi9G0RC9sDhCBbFheRaOVgx+rmiAvtJuPLG5ht1r7Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uNMPk3ntZAVS8YwlGv7g0/1DxLS+CXoeUiidi4/241Adf5EX2uPx2Ky9DwASPEh9P tlnzGdYjzsgWdMnSbcVsFbQBkNwMNDiI4ceLzELguWR78J0trAbI/463xvg2mGEKSz bUdNrvv8fgJ7YTZYWyWPg5bPNCyr7rMZyvkSM4VEzTtEX2/1HjNb7bq8J4HL9Hl83z SEaXt+7YLPVlPuSIBZ6vLJEZFk75f2J/oqpDKppyCOxKVxYoOd9z/H5zbisZ0NmT2P 5XW600//wLg/3j+ctQVwLf0s7QvgsztjxL+oa3vs58PktKJBcGCOY6YdVjk/GD7Hl8 pdupIoJGBLpbQ== From: Jisheng Zhang To: Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Albert Ou Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Guo Ren Subject: [PATCH 2/5] riscv: Add the T-HEAD SoC family Kconfig option Date: Mon, 8 May 2023 02:23:01 +0800 Message-Id: <20230507182304.2934-3-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230507182304.2934-1-jszhang@kernel.org> References: <20230507182304.2934-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,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 The first SoC in the T-HEAD series is light(a.k.a th1520), containing quad T-HEAD C910 cores. Signed-off-by: Jisheng Zhang --- arch/riscv/Kconfig.socs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs index 1cf69f958f10..ce10a38dff37 100644 --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -41,6 +41,12 @@ config ARCH_SUNXI This enables support for Allwinner sun20i platform hardware, including boards based on the D1 and D1s SoCs. +config ARCH_THEAD + bool "T-HEAD RISC-V SoCs" + select ERRATA_THEAD + help + This enables support for the RISC-V based T-HEAD SoCs. + config ARCH_VIRT def_bool SOC_VIRT -- 2.40.0