summaryrefslogtreecommitdiffstats
path: root/meta-ti-extras/recipes-ti/jailhouse/files/0003-configs-arm64-k3-am625-sk-Add-VTM-memory-region.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ti-extras/recipes-ti/jailhouse/files/0003-configs-arm64-k3-am625-sk-Add-VTM-memory-region.patch')
-rw-r--r--meta-ti-extras/recipes-ti/jailhouse/files/0003-configs-arm64-k3-am625-sk-Add-VTM-memory-region.patch53
1 files changed, 0 insertions, 53 deletions
diff --git a/meta-ti-extras/recipes-ti/jailhouse/files/0003-configs-arm64-k3-am625-sk-Add-VTM-memory-region.patch b/meta-ti-extras/recipes-ti/jailhouse/files/0003-configs-arm64-k3-am625-sk-Add-VTM-memory-region.patch
deleted file mode 100644
index c2b68e8d..00000000
--- a/meta-ti-extras/recipes-ti/jailhouse/files/0003-configs-arm64-k3-am625-sk-Add-VTM-memory-region.patch
+++ /dev/null
@@ -1,53 +0,0 @@
1From 9c9bba78b5635531fc8946914233af8c8ac8a6f3 Mon Sep 17 00:00:00 2001
2From: Andreas Dannenberg <dannenberg@ti.com>
3Date: Fri, 4 Nov 2022 12:58:48 -0500
4Subject: [PATCH] configs: arm64: k3-am625-sk: Add VTM memory region
5
6Add the memory region for VTM to the device-specific config
7file. This fixes a runtime exception when the kernel accesses
8that memory region:
9
10<snip>
11Unhandled data read at 0xb00308(4)
12
13FATAL: unhandled trap (exception class 0x24)
14<snip>
15
16Upstream-Status: Submitted [jailhouse-dev@googlegroups.com]
17
18written by: Ricardo Salveti <ricardo@foundries.io>
19Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
20Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
21---
22 configs/arm64/k3-am625-sk.c | 9 ++++++++-
23 1 file changed, 8 insertions(+), 1 deletion(-)
24
25diff --git a/configs/arm64/k3-am625-sk.c b/configs/arm64/k3-am625-sk.c
26index 4b0b8043..fac4eaa6 100644
27--- a/configs/arm64/k3-am625-sk.c
28+++ b/configs/arm64/k3-am625-sk.c
29@@ -18,7 +18,7 @@
30 struct {
31 struct jailhouse_system header;
32 __u64 cpus[1];
33- struct jailhouse_memory mem_regions[32];
34+ struct jailhouse_memory mem_regions[33];
35 struct jailhouse_irqchip irqchips[5];
36 struct jailhouse_pci_device pci_devices[2];
37 } __attribute__((packed)) config = {
38@@ -154,6 +154,13 @@ struct {
39 .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
40 JAILHOUSE_MEM_IO,
41 },
42+ /* Wake Up Domain VTM0 */ {
43+ .phys_start = 0x00b00000,
44+ .virt_start = 0x00b00000,
45+ .size = 0x00001000,
46+ .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
47+ JAILHOUSE_MEM_IO,
48+ },
49 /* First peripheral window, 1 of 2 */ {
50 .phys_start = 0x01000000,
51 .virt_start = 0x01000000,
52--
532.34.1