Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1966300rdh; Tue, 26 Sep 2023 08:29:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHfuXoWrlDWmnBfjFOcmj9l4Lc2czHj9T0AVQMrB7QG/vTdPTFiLYlzakth+2VLZS/13w1a X-Received: by 2002:a05:6a20:7f97:b0:14d:5796:bccd with SMTP id d23-20020a056a207f9700b0014d5796bccdmr10386058pzj.24.1695742176548; Tue, 26 Sep 2023 08:29:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695742176; cv=none; d=google.com; s=arc-20160816; b=i0J0JzlgCJJfywLLIW1x4HHNZ+ycsDj2VDDTgTIJOEuwOH8//Sc2jQ6baqvEdqOuC+ r9NP6GI+uPPjOWD3qkBNm8CCW42qXNoHdIT9vJAsx/rlSeZc0Rze68HUbh/00GGElBmt 8FR/HMxCuzCYZc8vzRHSTe9MZxfcCF90HcesFuQIL1RwX1/RVAwxWhYIQCHsP7LXzWGd actAZs2QfNTkMZGa4R/8SsvhblLosQU+yxWsxJSei/vDzufDRNio2ZME3NUeXuSHPb1R vEvq1e3em0N6EBSFb7m8xSuzsWldPpbX/WMBCm2IRkh7nZ7q2CQUEhPcadwG4iBwSVMl wSJA== 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=PZ8NWxX3XZ8O0amBBB9fjrfirMGFwy+I6ljBSmFsWZ8=; fh=ZvXsIZrxryzDvS3iPCUWtyWq+2pr1UhX/tZ0585ToNk=; b=K+EbndFAPPeTMy3zJWtwdnHUJbvQ92mGsS8xWW+j4BMtNHo0TGyseuDv2HiUJgaRdr oInjGkcanZ6SdpKY/u3DSWemII085T6bws4E/ExSwV5XG9qEhwFH0u5SKYY0WRlRrFdR dmaF4cXj2qxD1tOvIUqCVQiZm+GlSQY6A/f1VGonSihlb9U6aRw4TKJMmFYYSKFe/sJ/ lMg5xZPnlCOdw7SI0lf0Yp/2+qeVYcOiP98mvFCeE2xnE1DZ5Q7Oh1oXYZAvnuQwqtQC aYCEJE/rwOX3SUGkp0G/GQw0a/xQNFD4fbu6oG3VZ+4765kgYZl2J4CRXPf1Y9Nejhnz uHeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O+p4iHf+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id b12-20020a17090a6acc00b0027198fe5672si12541165pjm.129.2023.09.26.08.29.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 08:29:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O+p4iHf+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id DD5AA80BC503; Tue, 26 Sep 2023 04:31:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231289AbjIZLbE (ORCPT + 99 others); Tue, 26 Sep 2023 07:31:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbjIZLbD (ORCPT ); Tue, 26 Sep 2023 07:31:03 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E134FC for ; Tue, 26 Sep 2023 04:30:54 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-40535597f01so85306865e9.3 for ; Tue, 26 Sep 2023 04:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695727853; x=1696332653; 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=PZ8NWxX3XZ8O0amBBB9fjrfirMGFwy+I6ljBSmFsWZ8=; b=O+p4iHf+mYTPSokCOVLWZBbouNEqzZvpLJUSYs//oCs2QjVgSUYhKIxmOgFCJGfJ1e x9QKfVdnXAAKSNSuIuiajKbL6ypvqMstZHiS9aQXMSKeP3FGoP+POmr1Cgv5VCnd9z1P JWogQISp57s4HqnMv5/Vlt32qN0yIKsi7OMx6W0EvrHw/VILe0dykwTaal8Wm86e1fy8 JtBnCZaHdSDD/fETAWftJI1Yz+ayZXP9nCVfCuPNoDdQsUQMVKifLx4YaMCbNGRZB3RE n1KFhOZ/P/p3CItvup0JEwFmKAQWzMD7RFGW74LLM7dIpx6zm2YekiF0Jv312MRPYub1 dDgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695727853; x=1696332653; 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=PZ8NWxX3XZ8O0amBBB9fjrfirMGFwy+I6ljBSmFsWZ8=; b=udUpL0BwmlEoMWuHRyEyb5q+8hSffYLo8sCVxdl/7fVNzwY9jbHZPTI7fRqT+MLMYQ 0X+laFNBGqr3t3pZIDQRWAme3I5B9a5yen71gXZQcIrpRVjYCtqdzdMbwxPhaQVwaLZZ x6Tu4ZEo3/MUMSUM4LOvwEHi47oAXPiCP2v2KYUIe+D5Vs/Uq+JMyc0vVbAJkcYv76Pt qxAMyGwldTsRgB6nvIkMIdqDLQ5kmd02bR/8eIHe0WF1W44QKuqcAinF3r/UDxvgce40 KQQrptUstvmJSB/fNPaog9PSh1sbJ5XsPZVfX4FifVtWuekifQpWPr4GK4RmHHQjz+Ov ay6Q== X-Gm-Message-State: AOJu0YwMEyS+ZumpuRoGAjGMy5kCCAqxrIFK8T0ZLnh6q8XM/ubrYRrK KjiyU7ChtG2mylvH2VVUaYBwCw== X-Received: by 2002:a7b:cc85:0:b0:402:ee9e:ed98 with SMTP id p5-20020a7bcc85000000b00402ee9eed98mr8069517wma.34.1695727852468; Tue, 26 Sep 2023 04:30:52 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:c49e:e1a5:3210:b8c0? ([2a05:6e02:1041:c10:c49e:e1a5:3210:b8c0]) by smtp.googlemail.com with ESMTPSA id z9-20020a05600c114900b004058e6379d8sm6210637wmz.23.2023.09.26.04.30.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Sep 2023 04:30:52 -0700 (PDT) Message-ID: Date: Tue, 26 Sep 2023 13:30:51 +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 6/9] ACPI: thermal: Untangle initialization and updates of the passive trip Content-Language: en-US To: "Rafael J. Wysocki" , Linux ACPI Cc: LKML , Linux PM , Zhang Rui , Srinivas Pandruvada References: <5708760.DvuYhMxLoT@kreacher> <1942063.PYKUYFuaPT@kreacher> From: Daniel Lezcano In-Reply-To: <1942063.PYKUYFuaPT@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 agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 26 Sep 2023 04:31:03 -0700 (PDT) On 12/09/2023 20:43, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Separate the code needed to update the passive trip (in a response to a > notification from the platform firmware) as well as to initialize it > from the code that is only necessary for its initialization and cleanly > divide it into functions that each carry out a specific action. > > Signed-off-by: Rafael J. Wysocki Reviewed-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog