Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp375064imw; Tue, 12 Jul 2022 23:01:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uSdXeL89+7vrA4kFkO964dm1XhXROUZLNTKcYc/bXAtYim0orN6HSnh4aG+5Gi9EJHX5+7 X-Received: by 2002:a05:6402:500b:b0:431:78d0:bf9d with SMTP id p11-20020a056402500b00b0043178d0bf9dmr2526579eda.184.1657692088763; Tue, 12 Jul 2022 23:01:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657692088; cv=none; d=google.com; s=arc-20160816; b=IlYJgpaF4cbvs47w2iaYbz/3CZmZl69ZbHc0liMWNTea0xqY8SAsX6En7oD8k1gJ9c dIbRVwVAeN8CXqXDM7yVwQZY0ULD1f5nAVGwLh10SZHqB9jEUITqC+GZdgd5Q4BNyQgm HImJC+5IJWckfsc5TPkG6VmfEsJQs7s+ZkDykglQPVFQRqCysZu0QJZj7DJo31xHCPx8 dxFDZdjxVQmv3okcvMEmETSH4WLBSHotI89QLwxBhjfqApzGEBmwpfhZwvLkInssH0zH 8YTUiGqizwhtntF9cnyuo8lT7/IqWXZs/1GPQFHp23cny2iKz7Mc3h8shUsHnLKxWWgW 7M6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bqY9j2p3B/UdPFq+10Kdef0sEvga9Z/IXyX0Li2xgBc=; b=y2954TGTEQ1g4Rto4V5aVPnyDxgSTJV+DfcOppc8hWvjB9fDVwq4XyykUveji6sl6e +4KxbfpdrnWNtvTiuCID6ZhiCQ9qZiHoTzi8BuTb9L+Jf8WTGtU+rOkxoDYUoA+qaIl0 MXH6l7gtuUWDVWrWViA6rS5XgcdLQBvoI6VTBRbibloe/63fbFOWOi7Aex03xmvrNKdZ TkjVY4lUG6KYbmhGSIUblZjCXoeQadVmLUmdFlba9CC3fT/BRfboYDGq8S+CYOuUxeBr aJf7YHufBEL6psjyhrxcTuCMmzi9S9lYhns1dfMJh0vm+M6GK1q/dcvgRzZ9Wa0qWcTa og9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IsYLPU1B; 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 cs13-20020a170906dc8d00b0072a6bd1a193si19036697ejc.112.2022.07.12.23.01.03; Tue, 12 Jul 2022 23:01:28 -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=IsYLPU1B; 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 S231836AbiGMF60 (ORCPT + 99 others); Wed, 13 Jul 2022 01:58:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233669AbiGMF6N (ORCPT ); Wed, 13 Jul 2022 01:58:13 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71414735BF; Tue, 12 Jul 2022 22:58:10 -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 ams.source.kernel.org (Postfix) with ESMTPS id B7F09B81D05; Wed, 13 Jul 2022 05:58:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B401C34114; Wed, 13 Jul 2022 05:58:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657691887; bh=+TFecpe9VYqNJy3cLeqbEtIOTbGwOcH+jyHof4F95ls=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IsYLPU1Bjagy0Wep8RytHKxRpNtS30kzPubfzlikEyjPw/ExMjGxAGav4P+/99i36 OaQOrrzkM2yQPa58rSwFx57FHmxUpG+VEarOKajzEv9kPTBvkIZeAjiuf3mIUPUsnM zTDKVhyWMekJyQYgETZGZ2Xivd69UjLMgRa7yDqrEMsD/6RLet6aX9AaZOZg95LwHN GZWmFZAKu4zfIJJ74KREfuKVr5Dil0UFdETQbDLNfPVVBCWOJj920BJ7jbQaAXHXog VL/gUZv+YVTVcNPrf7EebY0W9Bax8aHtRJVumxqomKF8JExBPOKDM6sKM1yP6r5lnv HFIoC4PoOkfJA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oBVNx-0000Cp-2E; Wed, 13 Jul 2022 07:58:09 +0200 Date: Wed, 13 Jul 2022 07:58:09 +0200 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Johan Hovold , Rob Herring , Krzysztof Kozlowski , manivannan.sadhasivam@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp: Add lost ranges for timer Message-ID: References: <20220707160858.3178771-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Tue, Jul 12, 2022 at 08:53:34PM -0500, Bjorn Andersson wrote: > On Tue 12 Jul 09:53 CDT 2022, Johan Hovold wrote: > > On Mon, Jul 11, 2022 at 07:28:26PM -0700, Bjorn Andersson wrote: > > > On Mon 11 Jul 01:56 PDT 2022, Johan Hovold wrote: > > > > While addressing the current issue, this looks odd to me. Why not use a > > > > non-zero parent bus address here instead? > > > > > > > > > > I guess we could express the frames relative the timer range, but that > > > would imply that anyone porting downstream dts snippets would have to > > > translate these addresses - or more likely would end up just copying the > > > existing cases. > > > > > > > And please use hex notation consistently for the addresses. > > > > > > That seems like a reasonable ask, I can fix that up. But on both > > > accounts this matches what I merged for all the other platforms in: > > > > > > 458ebdbb8e5d ("arm64: dts: qcom: timer should use only 32-bit size") > > > > > > > > > So I guess we'll also need to go back and fix up the style of all the > > > other platforms - just because we're not allowed to express the frames > > > in 64-bits according to the binding... > > > > Would have been easier to just amend the binding. I don't think that > > #size-cells = 1 constraint is set in stone as it was added when > > converting to DT schema. > > Rob disagrees with this idea: > https://lore.kernel.org/all/CAL_JsqJMMCBnukFZLJ8X14s1PwqT=VEwKjDVj8mm4h55pZpcuw@mail.gmail.com/ Ok, thanks for the link. I'd still prefer a non-zero parent-bus address in that ranges, but we can change that later too. > > But you probably should amend the commit message and mention that this > > fixes time keeping. I had recently noticed that something was off > > (journals rotating, and erratic cursor blinking) but didn't realise that > > timers were broken until you posted this. > > > > That sounds like a good idea, thanks for the suggestion. I guess you're posting a v2, but otherwise feel free to add my Reviewed-by: Johan Hovold when applying. Johan