Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6160873rdb; Thu, 14 Dec 2023 09:49:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGcyEAgdBY3jQrauogjpfrEejRnpPkT47JSWd6vx6hMevRfLO6+0vbknsAzwIfsSq6Q03YM X-Received: by 2002:a17:90a:304f:b0:28a:f311:67c1 with SMTP id q15-20020a17090a304f00b0028af31167c1mr1947441pjl.75.1702576145059; Thu, 14 Dec 2023 09:49:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702576145; cv=none; d=google.com; s=arc-20160816; b=VoPYzK9oF9YQF+EgKZE+g6z2p83E1Bq7t9xxvLDdcuQNVPItAFx+Igne+HA4sunY4v dM21gOI90B/c5Ogp+yNurqTGgXuTpRG1OZS7JZ1UzKt5Liph4kokwk2tgmgmd/T2CjQq yknRsDEbpnx4tQJeyydr9s0npzBon09W0WLMktefOcLy/+G9VG+HrV9n2T8NHB75mk8h sd6exRi90yLmb8krGYsH0YY7wNHAfTGEQGCwXaJ/SH+5gStA9ZZ/akRL6nsFXKHBg/3/ /VdsZaJ7NGQmBBTEMqb2EmhuhtTtGWEMVKKHgjk9estN58mRQmATcXpcnboRW9cGFPdO VYSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=NjzqvPNodJ+AYwzDBCkKXGHQ6gaMigpuT4ZV+tVtwn0=; fh=UNkU0lqdGWjOAy5Icjx5X6Fb5fMRtnsFvI8/lPtRWsU=; b=ukhOF728eaxswd2XO1ikRKAYdGKFIARHhuavD5L1utXzuBBv7gfvYaPmYNK/TsZoJY J6WB7qemdHtbSUQQe9/7BojwroOCoJoybFj1urC1QHOjNyNMErWaDIHb8Iyq+ay35WTx w7DtWSiz95Rq8miqFw2+QZCVEH7E7IkHNPacn/B4lCemtwkiQyyicgRG3uCquQtZ8JXH RoNRfS1Vorx9mnMpAdFAxpPanYkUykxmjqhAJ+2rVd8L86fzmVH2QU4syGYawNVkuzAE 4oOFUJ0pI4zXfYJZchK1vNTof0PA8eaWAo7UMYOlBE12iwi9q3YhE131V/hZish5ghNt uoKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=QMX77YNk; 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=chromium.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id i20-20020a17090ad35400b0028b158f2c52si800727pjx.96.2023.12.14.09.49.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 09:49:05 -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=@chromium.org header.s=google header.b=QMX77YNk; 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=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id A9BE3808A350; Thu, 14 Dec 2023 09:49:02 -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 S229656AbjLNRsk (ORCPT + 99 others); Thu, 14 Dec 2023 12:48:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbjLNRsk (ORCPT ); Thu, 14 Dec 2023 12:48:40 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AB1A99 for ; Thu, 14 Dec 2023 09:48:46 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-54cd2281ccbso10871679a12.2 for ; Thu, 14 Dec 2023 09:48:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1702576123; x=1703180923; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NjzqvPNodJ+AYwzDBCkKXGHQ6gaMigpuT4ZV+tVtwn0=; b=QMX77YNkSHZTpggSQrIC5N4wr+OHe1IQP5U81JUUZFQJ1OpjhW7nASj9ckutE2M99X bSnHg95vFOJLS95EY+AuIcJi5GBrASccia9+X1lRDSTvpoPPnSej5yGQsrXFTZVVZ2V5 CKXzHiCHaSKlNrDEGT2S7vhue8x5iIwVWALVU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702576123; x=1703180923; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NjzqvPNodJ+AYwzDBCkKXGHQ6gaMigpuT4ZV+tVtwn0=; b=Q34ioTokdBl9hfA9O1cUelj0t+7kiUZVPJrYeyCs0ld6Y8MvewzMEwtXPW4XZABVAv 5sOiFGq6pawmvb4kR6CLVMEFKncRj+S0pB1hkn4qAxfcTHHxgWLfMJckkcPCsU4YHhss xGXzKWhvPcKeMM7MUtK9ID1yDnD1oXcmYgIJl6xAV6j0qahqW/yLpC99JXSpl/0fYBKz WId51vwtnHuTLjbeBBkv9UQLxnjUdgfF2IHiw+YOJ8IF7GEmoF+Pcc8cYcu2VxLOzhGZ Th7Wsj0eP2lEv6Bp4hxWKv70F3wlo2jJwO29KP0qIGaiGsY/yEJS50ntMlZrsiN8gmFw 2ARw== X-Gm-Message-State: AOJu0YxyXB9Ir9ghbW65Lh6SZgAd6jUO7n+LCHqEjC0EnaqEVQVuli0a JqpZKl1VBXCjUjuTvyRna9VTit1GLfhsRejCvAr9yP33 X-Received: by 2002:a17:906:73d3:b0:a1f:99e3:b53a with SMTP id n19-20020a17090673d300b00a1f99e3b53amr3532328ejl.5.1702576122907; Thu, 14 Dec 2023 09:48:42 -0800 (PST) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com. [209.85.128.43]) by smtp.gmail.com with ESMTPSA id se13-20020a170907a38d00b00a1f78048f08sm8929500ejc.146.2023.12.14.09.48.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Dec 2023 09:48:42 -0800 (PST) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-40c3963f9fcso215e9.1 for ; Thu, 14 Dec 2023 09:48:42 -0800 (PST) X-Received: by 2002:a05:600c:600a:b0:40a:483f:f828 with SMTP id az10-20020a05600c600a00b0040a483ff828mr554730wmb.4.1702576121615; Thu, 14 Dec 2023 09:48:41 -0800 (PST) MIME-Version: 1.0 References: <20231214-topic-undo_ddr_stats-v1-1-1fe32c258e56@linaro.org> In-Reply-To: <20231214-topic-undo_ddr_stats-v1-1-1fe32c258e56@linaro.org> From: Doug Anderson Date: Thu, 14 Dec 2023 09:48:24 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] Revert "soc: qcom: stats: Add DDR sleep stats" To: Konrad Dybcio Cc: Andy Gross , Bjorn Andersson , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Baryshkov Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,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]); Thu, 14 Dec 2023 09:49:02 -0800 (PST) Hi, On Thu, Dec 14, 2023 at 4:25=E2=80=AFAM 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=3DFV=3DXX4wLg1NNVL15RK4D4tL= vuSzZyUv=3Dk_tS4bSb3=3D7QJzQ@mail.gmail.com/ > > Reported-by: Dmitry Baryshkov > Reported-by: Doug Anderson > Signed-off-by: Konrad Dybcio > --- > drivers/soc/qcom/qcom_stats.c | 187 +-----------------------------------= ------ > 1 file changed, 1 insertion(+), 186 deletions(-) Tested-by: Douglas Anderson