From mboxrd@z Thu Jan 1 00:00:00 1970 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 95ABECE7A9D for ; Mon, 25 Sep 2023 16:33:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230184AbjIYQdN (ORCPT ); Mon, 25 Sep 2023 12:33:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231213AbjIYQdM (ORCPT ); Mon, 25 Sep 2023 12:33:12 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCFD4107 for ; Mon, 25 Sep 2023 09:33:05 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-40572aeb6d0so32766035e9.1 for ; Mon, 25 Sep 2023 09:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695659584; x=1696264384; darn=vger.kernel.org; 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=wH2q4NDrTP0nkpBNjIpNRjV2lTawgN/pnwM9yGfrd4c=; b=l/uBWKQ4MymajoQwF2vMmr3xfpddhzyesAmLVswoU2/ywPK35T2FByRxE8JEhBeSjt peEB5x4NcuQsTc4e638WmUd+/pTcI5FEfsd/EtpyG1pN52Vy4z//p2o+XwaQDHkVp1TQ fWN28wlDukLeH30BoYQi3ecTaKGzq1JKUsBx7wFImazLEi5ONkKGK2CobaWELJy2Fdou /IuiHJjhDpz87Q0KhnAFP97vKGNYH0dK6T0deXdXNstB/Wdt3Ox0aH7KwISDmwRH2+Jc PJY1nTLlEgJtZ3OWa6IUSjcPIKXN8rjBOqxza2ikXsjxD/sy95now7C+NcxDoStF2bnF Gzbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695659584; x=1696264384; 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=wH2q4NDrTP0nkpBNjIpNRjV2lTawgN/pnwM9yGfrd4c=; b=qteLCRzsSxtQg3mwKiIkY+m/h69fExmPQA8hHRmWuIxTCBn4iXW9+EJlG0nntVXk0s 85b4TMoH3+i50mcnFDoGuptsQJp0yOJ+VL0q/l6K0/+Crg2GNVtusSxVCiS5U7PUbCgs 5hH9gTQ4TlYK8K+wo3H9moXAUd+GgO9maTby58gbm4iNB0uFZdhjT1guzVWVnI588UR4 zy4jm/qxMjNJX6dM8QJHd/6ftUf7054QUrqGDZNF6SL+pzzFaGImZ3yU/olFpCrGDThB UoqC8aoXrWxBPN5xAv9eqvxp8I1l+Wh6EsiSjWgnxEBEiPxbX/C9GgK4dQq9W9W1y/ah rr9Q== X-Gm-Message-State: AOJu0YzpEUwG5EizswCyZzAMK3LrpKIpVKykNpixTxzkplsiUTWR9wVH Al74ijBG+hlcTbAOgvoNDZuL2w== X-Google-Smtp-Source: AGHT+IFpj/H8k5T91oUvMgi2o59IHxklRYgFKjGBIRq5HmF5ufoPZE96JMlpGweodhDYrrMQmOWItQ== X-Received: by 2002:a05:600c:3658:b0:3f6:9634:c8d6 with SMTP id y24-20020a05600c365800b003f69634c8d6mr6183252wmq.18.1695659584104; Mon, 25 Sep 2023 09:33:04 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:c0e1:63ab:648b:6287? ([2a05:6e02:1041:c10:c0e1:63ab:648b:6287]) by smtp.googlemail.com with ESMTPSA id j9-20020a05600c300900b003fe407ca05bsm11465024wmh.37.2023.09.25.09.33.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Sep 2023 09:33:03 -0700 (PDT) Message-ID: <3c3ffe47-4812-1ef6-216c-6d9a7e57e296@linaro.org> Date: Mon, 25 Sep 2023 18:33:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v1 5/9] ACPI: thermal: Simplify critical and hot trips representation Content-Language: en-US To: "Rafael J. Wysocki" , Linux ACPI Cc: LKML , Linux PM , Zhang Rui , Srinivas Pandruvada References: <5708760.DvuYhMxLoT@kreacher> <3249479.aeNJFYEL58@kreacher> From: Daniel Lezcano In-Reply-To: <3249479.aeNJFYEL58@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On 12/09/2023 20:41, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Notice that the only piece of information regarding the critical and hot > trips that needs to be stored in the driver's local data structures is > whether or not these trips are valid, so drop all of the redundant > information from there and adjust the code accordingly. > > Among other things, this requires acpi_thermal_add() to be rearranged > so as to obtain the critical trip temperature before populating the trip > points table and for symmetry, the hot trip temperature is obtained > earlier too. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki Reviewed-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog