Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67080C61DA4 for ; Thu, 2 Feb 2023 11:44:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231743AbjBBLoX (ORCPT ); Thu, 2 Feb 2023 06:44:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231904AbjBBLoV (ORCPT ); Thu, 2 Feb 2023 06:44:21 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 463B47963D for ; Thu, 2 Feb 2023 03:44:20 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id h16so1414799wrz.12 for ; Thu, 02 Feb 2023 03:44:20 -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=nCHejXhzVWqFTVZyLcdF4swd6AONbEaaLxACeSyN1HY=; b=uvFhN3rLZVF1afPjrHRSt8+dkrUJgBkkEqLZHWcSDHskFxqWoSRc17t8lWVcsj5TKI bCrJbXhS4C91YlI91ApwQR4mZbInnmc3/mEiwLMTbBS5dSibfFxRD0L8mE8ppELFhvou y9fWBjV9TAlqu7fDSzKMY9KLF8MZvDkBD+Jt/K7fFay54RXA63C8VFH5pewPLEjvlZCW lzQy5VGprXMEjMCvC3LTcfVkwyTO3O+gd8jRsLSHTo4IUdfzI1l1V5NAbfiS3G8QIMaj MVa8D+YEiL10Wd3lFIFlTzPmQtugWuNGJCYr1cX7ihnMgDWdpJg+WWmydESSjnQIsFgm TTCg== 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=nCHejXhzVWqFTVZyLcdF4swd6AONbEaaLxACeSyN1HY=; b=JjGf6Pq1DNPM2A4OcsergKqAxCIYojRM1W5OD9Uj7c8zFDo/5Ea0X4dLFl5aiY6y+3 XcnK6gl9+Pk9ytbH5OYHalJwRLqawD1/I9R4K7PFPPz0PnGcW762FVeUd3fJRsehN8EF BykiAdYvA65G/SA3gHg3siyS9osT77PzOR3meLMHag+HyM79/zBSrdZoEYHYw5bY0Rmk BPeJVIUK1rxcOCgPbIVzYXbhSwQ1Dm2KWu/6PK1bT2oazs3J7kf1VkF5lTznnjWHh5Tf n2q8E7tCLglsfAtkbZ+IeORahzDyRFa1EZIDTi4DaLwy+d55ac9vpmEm/nzHw5mBk41K ZmaA== X-Gm-Message-State: AO0yUKX7OYQ0Hc1uSc2J8jEMZe+ORGAFhQJlXbf78t0Q+LIEVh22EVwh EwRw6DLuZ4PkhoEzoepIvMbQ6w== X-Google-Smtp-Source: AK7set8UU7ws8XjaNdTE+B4sJRlBCk+opRei+C9yXbDCk4VrtIC1lx5AfEbB+AMDV9VVNKM5XTqiUg== X-Received: by 2002:a5d:598a:0:b0:2bf:ae16:98f4 with SMTP id n10-20020a5d598a000000b002bfae1698f4mr1784314wri.30.1675338258757; Thu, 02 Feb 2023 03:44:18 -0800 (PST) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id z12-20020a5d4d0c000000b002bbb2d43f65sm19688663wrt.14.2023.02.02.03.44.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Feb 2023 03:44:18 -0800 (PST) Message-ID: Date: Thu, 2 Feb 2023 12:44:17 +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 v1] thermal: ACPI: Make helpers retrieve temperature only Content-Language: en-US To: "Rafael J. Wysocki" , Linux PM , Zhang Rui Cc: LKML , Linux ACPI , Srinivas Pandruvada References: <5641279.DvuYhMxLoT@kreacher> From: Daniel Lezcano In-Reply-To: <5641279.DvuYhMxLoT@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/01/2023 19:17, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > It is slightly better to make the ACPI thermal helper functions retrieve > the trip point temperature only instead of doing the full trip point > initialization, because they are also used for updating some already > registered trip points, in which case initializing a new trip just > in order to update the temperature of an existing one is somewhat > wasteful. > > Modify the ACPI thermal helpers accordingly and update their users. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki > --- Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog