From patchwork Thu Apr 25 13:46:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rafael J. Wysocki" X-Patchwork-Id: 792226 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 CEC27149C52; Thu, 25 Apr 2024 13:57:38 +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=1714053460; cv=none; b=TairpnsXZDS/1f7JVHvb8DQKPQNFBt0I41mp8hDnTnIHfCGcpeWchdrC3hsGU7jeVYDLNJvwHW84Tcnnp6eVO1/PF7TMxk5H1LupgF/PANrOsCpCoAXqViALq+CLg1ukuMRipxsxu5xSEkYyP7qC8U0jqYivZh7Jq1L1EzRwbR0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714053460; c=relaxed/simple; bh=b7iRYarz0L9curo6TcKMEBGzkwuUKcQbSldR2fvyduQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Fyv+AfMKodujNC5v/2b3SsvNj/gGOrG05EuZWsHTkDr3X1AwvZ9J3IGB+YzMZbLP0TsH1zR7QiaKvCBilxIH2Cp95RrQ2jv/vKKi+Lqw7fYZYnKu1/HsPc+0H1hiHKZbiA+kuxcpje6puSv5Sgn4KDKdnnxk2THq4FzqY7BCrMQ= 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=fail (2048-bit key) header.d=rjwysocki.net header.i=@rjwysocki.net header.b=rY8+Hc8L reason="signature verification failed"; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=rjwysocki.net header.i=@rjwysocki.net header.b="rY8+Hc8L" 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 6.0.0) id 3760a7682697599b; Thu, 25 Apr 2024 15:57:30 +0200 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 5FBD166DF20; Thu, 25 Apr 2024 15:57:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rjwysocki.net; s=dkim; t=1714053450; bh=b7iRYarz0L9curo6TcKMEBGzkwuUKcQbSldR2fvyduQ=; h=From:To:Cc:Subject:Date; b=rY8+Hc8LcWPI0UuDNsKLnlvLYOS80hA3dcUlx0cwIn2+sfe/BzCreWI2s9/a5DiLR QuiyLWK+kxdSsJyxND0q8Rsc+DR44JcI+gE+6y7kXh2YM4hYm5uxjJ3zKK41hcV5Ha aFuAg9jJD0uy44d2q7/KNvaMtT/t3qZ3kiqri3hUwh3mBPh5hf46DMLE3cBK3uf/zX hD6N0IiimVomJhjLBbehOROG5NGe5xULMrTCvBADhNSWkSa9M6mun5PC+i2p2Rl9FF SFEPc+xSIjnd81al5c8/EUZtowpohGEr0yi0X3t8006R30M62zPoMIU993Y4LG6W2z 9p1DdcsrECkCg== From: "Rafael J. Wysocki" To: Lukasz Luba , Daniel Lezcano Cc: Linux PM , LKML , "Rafael J. Wysocki" Subject: [PATCH v1 0/3] thermal/debugfs: Fix a memory leak on removal and locking Date: Thu, 25 Apr 2024 15:46:41 +0200 Message-ID: <12427744.O9o76ZdvQC@kreacher> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-CLIENT-IP: 195.136.19.94 X-CLIENT-HOSTNAME: 195.136.19.94 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrudeljedgjedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepieduhffgteetgfeuvdehudettdeuueeuhedvfffgjeehffevhfekheelvedvvdffnecuffhomhgrihhnpehgihhtrdhithenucfkphepudelhedrudefiedrudelrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleehrddufeeirdduledrleegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeehpdhrtghpthhtoheplhhukhgrshiirdhluhgsrgesrghrmhdrtghomhdprhgtphhtthhopegurghnihgvlhdrlhgviigtrghnoheslhhinhgrrhhordhorhhgpdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprhgrfhgrvghlsehkvghrnhgvlhdrohhrgh X-DCC--Metrics: v370.home.net.pl 1024; Body=5 Fuz1=5 Fuz2=5 Hi Everyone, This series fixes a memory leak on thermal zone removal caused by the thermal debug code and two locking issues that may cause the kernel to crash due to race conditions. Please review urgently. The series applies on top of the linux-next branch in linux-pm.git. It is also present in the thermal-core-next branch in that tree. Thanks!