Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1574414rdh; Mon, 25 Sep 2023 18:05:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG6HDUeaQxtAfrk8eKGeVMnMIO5KF1mrZx1IOt7bikmy9tjhvxB9UJd4m0YKGMnB0NCqkgF X-Received: by 2002:a05:6870:9689:b0:1d6:c7e7:abb5 with SMTP id o9-20020a056870968900b001d6c7e7abb5mr11197040oaq.54.1695690353677; Mon, 25 Sep 2023 18:05:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695690353; cv=none; d=google.com; s=arc-20160816; b=B7r4829YUYjC5SjpaEdapEmKFsTXgbZ4VgzC/Ic1BniSZtSffm4L8V5AbFj4+JOukU YOAuOTnjyx8Artjoed0nTbbTLbuoxrNRI2NfLUl2caETvOCMobNhU0jR/7CjDLMISif9 yhACdOAkyn7ATSWvccFtspBP1UGGjBE1idy3hKkzgU8ru22AsnyMFg4X4Z1Qm6eOFwiB keOPj8kPz920pp1aH1TLjLn64CCdu7OSl37ZFNPPXN+RsXcnTI6PqMT5l9ux6otqWVGY vDSchmoRktEGr88vXHGdv3Ik2NZJdiUDpXjbLzdQSHkfE4GF76ONmbuDkBczw7ZK0bW8 kvtw== 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=wH2q4NDrTP0nkpBNjIpNRjV2lTawgN/pnwM9yGfrd4c=; fh=ZvXsIZrxryzDvS3iPCUWtyWq+2pr1UhX/tZ0585ToNk=; b=kyWZoqpTb4NWnaW0ymdP/A+8t5aaA/FaILZNm10S17Z3jlg5b/WnQ9H5fKrfGgi+7T ObZ6kFRB6+wvvUpsPk0G2Og5m8Qpr960RVJCCYi2CRzViqzIE1B9l8HbVy0zY6aAB64+ b4r00Dd4qFZMdWh12KiYZ2YgVxvMAtNiT0KGBrJDb7MdRqXrcp+eL/jGgc/TNU/O5Cci HGHAt7RwZ6Fg6U0cy21LqhhrbmtekjZ8jY9ZBelkbOxTOShUkv17K6Zu1SbjjH6yNsN2 5iRdjirSEtpP3eV7xPJFO1G2YqrdVquVhTtMZdVk9SlaUVO1Nr+Am02jfuC8qRs8daO7 OD9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="l/uBWKQ4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id l23-20020a63ea57000000b005789db12724si11350884pgk.353.2023.09.25.18.05.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 18:05:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="l/uBWKQ4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id E831E8050FAF; Mon, 25 Sep 2023 09:33:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231213AbjIYQdN (ORCPT + 99 others); Mon, 25 Sep 2023 12:33:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231288AbjIYQdM (ORCPT ); Mon, 25 Sep 2023 12:33:12 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA5BDFF for ; Mon, 25 Sep 2023 09:33:05 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-4056ce55e7eso35103815e9.2 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=c0FvznMB5wTuEnmOBRbZXrILKRE46Tm2W5Ir50FhfyvDITDsJur4VCUxktNMhSJkZN T014EoWf7f5PX7wp8cjmeznpX9drZvPY0FUTjsv8450SmBwW4hqXPzPimOrtU7Ii2McM FI0pOIGK/e6hdrpb2vG9X3Ch2NUZbhpCX3et8l/VTg4tDhPk575RSbyXW6HxRjST5pI6 wAW0tdJ1q75Nt5OMnzNKtlKQ18hRQ9L1FmI1FE2SX+jRhbLsK4L1iAbZkh3nGlG/vxnb qzJT/r3QYCBn8K4ik1boafkNuN13Pu7FP10pYLNn4QeW6I/StEq7d29GNTWdYFPiWNSi LvNQ== X-Gm-Message-State: AOJu0YyLlIYMFZ1ml3UU64eAWNNIolZDmCUL3mv4q2l9sq9Ff3B4MJII EjwsZ04onyg0RCROTwHWL2fGnQ== 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 X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Mon, 25 Sep 2023 09:33:13 -0700 (PDT) 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