Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp7021545rwb; Wed, 18 Jan 2023 12:23:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXuRQf9w3Spx67YHvqSewBg1pbQMlMfCNcRGFPtkpLheaOCH1V0qsNbmQpTKmADWJ7/iQHgA X-Received: by 2002:a05:6402:5d3:b0:482:9afc:c542 with SMTP id n19-20020a05640205d300b004829afcc542mr9806095edx.14.1674073407078; Wed, 18 Jan 2023 12:23:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674073407; cv=none; d=google.com; s=arc-20160816; b=nnjiZfn80dQY2lfL+A1zS68X/UxtzdKpQsXOoCsTuh6AwVOIpStZ8cQa8b/X1OiV1P VsMIemOS3K7WcAFUdwL7lqwlpTkT6it3llk0KLgjwCZyV/vsnfhm5Ac8LITHuq6GQHAb +MGr6pmxXOh/ctnmfZn6ppFypsP9SBQ72F0cud12GBNlXuf+fehfTailSQMsOp/2vMNl IQ61kuvk0h6BS/5+16sGQJMHoyajqzlnr9KxYsf9OTzCjv0WooSJ9UIK5q0n177an2Sm k82jnrR39XojabEGqD/lcioFSosA+ZTWxQ8TtRKgOBWuQZvAxwKv61gJ1XLmrMiDiDhm exbw== 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:dkim-signature; bh=7dYEwLlHafATWFxoot4gAkpZeqySUmli4e77a+Kz66Q=; b=nSkqG5al0stRP0lYE0oFDT4zQ9H2cOma9en+BYnP+vZIjF5jTK5VqGcxRzqLyd+bYi A0t34Qv8vFbFk3D5FaNSLk085Tl/GC2aTXuCXpPxCndf2Nz5ppw/JRjIRbrfgF81AALW ++DnAGMXEQ1a8acFmzvUeZv88DEpNvVswcod9yGRnFKMwoEbQ2uV0se/JwZz4siyRP8X 2B4oD8gnuxyvWI2DQKuYiDartG0GOqTBozFRQ2RSBKRWc8iibxdHrQ4i9aQbV3snJiKq XBSwJ0G8y6IFGootpc+LnMuEVV7DBE5n8MfUsrL2fB8Rv6Ghsc95nSR/8cUZ8N2I2BHN /5FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YG2vrGt0; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h17-20020a05640250d100b0049e5fecfe85si649770edb.508.2023.01.18.12.23.15; Wed, 18 Jan 2023 12:23:27 -0800 (PST) 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=@linaro.org header.s=google header.b=YG2vrGt0; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229807AbjARUB1 (ORCPT + 45 others); Wed, 18 Jan 2023 15:01:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229905AbjARUBJ (ORCPT ); Wed, 18 Jan 2023 15:01:09 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 148FE59E40 for ; Wed, 18 Jan 2023 12:01:02 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id g10so18148wmo.1 for ; Wed, 18 Jan 2023 12:01:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=7dYEwLlHafATWFxoot4gAkpZeqySUmli4e77a+Kz66Q=; b=YG2vrGt09g0yHnyyvId1HwQgn8Ll2rfdESrrdfrmWb1rRAXLf92doKETB0eY4JhCdV d8ZN3RPTPar5q3ru582m4Cb0kbKdASv0uiQMcABTflWx0A0NajrZo5pOSJQXW4Ke/gYu TNT0UTkw9nAtuGiQ7Pcle7xM68tzESmuBMgS6l4HYXRmZqzXi6iXffITyI67mO1lbQf2 I4iu3rdhJwsLHUFK/mLaElQZPfd2DOoygFff0ey2+2HTidDl/8tXiHgWCNVtKBV4RKsH aC+EmW2ddQCDx+YvPw2o81xfKit3Ek3bJWCZ/m5c1q2l3ZR87lV4KOC0L+jI/AuetXCX Luew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to: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=7dYEwLlHafATWFxoot4gAkpZeqySUmli4e77a+Kz66Q=; b=heH3sMjGJn2byrHBboAyIKT3PWE4uond8vF7thtBuGZ+O+AG6Q3Mxcs2T/vdioE+bG RqHYkKopWnbK8MNtKk/dtXxVncecq4cQcu8mDbQZxlRGRprc21KEN1v55vgXc9lXlWVp k82eWVbEvWIAiJED9Yuep7g/9JHbsg7BiEBNFiNtz111lzRxB+8MObXjgSNvdk0e9dyw LpSkbzJVRQmxyVIJLxsaf9CNvpjq7FiE9mvW1w5MHcfhUMDMqol7iYnv1dKVXLyDcgbp +sRwrel/izsJc8ZKmLgBtlmzDuGf3xqIK60PyL0qqWtHmLpEfsLHbpyrNxuIC6CWQhph cdiQ== X-Gm-Message-State: AFqh2kpf/eood6B04rqfcojZwrwbQJxL3NjnXF8Evbms24J94xUqxJfZ AABrpGuuZUT9AjFlw2Ehl8hSJg== X-Received: by 2002:a05:600c:714:b0:3d9:ed30:79d with SMTP id i20-20020a05600c071400b003d9ed30079dmr7915447wmn.18.1674072060565; Wed, 18 Jan 2023 12:01:00 -0800 (PST) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id b5-20020a05600c150500b003daf98d7e35sm2635658wmg.14.2023.01.18.12.00.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Jan 2023 12:01:00 -0800 (PST) Message-ID: Date: Wed, 18 Jan 2023 21:00:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v5 0/3] Thermal ACPI APIs for generic trip points Content-Language: en-US To: srinivas pandruvada , "Zhang, Rui" , "rafael@kernel.org" Cc: "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "christophe.jaillet@wanadoo.fr" , "linux-acpi@vger.kernel.org" References: <20230113180235.1604526-1-daniel.lezcano@linaro.org> <2627c37e07dce6b125d3fea3bf38a5f2407ad6a1.camel@intel.com> <5aabdd3010a02e361fbbe01f4af0e30d11f0ae6b.camel@linux.intel.com> From: Daniel Lezcano In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 18/01/2023 20:16, srinivas pandruvada wrote: [ ... ] >>> But we'd better wait for the thermald test result from Srinvias. >> >> A quick test show that things still work with thermald and these >> changes. > > But I have a question. In some devices trip point temperature is not > static. When hardware changes, we get notification. For example > INT3403_PERF_TRIP_POINT_CHANGED for INT3403 drivers. > Currently get_trip can get the latest changed value. But if we > preregister, we need some mechanism to update them. When the notification INT3403_PERF_TRIP_POINT_CHANGED happens, we call int340x_thermal_read_trips() which in turn updates the trip points. -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog