Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp1900882rwo; Sun, 23 Jul 2023 03:24:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlGWDGCCuwGIqTaeKXEW7tkIeljgMWfn4rzNXAgbb/gn1uGC/R/v7TJt3rhcVL2uX693+po1 X-Received: by 2002:a17:903:2304:b0:1bb:4861:d39e with SMTP id d4-20020a170903230400b001bb4861d39emr7262230plh.12.1690107868763; Sun, 23 Jul 2023 03:24:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690107868; cv=none; d=google.com; s=arc-20160816; b=j4dRpMcjxCrvCueNHdZ7bgwlZ8wu07LFCJtzsKbyIHBhkwKLAnA0EZSu6h6WiDw32i XpEiV+tYMgKeFx2m4sKeEXRxoAmX7eXOX5O6+WAz1/cQ8PEioQe6JQrzPIxW8W0+ybYV AwnaAdFpwNtyme3ddgzcX4W/m1dRbB483KbrA4MY4BipudEshIrEOeouUeOHXkkwVsjD 1mz9fDyN7rBm+htQffPSl1PyuDrtQ619/p0ki2Q6DHMXUuHhYXpqz2m/Drv4QE9u+Ib3 DOhwuneD2fleO5kXJVMDYIUaDTGwU6WODQ7//8zWdbMLL82vC2uwClSwelGBWmiFa5X8 cJHA== 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=sQnaHUD9wuMOE3wezpKDM9nUt7ND/gLr6iVuqLZzBH4=; fh=pEzMByEnePV36x3XCCNauQuREaASp/TIcmpU1ppDINA=; b=FR19v6LIDfV2Fx/jbSCZRH8NhXQOi5VlsjR41DRJnrFDxBP866EBIQ2wpIGRECYnXy LPicR9EKtwInCEjLfvydQv90/jt15ghNHVpRCMFKUZ2cbag7lRJvN6gohV08en0UVtqK Z39KTFArHGiOb3HA2SDMeoGvGagIuuf9kmitI/bLcSBNQnyhLGnJovJB33ElKJBJLc5C gY1/pgHjoV3xPPrOK1wKNojiYBe8/uZ1PUlh+qMmsLz/R+uAnN4xGy1R78i3ZNtC4g8j sDnEQw0LhGD+2cET3212XWv502a+3YukgZM6TosScGWfPFUHy0bQrKDJZFZT/dk2heWT ky6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XzLZ9kIQ; 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 30-20020a63165e000000b0055be953a11asi6503681pgw.668.2023.07.23.03.24.17; Sun, 23 Jul 2023 03:24:28 -0700 (PDT) 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=XzLZ9kIQ; 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 S229668AbjGWKT2 (ORCPT + 99 others); Sun, 23 Jul 2023 06:19:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbjGWKT1 (ORCPT ); Sun, 23 Jul 2023 06:19:27 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC96A12F for ; Sun, 23 Jul 2023 03:19:25 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-3144bf65ce9so2442516f8f.3 for ; Sun, 23 Jul 2023 03:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690107564; x=1690712364; 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=sQnaHUD9wuMOE3wezpKDM9nUt7ND/gLr6iVuqLZzBH4=; b=XzLZ9kIQIPdAT2k56oxPsSoqbz+G1OM4yafqVUQgldpGNve6mYzAXJasO+quR2LeXX QbR7hyaXoq+9WWS9zJfRi0jzj1BeaGg1p6NgGDKnQGWZyBEuWrRUb/ph5OHsfk5r/COx 5h9n11aITNmrOVTaHmOTAbYUy0gpU/SjMwKDgrdZR1RW27NFCEjNEQKqPGX97F45S+sR ItpDU4WrRGC2rRr0CqH6btFrLcL6ee11TYh209HJFTWEvXJcscAnxNHDEm2oL7cDIqeA Mt9sAO5OwxLSfhOb/UcbxkNj1obGZqA4vA1+aanPwhN0Ce13uj9ox9k1lWIdkwuDjk9G JrvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690107564; x=1690712364; 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=sQnaHUD9wuMOE3wezpKDM9nUt7ND/gLr6iVuqLZzBH4=; b=hicL9KaxEa+chCniAgOgXdKRPQ1JI+cNh/0Z/+qwstAO/NtC46/HzTu5uFjRm3Vcq2 VOJdtps4dI9WpxT6BGVIIHn69r4zOpfyziFAdxETvoq4aWeO5zWPtjeZC1W2BoHb2nsq wyOP+CUAQk4/i/PNOtYTnLrVPLIRqYcthzQzcNXdwk/Lq1Y5gZZ+0+zVKUvmEVM69tMV f+7wg4IA7ObQTkSRGOolcoRb/xrpoLeizQUjNrv2QD15aq014LWB+c5xhJL/jcVG4TPk qkM6lpgLHjFohWp0fqoZnJcljyJ8dalVuWYB+bSeQE+heq/tp9Z6V22zpI+ZHNsUbacd Duvw== X-Gm-Message-State: ABy/qLbiSyg7Ww8nMFlDNeQbGvwzfYxb/N/ujQGMgWAsPHn7sBUvELGr /EoJeIMI3rRX2auqxeNfMT/uJg== X-Received: by 2002:a5d:4845:0:b0:317:5b29:f10a with SMTP id n5-20020a5d4845000000b003175b29f10amr634212wrs.47.1690107564264; Sun, 23 Jul 2023 03:19:24 -0700 (PDT) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id m24-20020a056000181800b003143ac73fd0sm9319421wrh.1.2023.07.23.03.19.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 23 Jul 2023 03:19:23 -0700 (PDT) Message-ID: <2e0bf65f-0452-c859-d287-a9762bd965ef@linaro.org> Date: Sun, 23 Jul 2023 12:19:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2 0/8] ACPI: thermal: Use trip point table to register thermal zones Content-Language: en-US To: "Rafael J. Wysocki" , Linux ACPI Cc: LKML , Linux PM , Michal Wilczynski , Zhang Rui , Srinivas Pandruvada References: <13318886.uLZWGnKmhe@kreacher> <5710197.DvuYhMxLoT@kreacher> From: Daniel Lezcano In-Reply-To: <5710197.DvuYhMxLoT@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,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 Rafael, could you wait before applying I would like to review the series but I'm OoO ATM, coming back next week? On 21/07/2023 14:44, Rafael J. Wysocki wrote: > Hi Everyone, > > This is the second iteration of the $subject patch series and its original > description below is still applicable > > On Tuesday, July 18, 2023 8:01:20 PM CEST Rafael J. Wysocki wrote: >> >> This patch series makes the ACPI thermal driver register thermal zones >> with the help of thermal_zone_device_register_with_trips(), so it >> doesn't need to use the thermal zone callbacks related to trip points >> any more (and they are dropped in the last patch). >> >> The approach presented here is quite radically different from the >> previous attempts, as it doesn't really rearrange the driver's >> internal data structures, but adds the trip table support on top of >> them. For this purpose, it uses an additional field in struct thermal_trip >> introduced in the first patch. > > In the meantime I have updated the patches and tested them on a system with > a couple of ACPI thermal zones. No differences in functionality after applying > the patches have been observed. > > The update is mostly related to adding extra locking around trip point > temperature updates and some hardening of the .get_trend() callback routine > against invalid trip point indices. > > Please see patch changelogs for details. > > Thanks! > > > -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog