blob: 9627a765f1650e58dd5b9bdeb8334205cf9978d8 [file] [log] [blame]
Patrick Williams7784c422022-11-17 07:29:11 -06001From 1fef5bd2504ce3a203c56a3b66dba773cd4893c6 Mon Sep 17 00:00:00 2001
Patrick Williams8dd68482022-10-04 07:57:18 -05002From: Davidson K <davidson.kumaresan@arm.com>
3Date: Thu, 8 Sep 2022 10:47:10 +0530
4Subject: [PATCH] feat(vhe): enable vhe and disable branch protection for TC
5
6Signed-off-by: Davidson K <davidson.kumaresan@arm.com>
7Change-Id: I60cd607d9f2bf0114b482980e7ca68e24aaf4d1f
8Upstream-Status: Pending [Not submitted to upstream yet]
9---
10 BUILD.gn | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/BUILD.gn b/BUILD.gn
Andrew Geissler2edf0642023-09-11 08:24:07 -040014index cc6a78f4fdb8..acd1f9d1634b 100644
Patrick Williams8dd68482022-10-04 07:57:18 -050015--- a/BUILD.gn
16+++ b/BUILD.gn
Andrew Geissler2edf0642023-09-11 08:24:07 -040017@@ -245,7 +245,6 @@ aarch64_toolchains("secure_tc") {
18 heap_pages = 180
Patrick Williams8dd68482022-10-04 07:57:18 -050019 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 Geissler2edf0642023-09-11 08:24:07 -040025@@ -254,6 +253,7 @@ aarch64_toolchains("secure_tc") {
Patrick Williams8dd68482022-10-04 07:57:18 -050026 secure_world = "1"
27 pl011_base_address = "0x7ff80000"
28 enable_mte = "1"
29+ enable_vhe = "1"
Andrew Geissler2edf0642023-09-11 08:24:07 -040030 plat_log_level = "LOG_LEVEL_INFO"
Patrick Williams8dd68482022-10-04 07:57:18 -050031 }
32 }