From patchwork Thu Dec 14 13:41:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 178742 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp8551918dys; Thu, 14 Dec 2023 05:42:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IH1ar7KZR3btYJtukL3gKcAmSP8Rv/fMZBOIdOaGkgeWK1+UZiJ3rxF/hR2OjHwxpLMxHk6 X-Received: by 2002:a17:903:1cd:b0:1d3:5141:7c34 with SMTP id e13-20020a17090301cd00b001d351417c34mr1618305plh.14.1702561367266; Thu, 14 Dec 2023 05:42:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702561367; cv=none; d=google.com; s=arc-20160816; b=iqq8TEfzZzGBi/iBkp/+STYu2vO1niHyWXUp0ExC0X/4uGLA7M779N3g3WgkecRQxN HGmrYFPY5O5c5Iwb7RsiEHAptxY/yWWUaDHks40AnuNCzO9koD4V7NKdvFlxWgE/ZoKD iho5y5Bj6wclbsjrw4WyEWeE9Q/DC6fhVxWRTksBy/bD2XvWsRmDh2Abrt5iNv7BFia/ TzFk7yyQLjQ7Cpuag70Yw+puRZQ65r4mKegvu6OnEiyYeFm8HSVHT1yjMZDi0DWUEfkL DKqm8g7cm9axm13eaWBTwb5yQTX7ihlyZ8SDdFjTHa4OaHJD43yAtVm3ll7tdq/GdAWU glPQ== 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=pGt/k/il8qEiARJPttZV9RuEkTEaCs+qP+NKhCHxIf4=; fh=xnht4pQ9f8P1nyM2kg93ErgW6hACwhIqYxdbjAKXgSo=; b=gE7afE+focthUYgY/cm/TyZVTKFCdDNdBV6O5FNixcvzXFF94UL4ncCFNwhuss9tmJ i38130ebyUDYK6UkQhFdxNQ/0JEI9nu+4vpa5ylw+If90YtelA97Z5a56g01d147ze3D 3na2lTlXju5kJEQJXzATf4rJtesOOlqaz4RcHi++UOYuNExEceFnzHYtgzr9IyXyrJdd BFgtDlazBZeSfGoS7k/Vzl9X+UwdWLNY9K3xo7/psnS/Qf3TPZ/io2UYpR8vDtbCG19G QU4PD4l1SqCA4+m9wCy8vEkIjnxBokG4stxzZ5FFCMBBBaEy8lXEeqO6wDWvkbeXFHYL VL0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=igrNVLvw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id o2-20020a170902d4c200b001d0a35a098bsi11798981plg.566.2023.12.14.05.42.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 05:42:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=igrNVLvw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0AA8E8025731; Thu, 14 Dec 2023 05:42:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1444257AbjLNNlt (ORCPT + 99 others); Thu, 14 Dec 2023 08:41:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573015AbjLNNli (ORCPT ); Thu, 14 Dec 2023 08:41:38 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66183D49 for ; Thu, 14 Dec 2023 05:41:43 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a1f8510883aso732778466b.3 for ; Thu, 14 Dec 2023 05:41:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702561302; x=1703166102; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=pGt/k/il8qEiARJPttZV9RuEkTEaCs+qP+NKhCHxIf4=; b=igrNVLvw5BViaVe0Ne4hJfMV0c8O2xiHxlljg+qwR37NugtR/vsywh2W0qiTojvZj6 AMi1s0dK6GPFVCi/Hl2URPK5cBnSpIEzF/cuT5d8mMWvYXgUNjcqe0pcLx1BlA8nDRdn 5sJESFyVrCluvuuFI4FTLHekuekdTmcESbPJqmGB8Or6OCocoaO+cT5C6nVLjXHu8B8O WCLp0DIIPuTHg49jQfs1HQp9eDPtr48CkpW3z2XEQtW5yRWaGwrWZzHdhgLie40ltlvF hkWwvza07fwAau7W/skj16XbHEbFQ1vtoIu5GLOzXn8lTwB5WCsOEJi/lQwi8Ch6jgV3 nFwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702561302; x=1703166102; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pGt/k/il8qEiARJPttZV9RuEkTEaCs+qP+NKhCHxIf4=; b=D1F+VQmacNY+8zEl2qRl1CMkKfH/q7s90IXCm2mNmJZwSjIlGCq/XohhyFExJSdFM6 k45zTWmiFnfayojpkJTxYWNz0/CdAjwi2NXNWcRM46DHdBkmKMLrS2WNMntMfwbILVIt nqI4Y499IdnUMXbtEae17v2YEdPAgx68Gv/2MPx/0RCE6MXk4uQC1IQGS/BKazAb98sD I051aEm1X8CyALBeRE5mGYCruWe2gLjIQNmNuqkOxFzMHPuQbfsS9tzVioOC3mVXmyMH wZ9zrfzNlU12bx+i32tt8CfJ2UBH0zdBrAPRriqL89yreNkSrw9kt1/cD0cs0E2S4zzs 8rDQ== X-Gm-Message-State: AOJu0YzFUeA/B/qS9raRNgnUXfGaFdMtYwsB1XDD9g78T3yU8OnttC37 yyJ1Lp7UH060wLS2IBkMAklXTg== X-Received: by 2002:a17:907:3ac2:b0:a19:d40a:d21f with SMTP id fi2-20020a1709073ac200b00a19d40ad21fmr2105212ejc.235.1702561301850; Thu, 14 Dec 2023 05:41:41 -0800 (PST) Received: from rayden (h-217-31-164-171.A175.priv.bahnhof.se. [217.31.164.171]) by smtp.gmail.com with ESMTPSA id ld4-20020a1709079c0400b00a1df88cc7c0sm9276638ejc.182.2023.12.14.05.41.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 05:41:41 -0800 (PST) Date: Thu, 14 Dec 2023 14:41:39 +0100 From: Jens Wiklander To: arm@kernel.org, soc@kernel.org Cc: Linux Kernel Mailing List , op-tee@lists.trustedfirmware.org Subject: [GIT PULL] Improved TEE shared buffer support for v6.8 Message-ID: <20231214134139.GA3098718@rayden> MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 14 Dec 2023 05:42:01 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785264988414811309 X-GMAIL-MSGID: 1785264988414811309 Hello arm-soc maintainers, Please pull this patch to add vmalloc support for shared buffer registration with the secure world. Thanks, Jens The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: Linux 6.7-rc1 (2023-11-12 16:19:07 -0800) are available in the Git repository at: https://git.linaro.org/people/jens.wiklander/linux-tee.git tags/tee-iov-iter-for-v6.8 for you to fetch changes up to 7bdee41575919773818e525ea19e54eb817770af: tee: Use iov_iter to better support shared buffer registration (2023-12-13 07:23:22 +0100) ---------------------------------------------------------------- TEE: improve shared buffer registration compatibility ---------------------------------------------------------------- Arnaud Pouliquen (1): tee: Use iov_iter to better support shared buffer registration drivers/tee/tee_shm.c | 78 +++++++++++++++++++++++++++------------------------ 1 file changed, 42 insertions(+), 36 deletions(-)