diff options
Diffstat (limited to 'meta-ti-extras/recipes-ti/jailhouse/files/0001-configs-k3-use-intx-for-bar_mask.patch')
-rw-r--r-- | meta-ti-extras/recipes-ti/jailhouse/files/0001-configs-k3-use-intx-for-bar_mask.patch | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/meta-ti-extras/recipes-ti/jailhouse/files/0001-configs-k3-use-intx-for-bar_mask.patch b/meta-ti-extras/recipes-ti/jailhouse/files/0001-configs-k3-use-intx-for-bar_mask.patch deleted file mode 100644 index c29baed5..00000000 --- a/meta-ti-extras/recipes-ti/jailhouse/files/0001-configs-k3-use-intx-for-bar_mask.patch +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | From 84ea5e9f65fc8082d520267258784cae32c8b499 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ricardo Salveti <ricardo@foundries.io> | ||
3 | Date: Wed, 1 Mar 2023 22:14:35 -0300 | ||
4 | Subject: [PATCH] configs/k3: use intx for bar_mask | ||
5 | |||
6 | Fixes pci probe failure: | ||
7 | |||
8 | [ 46.795840] pci 0001:00:00.0: BAR 0: no space for [mem size 0x00010000] | ||
9 | [ 46.802516] pci 0001:00:00.0: BAR 0: failed to assign [mem size 0x00010000] | ||
10 | [ 46.809512] pci 0001:00:01.0: BAR 0: no space for [mem size 0x00010000] | ||
11 | [ 46.816158] pci 0001:00:01.0: BAR 0: failed to assign [mem size 0x00010000] | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | |||
15 | Signed-off-by: Ricardo Salveti <ricardo@foundries.io> | ||
16 | |||
17 | This patch was imported from foundriesio/meta-lmp | ||
18 | (https://github.com/foundriesio/meta-lmp) as of commit id | ||
19 | 70d419bfd54a99d3591e5a22622fc67f7de82b94. | ||
20 | |||
21 | Signed-off-by: Paresh Bhagat <p-bhagat@ti.com> | ||
22 | --- | ||
23 | configs/arm64/k3-am625-sk-linux-demo.c | 4 ++-- | ||
24 | configs/arm64/k3-am625-sk.c | 4 ++-- | ||
25 | 2 files changed, 4 insertions(+), 4 deletions(-) | ||
26 | |||
27 | diff --git a/configs/arm64/k3-am625-sk-linux-demo.c b/configs/arm64/k3-am625-sk-linux-demo.c | ||
28 | index 6dac8859..dcc5f026 100644 | ||
29 | --- a/configs/arm64/k3-am625-sk-linux-demo.c | ||
30 | +++ b/configs/arm64/k3-am625-sk-linux-demo.c | ||
31 | @@ -197,7 +197,7 @@ struct { | ||
32 | /* 00:00.0 */ { | ||
33 | .type = JAILHOUSE_PCI_TYPE_IVSHMEM, | ||
34 | .bdf = 0 << 3, | ||
35 | - .bar_mask = JAILHOUSE_IVSHMEM_BAR_MASK_INTX_64K, | ||
36 | + .bar_mask = JAILHOUSE_IVSHMEM_BAR_MASK_INTX, | ||
37 | .shmem_regions_start = 0, | ||
38 | .shmem_dev_id = 2, | ||
39 | .shmem_peers = 3, | ||
40 | @@ -206,7 +206,7 @@ struct { | ||
41 | /* 00:01.0 */ { | ||
42 | .type = JAILHOUSE_PCI_TYPE_IVSHMEM, | ||
43 | .bdf = 1 << 3, | ||
44 | - .bar_mask = JAILHOUSE_IVSHMEM_BAR_MASK_INTX_64K, | ||
45 | + .bar_mask = JAILHOUSE_IVSHMEM_BAR_MASK_INTX, | ||
46 | .shmem_regions_start = 5, | ||
47 | .shmem_dev_id = 1, | ||
48 | .shmem_peers = 2, | ||
49 | diff --git a/configs/arm64/k3-am625-sk.c b/configs/arm64/k3-am625-sk.c | ||
50 | index 69ab12a4..dcea42e0 100644 | ||
51 | --- a/configs/arm64/k3-am625-sk.c | ||
52 | +++ b/configs/arm64/k3-am625-sk.c | ||
53 | @@ -325,7 +325,7 @@ struct { | ||
54 | .type = JAILHOUSE_PCI_TYPE_IVSHMEM, | ||
55 | .domain = 1, | ||
56 | .bdf = 0 << 3, | ||
57 | - .bar_mask = JAILHOUSE_IVSHMEM_BAR_MASK_INTX_64K, | ||
58 | + .bar_mask = JAILHOUSE_IVSHMEM_BAR_MASK_INTX, | ||
59 | .shmem_regions_start = 0, | ||
60 | .shmem_dev_id = 0, | ||
61 | .shmem_peers = 3, | ||
62 | @@ -335,7 +335,7 @@ struct { | ||
63 | .type = JAILHOUSE_PCI_TYPE_IVSHMEM, | ||
64 | .domain = 1, | ||
65 | .bdf = 1 << 3, | ||
66 | - .bar_mask = JAILHOUSE_IVSHMEM_BAR_MASK_INTX_64K, | ||
67 | + .bar_mask = JAILHOUSE_IVSHMEM_BAR_MASK_INTX, | ||
68 | .shmem_regions_start = 5, | ||
69 | .shmem_dev_id = 0, | ||
70 | .shmem_peers = 2, | ||
71 | -- | ||
72 | 2.34.1 | ||