Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp110907lqi; Wed, 6 Mar 2024 11:26:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUtrlnL0o8yjoLAoQlxipYRaHZgkT9IS3dCgOxK3NR2TspljoK92ATTvsB79668v4f2mR6mt5zShQfD6ov48GvQLVfH8EWU2Rj/IghsuA== X-Google-Smtp-Source: AGHT+IH6IXAAmrYi2CuAR3dYchF/x1qebHwKZeOMcosap3z0vIpGl8itDqYtEPN0vM28RqblLXfg X-Received: by 2002:a05:6512:224c:b0:513:2ba9:4b14 with SMTP id i12-20020a056512224c00b005132ba94b14mr43370lfu.46.1709753208506; Wed, 06 Mar 2024 11:26:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709753208; cv=pass; d=google.com; s=arc-20160816; b=CYEIqWgh93Cc4/C9phXi0Gpdbiaw+j5FlzguOzUAN5mDK6KXl0oOhBq6AgA38CzMb9 QjQvep8XcGqemV5FFWJWOFNZsG2yXouyBHa8SgCnJqI9kEH+/fD97VfhK0+ER+smgRI0 tBecQvHgRSac/u2JNw5fFhRyWwc7wbYtwbFR8kkHGcKOKVU5t76aef2Gt6GtFxMEF7jU cjKS8BqRRRGMPITGaGlBp7XSGc3TziJ8JgtYX0PquUuRuvY/HvLfqngzz1Z2dLCtyi5H fejH6tmsgfQSxulIA8Cr2ARjKIv0Eyi1yTtmNS6YM3sg6rr32YuqnoptFNcYOj/Iw8AU dA3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=4fMhiw3tE5WZcMRLKuvfLPC66ljmwpev+Ytbx/U5IgE=; fh=U3dOeCOIHZxj8qGrueTRXs/FLS66auUgvMxkwiIavBA=; b=PIsN9/IG6Wt+BqVXuk7ZI+PTHWLO1AN/E7mENk4ylmVOWEPSIdFVV2B5WBADPeE156 MVoIQcPPMOUFYQ48/4Nren+yx/FHteE5GUNi2hPT8MxUg7YJfHygpKWDnrsOQhv5lRFv z6oUQ/fnbDekWh7vWRIne0aCw7BOP1EMreoKuPTTGO2dJWR0/a80JYFBwdigJEta8iHP 3gnIGmMHbAONkcqhFDIfNWnaeD/WxTIes04nx8ZXI+r5SxESby0KaKlz6+5bdqUHZpIZ vVRPfseLDqkDY1SeP9ErM4NZtaVoJjZrAQYhcmV3H5d7hpTFmCY/Ic1H5lFtOUCPKyst SmAA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rjwysocki.net header.s=dkim header.b="Q/3BsQRb"; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net dkim=pass dkdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-94469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94469-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id oz40-20020a1709077da800b00a45a6e13bb4si1922794ejc.606.2024.03.06.11.26.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 11:26:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@rjwysocki.net header.s=dkim header.b="Q/3BsQRb"; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net dkim=pass dkdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-94469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94469-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id F28CD1F26E0A for ; Wed, 6 Mar 2024 19:20:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33209140366; Wed, 6 Mar 2024 19:20:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rjwysocki.net header.i=@rjwysocki.net header.b="Q/3BsQRb" Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1DFAC13EFE8; Wed, 6 Mar 2024 19:20:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=79.96.170.134 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709752840; cv=none; b=ksKtct/lJoDt2+UkmmP4nZsTwBuOMrLlD0O/KxF3UFg0qX9ncqCfGjiIRO+1ZaTghV0c7zzUEreQh1wi1219OYUx2Y7JHryAbqSKy9uZ+2GS/2q62zYyxeKioa1elExr+3VuOEZpCerxJMylTcqiUUWHveVcBqjy2RkPfE1BEaI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709752840; c=relaxed/simple; bh=4fMhiw3tE5WZcMRLKuvfLPC66ljmwpev+Ytbx/U5IgE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=XAseM0iREhSDnQGjjMw8N6KxNu7bQFYZYarEko39L5LcMqiNx7hxS9V4vXQk2rB7joXJqb8xwz9z1YpHEquDO57hLLPVteQGvuQuYoGMtN70xAJn2bHRWgy49esRMIzr/auujazKfVKqbPdjBEBrRYpmwB2fP8zSTMH/NigzyXE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rjwysocki.net; spf=pass smtp.mailfrom=rjwysocki.net; dkim=pass (2048-bit key) header.d=rjwysocki.net header.i=@rjwysocki.net header.b=Q/3BsQRb; arc=none smtp.client-ip=79.96.170.134 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rjwysocki.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rjwysocki.net 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.4.0) id 9ce8f26884046da2; Wed, 6 Mar 2024 20:20:30 +0100 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 cloudserver094114.home.pl (Postfix) with ESMTPSA id 0A4E366AB8D; Wed, 6 Mar 2024 20:20:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rjwysocki.net; s=dkim; t=1709752830; bh=4fMhiw3tE5WZcMRLKuvfLPC66ljmwpev+Ytbx/U5IgE=; h=From:To:Cc:Subject:Date; b=Q/3BsQRbhGChIMmpAwxcFOXMrGCyIpHpVpjGKr287BkQfpRkfiB8xLz8VZZxqnbFW 2y+BnfUW49NXbl6ZoTv5aDlVg90lGuOM3d1eTXOI+nbIVQqobPxbHR3DauEQskHi4e X/dbTuYUhqSIEr7Kh6N9PMkffp34zJxjG0SMhtEOvNMX1m2h9wr+UKf4sz4mMjfa4Z Yhi2kMS17FjTlSV3CxkpkjSTVNoAxwYZJSDC94YoFzgSHuiQg/y1+inf+SENYeUmBF +ETjL6bFJ9DYYcwQG2ZCxhqrLkYndCTN3a25JfSxQJvcP3Vx/Z3hhcpEGPmHvvbF9U K83VKxA6OZD3Q== From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , Srinivas Pandruvada , Stanislaw Gruszka , Daniel Lezcano , Lukasz Luba , AngeloGioacchino Del Regno Subject: [PATCH v1 0/2] thermal: More separation between the core and drivers Date: Wed, 06 Mar 2024 20:14:15 +0100 Message-ID: <4558384.LvFx2qVVIh@kreacher> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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: gggruggvucftvghtrhhoucdtuddrgedvledriedugdduudelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepgeffhfdujeelhfdtgeffkeetudfhtefhhfeiteethfekvefgvdfgfeeikeeigfehnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucfkphepudelhedrudefiedrudelrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleehrddufeeirdduledrleegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeejpdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepshhrihhnihhvrghsrdhprghnughruhhvrggurgeslhhinhhugidrihhnthgvlhdrtghomhdprhgtphhtthhopehsthgr nhhishhlrgifrdhgrhhushiikhgrsehlihhnuhigrdhinhhtvghlrdgtohhmpdhrtghpthhtohepuggrnhhivghlrdhlvgiitggrnhhosehlihhnrghrohdrohhrghdprhgtphhtthhopehluhhkrghsiidrlhhusggrsegrrhhmrdgtohhm X-DCC--Metrics: v370.home.net.pl 1024; Body=7 Fuz1=7 Fuz2=7 Hi Everyone, This series is for the next kernel development cycle and I'm sending it mostly due to the discussion regarding the ordering of trip crossing notifications: https://lore.kernel.org/linux-pm/20240306085428.88011-1-daniel.lezcano@linaro.org/ because the solution of the ordering problem I have in the works is based on it. Still, please review it and/or test it if you can and let me know if you discover any problems related to it (I'm not seeing any issues with it now). Patch [1/2] is based on the observation that the threshold field in struct thermal_trip really should be core-internal and to make that happen it introduces a wrapper structure around struct thermal_trip for internal use in the core. Patch [2/2] moves the definition of the new structure and the struct thermal_zone_device one to a local header file in the core to enforce more separation between the core and drivers. The patches are not expected to introduce any observable differences in behavior, so please let me know if you see any of that. They are based on the thermal material currently in linux-next and I'm going to create a separate test git branch with them. Thanks!