From: Jan Kiszka <[email protected]>

Coupling the config arch to the target arch was counter-productive as it
prevents checking the non-root cell against its 64-bit root cell. Even
if the inmate will run in 32-bit mode, the config continue to target a
64-bit machine.

Fixes: f2320d2ee4de ("configs: enrich configs with architecture information")
Signed-off-by: Jan Kiszka <[email protected]>
---
 configs/arm64/imx8dxl-inmate-demo.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configs/arm64/imx8dxl-inmate-demo.c 
b/configs/arm64/imx8dxl-inmate-demo.c
index 7da204d2..3d2296d7 100644
--- a/configs/arm64/imx8dxl-inmate-demo.c
+++ b/configs/arm64/imx8dxl-inmate-demo.c
@@ -22,11 +22,10 @@ struct {
                .signature = JAILHOUSE_CELL_DESC_SIGNATURE,
                .revision = JAILHOUSE_CONFIG_REVISION,
                .name = "gic-demo",
+               .architecture = JAILHOUSE_ARM64,
 #ifdef USE_AARCH32
-               .architecture = JAILHOUSE_ARM,
                .flags = JAILHOUSE_CELL_PASSIVE_COMMREG | 
JAILHOUSE_CELL_AARCH32,
 #else
-               .architecture = JAILHOUSE_ARM64,
                .flags = JAILHOUSE_CELL_PASSIVE_COMMREG,
 #endif
                .cpu_set_size = sizeof(config.cpus),
-- 
2.35.3

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/ea65df766392b069bf4e4a5fa1efc9f05b3504a9.1674415741.git.jan.kiszka%40siemens.com.

Reply via email to