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 X-Spam-Level: X-Spam-Status: No, score=-21.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8437C433E0 for ; Thu, 18 Feb 2021 18:40:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 621D760230 for ; Thu, 18 Feb 2021 18:40:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230310AbhBRSkM (ORCPT ); Thu, 18 Feb 2021 13:40:12 -0500 Received: from linux.microsoft.com ([13.77.154.182]:40026 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232204AbhBRSNZ (ORCPT ); Thu, 18 Feb 2021 13:13:25 -0500 Received: by linux.microsoft.com (Postfix, from userid 1046) id 87BD020B6C40; Thu, 18 Feb 2021 10:12:44 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 87BD020B6C40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1613671964; bh=Km9pKKcHiHwxHWao65MxAstktSSm3rLh98ggACdLHHQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TJVehAwZpmV6HxLm9To2j3WbILy1f8iaQe6uTkq1v4Xug0j+58KHHzi3I7ulmqzim /7QVICAUtUxakIroP5Y9JzalE5jvOq3ikeNnn6slkcOATfTiIAlUOe3q/a9JcM+89m 9WCNPQkFzNJCyAvMm7q6l/Zte8IgY+9y1dmhaBOo= From: Dhananjay Phadke To: allen.lkml@gmail.com Cc: apais@linux.microsoft.com, jens.wiklander@linaro.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, op-tee@lists.trustedfirmware.org, zajec5@gmail.com, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com Subject: [PATCH 0/2] optee: fix OOM seen due to tee_shm_free() Date: Thu, 18 Feb 2021 10:12:38 -0800 Message-Id: <1613671958-1307-1-git-send-email-dphadke@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <20210217092714.121297-1-allen.lkml@gmail.com> References: <20210217092714.121297-1-allen.lkml@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org From: Allen Pais On Wed, 17 Feb 2021 14:57:12 +0530, Allen Pais wrote: > The following out of memory errors are seen on kexec reboot > from the optee core. > > [ 0.368428] tee_bnxt_fw optee-clnt0: tee_shm_alloc failed > [ 0.368461] tee_bnxt_fw: probe of optee-clnt0 failed with error -22 > > tee_shm_release() is not invoked on dma shm buffer. > > Implement .shutdown() in optee core as well as bnxt firmware driver > to handle the release of the buffers correctly. > > More info: > https://github.com/OP-TEE/optee_os/issues/3637 CC: linux-kernel@vger.kernel.org instead of linux-mips? TEE / TrustZone is ARM. Also, for Broadcom specific - CC: bcm-kernel-feedback-list@broadcom.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dhananjay Phadke To: op-tee@lists.trustedfirmware.org Subject: [PATCH 0/2] optee: fix OOM seen due to tee_shm_free() Date: Thu, 18 Feb 2021 10:12:38 -0800 Message-ID: <1613671958-1307-1-git-send-email-dphadke@linux.microsoft.com> In-Reply-To: <20210217092714.121297-1-allen.lkml@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5327866715947014947==" List-Id: --===============5327866715947014947== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit From: Allen Pais On Wed, 17 Feb 2021 14:57:12 +0530, Allen Pais wrote: > The following out of memory errors are seen on kexec reboot > from the optee core. > > [ 0.368428] tee_bnxt_fw optee-clnt0: tee_shm_alloc failed > [ 0.368461] tee_bnxt_fw: probe of optee-clnt0 failed with error -22 > > tee_shm_release() is not invoked on dma shm buffer. > > Implement .shutdown() in optee core as well as bnxt firmware driver > to handle the release of the buffers correctly. > > More info: > https://github.com/OP-TEE/optee_os/issues/3637 CC: linux-kernel(a)vger.kernel.org instead of linux-mips? TEE / TrustZone is ARM. Also, for Broadcom specific - CC: bcm-kernel-feedback-list(a)broadcom.com --===============5327866715947014947==-- 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 X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7065C433DB for ; Thu, 18 Feb 2021 20:31:09 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3DFAE64E5F for ; Thu, 18 Feb 2021 20:31:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3DFAE64E5F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rlgUUpYCJiBdoOEfCTUmmezmB/GcdvEsqUJkd3ZyJzE=; b=2iNmrf9PRGoJAMuCZsfiBFr776 qkY7VYrSCUwNcYmaAEJHKhbS86bW9pm3KKv/3Y5SnAC25htgm7oOL53IAtqj19hK8qgGvCBOTZ9O+ 7hZ6/mqazY17AZTM6RTJHBkGpOsr0MVvv7PZ0q/R6km9SvETiWREzRxMR8bZAdbv4My8a3jsKZyzz HRpvbfQmtWpwsO8Z2e+/YGXOC1SA17CQMx1hkLkrKey+z0Mb0MEAXtDAkZ54n7Ge46IZuTsHwZirW dH6MeM+Gsk3J90TvOYc0fMqWqOymyBADbt5Fsa4+tKxa5IwHlmbQ7eFbGINFzaeSypFu6cMOKAYsw cQUffHZg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCnnG-0005CP-46; Thu, 18 Feb 2021 18:12:50 +0000 Received: from linux.microsoft.com ([13.77.154.182]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCnnC-0005Bb-BX for linux-arm-kernel@lists.infradead.org; Thu, 18 Feb 2021 18:12:47 +0000 Received: by linux.microsoft.com (Postfix, from userid 1046) id 87BD020B6C40; Thu, 18 Feb 2021 10:12:44 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 87BD020B6C40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1613671964; bh=Km9pKKcHiHwxHWao65MxAstktSSm3rLh98ggACdLHHQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TJVehAwZpmV6HxLm9To2j3WbILy1f8iaQe6uTkq1v4Xug0j+58KHHzi3I7ulmqzim /7QVICAUtUxakIroP5Y9JzalE5jvOq3ikeNnn6slkcOATfTiIAlUOe3q/a9JcM+89m 9WCNPQkFzNJCyAvMm7q6l/Zte8IgY+9y1dmhaBOo= From: Dhananjay Phadke To: allen.lkml@gmail.com Subject: [PATCH 0/2] optee: fix OOM seen due to tee_shm_free() Date: Thu, 18 Feb 2021 10:12:38 -0800 Message-Id: <1613671958-1307-1-git-send-email-dphadke@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <20210217092714.121297-1-allen.lkml@gmail.com> References: <20210217092714.121297-1-allen.lkml@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210218_131246_528658_C1D2E91C X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: zajec5@gmail.com, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, op-tee@lists.trustedfirmware.org, bcm-kernel-feedback-list@broadcom.com, apais@linux.microsoft.com, jens.wiklander@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Allen Pais On Wed, 17 Feb 2021 14:57:12 +0530, Allen Pais wrote: > The following out of memory errors are seen on kexec reboot > from the optee core. > > [ 0.368428] tee_bnxt_fw optee-clnt0: tee_shm_alloc failed > [ 0.368461] tee_bnxt_fw: probe of optee-clnt0 failed with error -22 > > tee_shm_release() is not invoked on dma shm buffer. > > Implement .shutdown() in optee core as well as bnxt firmware driver > to handle the release of the buffers correctly. > > More info: > https://github.com/OP-TEE/optee_os/issues/3637 CC: linux-kernel@vger.kernel.org instead of linux-mips? TEE / TrustZone is ARM. Also, for Broadcom specific - CC: bcm-kernel-feedback-list@broadcom.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel