diff options
Diffstat (limited to 'meta-ti-extras/recipes-ti/jailhouse/files/0001-configs-arm64-k3-am625-sk-Add-crypto-memory-region.patch')
-rw-r--r-- | meta-ti-extras/recipes-ti/jailhouse/files/0001-configs-arm64-k3-am625-sk-Add-crypto-memory-region.patch | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/meta-ti-extras/recipes-ti/jailhouse/files/0001-configs-arm64-k3-am625-sk-Add-crypto-memory-region.patch b/meta-ti-extras/recipes-ti/jailhouse/files/0001-configs-arm64-k3-am625-sk-Add-crypto-memory-region.patch deleted file mode 100644 index bfb57ae3..00000000 --- a/meta-ti-extras/recipes-ti/jailhouse/files/0001-configs-arm64-k3-am625-sk-Add-crypto-memory-region.patch +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | From 723ca87d25c1f8bac68d2608dbc3b5e8caba69ca Mon Sep 17 00:00:00 2001 | ||
2 | From: Andreas Dannenberg <dannenberg@ti.com> | ||
3 | Date: Mon, 12 Sep 2022 13:22:04 -0500 | ||
4 | Subject: [PATCH] configs: arm64: k3-am625-sk: Add crypto memory region | ||
5 | |||
6 | Add the memory region for the AM62x crypto accelerator to the device- | ||
7 | specific config file. This fixes a runtime exception when the kernel | ||
8 | accesses that memory region: | ||
9 | |||
10 | <snip> | ||
11 | Unhandled data read at 0x40910010(4) | ||
12 | |||
13 | FATAL: unhandled trap (exception class 0x24) | ||
14 | <snip> | ||
15 | |||
16 | Upstream-Status: Submitted [jailhouse-dev@googlegroups.com] | ||
17 | |||
18 | Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> | ||
19 | Signed-off-by: Paresh Bhagat <p-bhagat@ti.com> | ||
20 | --- | ||
21 | configs/arm64/k3-am625-sk.c | 9 ++++++++- | ||
22 | 1 file changed, 8 insertions(+), 1 deletion(-) | ||
23 | |||
24 | diff --git a/configs/arm64/k3-am625-sk.c b/configs/arm64/k3-am625-sk.c | ||
25 | index 2e5c3aef..4b0b8043 100644 | ||
26 | --- a/configs/arm64/k3-am625-sk.c | ||
27 | +++ b/configs/arm64/k3-am625-sk.c | ||
28 | @@ -18,7 +18,7 @@ | ||
29 | struct { | ||
30 | struct jailhouse_system header; | ||
31 | __u64 cpus[1]; | ||
32 | - struct jailhouse_memory mem_regions[31]; | ||
33 | + struct jailhouse_memory mem_regions[32]; | ||
34 | struct jailhouse_irqchip irqchips[5]; | ||
35 | struct jailhouse_pci_device pci_devices[2]; | ||
36 | } __attribute__((packed)) config = { | ||
37 | @@ -231,6 +231,13 @@ struct { | ||
38 | .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | | ||
39 | JAILHOUSE_MEM_IO, | ||
40 | }, | ||
41 | + /* CRYPTO */ { | ||
42 | + .phys_start = 0x40900000, | ||
43 | + .virt_start = 0x40900000, | ||
44 | + .size = 0x0030000, | ||
45 | + .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | | ||
46 | + JAILHOUSE_MEM_IO, | ||
47 | + }, | ||
48 | /* First Wake Up Domain */ { | ||
49 | .phys_start = 0x2b000000, | ||
50 | .virt_start = 0x2b000000, | ||
51 | -- | ||
52 | 2.34.1 | ||