diff options
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.patch | 53 |
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 @@ | |||
1 | From 9c9bba78b5635531fc8946914233af8c8ac8a6f3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andreas Dannenberg <dannenberg@ti.com> | ||
3 | Date: Fri, 4 Nov 2022 12:58:48 -0500 | ||
4 | Subject: [PATCH] configs: arm64: k3-am625-sk: Add VTM memory region | ||
5 | |||
6 | Add the memory region for VTM to the device-specific config | ||
7 | file. This fixes a runtime exception when the kernel accesses | ||
8 | that memory region: | ||
9 | |||
10 | <snip> | ||
11 | Unhandled data read at 0xb00308(4) | ||
12 | |||
13 | FATAL: unhandled trap (exception class 0x24) | ||
14 | <snip> | ||
15 | |||
16 | Upstream-Status: Submitted [jailhouse-dev@googlegroups.com] | ||
17 | |||
18 | written by: Ricardo Salveti <ricardo@foundries.io> | ||
19 | Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> | ||
20 | Signed-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 | |||
25 | diff --git a/configs/arm64/k3-am625-sk.c b/configs/arm64/k3-am625-sk.c | ||
26 | index 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 | -- | ||
53 | 2.34.1 | ||