Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp397733rwb; Fri, 4 Aug 2023 14:50:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG2QtLPU2HW7yqujbj6bI2uUWHtU6lcb/e9+/j154VlCuR8jO4Q+z+xIJ4A68bVqz0SrUwW X-Received: by 2002:a17:906:49:b0:993:d53b:9805 with SMTP id 9-20020a170906004900b00993d53b9805mr2604539ejg.11.1691185829087; Fri, 04 Aug 2023 14:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691185829; cv=none; d=google.com; s=arc-20160816; b=FeSfIOboIGgdPwXAWStFjYc6mb3yMFy2MMqhr+qCmOKFtjIv5Rztxnp33vJgFlJnVi cx3JZc09aY/VyhvTPXS5ffd6ZIa6ZVEqxwuJ17vu+0EWyoWMIQ56pYmaFC/W4XXgnggG HmIBbrPADOTUVI9b32iNHhJ8gg5hzkcm+g9A2598kmUy91tF1PKvify34ln/eu7FvVgi fzfisQOxAJ/J4miLVTncKSFRS/rL8OIoUgZ/rcfLP9nSPZUyvNL3NifT6ClOrRXr7k4y zXSu+JmjPPfiDSTArlpF4+yVJrvsT4w9E+yxXmGfXBzBe58eIKjJV33pRMBBBblFdJ1B Z0aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=rqBWyHIaDmfzMvP3NYF3px0Sj0Q289XF1rgDev94gtA=; fh=jABj5v2rHKw019HO9Ag6891M+lPZ6d+O4eAkd8el8mQ=; b=UjO86fD/Q/jdktPF89hAlGzH7pV9pfeVKQfnKBa0CtE32tNBRTSZJTic+rgAdCtSxY p9uf9ZKHhVaXehVd7ceb5DoruPvOyys2rZr2poPoa2w/aZTMKrEzp1IsoW0wQ+6yGEqP Xj4S5oZOwWrEMq+HW5Et+VMgJo/nrtLOSnDXgitCFGZC6YosSBt0V5mKZfd0AQktPVRM XO/VCC6ZF2SHuWD4Fh8Y+P3ytyqkVArwXhnkrmfBlw2F3PvXdOAdJ6aVS9kCgNEtliNn ipdFJ8MsGxnIUt7bfg7bJcMibYop8GwFEJ9CVPvRuDcAv33eEEJ64RKH+v9TlYwU14Yb tIaw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bw19-20020a170906c1d300b00997e1a4b954si2023645ejb.25.2023.08.04.14.50.04; Fri, 04 Aug 2023 14:50:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231310AbjHDV0l (ORCPT + 99 others); Fri, 4 Aug 2023 17:26:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231191AbjHDV0Q (ORCPT ); Fri, 4 Aug 2023 17:26:16 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6A2F4C3F; Fri, 4 Aug 2023 14:26:13 -0700 (PDT) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.2.0) id 35bc2ffd483e1cec; Fri, 4 Aug 2023 23:26:12 +0200 Authentication-Results: v370.home.net.pl; spf=softfail (domain owner discourages use of this host) smtp.mailfrom=rjwysocki.net (client-ip=195.136.19.94; helo=[195.136.19.94]; envelope-from=rjw@rjwysocki.net; receiver=) Received: from kreacher.localnet (unknown [195.136.19.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id 741006624B7; Fri, 4 Aug 2023 23:26:11 +0200 (CEST) From: "Rafael J. Wysocki" To: Linux ACPI , Daniel Lezcano Cc: LKML , Linux PM , Michal Wilczynski , Zhang Rui , Srinivas Pandruvada Subject: [PATCH v4 00/10] ACPI: thermal: Use trip point table to register thermal zones Date: Fri, 04 Aug 2023 22:58:04 +0200 Message-ID: <4878513.31r3eYUQgx@kreacher> In-Reply-To: <13318886.uLZWGnKmhe@kreacher> References: <13318886.uLZWGnKmhe@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 195.136.19.94 X-CLIENT-HOSTNAME: 195.136.19.94 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrkeeggdduheekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepvdffueeitdfgvddtudegueejtdffteetgeefkeffvdeftddttdeuhfegfedvjefhnecukfhppeduleehrddufeeirdduledrleegnecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehinhgvthepudelhedrudefiedrudelrdelgedphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedpnhgspghrtghpthhtohepjedprhgtphhtthhopehlihhnuhigqdgrtghpihesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopegurghnihgvlhdrlhgviigtrghnoheslhhinhgrrhhordhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghp thhtohepmhhitghhrghlrdifihhltgiihihnshhkihesihhnthgvlhdrtghomhdprhgtphhtthhopehruhhirdiihhgrnhhgsehinhhtvghlrdgtohhm X-DCC--Metrics: v370.home.net.pl 1024; Body=7 Fuz1=7 Fuz2=7 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Everyone, This is the 4th 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 This update uses a different approach to mutual exclusion between trip point updates in the ACPI thermal driver and the thermal core (roughly speaking, it adds a "thermal zone update" callback and a helper to invoke that callback under the zone lock) and a different mechanism to get from the local trip point representation in the driver to the corresponding trips[i] in the thermal zone structure. As a result, some have been dropped, some new patches have been added and the majority of patches in the series have been reworked from scratch. Thanks!