From patchwork Tue Sep 17 00:04:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 49189 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71B83C3ABCB for ; Tue, 17 Sep 2024 00:04:14 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.9854.1726531447020746493 for ; Mon, 16 Sep 2024 17:04:07 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: jon.mason@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DE3AC12FC; Mon, 16 Sep 2024 17:04:35 -0700 (PDT) Received: from H24V3P4C17.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4385E3F66E; Mon, 16 Sep 2024 17:04:06 -0700 (PDT) From: Jon Mason To: meta-arm@lists.yoctoproject.org Cc: Bence Balogh Subject: [PATCH v2 3/3] arm-bsp/documentation: corstone1000: remove TEE driver load Date: Mon, 16 Sep 2024 20:04:04 -0400 Message-Id: <20240917000404.24807-3-jon.mason@arm.com> X-Mailer: git-send-email 2.39.3 (Apple Git-146) In-Reply-To: <20240917000404.24807-1-jon.mason@arm.com> References: <20240917000404.24807-1-jon.mason@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 17 Sep 2024 00:04:14 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/6077 From: Bence Balogh The arm-tstee driver was upstreamed to the v6.10 kernel so it doesn't have to be loaded manually. Updated the related parts in the Corstone-1000 user guide. Signed-off-by: Bence Balogh Signed-off-by: Jon Mason --- .../documentation/corstone1000/user-guide.rst | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/meta-arm-bsp/documentation/corstone1000/user-guide.rst b/meta-arm-bsp/documentation/corstone1000/user-guide.rst index 58231731b918..f397c641c407 100644 --- a/meta-arm-bsp/documentation/corstone1000/user-guide.rst +++ b/meta-arm-bsp/documentation/corstone1000/user-guide.rst @@ -1236,25 +1236,24 @@ When running the tests on the Corstone-1000 FVP, the user should follow the instructions in `Running the software on FVP`_ section to boot Linux in FVP host_terminal_0, and login using the username ``root``. -First, load FF-A TEE kernel module: +The tests use the `arm_tstee` driver to access Trusted Services Secure Partitions from user space. +This driver is included in the Linux Kernel, starting from v6.10. -:: - - insmod /lib/modules/*-yocto-standard/updates/arm-tstee.ko - -Then, check whether the FF-A TEE driver is loaded correctly by using the following command: +Run the following command in the Host terminal (ttyUSB2) to verify that the driver is present: :: - cat /proc/modules | grep arm_tstee + ls /sys/bus/arm_ffa/drivers | grep arm_tstee -The output should be similar to: + +The output should be: :: - arm_tstee 16384 - - Live 0xffffffc000510000 (O) + arm_tstee + -Now, run the PSA API tests in the following order: +Run the PSA API tests in the following order: ::