From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-a4-smtp.messagingengine.com (fhigh-a4-smtp.messagingengine.com [103.168.172.155]) (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 6499E36EA9F for ; Wed, 18 Mar 2026 12:40:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.155 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773837605; cv=none; b=ucu2AN8k22BMonD99XKN0zQU3iZfdmur+R+s6wNdFMJKKyQKWluinWGf0VdMFIEaYnE81R1lpLWIozcc76+3A4DCqZG5tww/eLjzo7vjF5r87GDo+9f9QKGFO4kcq+i5UfUmY8Fzfyi+64xG0da3+qyofpozvp2eA7mxDG9G4T8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773837605; c=relaxed/simple; bh=i/1jwDk0sovQQuJUSKLnpcR1rx3CYYzEU0IxDZZb48Q=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=ff9hi0ilgxeu2BxGqt4lxj4HaQ5Oh9a4Bb1yzuBhlgblfdvWr8RhLv5r5Yt0BLNui8p89s+eRbmwzW+sNrvlyndTa+K8dSgXDNnXuCIIZSgVAT6/NjeKRCpLEkFiNTlAXe1VoZxoMvNYUpB2y+yZ8Q58oVqo+/8k5Amgs1Lnp0M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=tjlZ4MWe; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=fVCS1m1q; arc=none smtp.client-ip=103.168.172.155 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="tjlZ4MWe"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="fVCS1m1q" Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 691191400227; Wed, 18 Mar 2026 08:40:03 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-04.internal (MEProxy); Wed, 18 Mar 2026 08:40:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1773837603; x=1773924003; bh=cMsP1ViDg5+W4pJB6stHHF7Nl0q4BrWqMobLx0PpOAk=; b= tjlZ4MWe9PaM979xGZvpvNsGyZ/AcWs0oRo5lCY0nNNZTObdfy2AIUokOCi4GAxW H6MOK50dkD+vRbRimLBrlAP5uKx7W1rp+1HKHnpM4dwWzolLutF3/uCegCEp4VVM a5M+oD2hxc0TTSm6i3toB8nD+PcnZacwHbnFzXYUeXCVbPYBzv56vuRXbnSYXlhM wg+WWG0pKJnKOEbxRM5I2Im3D1DGBWU9Vfl0pK9FC5EjrhHWUFif1P8hHiDzadg9 boCkEygOIt+Sr2IwEMR/358IY6XXeiPu5gRcR6s/I1FEVqkvR728p9AHJQIQaU36 noJBkbDUkndEWQ49jXJqJA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1773837603; x= 1773924003; bh=cMsP1ViDg5+W4pJB6stHHF7Nl0q4BrWqMobLx0PpOAk=; b=f VCS1m1qtsMUmrQTaAcRDredHvUIGbCx5+Gsbjj3mrTtLxqwEeA+3mt6LIwarVfeZ xEf0Ocb3D3pUo7pDCAZ+Wv4fTE3phDx5xf+sxTp5cYcqX9jxuDRJlarP5oNCSm5b TfJgMam/vEdrfaxoZXtFa9wQmazap6eVepyGUO8HnO87TN7DE3Ancth9/+hNHSnE m1/5g/9oyGh/ju1mBlzkIrKWFgpsajSHGHbZ+FN0I/J/ZIrfIhOUJa+eiet5s4GL El4jOFf4aLUy9GSGunJU+lYtDzNWNpvW978BxjdzZf0W/2RTMA3O+3UK0jyRa67s mVT6Z4/easmFiJW/wy9Ww== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdeftdegudehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvfevkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedftehrnhgu uceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrthhtvg hrnhephfdthfdvtdefhedukeetgefggffhjeeggeetfefggfevudegudevledvkefhvdei necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghrnh gusegrrhhnuggsrdguvgdpnhgspghrtghpthhtohepledpmhhouggvpehsmhhtphhouhht pdhrtghpthhtohepfihilhhlhiesihhnfhhrrgguvggrugdrohhrghdprhgtphhtthhope grrhhmsehkvghrnhgvlhdrohhrghdprhgtphhtthhopehkrhiikheskhgvrhhnvghlrdho rhhgpdhrtghpthhtohepshhotgeskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepshhumh hithdrghgrrhhgsehkvghrnhgvlhdrohhrghdprhgtphhtthhopehjvghnshdrfihikhhl rghnuggvrheslhhinhgrrhhordhorhhgpdhrtghpthhtohepohhpqdhtvggvsehlihhsth hsrdhtrhhushhtvggufhhirhhmfigrrhgvrdhorhhgpdhrtghpthhtohepmhdrfhgvlhhs tghhsehpvghnghhuthhrohhnihigrdguvgdprhgtphhtthhopehlihhnuhigqdhkvghrnh gvlhesvhhgvghrrdhkvghrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id E93D0700065; Wed, 18 Mar 2026 08:40:02 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: AeiqtKTVlxuV Date: Wed, 18 Mar 2026 13:39:41 +0100 From: "Arnd Bergmann" To: "Marco Felsch" , "Jens Wiklander" Cc: "Krzysztof Kozlowski" , "Sumit Garg" , "Matthew Wilcox" , arm , soc@kernel.org, linux-kernel@vger.kernel.org, op-tee@lists.trustedfirmware.org Message-Id: In-Reply-To: References: <20260316074150.GA2474723@rayden> <20260317-illustrious-finicky-frog-90a86c@quoll> Subject: Re: [GIT PULL] TEE shared memory fix for 7.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Tue, Mar 17, 2026, at 13:53, Marco Felsch wrote: > On 26-03-17, Jens Wiklander wrote: >> >> I'm under the impression that it is a fix rather than an improvement. >> However, since it has been stewing for a while, it's clearly not >> urgent. I don't have anything specific on the bug fix, other than that >> we're supposed to stop taking those refcounts. Perhaps Sumit, Marco, >> or Matthew can add something? > > It's a long outstanding fix regarding memory page management. The > userspace gets informed about this memory API misuse via a warning print > incl. a backtrace. This gets triggered only if userspace uses OP-TEE > trusted-keys or the OP-TEE EFI variables. Therefore I would like to get > it into 7.0 but 7.1 fine too. Yes, that is clearly a bugfix. I think we'd also want this to be marked 'Cc: stable@vger.kernel.org' as it should also apply to 6.18-LTS and 6.19. Greg tends to also pick up bugfixes that don't have this, but it's generally better to be explicit here, especially when it's not obvious what the impact of the fix is. I've merge the pull request now. If you think this should be in 6.18-lts and Greg doesn't pick it up by himself, maybe let him know about it. Arnd