From patchwork Thu Nov 7 12:11:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 11232715 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 370D11599 for ; Thu, 7 Nov 2019 12:12:06 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BF7CB21D79 for ; Thu, 7 Nov 2019 12:12:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.kernel.org header.i=@linux.kernel.org header.b="v1GbqjPQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BF7CB21D79 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+26986+846+1554929+3438807@linux.kernel.org X-Received: by 127.0.0.2 with SMTP id DaLWYY1556264xcw63HaoIkm; Thu, 07 Nov 2019 04:12:05 -0800 X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web11.3162.1573128724841025026 for ; Thu, 07 Nov 2019 04:12:05 -0800 X-Received: by mail.kernel.org (Postfix) id 5F33721882; Thu, 7 Nov 2019 12:12:04 +0000 (UTC) X-Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EF2262166E for ; Thu, 7 Nov 2019 12:12:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EF2262166E X-Received: by mail-lf1-f66.google.com with SMTP id j14so1408209lfb.8 for ; Thu, 07 Nov 2019 04:12:03 -0800 (PST) X-Gm-Message-State: yAqqhX1PcGDz1mKXL4qW6H4yx1554929AA= X-Google-Smtp-Source: APXvYqyO00Wglntl8Ch/EQ1NSmfyf403om0J9/NXHBJF6084BMLQydB7qQX2RFthZZ9lFM43VEJjow== X-Received: by 2002:a19:fc1e:: with SMTP id a30mr2209666lfi.167.1573128722113; Thu, 07 Nov 2019 04:12:02 -0800 (PST) X-Received: from jax (h-48-81.A175.priv.bahnhof.se. [94.254.48.81]) by smtp.gmail.com with ESMTPSA id k187sm2371024lfd.54.2019.11.07.04.12.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Nov 2019 04:12:01 -0800 (PST) Date: Thu, 7 Nov 2019 13:11:59 +0100 From: Jens Wiklander To: Linuxkernel+Patchwork-Soc via Email Integration Cc: Linux Kernel Mailing List , Linux ARM Subject: [GIT PULL] tee subsys fixes for v5.4 Message-ID: <20191107121159.GA9301@jax> MIME-Version: 1.0 User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org Content-Disposition: inline DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1573128725; bh=bHbHeY0FlEhAY1QnK5jezdsquR6EyH3da+a4OcWTjbg=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=v1GbqjPQyfrqAH6u8ULqY+4QbEAccceQXjBS1BktbTRJK56umMYGyviIIx0vkaxYDGk 6fPghDLkqWzGVmW30J2fM/abJNEy8hJCBUMIMxJ8cCnErRN1cFe+qsRkpPyHJXEditVWh 2Fxx5iOmnlLuwFxwT9zuoM2LnYsbum252+g= Hello arm-soc maintainers, Please pull these OP-TEE driver fixes. There's one user-after-free issue if in the error handling path when the OP-TEE driver is initializing. There's also one fix to to register dynamically allocated shared memory needed by kernel clients communicating with secure world via memory references. If you think it's too late for v5.4 please queue it for v5.5 instead. Thanks, Jens The following changes since commit 4f5cafb5cb8471e54afdc9054d973535614f7675: Linux 5.4-rc3 (2019-10-13 16:37:36 -0700) are available in the Git repository at: git://git.linaro.org/people/jens.wiklander/linux-tee.git tags/tee-fixes-for-v5.4 for you to fetch changes up to 61435a63b15233428088ccb0ad34e19fc00416c9: tee: optee: fix device enumeration error handling (2019-11-07 12:07:44 +0100) ---------------------------------------------------------------- Two OP-TE driver fixes: - Add proper cleanup on optee_enumerate_devices() failure - Make sure to register kernel allocations of dynamic shared memory ---------------------------------------------------------------- Jens Wiklander (1): tee: optee: fix device enumeration error handling Sumit Garg (1): tee: optee: Fix dynamic shm pool allocations drivers/tee/optee/core.c | 20 ++++++++++++-------- drivers/tee/optee/shm_pool.c | 12 +++++++++++- 2 files changed, 23 insertions(+), 9 deletions(-) -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#846): https://linux.kernel.org/g/patchwork-soc/message/846 Mute This Topic: https://linux.kernel.org/mt/45842654/1554929 Group Owner: patchwork-soc+owner@linux.kernel.org Unsubscribe: https://linux.kernel.org/g/patchwork-soc/unsub [patchwork-linux-kernel-org@patchwork.kernel.org] -=-=-=-=-=-=-=-=-=-=-=-