Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp855082imn; Tue, 26 Jul 2022 11:07:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vSWzim7rITkoghwqKH1T5OuSzeCFEUGxU25SwzPPrdtg7Jl0FwiHVtBDjdrf9Zsta4ANz3 X-Received: by 2002:a05:6402:15a:b0:431:71b9:86f3 with SMTP id s26-20020a056402015a00b0043171b986f3mr19180132edu.249.1658858871493; Tue, 26 Jul 2022 11:07:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658858871; cv=none; d=google.com; s=arc-20160816; b=ShYcvEHcZMY0lzvLbPU6AWEEgbBzvOiknbNolefUoIlmjpxbCm3lwmIzlwLfm/LW1d 9/sjdxTP6K2WeyCLR4xVsBjifJIEHygw4KGhS+APPLsW4MIr07jEy0zmygwJ2C85F9Nk k0YzKVTXU6smxbTJ96x6WXaoybJeu46Cwhevl31MS/k5U8uV/a82N2iDD4UuLY8HIJv+ wkCWZ38rUE6pv9eZ+SjWZWrwxp7ZQev+I+3f2ezprWM9nPdxeZUUqkwJoIw+v6jaWyVI Of6jHUQGzRK0hyrsKoc/bVQnDqZqr8NrjBoPdwZOD7hxfIeF9M5WNS4AD0r4xxQFyohJ xdCQ== 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=JHc7AYlRXZ6aiCtTe+oSlD5N4Ua+N3EzvkXaFf2RC4o=; b=SySSC5Rbmax3wvUglU87lwlMohow7HEaNpEu2S6IEqnehqCD4Fb387usdDoJgzOoP/ +7CrxJ3Dk97UHZgVywVivJIymWrRWpkSFA7moMANYLLW1BGfFYydFdXVQUG1eI2bCZR2 OVGyeaZ9zrcwi4fpOrs9bXmeqs5c27I2+Yx2kNUa8wA7phltAVMYeU+Abq/tRikDSUJW d4cyqRprPaM2B8dGEyEHk3OT0KFusWIals98Ea4ufCcDhXFfYUUphvAVXa65RH6JT4kk 3SaJ60bs2CYs+TAqvX9l26EgeFlu/6Aa0WR8t5a1DNDNsJ81oNiCT7d725h7LWctFvso lpkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N0deSDI+; 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 dt10-20020a170907728a00b0072b52039a38si15905774ejc.734.2022.07.26.11.07.26; Tue, 26 Jul 2022 11:07:51 -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=N0deSDI+; 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 S239423AbiGZRfc (ORCPT + 99 others); Tue, 26 Jul 2022 13:35:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229677AbiGZRfa (ORCPT ); Tue, 26 Jul 2022 13:35:30 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C89BFBF75 for ; Tue, 26 Jul 2022 10:35:28 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id q7so1840366ljp.13 for ; Tue, 26 Jul 2022 10:35:28 -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=JHc7AYlRXZ6aiCtTe+oSlD5N4Ua+N3EzvkXaFf2RC4o=; b=N0deSDI+LiMOpces5+etS+NS14zNCm+md+u9gARDG0ixEpQGvSTtzErTuNz2esW0bT pXkajtBnlcabT+ZLAsxwBTnlCw0OlA5Cnt5/ohO0aXrKf0uwf5hwWi+MviSEd1CBBRjP GARs+6N9PoIAG51nVHvY68XB+6nN5SRbaAn23aBQTdq0DEDKIKgdLAY6y7p2XvQ/XosN Pd37hCg3n0SvCLNIHyOn3l0YWoYBZjVqlvxzuBK6aPAttokOg9VMKY/XelUJ/ZtuLpoj 0gVLchzNRRmyDsHubxvRY9zv5ZG+0x3LJCGdwPqzLDj1wQMo8FO3NBAQE4g3UBz085Vd cq5g== 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=JHc7AYlRXZ6aiCtTe+oSlD5N4Ua+N3EzvkXaFf2RC4o=; b=gtACw2pjfhebyeIJ8hJcyLmnWYWKcoSGnr7EK32/YqiAlml/9O/FxYGnIX4bORrC98 LlZaJk5ECxuVSA3pEbyPyEqq510UUVZl51c2rTF5176Sv48O6PH1AEAMOiqC6RV2HCwE RLwDB9ayT2FqVjv8EyuGwafcHxbDjmzmv6kKzg8t09mW04/N2g8yJ+m5OktrZHfGtdZU 0LJrsS3e+nBiybZ33Ddx02PZyq8E8dEFLvgLymUpTbxNBWQ5twBG3DgvrEftYq6hdmjP GyEWnuj0EqPLOsAb3FBQAoR+BYXJioisTSUGSV1ZO3Feb1s3u7L9wMsk59seyeyoTYjy chvA== X-Gm-Message-State: AJIora9BTZvE7DwuNbAK/kx4oQRI3AKgRD7kgfo3eBhARFlsrFKpDZaM oAauhAiE5xHTK4iqJRmoOOpjTA== X-Received: by 2002:a2e:a16b:0:b0:25e:8fb:a1e1 with SMTP id u11-20020a2ea16b000000b0025e08fba1e1mr3784078ljl.270.1658856927106; Tue, 26 Jul 2022 10:35:27 -0700 (PDT) Received: from [192.168.3.197] (78-26-46-173.network.trollfjord.no. [78.26.46.173]) by smtp.gmail.com with ESMTPSA id w14-20020a05651234ce00b0048a7ce3ff84sm2246967lfr.285.2022.07.26.10.35.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Jul 2022 10:35:26 -0700 (PDT) Message-ID: <246f132a-a23d-7c53-38a7-2bcec50d65e5@linaro.org> Date: Tue, 26 Jul 2022 19:35:25 +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 v3 1/2] dt-bindings: sifive: add cache-set value of 2048 Content-Language: en-US To: Conor Dooley , Linus Walleij , Bartosz Golaszewski , 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: <20220726170725.3245278-1-mail@conchuod.ie> <20220726170725.3245278-2-mail@conchuod.ie> From: Krzysztof Kozlowski In-Reply-To: <20220726170725.3245278-2-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=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: X-Mailing-List: linux-kernel@vger.kernel.org On 26/07/2022 19:07, Conor Dooley wrote: > From: Atul Khare > > Fixes Running device tree schema validation error messages like > '... cache-sets:0:0: 1024 was expected'. > > The existing bindings had a single enumerated value of 1024, which > trips up the dt-schema checks. The ISA permits any arbitrary power > of two for the cache-sets value, but we decided to add the single > additional value of 2048 because we couldn't spot an obvious way > to express the constraint in the schema. There is no way to express "power of two" but enum for multiple values would work. Is there a reason to limit only to 2048? Best regards, Krzysztof