[siemens/jailhouse] 7fe104: configs: Add hypervisor node to inmate device tree...

5 views
Skip to first unread message

GitHub

unread,
Oct 9, 2017, 2:38:53 AM10/9/17
to jailho...@googlegroups.com
Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: 7fe10469114298b1c5ebe3320e1c93e171c37520
https://github.com/siemens/jailhouse/commit/7fe10469114298b1c5ebe3320e1c93e171c37520
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2017-10-04 (Wed, 04 Oct 2017)

Changed paths:
M configs/dts/inmate-amd-seattle.dts
M configs/dts/inmate-bananapi.dts
M configs/dts/inmate-espressobin.dts
M configs/dts/inmate-foundation-v8.dts
M configs/dts/inmate-hikey.dts
M configs/dts/inmate-jetson-tk1.dts
M configs/dts/inmate-jetson-tx1.dts
M configs/dts/inmate-orangepi0.dts
M configs/dts/inmate-qemu-arm64.dts
M configs/dts/inmate-zynqmp-zcu102-2.dts
M configs/dts/inmate-zynqmp-zcu102.dts

Log Message:
-----------
configs: Add hypervisor node to inmate device trees

Enables the guest to identify Jailhouse on ARM platforms.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 3af1fc9d7d7c8a8b0641e24a229966c0ad4accb6
https://github.com/siemens/jailhouse/commit/3af1fc9d7d7c8a8b0641e24a229966c0ad4accb6
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2017-10-04 (Wed, 04 Oct 2017)

Changed paths:
M hypervisor/arch/arm-common/gic-v2.c
M hypervisor/arch/arm-common/gic-v3.c

Log Message:
-----------
arm-common: Prefix GIC functions with their target version

Now that we link both GIC implementations into the same binary, this
prefixing helps telling the origin of symbols apart.

No functional changes.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: ba172c23369e8dfe2b50112e166c1da61375b57b
https://github.com/siemens/jailhouse/commit/ba172c23369e8dfe2b50112e166c1da61375b57b
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2017-10-08 (Sun, 08 Oct 2017)

Changed paths:
M hypervisor/control.c

Log Message:
-----------
core: Add barrier to shutdown procedure

Add a barrier that waits for all CPUs to enter the disable hypercall
prior to performing any shutdown step. This avoids races in case some
CPU rushes forward with disabling common hypervisor support while
another is still operational, possibly triggering code paths that
expects Jailhouse to be still working.

One such scenario can be triggered on ARM once we start migrating
pending interrupts from the hypervisor queue back to the physical
irqchip.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 2276862e07edd501e77e15067d039aa954b89711
https://github.com/siemens/jailhouse/commit/2276862e07edd501e77e15067d039aa954b89711
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2017-10-09 (Mon, 09 Oct 2017)

Changed paths:
M hypervisor/arch/arm-common/gic-v2.c
M hypervisor/arch/arm-common/gic-v3.c
M hypervisor/arch/arm-common/include/asm/irqchip.h

Log Message:
-----------
arm-common: Let cpu_shutdown return an error if the GIC is uninitialized

This allows the caller to decide if further deinitializations are
required.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: d85ac1847220d2008850fbe3de9b253d7cc3457c
https://github.com/siemens/jailhouse/commit/d85ac1847220d2008850fbe3de9b253d7cc3457c
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2017-10-09 (Mon, 09 Oct 2017)

Changed paths:
M hypervisor/arch/arm-common/gic-v2.c
M hypervisor/arch/arm-common/gic-v3.c
M hypervisor/arch/arm-common/include/asm/irqchip.h
M hypervisor/arch/arm-common/irqchip.c

Log Message:
-----------
arm-common: Migrate pending interrupts on shutdown

When we have interrupts pending for virtual injection, we need to
migrate them into the physical queue prior to disabling Jailhouse.
Failing to do so means loosing interrupts, most often the timer IRQ.
This error could be triggered by running jailhouse enable/disable in a
tight loop.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Compare: https://github.com/siemens/jailhouse/compare/94028b971d05...d85ac1847220
Reply all
Reply to author
Forward
0 new messages