[siemens/jailhouse] c3c645: core: Increment config file revision

2 views
Skip to first unread message

GitHub

unread,
Dec 2, 2016, 6:10:03 AM12/2/16
to jailho...@googlegroups.com
Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: c3c645d0fbc0ea4b8c1e237aaddf4ef54a209949
https://github.com/siemens/jailhouse/commit/c3c645d0fbc0ea4b8c1e237aaddf4ef54a209949
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-12-02 (Fri, 02 Dec 2016)

Changed paths:
M hypervisor/include/jailhouse/cell-config.h
M tools/jailhouse-cell-linux

Log Message:
-----------
core: Increment config file revision

We introduced the new struct jailhouse_debug_console that changes the
structure and semantics of config files.

Signed-off-by: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
[Jan: also update jailhouse-cell-linux]
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: d18fe64eb5447dd346b23fb7911863b60dc50eb7
https://github.com/siemens/jailhouse/commit/d18fe64eb5447dd346b23fb7911863b60dc50eb7
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-12-02 (Fri, 02 Dec 2016)

Changed paths:
M inmates/demos/arm/gic-demo.c
M inmates/demos/x86/apic-demo.c
M inmates/lib/cmdline.c
M inmates/lib/inmate_common.h
M inmates/tools/arm/linux-loader.c
M inmates/tools/arm64/linux-loader.c

Log Message:
-----------
inmates: reserve memory for inmate cmdlines as weak symbol

This reserves at least 256 byte of memory for inmates.

Inmates may still use CMDLINE_BUFFER() to override this default setting.

Signed-off-by: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: d8178f39399bdb7763b4e5bbf26ff1760241bc43
https://github.com/siemens/jailhouse/commit/d8178f39399bdb7763b4e5bbf26ff1760241bc43
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-12-02 (Fri, 02 Dec 2016)

Changed paths:
M inmates/lib/arm/Makefile
M inmates/lib/arm/printk.c
M inmates/lib/arm/uart-8250.c
M inmates/lib/arm/uart-pl011.c
M inmates/lib/arm64/Makefile

Log Message:
-----------
inmates: arm: make uart drivers runtime selectable

Without additional cmdline arguments, inmates will use an empty debug
output driver. Following cmdline arguments can be used to select a
specific driver:

con-type
"8250" or "PL011"

con-base
UART-MMIO base address

con-divider
Optional: UART divider. Zero value means to skip initialisation.
Defaults to 0.

con-clock_reg
con-gate_nr
Optional: Clock Register and Gate Nr

Signed-off-by: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 211558763dddd5adeded635f86c20133c3188213
https://github.com/siemens/jailhouse/commit/211558763dddd5adeded635f86c20133c3188213
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-12-02 (Fri, 02 Dec 2016)

Changed paths:
M inmates/demos/x86/32-bit-demo.c
M inmates/demos/x86/apic-demo.c
M inmates/demos/x86/e1000-demo.c
M inmates/demos/x86/ioapic-demo.c
M inmates/demos/x86/ivshmem-demo.c
M inmates/demos/x86/pci-demo.c
M inmates/demos/x86/smp-demo.c
M inmates/demos/x86/tiny-demo.c
M inmates/lib/inmate_common.h
M inmates/lib/x86/printk.c

Log Message:
-----------
inmates: x86: make uart drivers runtime selectable

Without additional cmdline arguments, inmates will use an empty debug
output driver. Following cmdline arguments can be used to select a
specific driver:

con-type
not used for x86, as x86 only has one generic uart driver at the
moment. Should stay empty. Inmates do not support VGA output.

con-base
UART-{MMIO or PIO} base address. Defaults to 0x3f8

con-divider
Optional: UART divider. Like ARM, zero value means that no
initialisation is done. Defaults to 0.

Signed-off-by: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: c840c13c1707d12e73fa6f008195812c14e14ddc
https://github.com/siemens/jailhouse/commit/c840c13c1707d12e73fa6f008195812c14e14ddc
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-12-02 (Fri, 02 Dec 2016)

Changed paths:
M ci/jailhouse-config-amd-seattle.h
M ci/jailhouse-config-banana-pi.h
M ci/jailhouse-config-vexpress.h

Log Message:
-----------
ci: Update ci

Signed-off-by: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: f1911955194fef3c5c6aa6e2ebb9f606fdeb7311
https://github.com/siemens/jailhouse/commit/f1911955194fef3c5c6aa6e2ebb9f606fdeb7311
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-12-02 (Fri, 02 Dec 2016)

Changed paths:
A inmates/lib/arm/include/mach-sun7i/mach/console.h
R inmates/lib/arm/include/mach-sun7i/mach/uart.h
A inmates/lib/arm/include/mach-tegra124/mach/console.h
R inmates/lib/arm/include/mach-tegra124/mach/uart.h
A inmates/lib/arm/include/mach-vexpress/mach/console.h
R inmates/lib/arm/include/mach-vexpress/mach/uart.h
M inmates/lib/arm/printk.c
A inmates/lib/arm64/include/mach-amd-seattle/mach/console.h
R inmates/lib/arm64/include/mach-amd-seattle/mach/uart.h
A inmates/lib/arm64/include/mach-foundation-v8/mach/console.h
R inmates/lib/arm64/include/mach-foundation-v8/mach/uart.h
A inmates/lib/arm64/include/mach-hi6220/mach/console.h
R inmates/lib/arm64/include/mach-hi6220/mach/uart.h

Log Message:
-----------
inmates: choose default UART driver according to mach settings

This also gives us the chance to rename uart.h to console.h

Signed-off-by: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: c487a348e3845b563af5e295cbca55b4683a1a62
https://github.com/siemens/jailhouse/commit/c487a348e3845b563af5e295cbca55b4683a1a62
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-12-02 (Fri, 02 Dec 2016)

Changed paths:
M inmates/lib/x86/printk.c

Log Message:
-----------
inmates: x86: Allow PIO and MMIO debug output for inmates

Add con-types PIO and MMIO for x86 inmates.

Signed-off-by: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Cc: Jan Kiszka <jan.k...@siemens.com>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: cf5ddbe49cef26fd0a97c5d86872471d2c9b87ec
https://github.com/siemens/jailhouse/commit/cf5ddbe49cef26fd0a97c5d86872471d2c9b87ec
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-12-02 (Fri, 02 Dec 2016)

Changed paths:
A Documentation/debug-output.md

Log Message:
-----------
documentation: Add documentation for debug output

Signed-off-by: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 2207caf6c681e0ec5f7807d9a3ff8a8bdb7c858b
https://github.com/siemens/jailhouse/commit/2207caf6c681e0ec5f7807d9a3ff8a8bdb7c858b
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-02 (Fri, 02 Dec 2016)

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

Log Message:
-----------
arm, arm64: Add irqchip_has_pending_irqs

This function returns true if the virtual irqchip of the a CPU has any
interrupt pending for cell injection. Will be needed to emulate the
PSCI service CPU_SUSPEND.

CC: Ralf Ramsauer <ra...@ramses-pyramidenbau.de>
CC: Mark Rutland <mark.r...@arm.com>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: b769eb14d8609b5d37b1570f80da91c099558e00
https://github.com/siemens/jailhouse/commit/b769eb14d8609b5d37b1570f80da91c099558e00
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-02 (Fri, 02 Dec 2016)

Changed paths:
M hypervisor/arch/arm-common/include/asm/psci.h
M hypervisor/arch/arm-common/psci.c

Log Message:
-----------
arm, arm64: Emulate PSCI service PSCI_CPU_SUSPEND

This is a mandatory service with PSCI v0.2+, and if the root cell was
using it prior to enabling Jailhouse, just returning an error, like we
do so far, will send the CPUs into a busy loop.

Implement the minimum of this service by sending the CPU into a wfi, but
only if there are no interrupt waiting to be injected. We better check
for physical interrupts after the wfi to reduce world switches and,
thus, event delivery latencies.

CC: Ralf Ramsauer <ra...@ramses-pyramidenbau.de>
CC: Mark Rutland <mark.r...@arm.com>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: cb87b6e9a6c3fcb1413b4d6536efa9e4d0aedc6a
https://github.com/siemens/jailhouse/commit/cb87b6e9a6c3fcb1413b4d6536efa9e4d0aedc6a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-02 (Fri, 02 Dec 2016)

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

Log Message:
-----------
arm, arm64: Remove indirection to gic_handle_irq

Rename gic_handle_irq to irqchip_handle_irq so that this common
implementation is invoked directly.

On the long run, gic-common.c should be folded into irqchip.c because we
depend on GIC-based irqchips anyway.

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


Commit: ce4ab057fa4ebf2c030b7732c0c43350f871acc8
https://github.com/siemens/jailhouse/commit/ce4ab057fa4ebf2c030b7732c0c43350f871acc8
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-02 (Fri, 02 Dec 2016)

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

Log Message:
-----------
arm, arm64: Move common GICD mapping into irqchip_cell_init

This logic is shared between GICv2 and GICv3.

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


Commit: 7e12b501921b584a9ff9c0f4d570e5dbac336cdf
https://github.com/siemens/jailhouse/commit/7e12b501921b584a9ff9c0f4d570e5dbac336cdf
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-02 (Fri, 02 Dec 2016)

Changed paths:
M hypervisor/arch/arm-common/include/asm/gic.h

Log Message:
-----------
arm, arm64: Remove unneeded forward type declarations from gic.h

No longer needed, or we get them via the included headers.

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


Commit: 3bfd76f9aec4bc99648a84ddc5e7d10ed4ca18b5
https://github.com/siemens/jailhouse/commit/3bfd76f9aec4bc99648a84ddc5e7d10ed4ca18b5
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-02 (Fri, 02 Dec 2016)

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

Log Message:
-----------
arm, arm64: Refactor target_cpu_map to gicv2_target_cpu_map

This mapping is GICv2-only, and therefore the variable is better
renamed. Also make sure that its size can be retrieved externally.

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


Commit: 4e2dc47e679c4b65cf57f017d39be4281d5abccf
https://github.com/siemens/jailhouse/commit/4e2dc47e679c4b65cf57f017d39be4281d5abccf
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-02 (Fri, 02 Dec 2016)

Changed paths:
M hypervisor/arch/arm-common/include/asm/irqchip.h

Log Message:
-----------
arm, arm64: Removed unused mmio_access irqchip callback

Leftover from dda4c03f.

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


Commit: 5722b45fc8e6d294df7c071d4d3a82f765aa1409
https://github.com/siemens/jailhouse/commit/5722b45fc8e6d294df7c071d4d3a82f765aa1409
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-02 (Fri, 02 Dec 2016)

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

Log Message:
-----------
arm, arm64: Factor out handle_irq_target irqchip callback

As we run the GICv3 only in affinity mode, access to ITARGETSR can be
ignored, and the existing handle_irq_target can become GICv2-only.

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


Commit: 0b0fe56e0b12837cb7a6a215a4413ed767e74820
https://github.com/siemens/jailhouse/commit/0b0fe56e0b12837cb7a6a215a4413ed767e74820
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-02 (Fri, 02 Dec 2016)

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

Log Message:
-----------
arm, arm64: Fold gic_probe_cpu_id into GICv2 gic_cpu_init

This is the only user, and it is GICv2-only. As a side-effect, this now
actually evaluates the return value.

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


Commit: 471996cdd3031ee1a9349e6ed95a9e84e116875e
https://github.com/siemens/jailhouse/commit/471996cdd3031ee1a9349e6ed95a9e84e116875e
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-02 (Fri, 02 Dec 2016)

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

Log Message:
-----------
arm, arm64: Move gic_targets_in_cell into gic-v2.c

This is GICv2-only.

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


Commit: a61d2a6ecb96771e795c140e8c65d9121b1fcdaa
https://github.com/siemens/jailhouse/commit/a61d2a6ecb96771e795c140e8c65d9121b1fcdaa
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-02 (Fri, 02 Dec 2016)

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

Log Message:
-----------
arm, arm64: Fold gic-common.c into irqchip.c

Our irqchip is inherently GIC-centric, so there is no reason to split up
the frontend interface from the common GIC part. Move them together, and
also fold gic_set_irq_pending into its only caller.

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


Commit: f5c87a6b34ba4d6d358c58cfe84a0d65f7798ec1
https://github.com/siemens/jailhouse/commit/f5c87a6b34ba4d6d358c58cfe84a0d65f7798ec1
Author: Claudio Scordino <cla...@evidence.eu.com>
Date: 2016-12-02 (Fri, 02 Dec 2016)

Changed paths:
M README.md

Log Message:
-----------
README: more explicit requirements

This patch aims at reorganizing the README and making the (hardware and
software) requirements more explicit.

Signed-off-by: Claudio Scordino <cla...@evidence.eu.com>
[Jan: updated min. ARM kernel version, removed new lines at EOF]
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: e1426b6ea8507ab346059d2d3fd6754552ba88ab
https://github.com/siemens/jailhouse/commit/e1426b6ea8507ab346059d2d3fd6754552ba88ab
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-02 (Fri, 02 Dec 2016)

Changed paths:
M hypervisor/ivshmem.c

Log Message:
-----------
ivshmem: Notify remote about state change on cell removal

Removing one peer cell has the implicit effect of resetting its state to
0. Signal this change via an interrupt as well.

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


Compare: https://github.com/siemens/jailhouse/compare/9b2210e1df3f...e1426b6ea850
Reply all
Reply to author
Forward
0 new messages