Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5749106ioo; Wed, 1 Jun 2022 11:44:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMsNn0q6p0xkN094CuaYzCW2ahhb13n4qpURHSAqtN4V1mD9vv9+nPtZWkXfEgOo2CAD7S X-Received: by 2002:a17:90b:3e8a:b0:1e0:4f19:c63b with SMTP id rj10-20020a17090b3e8a00b001e04f19c63bmr737641pjb.237.1654109063310; Wed, 01 Jun 2022 11:44:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654109063; cv=none; d=google.com; s=arc-20160816; b=lCHi/+LS0yGKVcyJGQV/NveiYjDPFzGNB2PdfkY4isdHQnkzYmcSp3I96YSLQOgO55 EdQ9UrtXN11jmSCcsXlSpy9lVT/yGHMDFmRZtusiavaY5e/ZwY7q20fgi9FvPx8U/bjS 2b3sGjBYaYZUf5dJ32rOUa+qftCrquLAJuvc9BbzIlk1sbADrE4GBsMMUdVQ2R+0ZQrC 4ZCEj977Se0CtQUoDHMn8G765ETkEyN1QR7g5Xx30V3wpRpPJNvXBXQAuzHCj1EERgxz eVYYCWBsi/2AjAuFO2p5q5DZR6Vo5HqAX586gfQlh0vckGuiF6FBI/lWuGhlYV4TI4KS dUHw== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=oh/s391FoPRj7bo3nyZEBmODTYbkgHHGguibW+y9stc=; b=sWPjJQz09sJUipOsaEBeUr5dv54gtSYHXQxVN9NVioKlaApWsi0P7gi7D7UZOzYzFp Og4QfhsYjcO8TuffoxdhNInDImkHye6qFwweO53n7GbIBif7L4HnLWmW5JKBPsuzvmpH cc9KglxFxuo+PzUgmQLDxQPHHyB0AgAcvEAzuh0NiC9zJEYe2vviPrv2+2bQm67vWAqp JMA83w9/rcBjv6EZYoVyb103s42iZgOyTxB3pXBwaayumpWHVz0aul242AK4DH6WRAVg JFSTTrRMmpEHpxOv2KPXY3rV2UYK75dG+OSAlDjq7NX67RymeccSV8P0JQCZQMzt/ZG2 4w5w== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id g14-20020a170902868e00b0015b0d64802dsi3146517plo.68.2022.06.01.11.44.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 11:44:23 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A9D63CFE3C; Wed, 1 Jun 2022 11:39:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355528AbiFAPd2 (ORCPT + 99 others); Wed, 1 Jun 2022 11:33:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348694AbiFAPdY (ORCPT ); Wed, 1 Jun 2022 11:33:24 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9D341A3085; Wed, 1 Jun 2022 08:33:23 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6AC171FB; Wed, 1 Jun 2022 08:33:23 -0700 (PDT) Received: from [10.57.36.60] (unknown [10.57.36.60]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 007BA3F66F; Wed, 1 Jun 2022 08:33:21 -0700 (PDT) Message-ID: Date: Wed, 1 Jun 2022 16:33:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH 3/3] thermal/sysfs: Remove cooling device sysfs statistics Content-Language: en-US To: Daniel Lezcano Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, rafael@kernel.org, quic_manafm@quicinc.com, Amit Kucheria , Zhang Rui References: <20220601151441.9128-1-daniel.lezcano@linaro.org> <20220601151441.9128-3-daniel.lezcano@linaro.org> From: Lukasz Luba In-Reply-To: <20220601151441.9128-3-daniel.lezcano@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Daniel, On 6/1/22 16:14, Daniel Lezcano wrote: > The statistics are for debugging purpose and belong to debugfs rather > than sysfs. As the previous changes introduced the same statistics in > debugfs, those in sysfs are no longer needed and can be removed. I just want to let you know that in current Android kernels we cannot even compile the kernel with CONFIG_DEBUG_FS. I have this pain with Energy Model there... Some vendors might see useful info via this sysfs interface in bring-up of the SoC. I don't know if there are user-space tools tracking this information via sysfs. We probably should check that. I agree that these statistics look more like debug info, rather than something useful for control. Furthermore, we have trace events for the cooling state changes, which should be good enough for bring-up and experiments. I don't have strong preferences here. I tend to agree to remove this interface if there are no user-space tools using it. Regards, Lukasz