Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp242629imn; Thu, 4 Aug 2022 04:18:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR4/SQWdgv1RiBBwxc+mK/LNNkBEbegIYSgdbkf3SzrgnUZcw2+4FT73FFYbRZvN1w7O8Ojm X-Received: by 2002:a17:907:7396:b0:72d:a080:86a9 with SMTP id er22-20020a170907739600b0072da08086a9mr1016860ejc.49.1659611921403; Thu, 04 Aug 2022 04:18:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659611921; cv=none; d=google.com; s=arc-20160816; b=EfQYIIcqOOwB6vmt2wm8KYVMc3dm+94dxS19Uxf3ppwixGTqsUMuIe4PXF/RpbLdiX vm6/um267I7CesLtRSGGYnicPM/9b57OWkER32/tZ3u93M6z7UY3kGvyql4I2INsp+bU YlL9TzuWUNbHG9xKaVgK7v3kT2SuwbUlKBifp5T74bgecYi+vM/wh5DyZVRgSGWV+FO/ z6KEp0Q4Y7NWg+qyjjkHjfoh3iJGpYAqMT6cZva3ET5v0tfIbVWuDWY4IHqc+5auZ3dW Ut0awnVpfhAN53LBX6aHSqjk/T3yG2TS1ejo8Gphbt4bonTpH+al5caBVlTW5qPBvQ2j sPMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=om03wwz+ZRnw5a2g8oUVqYCoqVIUjoKqhcO8rFCadcw=; b=PqZ1CqBPXG4CyxBqET8zbfR+n4kX8eKreGWC3gKC9sAi3g5hCPyDYxdRzxISASFKwP Ht7w85f705hl/OKI9rcfwn0yuAmhYL/THi0y+7sfhXyhH6+8nxp7gA/+L31lvZXHONN0 8yAl8202VHDmSa3SCkLUtjnCSf1HRztF6B7qJq5SJ5vGdG7cYj9a7xXvu6ekIMiDZOEX xA4tI4bue7M1w7eG9pWNLaYDZn5m4LqMXkdl4o6TSJLB0JWEFe90H/E8jgCXrtmg41+M hY93OZwcWlDLiIwAJuxEpLWbEGonVr41HXMwqn2qJfLuYnCCD0Gz5JdO7scpuNWPYMZB BL4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M2Va+IhC; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a18-20020a1709063e9200b0072b3b1c0a90si553172ejj.339.2022.08.04.04.18.12; Thu, 04 Aug 2022 04:18:41 -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=@linaro.org header.s=google header.b=M2Va+IhC; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238498AbiHDK07 (ORCPT + 99 others); Thu, 4 Aug 2022 06:26:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231177AbiHDK05 (ORCPT ); Thu, 4 Aug 2022 06:26:57 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 997462C65D for ; Thu, 4 Aug 2022 03:26:52 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id x39so20567030lfu.7 for ; Thu, 04 Aug 2022 03:26:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=om03wwz+ZRnw5a2g8oUVqYCoqVIUjoKqhcO8rFCadcw=; b=M2Va+IhCt0l+iJnOqhZr3jywFUBCv/qc9QlFrkONLKlv3qU/cb0fMmpmmzWFQZXRg1 bN/k+HBNAeEQF2fddmXqxd7UOx/LRnNQ7yDfBWlROPTejYU385tvHmUvkR6Uc1EAYehC xxchK75ONT490fdepDKJRHPQWIjW5x1IPrXMGDbqhcIRioqcdXSiyLcNpSO7Vy0ZDRwI 8JUBp9UClNtzPYW9ytkrreB9ZmxbHzRMFBLylK6JCnl7jua2M/JQ9QPzOgZmJDAxPG9z TJYirVwMwviVjMceEks+yOLYH2DZtSmXOAC9msiiusP106Z9wGC6CXG+rhzu+nQhMDE7 qPmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=om03wwz+ZRnw5a2g8oUVqYCoqVIUjoKqhcO8rFCadcw=; b=rxus13Q7ZLFYJacTrCWZbmUIX+cmwW9CpYbCcS1qi4MWEIk0/Tj2BXTkpG+JNpMkSS 5S5zz/FpykQ9N9FUVB2pWjxRAdLIWdaqxXow0wm6xKHz3WU5G9/0xWlwkCVDD6uY4Vg7 GCVLitEG3XVRnxTC5Yo5QNNRRav2CQzZk0dhfV68jOwGTKkkseaq+0HbSseFXIFvnW3r fVIN0hU7r7/lY2CV5kPszmqxiZdBIVaRU/oz+rVsBO/tR04JLwnvFfCmUWfh5A7wWLQ3 46QEgqkFmx8/ew1/Mgk9/bLrPNvc/2pHzpfc8QVGHXX2JlrUSxpvzdAc743IBWpxqDLq bIAg== X-Gm-Message-State: ACgBeo0SMU/4Q9b+VIgSuvA3ZUzBHKkwDnDrp3PPhEBQcMtYhrjqiCtt nBbZhokeNV2+6rvtMok+l1zBJw== X-Received: by 2002:a19:6414:0:b0:48a:eb80:816b with SMTP id y20-20020a196414000000b0048aeb80816bmr440726lfb.360.1659608810844; Thu, 04 Aug 2022 03:26:50 -0700 (PDT) Received: from [192.168.1.6] ([77.222.167.48]) by smtp.gmail.com with ESMTPSA id u12-20020a05651220cc00b0048a83336343sm73833lfr.252.2022.08.04.03.26.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Aug 2022 03:26:50 -0700 (PDT) Message-ID: <950740ff-5b00-93f1-d39f-b71680958f7d@linaro.org> Date: Thu, 4 Aug 2022 12:26:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH] dt-bindings: riscv: fix SiFive l2-cache's cache-sets Content-Language: en-US To: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Albert Ou , Conor Dooley , Atul Khare , Sagar Kadam Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220803185359.942928-1-mail@conchuod.ie> From: Krzysztof Kozlowski In-Reply-To: <20220803185359.942928-1-mail@conchuod.ie> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,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 On 03/08/2022 20:54, Conor Dooley wrote: > From: Conor Dooley > > Fix device tree schema validation error messages for the SiFive > Unmatched: ' cache-sets:0:0: 1024 was expected'. > > The existing bindings allow for just 1024 cache-sets but the fu740 on > Unmatched the has 2048 cache-sets. The ISA itself permits any arbitrary > power of two, however this is not supported by dt-schema. The RTL for > the IP, to which the number of cache-sets is a tunable parameter, has > been released publicly so speculatively adding a small number of > "reasonable" values seems unwise also. > > Instead, as the binding only supports two distinct controllers: add 2048 > and explicitly lock it to the fu740's l2 cache while limiting 1024 to > the l2 cache on the fu540. > > Fixes: af951c3a113b ("dt-bindings: riscv: Update l2 cache DT documentation to add support for SiFive FU740") > Reported-by: Atul Khare > Signed-off-by: Conor Dooley > --- > I split this off from the existing series as there is no dependancy > between this cache change and the gpio patch. The prior series can > be found at: > https://lore.kernel.org/all/20220726170725.3245278-2-mail@conchuod.ie/ > --- Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof