Patrick Williams | 7784c42 | 2022-11-17 07:29:11 -0600 | [diff] [blame] | 1 | From 1fef5bd2504ce3a203c56a3b66dba773cd4893c6 Mon Sep 17 00:00:00 2001 |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 2 | From: Davidson K <davidson.kumaresan@arm.com> |
| 3 | Date: Thu, 8 Sep 2022 10:47:10 +0530 |
| 4 | Subject: [PATCH] feat(vhe): enable vhe and disable branch protection for TC |
| 5 | |
| 6 | Signed-off-by: Davidson K <davidson.kumaresan@arm.com> |
| 7 | Change-Id: I60cd607d9f2bf0114b482980e7ca68e24aaf4d1f |
| 8 | Upstream-Status: Pending [Not submitted to upstream yet] |
| 9 | --- |
| 10 | BUILD.gn | 2 +- |
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | |
| 13 | diff --git a/BUILD.gn b/BUILD.gn |
Andrew Geissler | 2edf064 | 2023-09-11 08:24:07 -0400 | [diff] [blame] | 14 | index cc6a78f4fdb8..acd1f9d1634b 100644 |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 15 | --- a/BUILD.gn |
| 16 | +++ b/BUILD.gn |
Andrew Geissler | 2edf064 | 2023-09-11 08:24:07 -0400 | [diff] [blame] | 17 | @@ -245,7 +245,6 @@ aarch64_toolchains("secure_tc") { |
| 18 | heap_pages = 180 |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 19 | max_cpus = 8 |
| 20 | max_vms = 16 |
| 21 | - branch_protection = "standard" |
| 22 | toolchain_args = { |
| 23 | plat_ffa = "//src/arch/aarch64/plat/ffa:spmc" |
| 24 | plat_psci = "//src/arch/aarch64/plat/psci:spmc" |
Andrew Geissler | 2edf064 | 2023-09-11 08:24:07 -0400 | [diff] [blame] | 25 | @@ -254,6 +253,7 @@ aarch64_toolchains("secure_tc") { |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 26 | secure_world = "1" |
| 27 | pl011_base_address = "0x7ff80000" |
| 28 | enable_mte = "1" |
| 29 | + enable_vhe = "1" |
Andrew Geissler | 2edf064 | 2023-09-11 08:24:07 -0400 | [diff] [blame] | 30 | plat_log_level = "LOG_LEVEL_INFO" |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 31 | } |
| 32 | } |