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=-12.3 required=3.0 tests=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,URIBL_BLOCKED, USER_AGENT_SANE_1 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 4E5E6C3F2D2 for ; Fri, 28 Feb 2020 14:09:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 20F8F24680 for ; Fri, 28 Feb 2020 14:09:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="spSGvi/h"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ku0TrqiN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 20F8F24680 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+infradead-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=bombadil.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=VMPUZCmb2ueAHipEKQca8PTqKrCBswUgdxP/OcAQHBQ=; b=spSGvi/hqvMeiN ERcGtp56gMTPau1TUn7y6CqsCHxIWmOehLfv7lRaLEE1f0H6SduIs99lyeMQHxMjR/coOZ9KvmED2 sHr6MtUcfadK8L8UBGY+dABb6jvtTylDkJAh/HLlw2KighaNUL8U42ALL/sDD0TGM03o19p0Kt3RT 4hdQiRDdLCWn7W9s8hbw801XhCeWiBV0qTNWEsJ3o9l7dnMOxcITvPKFXUPbCthFIaTtYsW1TZNsx Gjji3COgmM/Vd1pfkSXavuz+IK7/9JpFQjRlQWWX57fu2j2eJmqKxKh8FFQTrz6wiRqNI6+ETj/u+ fXFsHnbl5NDSoL93uTxA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j7gKb-0004gQ-UM; Fri, 28 Feb 2020 14:09:33 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j7gKY-0004fh-Mj for linux-arm-kernel@lists.infradead.org; Fri, 28 Feb 2020 14:09:32 +0000 Received: by mail-lf1-x12f.google.com with SMTP id z9so2221153lfa.2 for ; Fri, 28 Feb 2020 06:09:30 -0800 (PST) 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 :user-agent; bh=BGRhYUunws4pXu6R++Tvw3n0xSj2znFbq+SxOUkGyqA=; b=ku0TrqiNTt/Updmc22hFfGsFnmEkXnafAY6IK9IF/lxQTbChpHGpHGJeXAIUXcjz9f 3bibBejKZgxdA2R6y5BmOFyjwCeC1LQrjXKlRR0EVtDKymHHKlP1hc/V64ZjuRDIGWgg 0m32E031Mes4vpU8lwtDwdKy/1Cuz+PIX7fd7AObKfBzaGvvQo3oSfg2ZvuFhmL5tNT0 SDVJHPzldDUhWwkXuXrGytsb0p+SByxOsc2kNNku3TcBpZO4128LYE5EpN7gyuI/HjNo a1FqRv8PilKjVGm/TjMlUBSlOHMUvQofdPJDFuSULEcd0Y5qjqrHT2Vb7kTaZUxFEy6M PX/g== 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:user-agent; bh=BGRhYUunws4pXu6R++Tvw3n0xSj2znFbq+SxOUkGyqA=; b=g497ZMtZkb/jcx3XxU+bpDWeBXZiYQw98MaGpvhEEwwI9RGaE8SAZafbDi2Xe6qs9G rzOrNccwvlCrsXPPRFA5kyDQn/EgKt13+niLmB3heEwHKcnczwjUeBCsU8wP15lMrkZz pHODXCBwxbPvetPGLEJ6Z019aM9pK+9ByE8U+p1PhooCD1rb450ixK3l8twiSFZ/qn7I VFKCqEFWj3pTVpB0nJpFKDhK6/a2QpG6hJ6e7cHH4IKLhFAppn4bUa5DxiJYwCYig/0z MyvoQUnYvOummcnWezFjQhO+q/f2NMe8ENg/Z8imGYxpU5V2ZD9bMO3Xyb6j4klT88rY CZqQ== X-Gm-Message-State: ANhLgQ0kjtoII7vnans4kknS1J4IsmFuTr1Gk8ZUD4nH7WvEQvw3Rk8h Kr53afSRkhfnb8BMfuJgrfVotw== X-Google-Smtp-Source: ADFU+vvU3JDWmreoR+lLENn7LyX/SZLQgxYyjTHcZMkqilomsb4FiZ+siroa9Pq1k4tsahpukBvOmg== X-Received: by 2002:a05:6512:6c5:: with SMTP id u5mr2774555lff.130.1582898968554; Fri, 28 Feb 2020 06:09:28 -0800 (PST) Received: from jade (h-249-223.A175.priv.bahnhof.se. [98.128.249.223]) by smtp.gmail.com with ESMTPSA id n13sm5773869lji.91.2020.02.28.06.09.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Feb 2020 06:09:27 -0800 (PST) Date: Fri, 28 Feb 2020 15:09:25 +0100 From: Jens Wiklander List-Id: To: arm@kernel.org, soc@kernel.org Subject: [GIT PULL] TEE shared memory cleanup for v5.7 Message-ID: <20200228140925.GA12393@jade> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200228_060930_752023_22F9F1A8 X-CRM114-Status: GOOD ( 10.85 ) 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: tee-dev@lists.linaro.org, 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+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello arm-soc maintainers, Please pull these cleanup patches for shared memory in the TEE subsystem. Thanks, Jens The following changes since commit 11a48a5a18c63fd7621bb050228cebf13566e4d8: Linux 5.6-rc2 (2020-02-16 13:16:59 -0800) are available in the Git repository at: https://git.linaro.org/people/jens.wiklander/linux-tee.git tags/tee-cleanup-for-5.7 for you to fetch changes up to 758ecf13a41a9dc4f019c1381566132ef46c08ee: tee: tee_shm_op_mmap(): use TEE_SHM_USER_MAPPED (2020-02-28 13:37:42 +0100) ---------------------------------------------------------------- Cleanup shared memory handing in TEE subsystem The highlights are: - Removing redundant or unused fields in struct tee_shm - Only assign userspace shm IDs for shared memory objects originating from user space ---------------------------------------------------------------- Jens Wiklander (5): tee: remove linked list of struct tee_shm tee: remove unused tee_shm_priv_alloc() tee: don't assign shm id for private shms tee: remove redundant teedev in struct tee_shm tee: tee_shm_op_mmap(): use TEE_SHM_USER_MAPPED drivers/tee/tee_core.c | 1 - drivers/tee/tee_private.h | 3 +- drivers/tee/tee_shm.c | 85 +++++++++++++---------------------------------- include/linux/tee_drv.h | 19 +---------- 4 files changed, 27 insertions(+), 81 deletions(-) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel