From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 801DCC433EF for ; Wed, 20 Oct 2021 12:37:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 63AD1611EF for ; Wed, 20 Oct 2021 12:37:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229702AbhJTMjh (ORCPT ); Wed, 20 Oct 2021 08:39:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:53182 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230103AbhJTMje (ORCPT ); Wed, 20 Oct 2021 08:39:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8067861183; Wed, 20 Oct 2021 12:37:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634733440; bh=RazV0KE9BUmPiRvrqcO2XZelw9DTLVIlh1y+xQJ9Kdo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=arT8kkgguxZPcn2kGUzPmKdqNtdcp8nZDTJSEqg+kuU06bmh3DzztetIAkEHdqU2s MyWH9Vi69wJKirLRFBrinoKlWm4WeNyhl6nV4SNlhQ7xnmaAKXSlb8hK+3tNKwFbT2 CEmfo8+Tb5ZjZD2JzUHJUU7sawH1CwqRDgrKDb6A= Date: Wed, 20 Oct 2021 14:37:17 +0200 From: Greg KH To: Sumit Garg Cc: stable@vger.kernel.org, jens.wiklander@linaro.org, sudeep.holla@arm.com Subject: Re: [PATCH backport for 5.4] tee: optee: Fix missing devices unregister during optee_remove Message-ID: References: <20211019094532.470845-1-sumit.garg@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Wed, Oct 20, 2021 at 02:34:31PM +0200, Greg KH wrote: > On Tue, Oct 19, 2021 at 03:15:32PM +0530, Sumit Garg wrote: > > upstream commit 7f565d0ead26 > > > > When OP-TEE driver is built as a module, OP-TEE client devices > > registered on TEE bus during probe should be unregistered during > > optee_remove. So implement optee_unregister_devices() accordingly. > > > > Fixes: c3fa24af9244 ("tee: optee: add TEE bus device enumeration support") > > Reported-by: Sudeep Holla > > Signed-off-by: Sumit Garg > > Signed-off-by: Jens Wiklander > > [SG: backport to 5.4, dev name s/optee-ta/optee-clnt/] > > Signed-off-by: Sumit Garg > > --- > > drivers/tee/optee/core.c | 3 +++ > > drivers/tee/optee/device.c | 22 ++++++++++++++++++++++ > > drivers/tee/optee/optee_private.h | 1 + > > 3 files changed, 26 insertions(+) > > Doesn't this also need to go into 5.10 and 5.14? We can not have people > upgrading and having regressions. > > Can you provide backports for those trees too? I can not take just this > one, sorry. Nevermind, it's already there, sorry for the noise, I'll go queue this up right now... greg k-h