Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4217828rwe; Tue, 30 Aug 2022 06:38:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR65NIjwS7CeYN3RjM3AK/F9dpKWGgz6xi/IU4i2Gq+eP671dne4l5JGU7lmqxeB6nb3VzAS X-Received: by 2002:a05:6402:2756:b0:443:4a6d:f05a with SMTP id z22-20020a056402275600b004434a6df05amr20483384edd.396.1661866734346; Tue, 30 Aug 2022 06:38:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661866734; cv=none; d=google.com; s=arc-20160816; b=rJwsOwl9yuXqRKrCtOMFoEUxWTVCpy2MQ/iOtL5XvX0LZEP7tL/wml93Jkj9RSBAm0 5Ma6mb/2vLnr7YPS4B989lRZTsWeF1KPOdDoF5VSQPjjwfqChyYeQQVIxzIEoRPHKsRj Akj9LZBcho1eeTZqsQa28ddgmDA+ffMFjuIP4fU5sppFgGt4RmhC49B/N8ekACgI76kk lq+bSKXd+xlQ3Y0qQ8W7sTlv3r5yBsjKRZ3BM7+kL557gdt1RrWOXlqR+PmTeyy1oME7 Rrtf+ZhbOmfcOfTgRjvX+xgJvz0cJtUlUkNSUXLMjg58zXDBnZcn6htYe5Ljwjk3gdDk 39vw== 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=7s4lILp9cgE/VG98/TN3p3rL3NeB7y+YGCWWz/Ak6qo=; b=Xxtdlj/wbMKUq/Xvfywwn/416w2pP1vLYX7os1ioXLa76s+B/2OIpbS3DlI+Fa69eG P/rCqXCzaYGniro4PorEwH3z4734dB40AP03yiptIFq9Ojo2sejqaWsvxZozLx7lhvNQ lTx5a/7Y7U4oHtXFIY/ySBnJ/CrBbxZCANUdLqg0pp6hcqsI/lDLg1P1djGzC6x1qFkj d3qQdnHYqxsBp/1cLLNPF4MMTzYcN7BKMAIYot71E7ElalVh4w2ctPK51kzZaXJSLFwV jW9KctCIVLAo6nkcnddGVkQXzxTdc9mSBxbXyrSODSNLUyZBMh6p6z6Zr5saXZM3xuPn UUnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=L6AZHkI6; 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 x18-20020a05640226d200b00448af09b67asi2615124edd.366.2022.08.30.06.38.27; Tue, 30 Aug 2022 06:38:54 -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=@sifive.com header.s=google header.b=L6AZHkI6; 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 S229992AbiH3Mvq (ORCPT + 99 others); Tue, 30 Aug 2022 08:51:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229985AbiH3Mvi (ORCPT ); Tue, 30 Aug 2022 08:51:38 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3665D74377 for ; Tue, 30 Aug 2022 05:51:37 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id k6-20020a05600c1c8600b003a54ecc62f6so6075474wms.5 for ; Tue, 30 Aug 2022 05:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=7s4lILp9cgE/VG98/TN3p3rL3NeB7y+YGCWWz/Ak6qo=; b=L6AZHkI6qAhQKRgDVwck8jQPEP5pvVUbAewKRUe/QGZDUn6HXSmN7CBSKyiywVSxuc jx+z2pZ+bS6vETgwOq+5TPiOOZd/+INHG4k09nhpsh7oO7PbPKmVWluwQhTFnH7sTb+b TMfPZLKaY9wuJnFT6eo9KxVz+acW//pawvrgQZ8ioqEfagH4O9ZY4YJbhJGSmCJhEVqX 1LGL4eQupDP+4Yhh4q/cg3pBc1mapDtk8g7hqBfmgV4vCCm4eLh9sZ+RYQ4XWP950MEq U8V5zPoQfGgNugjHqnYldO7xIy93uKBSjuZ578J8OsdSqOQs1yt4iX/9O38srfbRYIq5 qWrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=7s4lILp9cgE/VG98/TN3p3rL3NeB7y+YGCWWz/Ak6qo=; b=74rcsaaYNd/k3PFohuh3LZUeD15BdKmjGpAYN3JenlqF8PzNzVvKgMZiZxajrfhD2+ gU1kf8HEbGR6lYyqGgSN97kMwa/24qF1T8Fp98wqt5yIpvWYQOCHM0NhwSqQ8DKn0UKy RptVWNnhlk1gcyt2QZh6kmx1ACBL56SyXXgUXkaoSGvxMmOzUEwSTnicjsCfWgi2F/Eh fJzeoYFLAuCygsdNqcNfbKy1xBG/LGSMBUUtx33yKApvCTU/cZOeRfd45r3o0bUZXnnZ 9Dr0FAkIMjNDqL6jxZzz/eVtSDJdjEPhXq+wrFpoyE9v2NZLQfK2KbEvYb5fZkhsp9Hk aQpA== X-Gm-Message-State: ACgBeo3jCyiN51W5yAnPuXXSJ+tuo5rulsX/MP5DN3Pj6AVWWqKT2aiP fT4/LWWXiFkF5orxOxUor4q/YQ== X-Received: by 2002:a7b:cc85:0:b0:3a5:50b2:f9be with SMTP id p5-20020a7bcc85000000b003a550b2f9bemr9329439wma.18.1661863895829; Tue, 30 Aug 2022 05:51:35 -0700 (PDT) Received: from rainbowdash.office.codethink.co.uk ([167.98.27.226]) by smtp.gmail.com with ESMTPSA id 14-20020a05600c020e00b003a3170a7af9sm11778784wmi.4.2022.08.30.05.51.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Aug 2022 05:51:35 -0700 (PDT) From: Ben Dooks To: palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, greentime.hu@sifive.com, conor.dooley@microchip.com, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org Cc: Ben Dooks Subject: [RESEND PATCH] dt-bindings: sifive-ccache: fix cache level for l3 cache Date: Tue, 30 Aug 2022 13:51:33 +0100 Message-Id: <20220830125133.1698781-1-ben.dooks@sifive.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220829062202.3287-1-zong.li@sifive.com> References: <20220829062202.3287-1-zong.li@sifive.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 With newer cores such as the p550, the SiFive composable cache can be a level 3 cache. Update the cache level to be one of 2 or 3. Signed-off-by: Ben Dooks --- Documentation/devicetree/bindings/riscv/sifive-ccache.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/riscv/sifive-ccache.yaml b/Documentation/devicetree/bindings/riscv/sifive-ccache.yaml index 1a64a5384e36..6190deb65455 100644 --- a/Documentation/devicetree/bindings/riscv/sifive-ccache.yaml +++ b/Documentation/devicetree/bindings/riscv/sifive-ccache.yaml @@ -45,7 +45,7 @@ properties: const: 64 cache-level: - const: 2 + enum: [2, 3] cache-sets: enum: [1024, 2048] -- 2.35.1