Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2623285rdb; Mon, 4 Dec 2023 03:00:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHPwQLku6TgfMKpELILuvZQ0qOKEdcpZnOU9vDllfrS44xI1vzgWuz2M0ZC963gK8RH8p8U X-Received: by 2002:a17:90a:e395:b0:286:8db3:c1c with SMTP id b21-20020a17090ae39500b002868db30c1cmr1189850pjz.48.1701687648835; Mon, 04 Dec 2023 03:00:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701687648; cv=none; d=google.com; s=arc-20160816; b=DC+6+zuyZ1Zm/iU2/I55YbVy9ZMe1XzPd7Lanu4p+vVwQyOqg5hK5gcwFyBmsBqsWZ zsoRfIQC47gQMwrPrUi17w5SQvGZaK5tGk6oAjy+QbxHLcZ3uHdH8XINI83xQmM+WRD8 yAt9PatpPz/wQ1P2O1yTBoRX3A1vlQNekf+MbGElCjHJ36h6aNj9cRyL9+TUyB/ERv3i zgVLUJjXYVibKwkws/BGMofAT1OmcuCES3prw/JT/W53k8vr1eDzlUeYqUCysJCiYAgC Ih5zsRGILxo0WORl2Wc91i17z32XzYZxhWmGkgYyOlyjw8lrjMhFIogEia2S7ieGk+bX oP2w== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=zMJ0dX/x7e8dMzBxocrNbXjh+xb4eJogbtARHYIGT34=; fh=r7eO97lDNI4V1BniioHPnM2U6BMAvHnY8yM3UPusYrU=; b=AxHN0jO3PSMFt/xLs/QM3PCIPCWN4lsBPOUt44q2ieqRzMqZk65KIwTEThkvtnbWyl gOpcMO3c8EKyuU8uJ+XMGR74gG8MXCYpVud1OkXjI0g3kmy1iAwZqzToOB/BpUbUogJh TUSJ+3n0QyVOef1U3NM9mXTvMoZrlyVo3MAtFTvI1B6LWb42MfMYJ2MjyNoSv6iSFatU h/ZRmEqPW69njma6NIIAUdWHrwg1uj70T3ryZNwreH0ZgKmQxyqL5WOp6WiUFTLpA6Vg aZiO5b39sV8J2izBSampddXlv4gmOF1I8on8pU9Zn6EcxaQzBETgvkiZ+zhe0KrgAK2l sdmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ne9EJZO4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id d11-20020a170902c18b00b001d07ae424a0si3066401pld.63.2023.12.04.03.00.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 03:00:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ne9EJZO4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 01065808EE7F; Mon, 4 Dec 2023 03:00:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235455AbjLDLAa (ORCPT + 99 others); Mon, 4 Dec 2023 06:00:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235537AbjLDLAU (ORCPT ); Mon, 4 Dec 2023 06:00:20 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4158D42 for ; Mon, 4 Dec 2023 03:00:22 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a18b0f69b33so764792366b.0 for ; Mon, 04 Dec 2023 03:00:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701687621; x=1702292421; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=zMJ0dX/x7e8dMzBxocrNbXjh+xb4eJogbtARHYIGT34=; b=Ne9EJZO4GsfVsiKH3aTqAwueotFkkuXvUu9F2g28kvVrvIP7mWX7eEMS5+nqEKvH/X a3U+mXM9s1rqxYm0UP53URII58ksq7b6jDOoUTMwj0EbxhqaNkKnMMBjAUzBOHyhFlkH 53Vgo5zvIO1i5NAnFkacaTchDFgKfChPT2WA06iibPWG2DlMOc8tF7MNZCWJwuXwtHOe 4i2t7Ww8l+5gPKv2Dv3/5FTDuZKxlCAaaFQP99vU4DnlvTuUayu2H/cbC+Jdrt+kso/C wWQyunDSCvBdLwJ82ytxouD+VezMKEUBkQrlZF7DpV6Bq5cA0WVUiNJvpThOFx/nPyyv QWuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701687621; x=1702292421; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zMJ0dX/x7e8dMzBxocrNbXjh+xb4eJogbtARHYIGT34=; b=k2JXAvAVutdO4SBgSeJ8+1blfSOSiK0qc1QJTYttVpO/s6flA3ZZkOwIANN9PkTI1V fvOhsTSh2IKikU2VSg4u4NUqysQ2To07dQuldBlGAymY8Xg6ivNUYbGJ62rj2dkLywj6 oBt+asjTZdS8C6y2luCHZjLWfWJ1iIC3Y4vFlZ4UTilBwI8gGmcSvmyOjeCDk35H6W/q 1Qk7m6/Ri3fhK7JiH0O45I14HM9vlNYy1iFZLTldWMfwpTKZgdx+gluGdxAUU9AeEd4b ZmarG2ep6dvBjoO0tGsL9HUSnYj/xe7dqT+ubnH0t/NTHn1pkS6hXkJtDkamBbThieUA zwkw== X-Gm-Message-State: AOJu0Yyrssrgc8lkAEfFLOBjX4gIyygf4ermfeKo9DqXXpuzDDzC2Ya+ A2lxI8oKGyz+/Y/AtuS+00IKSA== X-Received: by 2002:a17:906:268e:b0:a16:7f44:25bf with SMTP id t14-20020a170906268e00b00a167f4425bfmr4621773ejc.17.1701687620957; Mon, 04 Dec 2023 03:00:20 -0800 (PST) Received: from [192.168.209.83] (178235179097.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.97]) by smtp.gmail.com with ESMTPSA id w17-20020a170906481100b009fad1dfe472sm5135963ejq.153.2023.12.04.03.00.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Dec 2023 03:00:20 -0800 (PST) Message-ID: Date: Mon, 4 Dec 2023 12:00:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: qcom: msm8939: Add clock-frequency for broadcast timer Content-Language: en-US To: Stephan Gerhold , Bjorn Andersson Cc: Andy Gross , Shawn Guo , Benjamin Li , James Willcox , Bryan O'Donoghue , Leo Yan , Vincent Knecht , Jun Nie , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231204-msm8939-timer-v1-1-a2486c625786@gerhold.net> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBE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ul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20231204-msm8939-timer-v1-1-a2486c625786@gerhold.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 04 Dec 2023 03:00:46 -0800 (PST) On 4.12.2023 10:55, Stephan Gerhold wrote: > Looks like not all firmware versions used for MSM8939 program the timer > frequency for both broadcast/MMIO timers, causing a WARNING at runtime: > > WARNING: CPU: 0 PID: 0 at kernel/time/clockevents.c:38 cev_delta2ns+0x74/0x90 > pc : cev_delta2ns+0x74/0x90 > lr : clockevents_config.part.0+0x64/0x8c > Call trace: > cev_delta2ns+0x74/0x90 > clockevents_config_and_register+0x20/0x34 > arch_timer_mem_of_init+0x374/0x534 > timer_probe+0x88/0x110 > time_init+0x14/0x4c > start_kernel+0x2c0/0x640 > > Unfortunately there is no way to fix the firmware on most of these > devices since it's proprietary and signed. As a workaround, specify the > clock-frequency explicitly in the DT to fix the warning. > > Fixes: 61550c6c156c ("arm64: dts: qcom: Add msm8939 SoC") > Reported-by: Vincent Knecht > Signed-off-by: Stephan Gerhold > --- Ouch. Reviewed-by: Konrad Dybcio Konrad