Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4761639rwl; Mon, 10 Apr 2023 16:48:33 -0700 (PDT) X-Google-Smtp-Source: AKy350ZqExDyfmfyAhouGx685ylkw6C+p6EOD6vsTZhUjlY80SMhKPMRPNZDGEfM+eBPjzQJe/0W X-Received: by 2002:a17:903:1c4:b0:1a0:7584:f46f with SMTP id e4-20020a17090301c400b001a07584f46fmr23720026plh.9.1681170513257; Mon, 10 Apr 2023 16:48:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681170513; cv=none; d=google.com; s=arc-20160816; b=oHU3HR6IDstWdu9FxSwCvx91EJEnyMMdXALplpmSwXJX9Ouxu4meWI215guU/qrWgb KahRgXIIQzNzgrit+HdCG1Zbvn5coA+EL3efh7x3ePkh+Oe1yQNjlD8dK2IeUbkX2Y2H kwdtldtS1T7kwSe/fW45xd46PjjAc/OYJIbRUqoIRsGNCtgbXWDI/7L+NZge7/4UmCdk byLpZw8YyLa8z9eKowa35GQeS1R4q5umrHSmoYIsRMG54Y6t/wvgMGH70szqsTfV4QRh wXjMOrkEGvrg7wbXTU5TYR9xtLDOQSRfGar9u78bT/1pH5SuDJHuczb7mOUzDc1cT25R uHiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:date:to:cc:from:subject:references :in-reply-to:content-transfer-encoding:mime-version:message-id :dkim-signature; bh=TirLwEYBbP4VCi+NhiloSleSjPJ6R//R3r7qXDcBu9I=; b=uF3TVCsLnia1uasQllktOn0BX8kzvHSvu2z4mN/7LGTiUxNXvAeHy9zD9XMksuzt82 lwG0kA0RKbamMExPtk7RDlLU6mI0YwofpKKMXsizSA9zqjkZMQcQyDtzX8aquOp0t0M5 KI7HlPW5SPxsoOpTemI09gU/qIPYF80RaakMGGUocdiRRFdnxdn2JqRPLaxxBd/vl47m mb9u4zXszXw6eyL6qz17JsEyFYKmxrP6w/BjUWg3UWyLzo2+h8S+VGwyspJmGpNDo1Kx 9GqnXgfzfbukRUTYUfS7dlVXzfNZBUmZZRGK/YhwTSrJfW2i0V9TWvVm+3iNley4SPc8 gyxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g8NZ85bP; 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 83-20020a630256000000b00502f348e761si12000562pgc.721.2023.04.10.16.48.20; Mon, 10 Apr 2023 16:48:33 -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=g8NZ85bP; 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 S230045AbjDJXg0 (ORCPT + 99 others); Mon, 10 Apr 2023 19:36:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbjDJXgZ (ORCPT ); Mon, 10 Apr 2023 19:36:25 -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 BB1371BC7; Mon, 10 Apr 2023 16:36:24 -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 56A6E62003; Mon, 10 Apr 2023 23:36:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A49ABC433D2; Mon, 10 Apr 2023 23:36:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681169783; bh=TirLwEYBbP4VCi+NhiloSleSjPJ6R//R3r7qXDcBu9I=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=g8NZ85bPEriDDh2zVqaVoPv4YOphP1x+jqdyhswCs08JNo32vx/uYplhfJmCSIKY0 BtnpSARwyar60MHcxFJSDO0Kzl4Qys/FwC9jLiCu3c+MpcJANIMbkMTB0yNlrWfJpI 9MTcOpBJ952vtKUngt7jwgtFfRaEni39llZhTcrGA8MprqhHOp7xVAFSLGuLhmheYn SvIVXC6xKsLfhRqdopJO3Za9tVcS+zdmR/n8lNcZgnuW9d4pvdYstlMM/4ZwV51CRI bH3pcNUkb8szMUfCFodqES2p20hmnF/cOevZzKSLrtWe0+3MxRse7xA2p0xOzCIHl/ qe3jScwMooj9g== Message-ID: <216176104e507b860e24399bf020d836.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20230327-mvebu-clk-fixes-v1-2-438de1026efd@kernel.org> References: <20230327-mvebu-clk-fixes-v1-0-438de1026efd@kernel.org> <20230327-mvebu-clk-fixes-v1-2-438de1026efd@kernel.org> Subject: Re: [PATCH 2/3] clk: mvebu: Use of_get_cpu_hwid() to read CPU ID From: Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org To: Andrew Lunn , Gregory Clement , Michael Turquette , Rob Herring , Sebastian Hesselbarth Date: Mon, 10 Apr 2023 16:36:21 -0700 User-Agent: alot/0.10 X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Quoting Rob Herring (2023-03-27 11:43:19) > Use of_get_cpu_hwid() rather than the open coded reading of the CPU > nodes "reg" property. The existing code is in fact wrong as the "reg" > address cells size is 2 cells for arm64. The existing code happens to > work because the DTS files are wrong as well. >=20 > Signed-off-by: Rob Herring > --- > Note this should be marked for stable so that if/when the DTS files are > fixed, then at least stable kernels will work. This is untested, so I > didn't mark for stable. That makes it sound like it breaks for existing DTS files. Is that the case?