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=-13.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS 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 D1136C433E3 for ; Fri, 21 Aug 2020 10:27:05 +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 A27AF20748 for ; Fri, 21 Aug 2020 10:27:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="RxVcmdov"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dWjxF9at" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A27AF20748 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org 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:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=fygdju507MMVUs3i9fpeWelUhHjkkHwLX8QW4bmg27U=; b=RxVcmdovY9OeDj6x2Z2pC6Reel 0/d2QbHAeShFzPFVJQBAHn9lFgWRnm1N2MC+hgk8s/5UoClxhtlamZiCPeU4vThNbNu/ehGH0DKpP RvqROBLbp5S9E+ZxONgaFZUp70Ta1UoZWwL2jHfFfwLBxQPebfLsZibbAKdG8hEGyEa/ZF/uenKSC Hr1j/VQscuiME/OVqtQF2CywDX27dFt6nx+WZ0qdMowDqfrM1ZG2Y/PFDmctO+mQ9fMseq9dE5kq0 3GsRBpNhA1ehSpkikI7YNvb5F5Rg/fPaSdgGw45dh/GalmHaasIQSHqK3odQCL06UQctywts+S5s0 TU2Y0tLA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k94Ew-0000uN-5n; Fri, 21 Aug 2020 10:25:42 +0000 Received: from mail-lf1-x143.google.com ([2a00:1450:4864:20::143]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k94Et-0000tn-8I for linux-arm-kernel@lists.infradead.org; Fri, 21 Aug 2020 10:25:40 +0000 Received: by mail-lf1-x143.google.com with SMTP id b11so662157lfe.10 for ; Fri, 21 Aug 2020 03:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=2N8c3OXNEzBTqLaVo87zY3CUmgiKJ+G+J6J7rbqIlbo=; b=dWjxF9atK4SA+a2BBicNZgWtD+gqRKIlSh+eCb9ZrWWWmny5I7dcFODj1k9M4BJzSE etCvGefxVNxefnJ1/rA/h+OPhvOlBEIFPkSYC2qV/wPFDgAhv2ndsSxen2CcE8VFHdna xD8cNdlR9bVDfDRQBzmfHaFUHcedQ44L+OgcIhfelTR1jc87aM7COGteuEHGwyXkgxNM VqAg9OhHOQydvhVu4ewZ+UcxuZDjwpT2Fru+Vz+lVrXUAoeTWEAIHUuhjk0DpeK9HXJR 9gtq92Hi1VaEZcjY9rNkvpTyBFr9mXfTnqn4qoEBjw+7TByYYQzUnQMonyod4pxtHjgi dBkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=2N8c3OXNEzBTqLaVo87zY3CUmgiKJ+G+J6J7rbqIlbo=; b=RzsFNkdp9BIhlwzeaJ+TE6p3wCczzarIsfLxwROPX/tYxIixra+IoiGeL48r/cc5WS NAGWWwzpADD7ZrcXk+PTPSOgNypwz9ERv000yKC0GjMbvUXNCsN2TJvoZFkTQfKS+qCu 9HSQII8OAoCBIigeTAqCb/LCmnUKykBAPt0Jt//4Zu0/6BvtZwNuz7kVlCrx+nYdUK5I RZDAfjWqca5FxE+ADGzhWsXX66wVcU0ra0YKvZdzHBK7LlutT1R2eNkrPqAyORiRCuVM jaleEIwv00sY6v526nc9uwRN8sRhYEr8h3yweddj+xjA3BDPE2OLjsgrj91Z71qzUIdP fp/w== X-Gm-Message-State: AOAM533If3Lm3rZZejNT5h0mg0fSHZc2eU6BptB5gFXyDpBRT3Mpn9bK p1p6VxB6EDWxl+NaTui/nTqEAQ== X-Google-Smtp-Source: ABdhPJzckqFfo4xbpPPPMFqKSoImgg9uAkXYhFGq/pnbZggdi9ScEbVsbzorv3kKCnMWNIBhDn/lTQ== X-Received: by 2002:ac2:5e8a:: with SMTP id b10mr1180344lfq.14.1598005537801; Fri, 21 Aug 2020 03:25:37 -0700 (PDT) Received: from jade (h-249-223.A175.priv.bahnhof.se. [98.128.249.223]) by smtp.gmail.com with ESMTPSA id p8sm298370lfh.64.2020.08.21.03.25.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2020 03:25:37 -0700 (PDT) Date: Fri, 21 Aug 2020 12:25:35 +0200 From: Jens Wiklander List-Id: To: rm@kernel.org, soc@kernel.org Subject: [GIT PULL] tee memref null for v5.10 Message-ID: <20200821102535.GA1872111@jade> MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200821_062539_333769_08635BB4 X-CRM114-Status: GOOD ( 10.90 ) 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: op-tee@lists.trustedfirmware.org, Jerome Forissier , Linux Kernel Mailing List , Linux ARM 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 Hello arm-soc maintainers, Please pull this patch enabling a TEE client to indicate a NULL pointer instead of a valid buffer when invoking a Trusted Application. Thanks, Jens The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.linaro.org/people/jens.wiklander/linux-tee.git tags/tee-memref-null-for-v5.10 for you to fetch changes up to ba171d3f0850003216fd1a85190d17b1feddb961: driver: tee: Handle NULL pointer indication from client (2020-08-21 08:55:13 +0200) ---------------------------------------------------------------- Handle NULL pointer indication from tee client Adds support to indicate NULL pointers instead of a valid buffer when querying the needed size of a buffer. ---------------------------------------------------------------- Cedric Neveux (1): driver: tee: Handle NULL pointer indication from client drivers/tee/optee/core.c | 7 +++++++ drivers/tee/optee/optee_smc.h | 3 +++ drivers/tee/tee_core.c | 49 +++++++++++++++++++++++++++---------------- include/linux/tee_drv.h | 3 +++ include/uapi/linux/tee.h | 13 ++++++++++++ 5 files changed, 57 insertions(+), 18 deletions(-) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel