Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2104038rdh; Tue, 26 Sep 2023 12:31:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF5bm5chTpD2Bu2mLqINBiuLcV+WzqXhlQpYbXs6STHTqdqQRtPgGSRxvREMAgGHHxM/v5c X-Received: by 2002:a17:90b:893:b0:268:29cf:3231 with SMTP id bj19-20020a17090b089300b0026829cf3231mr9996494pjb.3.1695756704678; Tue, 26 Sep 2023 12:31:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695756704; cv=none; d=google.com; s=arc-20160816; b=d8dpqFqNdwnDa1YFlmruDhETvl6bkiYl8SB/Vdd/ptDUcIhO9UdC329EfsACqas+8j hPQjYoLy48dVDrUpiCru/wqhI+GX8C+rigVilUpGhsrl8E6yLPW33IFpcRwn4vY276u9 kI85EfMQGLSH1MUK1by5VsN6HeFC+7fCiIXEVqXJ1sbILawdr5YlMmp1zuTChC29hHOe XjV+ChVbozZZxEu+rX+mHBx1HLvVMwvqH+fEt6mGc2Vq82GZZHh0/vKxsUUNXEeqmE28 Tv+zA6oSmL7Ld9hi4J2GdbG+Z/4s+XyUkw9UkdJNeuR32NTUaT4R9pYzuYczc789hdLT u+2Q== 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=lUDqzgKzbv3Gg1WyHYLHJCasPYrE5OE5lNvp2LrCBsI=; fh=ZvXsIZrxryzDvS3iPCUWtyWq+2pr1UhX/tZ0585ToNk=; b=o+6A1CFVdeVVuq4tdCf6fUD6uhh1uowHSMJn92AKsPxiCZnMvL+2VAJHiUYhkSCE7y i5hSya5q19OS7y/TLw2zuqwQes1qevbI0P0BiT51eQJq9il7G0bNVdc0vszgW44eEkMH S41AyAZb0DuuJivAU68a64syqo/g41HJpYayGyp8ximOK5acEsixkzSG8QHNu9x3iNiy w9qIeNgb1NHmyjXcYIvirVj0OrIcPRkJZ6HSdVNj9mw3EHnqFD7A8eqlKt1mO03VIV4E M9n60GkU8QZFN8KITn2xp55f9I1ykmYQuFo4vphr6Mw1wcdfN7RCGad9GFQg8bR0Ixjr QKMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Z6iQd7/7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id b5-20020a17090a9bc500b0027755bda20fsi5890252pjw.70.2023.09.26.12.31.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 12:31:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Z6iQd7/7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 979AC808690B; Tue, 26 Sep 2023 06:05:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232437AbjIZNFL (ORCPT + 99 others); Tue, 26 Sep 2023 09:05:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbjIZNFJ (ORCPT ); Tue, 26 Sep 2023 09:05:09 -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 072CEC9 for ; Tue, 26 Sep 2023 06:05:03 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-405361bb94eso88238925e9.0 for ; Tue, 26 Sep 2023 06:05:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695733501; x=1696338301; 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=lUDqzgKzbv3Gg1WyHYLHJCasPYrE5OE5lNvp2LrCBsI=; b=Z6iQd7/7LL17In5CREozElEuYlrtbgW3E6GV8cU/d2xo3Aq7zNPKQwbwbVCSJRcn9q JZCBMChsW2iOMMsh6zhC8n5oBSdo7WWoSY6k9JjK5c7Dm7MZ598TEC6mi2DICLD1jdmH tSIobbXID7ARx2oVYk29fTA6a/08lt/mCmsw8uz8sEyC62EGbjmo09YLdKhZpNDXQyTR SL5FvZlCfaRZfxbpSjuVJvf39fc5O4T/A81PXMWnz9F3UrYU1unPCkxQIpIajoaznpKv BjuNwDxWzZbaT6Rj9gAQqmpzYllDMvxoMKS4YdZYa1ECHBtvaYmXz+aqk4NXyoJZwFHj bCpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695733501; x=1696338301; 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=lUDqzgKzbv3Gg1WyHYLHJCasPYrE5OE5lNvp2LrCBsI=; b=aTjy3h8GFZpMeV3KZWX78ihaMsdEHES+Ogcm7lhoY61tGktI/o/HY4Xot5NIbRLeOA PEZyy0GJsmkZFgIdJbSwxRSnw0uqZOVfe0KLh4z2R/hNmmQwGm3cM6Ou9n11Sru0y5Ty DR/S9gkHmU4HLBF0Pp5MjqHe1fU9IphkNYjD8SCROHtf0vpEUvhdwWSDbI0CQ8+IcEhO UqMZraouwq4/rrJNANQ3pcTzbfYIpn+bMkJ8ZxqZsGP0lpD5iV+2rhimOKtt/Ls3UR/a 6jn4sPATks/iqSZplfThlz0r0mBONQhwzqR5haRfLIPzEVz7XS8hDybn5TMBRZxhO/s1 25aA== X-Gm-Message-State: AOJu0YyusJOpKyoktii+gMX8+CCmHNyf5EqkMSI3z18nvc7L9OMrwtI6 8Dbf8Rp1GBHb4Nak5H/XyAm38w== X-Received: by 2002:a7b:ce92:0:b0:405:39b4:314f with SMTP id q18-20020a7bce92000000b0040539b4314fmr9421511wmj.24.1695733501384; Tue, 26 Sep 2023 06:05:01 -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 g10-20020a05600c308a00b003fee8793911sm11724064wmn.44.2023.09.26.06.05.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Sep 2023 06:05:00 -0700 (PDT) Message-ID: <3137cbd7-8c6e-486b-6572-33990b930bac@linaro.org> Date: Tue, 26 Sep 2023 15:04:59 +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 7/9] ACPI: thermal: Untangle initialization and updates of active trips Content-Language: en-US To: "Rafael J. Wysocki" , Linux ACPI Cc: LKML , Linux PM , Zhang Rui , Srinivas Pandruvada References: <5708760.DvuYhMxLoT@kreacher> <22010294.EfDdHjke4D@kreacher> From: Daniel Lezcano In-Reply-To: <22010294.EfDdHjke4D@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 pete.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 (pete.vger.email [0.0.0.0]); Tue, 26 Sep 2023 06:05:15 -0700 (PDT) On 12/09/2023 20:43, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Separate the code needed to update active trips (in a response to a > notification from the platform firmware) as well as to initialize them > from the code that is only necessary for their initialization and > cleanly divide it into functions that each carry out a specific action. > > Signed-off-by: Rafael J. Wysocki > --- Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog