From patchwork Mon Oct 23 12:16:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mariam Elshakfy X-Patchwork-Id: 739 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 07AAAC004C0 for ; Mon, 23 Oct 2023 12:17:21 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.119321.1698063437122827297 for ; Mon, 23 Oct 2023 05:17:17 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: mariam.elshakfy@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 C30392F4; Mon, 23 Oct 2023 05:17:56 -0700 (PDT) Received: from Ubuntu.arm.com (unknown [10.57.39.215]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 5EFF93F762; Mon, 23 Oct 2023 05:17:15 -0700 (PDT) From: mariam.elshakfy@arm.com To: meta-arm@lists.yoctoproject.org Cc: Mariam Elshakfy Subject: [PATCH mickledore 0/2] arm-bsp/n1sdp: Enable OP-TEE Cache in N1SDP Date: Mon, 23 Oct 2023 13:16:59 +0100 Message-Id: <20231023121701.22149-1-mariam.elshakfy@arm.com> X-Mailer: git-send-email 2.34.1 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 ; Mon, 23 Oct 2023 12:17:21 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/5159 From: Mariam Elshakfy These patches enable N1SDP cache to improve performance, change location of OP-TEE from DDR3 to DDR4, and reserve the used region in UEFI (EDK2) to protect against allocations by UEFI applications. Mariam Elshakfy (2): arm-bsp/n1sdp: Move OP-TEE to DDR4 arm-bsp/n1sdp: Enable OP-TEE cache in N1SDP .../0001-Reserve-OP-TEE-memory-from-nwd.patch | 7 +- .../0002-Modify-BL32-Location-to-DDR4.patch | 30 +++++++++ .../n1sdp/0003-Modify-SPMC-Base-to-DDR4.patch | 28 ++++++++ .../trusted-firmware-a-n1sdp.inc | 2 + .../recipes-bsp/uefi/edk2-firmware-n1sdp.inc | 1 + ...1Sdp-Reserve-OP-TEE-Region-from-UEFI.patch | 65 +++++++++++++++++++ ...lat-n1sdp-add-N1SDP-platform-support.patch | 4 +- ...ble-instruction-cache-and-data-cache.patch | 46 ------------- ...atch => 0003-Handle-logging-syscall.patch} | 0 ...at-n1sdp-register-DRAM1-to-optee-os.patch} | 0 ...-external-device-tree-base-and-size.patch} | 0 .../recipes-security/optee/optee-os-n1sdp.inc | 7 +- 12 files changed, 135 insertions(+), 55 deletions(-) create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/n1sdp/0002-Modify-BL32-Location-to-DDR4.patch create mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/n1sdp/0003-Modify-SPMC-Base-to-DDR4.patch create mode 100644 meta-arm-bsp/recipes-bsp/uefi/files/edk2-platforms/0010-Platform-ARM-N1Sdp-Reserve-OP-TEE-Region-from-UEFI.patch delete mode 100644 meta-arm-bsp/recipes-security/optee/files/optee-os/n1sdp/0003-HACK-disable-instruction-cache-and-data-cache.patch rename meta-arm-bsp/recipes-security/optee/files/optee-os/n1sdp/{0004-Handle-logging-syscall.patch => 0003-Handle-logging-syscall.patch} (100%) rename meta-arm-bsp/recipes-security/optee/files/optee-os/n1sdp/{0005-plat-n1sdp-register-DRAM1-to-optee-os.patch => 0004-plat-n1sdp-register-DRAM1-to-optee-os.patch} (100%) rename meta-arm-bsp/recipes-security/optee/files/optee-os/n1sdp/{0006-plat-n1sdp-add-external-device-tree-base-and-size.patch => 0005-plat-n1sdp-add-external-device-tree-base-and-size.patch} (100%)