Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4279722pxf; Tue, 30 Mar 2021 04:02:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycDiHYdivHe9xrIcuOzH+XSUel3W+E1X4b5mD12y2IGIH3j6kF5bU5kCy6B9ySK8WBXw3e X-Received: by 2002:a17:907:5090:: with SMTP id fv16mr18259598ejc.90.1617102153227; Tue, 30 Mar 2021 04:02:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617102153; cv=none; d=google.com; s=arc-20160816; b=E+j93wu3zu5o0G6EvjX1cpWodiREcsDtSNm2euKj6xkMYyZzLHGt/0zgkp7WzBQ9dQ /0wvTQMCbO6UCG+t7NFaYHPbQyknVBGldfSftgUSMSNTXTCkxt78dWeCHO49g0d5Zg65 sRpVlHcoFpSl4U2y9SngJAKvM+8R2jU3ySehBxe7Gd6uSqEXhtQ0gA75VFh9kYZzL6p1 zwwzUBD3iK+zvcuLvJ1kVhHOFdlq10tjhLEQjLzuOoY9CkfeHgO+ylUCa/X/ZWctjMMk hsuHKokdXfNX7lu0Wm9GVmBY6hjlAq3yXOX9Qdd8K1HXpxFYZ6pavQ3IEKbpw0lt+//X 1oag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=0APZS7qW26TQ2G+AjsqWhc2vH9zR/hdxgKlxQBPo6jY=; b=FqsDYbBZk48XEnk9kiQLPG+KgoJPw0zb3PlGpy6BhOrNyLXneasghDqheHZ3s/qwUR rdBD+YXmzNDh4sDLvhKIjTnJrEMdcD5JDZMCVWSLVWicq+fj5z28jXOnj3lD6jSLmpHa pmQgJjWMPUnvwxuqYmSPH2BfLEgXDoE8Gt+3EpBYhYH+yNU2hhHHmLIMM8D7ul8YbX5L N8slQSLzkFzlS3PE0J9rR1Rxwohh80sh0lqBa7dOFwwAAQ38d6+gpaEye2mbYMKEFoF4 shqSPXcci26OlSsDK8rHPC9Gu5ZW68dRE+Y+QmJRYVsCpDR00CbanjViirZTQqtF2lW2 GxvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i2knyJ1s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a12si15400005ejy.363.2021.03.30.04.02.08; Tue, 30 Mar 2021 04:02:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i2knyJ1s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229633AbhC3LAv (ORCPT + 99 others); Tue, 30 Mar 2021 07:00:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231742AbhC3LAp (ORCPT ); Tue, 30 Mar 2021 07:00:45 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66D55C061574 for ; Tue, 30 Mar 2021 04:00:44 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id m12so23103448lfq.10 for ; Tue, 30 Mar 2021 04:00:44 -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=0APZS7qW26TQ2G+AjsqWhc2vH9zR/hdxgKlxQBPo6jY=; b=i2knyJ1sOyCrZOtRxP2K/kzwfl6hxexD9Rgft0GYDLtQQutWd5WSAfzSWkjSA6ynsb wxxEQ+lZtRH70LuUs8tWdz+WJRK4dZdQaey9OlXNMY1Eli0Ybq0tyfuXo4SpxDv0OQHB hQoEwmisCyJeEvffAZPnX2REsyje4r4D55QmZSpSX8w08Cf9qdGmsjMWWTj3YapnU6VJ 0jryFctoc2KLsDvoClWWgRa+4jGf4vDsTVZzpQ19PgEObPyd3/d4//osE+L47O/fs5xt 3qg6GZ4jxGNsZrPE7zW01VJAFlw8jbiaKsdVjwXuVC1LpKM6e8IHG17GH1Ak8QkRVBIC xVjw== 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=0APZS7qW26TQ2G+AjsqWhc2vH9zR/hdxgKlxQBPo6jY=; b=j068z7dgE9Whuc34KbJWFQO61U6JDpvyp9V2vB8FMtpOrWgeairOR96jVnj1R7HIia u8m7HLIZDVjxsojdI5MlDgt7mDa2q7zp+qLIIr8NGo0x5NsG2YkDtZK95VsRC2mBlIW6 2TTKzQHxicnYa9zYRO8hmuRW18TGlgfaSPQG7y+J33hYhBBDwKn/KuccDcAEz6P2CXXa Yxk1dmD3au5QHLyF52oDmbLuTMXh/uCjHh8acqecdBAkOPqNODHFelNtFkpDZnO5lNdc RSGXItG3XnzRPsEzOFNOsPphtFe6Q8bU4nrII244UFb0n4faRMnzhPIUG0cnkNJuithO qF6g== X-Gm-Message-State: AOAM531BhdIalFlV62Kl31+07glOiYcLQ+kvbwNApxK/Yv3Bn7EnwL+3 HcqVu9w0TXsYG9n9iGrymPEegw== X-Received: by 2002:ac2:4ac4:: with SMTP id m4mr18924716lfp.404.1617102042945; Tue, 30 Mar 2021 04:00:42 -0700 (PDT) Received: from jade (h-249-223.A175.priv.bahnhof.se. [98.128.249.223]) by smtp.gmail.com with ESMTPSA id h4sm1324240lfv.22.2021.03.30.04.00.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 04:00:39 -0700 (PDT) Date: Tue, 30 Mar 2021 13:00:37 +0200 From: Jens Wiklander To: arm@kernel.org, soc@kernel.org Cc: op-tee@lists.trustedfirmware.org, Linux Kernel Mailing List , Jerome Forissier Subject: [GIT PULL] OP-TEE memref size check for v5.13 Message-ID: <20210330110037.GA1166563@jade> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello arm-soc maintainers, Please pull this small patch for the OP-TEE driver to remove the invalid size check of outgoing memref parameters. This code path is only activated for a certain configuration of OP-TEE in secure world (CFG_CORE_DYN_SHM=n) so this problem isn't always visible. Thanks, Jens The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-05 17:33:41 -0800) are available in the Git repository at: git://git.linaro.org/people/jens.wiklander/linux-tee.git/ tags/optee-memref-size-for-v5.13 for you to fetch changes up to c650b8dc7a7910eb25af0aac1720f778b29e679d: tee: optee: do not check memref size on return from Secure World (2021-03-30 10:44:50 +0200) ---------------------------------------------------------------- OP-TEE skip check of returned memref size ---------------------------------------------------------------- Jerome Forissier (1): tee: optee: do not check memref size on return from Secure World drivers/tee/optee/core.c | 10 ---------- 1 file changed, 10 deletions(-)