Received: by 2002:a05:7412:8d23:b0:f7:29d7:fb05 with SMTP id bj35csp186118rdb; Sat, 16 Dec 2023 05:07:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIUQFsm8zDfSbE+OE7FYgCvRF5NhFKkIUHS54R0p1feNK138v+kaDgrcC78zviI2NZJFq+ X-Received: by 2002:a17:902:b198:b0:1cf:b4ca:4e79 with SMTP id s24-20020a170902b19800b001cfb4ca4e79mr5592580plr.17.1702732071821; Sat, 16 Dec 2023 05:07:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702732071; cv=none; d=google.com; s=arc-20160816; b=CHLDzcFv8WLS+AJtxAhPYMzN1ILTsOt1GJN3/CwKSYKRzB7z8hoNyM3uD+HAOo5VPH IEi+KBkfUvFSzJ7IfQjQaSS2aEJr3R/RPrmrOggTAwTdlq4m9z8n7iUHJQpZjdWpeUSB vQBIFkZIi8HSkRkKoDROcswxLLqWLTL71LrS7wMVW7p4YhsK1UjyB2hviF1g45RRJ0z1 khD4EXe0pC51amgExGfR/J82bBzdIpzperCYCxML0GpEfKynN+kXG7sqPd0J6w5oAaGQ IAheOVLsGK5bQ2R3gsmhI2SadFNQQEaARTHuQ3DMn6tOLxqJzE42h8utCjclguqFLYzh qA/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=2yA9PABcuRMl+k8vv8i6eJb42f3opY6mv6a7XyGuueg=; fh=u4AtczyAtnRfAia63AtnP0SnDAhrb0V8OvusYxCwGZM=; b=TXsAb+jokM+JFWs6F7OoZwPswlVAu9qaP9mRqhZc55ZhLhvz58ffY66w/l7XAA90Y4 PYiGsYt5NJuyfbI6r94EvVNcaEOAidMD1CxflGQZQbpnWDQvrcI5rWg2CIsayw5rJ/Gu fl8kO6m4dq7a3k1+/LwS7ZoelHBsp9xvnwFzyqeeXnJbSggJwOyhyFA1Xj0oEVGIUsaJ RSas/6ZlHKSyH4dRa0KPf8ZtEUl3zVRZgBk89S4109ojZTUyfd3Ff/MqnxF9O+CptpGt ZpOLjOEeSi5reYfzuBvBnbaG34KFJMUkci3z6b9zKzdumTJABcAE2EpVXRYOcm0u1I59 F3dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TYm9Kvc3; spf=pass (google.com: domain of linux-kernel+bounces-2194-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2194-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q10-20020a170902edca00b001d051143067si5852797plk.317.2023.12.16.05.07.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 05:07:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2194-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TYm9Kvc3; spf=pass (google.com: domain of linux-kernel+bounces-2194-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2194-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CA834283B91 for ; Sat, 16 Dec 2023 13:07:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 06E6723778; Sat, 16 Dec 2023 13:07:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TYm9Kvc3" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49AF11DA38 for ; Sat, 16 Dec 2023 13:07:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a1e2ded3d9fso181416466b.0 for ; Sat, 16 Dec 2023 05:07:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702732060; x=1703336860; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=2yA9PABcuRMl+k8vv8i6eJb42f3opY6mv6a7XyGuueg=; b=TYm9Kvc3OD6leysSDZziMCLnhtlaAV/4cezs+YEoLSOlqyuaTpx0XsjtpnKSmqNFC7 klQ3ZvfGHJlXU+s9zHTeKthDgYch4zUMnih46oW1rV+KlAb0/O7kBBNQtqVUjkX1TwfV 2iL8H49Mxf3WgEa/NJYeVcCo6sYPoi4v+xuDAICpQuQPS/pTWoAwBIMo2/a2tVpU3O/E HaMiiaxZ+L5fke8y3oyRVjjCDiUIUpC5G4OAD+cF+JSycNOSgK35xoncprAMHPvigioM hI2uhbi9J4crLMM1rq9yX9w1AiX91w43NKuHMJF9fxM3ibWFua3sn9CgvijV3KOHcVFb Te2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702732060; x=1703336860; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2yA9PABcuRMl+k8vv8i6eJb42f3opY6mv6a7XyGuueg=; b=F0u3gTGc0pUXExOzBO1bKMIYbejxJSHe28el/4+rbFM8c5AuiluyR6hKbd6+v4zmbJ C5nY/DhEkfeBe9fpIh/8HL9NvukOV6A0Km/udEsaMfpzjFSkJm+Tk6QkV0xBt/MV5jWt YF91ajxLkPm3PULUQX4mMsCGZQ7T0hJjC9X8uPLkvPksTl2/bRBfq7Wm80QKKgV/YS4a ZOB7d3RZYKlRbq87XAE1FSxiMxVXYPuC2fU8D5lFctwtIvrhwjAU/wMkQQxb2h2M+/uJ dU3TBGBf9dvLjHkzSjNasZYlpbzOjfqyTKJMFS8x+8eZW0T8SqFWjWooYuvchDJA/QoF Eh7A== X-Gm-Message-State: AOJu0YxuE066OCTcFiYpK5dbVFyrVna3Una3Rgho9pERbkgp3NjdIspS c8rwZtyTenPcV3l++1PqCbOp6w== X-Received: by 2002:a17:906:3f14:b0:a23:f50:60f7 with SMTP id c20-20020a1709063f1400b00a230f5060f7mr2282633ejj.102.1702732060525; Sat, 16 Dec 2023 05:07:40 -0800 (PST) Received: from [192.168.199.59] (178235179137.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.137]) by smtp.gmail.com with ESMTPSA id vk2-20020a170907cbc200b00a1f76acb08fsm11042828ejc.134.2023.12.16.05.07.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 16 Dec 2023 05:07:40 -0800 (PST) Message-ID: <7530d783-00e7-4196-b18f-3eb372df8325@linaro.org> Date: Sat, 16 Dec 2023 14:07:38 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Revert "soc: qcom: stats: Add DDR sleep stats" To: Bjorn Andersson Cc: Andy Gross , Arnd Bergmann , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Baryshkov , Doug Anderson References: <20231214-topic-undo_ddr_stats-v1-1-1fe32c258e56@linaro.org> <4472fd8e-73a6-44b6-a1d0-c5ebc55d4211@linaro.org> Content-Language: en-US From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcm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oZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 16.12.2023 05:35, Bjorn Andersson wrote: > On Sat, Dec 16, 2023 at 01:05:53AM +0100, Konrad Dybcio wrote: >> On 14.12.2023 13:25, Konrad Dybcio wrote: >>> After recent reports ([1], [2]) of older platforms (particularly 8150 and >>> 7180) breaking after DDR sleep stats introduction, revert the following: >>> >>> Commit 73380e2573c3 ("soc: qcom: stats: fix 64-bit division") >>> Commit e84e61bdb97c ("soc: qcom: stats: Add DDR sleep stats") >>> >>> The feature itself is rather useful for debugging DRAM power management, >>> however it looks like the shared RPMh stats data structures differ on >>> previous SoCs. >>> >>> Revert its addition for now to un-break booting on these earlier SoCs, >>> while I try to come up with a better way to enable it conditionally. >>> >>> [1] https://lore.kernel.org/linux-arm-msm/20231209215601.3543895-2-dmitry.baryshkov@linaro.org/ >>> [2] https://lore.kernel.org/linux-arm-msm/CAD=FV=XX4wLg1NNVL15RK4D4tLvuSzZyUv=k_tS4bSb3=7QJzQ@mail.gmail.com/ >>> >>> Reported-by: Dmitry Baryshkov >>> Reported-by: Doug Anderson >>> Signed-off-by: Konrad Dybcio >>> --- >> Arnd, since Bjorn seems to be MIA, could you please pick this directly >> so that it gets into the next RC? Un-breaking booting on some platforms >> would be very welcome :D >> > > I'm confused, the two offending commits are staged for v6.8. Which -rc > do you want this applied in?! And you posted this patch yesterday... Uh right, sorry, I should think twice before sending such emails late into the night.. Konrad