Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3881862rdb; Mon, 11 Dec 2023 02:53:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFjFH3xJSswX2G9Jil2+oj7JPcRZt0OT9IMlXvHyG8vncCXV9piyDqVE8EizaaRwuwfZLCp X-Received: by 2002:a17:902:e74e:b0:1d0:6ffd:6e50 with SMTP id p14-20020a170902e74e00b001d06ffd6e50mr1828936plf.72.1702291990659; Mon, 11 Dec 2023 02:53:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702291990; cv=none; d=google.com; s=arc-20160816; b=dZ6dZ0LZpZTQ72pFVOOZ30JWpCJrWH5QhZ8lr2/JdngdrGIUPEEzL3QWilVmY/LmtB TrnsvLCFKYQPTFH7ITmYquzgKQcUEuSi0jnjGVUP9iihEd43sPtKQCM44AGiYlFJQwIU DDrraM//UD0lGYMSKnn79E7pLHn3Ih8SwJzn4UUaO8wjklYuAQANQpPEWi04HlDegXMx ZKpAN/YI5uUW3kalAzAjmlgTWPOOYX3n1O8PIMl7cOJGzc+H18AwpbaJQzjRe0Qz+7Ys BZKXfObpBIYFUrh2roM7m6nD1AZd6Qcp/k/G4L5xB4PHLKDK3AykYmBxg/Qj9e+pTLXt 46fg== 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=dy0Zb8GZwtRwUsfyN7YDaLjZK7xM4pji8PYYJ7g0zJs=; fh=xnht4pQ9f8P1nyM2kg93ErgW6hACwhIqYxdbjAKXgSo=; b=h1n8zE1V+v6UkNdB+dWieoXXaabuFZGErutqkc/Z9USvme12XUoiNYUKnoWPV7+bZi 7wGtetfcbIRXu8wNZNPh0/1tDDt3HsmUqLmgQyEEGjiRsSpmGkRrJGd4sw32/zVLnbcZ lv6qiEo1iw0InedvK3VUkpkHBXYkZ6RRRppLNbnaFDYh0ru8wlFRhKSHTRwE7ZCjP3bH VIZ5H48YpHwKqQi3t3rXf8QufeO17BCL2ytzo+ahcNCPsVr4OCEwlVEvgeDvR0zjMC7Z EQM6i5io8S95tI9lV8YFiJ3L7mBiDnwoaaT1DCX8Mj4ihqNwdix6KvUOwJLeCaV2Oqed MR4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DOEktdAF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id e4-20020a170902744400b001d07c3e89fbsi5797235plt.468.2023.12.11.02.53.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 02:53:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DOEktdAF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 30E6D8093433; Mon, 11 Dec 2023 02:53:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234220AbjLKKwy (ORCPT + 99 others); Mon, 11 Dec 2023 05:52:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234059AbjLKKwv (ORCPT ); Mon, 11 Dec 2023 05:52:51 -0500 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 244C79F for ; Mon, 11 Dec 2023 02:52:58 -0800 (PST) Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-5c6ce4dffb5so2149397a12.0 for ; Mon, 11 Dec 2023 02:52:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702291977; x=1702896777; 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=dy0Zb8GZwtRwUsfyN7YDaLjZK7xM4pji8PYYJ7g0zJs=; b=DOEktdAFFTbgeH7ZOC4q8gvH/Gfa/YU7Dr+QKq3PRcXOY/q+4JZH3w0Liaa3re1MUF bM+8Ii0J8QqiXHdIzalQw9Tg+L0/rU0P93LFCKgd+w0BrrtspqTJTEn+up2INvvZe4ed NAxwXQ+UpmN8REasM1AQ0va63P9IWxNaiSPPlhNcXyrBpkxMk2olGkV3k9+ogsteQmDR KK+dYmfBMWh4DbG/8cVr3zM55KIIOUJGHXBFc8nXDwCgNVf8oe7EYl0wxTaO8M7C6Vh6 GeWvCBrQChBdAVBfELyWA399Aw3pJNVYy3bMJpfD7+4YQp1r0UfJKUO4td0LySH9OduT d09A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702291977; x=1702896777; 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=dy0Zb8GZwtRwUsfyN7YDaLjZK7xM4pji8PYYJ7g0zJs=; b=PR8XARtlz4T3wTVPgroghTlNKZWqwclTkz1D4Kdo2E/Oksoie71GB2H8UzOXidsbOm 26b5Zu3JRRHFOwYeZRmtFW+tZRDLlykN+Ae3rxuvTKZXE+BwJksuk4atIDG9HQsrybpN BC2O+xm5TYhATm52u32GD7lXin2XZ8GzU7kOGDeLn6L/NLD222iCta97QyjYgCHmMGXj S0QODqgaxFkqiIJW8SJhQmYGW5cuy4CEWHTWY6Ltx0yKIF/xBdVKTkRqPn9zc7kVI8o7 rSSFyDnfa4QC5AleF5UvZojvRxC9q3j1I7GYyeEtdPDbyAOxzBN1oXfgxTL8T/Us4fGa 5eEA== X-Gm-Message-State: AOJu0YxrGyOjfzsFg0q/yKrw/BpssClxri0l/jqlN3dxXTxZvUbZRrAZ DAb7XETka0hk2Tj0DkZAtVGjew== X-Received: by 2002:a05:6a20:394a:b0:18c:ab4:f6c9 with SMTP id r10-20020a056a20394a00b0018c0ab4f6c9mr2003960pzg.56.1702291977599; Mon, 11 Dec 2023 02:52:57 -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 19-20020a17090a1a5300b002802a080d1dsm7302776pjl.16.2023.12.11.02.52.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 02:52:57 -0800 (PST) Date: Mon, 11 Dec 2023 11:52:49 +0100 From: Jens Wiklander To: arm@kernel.org, soc@kernel.org Cc: Linux Kernel Mailing List , op-tee@lists.trustedfirmware.org Subject: [GIT PULL] OP-TEE FF-A asynchronous notifications for 6.8 Message-ID: <20231211105249.GA587253@rayden> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Mon, 11 Dec 2023 02:53:08 -0800 (PST) Hello arm-soc maintainers, Please pull these patches that enables asynchronous notifications in OP-TEE FF-A driver. This pull request is on top of the "system_thread_for_v6.8" pull request to avoid a merge conflict. Thanks, Jens The following changes since commit 4b391c9c37646f25118355f414b9e6d9fefe782f: firmware: arm_scmi: optee: use optee system invocation (2023-11-17 15:48:03 +0100) are available in the Git repository at: https://git.linaro.org/people/jens.wiklander/linux-tee.git tags/ffa-notif-for-v6.8 for you to fetch changes up to d0476a59de064205f4aaa8f7c6d6f32bc28a44d4: optee: ffa_abi: add asynchronous notifications (2023-11-17 15:55:41 +0100) ---------------------------------------------------------------- OP-TEE: asynchronous notifications with FF-A Add support for asynchronous notifications in the OP-TEE FF-A driver. This is the FF-A counterpart to the asynchronous notifications already available in the OP-TEE SMC ABI. ---------------------------------------------------------------- Jens Wiklander (2): optee: provide optee_do_bottom_half() as a common function optee: ffa_abi: add asynchronous notifications drivers/tee/optee/call.c | 31 ++++++++++++- drivers/tee/optee/ffa_abi.c | 93 +++++++++++++++++++++++++++++++++++++-- drivers/tee/optee/optee_ffa.h | 28 ++++++++++-- drivers/tee/optee/optee_private.h | 9 +++- drivers/tee/optee/smc_abi.c | 36 ++------------- 5 files changed, 155 insertions(+), 42 deletions(-)