[siemens/jailhouse] 0e87bc: tools: Fix cell completion for empty lists

瀏覽次數:3 次
跳到第一則未讀訊息

GitHub

未讀,
2016年12月2日 凌晨3:28:152016/12/2
收件者:jailho...@googlegroups.com
Branch: refs/heads/coverity_scan
Home: https://github.com/siemens/jailhouse
Commit: 0e87bc06972370de2d1052f578130e91a104024d
https://github.com/siemens/jailhouse/commit/0e87bc06972370de2d1052f578130e91a104024d
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-11-27 (Sun, 27 Nov 2016)

Changed paths:
M tools/jailhouse-completion.bash

Log Message:
-----------
tools: Fix cell completion for empty lists

Commands that can only work on non-root cells have no cells to list if
just the root cell is running. Setting nullglob while listing and
returning early if list is empty resolves this. We can even simplify
the code.

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


Commit: cbd22d838a43161328fcfe7773f17b35690ca420
https://github.com/siemens/jailhouse/commit/cbd22d838a43161328fcfe7773f17b35690ca420
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-11-27 (Sun, 27 Nov 2016)

Changed paths:
M hypervisor/arch/x86/vcpu.c

Log Message:
-----------
x86: Only allow changes to MTRR enable bit in IA32_MTRR_DEF_TYPE

Expose the system-wide state that we inherited when starting Jailhouse
also to non-root cells and only allow modifications of the enable bit.
This ensure that non-root cells see the correct MTRR mapping, including
the proper default type. Specifically Linux may otherwise get confused
and start to map the shared memory regions as uncacheable - obviously
reducing the inter-cell communication performance.

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


Commit: 91917eae354ff6adfb835a399863232c8c050082
https://github.com/siemens/jailhouse/commit/91917eae354ff6adfb835a399863232c8c050082
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-11-27 (Sun, 27 Nov 2016)

Changed paths:
M hypervisor/setup.c

Log Message:
-----------
core: Instrument error on CPU number mismatch

Allows to identify the reason if CONFIG_TRACE_ERROR is enabled.

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


Commit: ebf21d67c7789d5a1cd696e58aa60696578fb218
https://github.com/siemens/jailhouse/commit/ebf21d67c7789d5a1cd696e58aa60696578fb218
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-11-27 (Sun, 27 Nov 2016)

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

Log Message:
-----------
core: Reorder platform_info.arm for better alignment

Cosmetic change because these values are only used during setup. But we
try to align things consistently throughout the config.

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


Commit: 5444c1c2a3cb163c2e8261a31e1eedf8d97d954f
https://github.com/siemens/jailhouse/commit/5444c1c2a3cb163c2e8261a31e1eedf8d97d954f
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-11-27 (Sun, 27 Nov 2016)

Changed paths:
M configs/f2a88xm-hd3.c
M configs/h87i.c
M configs/qemu-vm.c
M hypervisor/arch/x86/vtd.c
M hypervisor/include/jailhouse/cell-config.h
M tools/root-cell-config.c.tmpl

Log Message:
-----------
configs, core: Make interrupt_limit vtd-specific

There is no use for this platform parameter beyond Intel VT-d support.

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


Commit: c295bdb37c172363bdda8cecfcbaf784c69cee0a
https://github.com/siemens/jailhouse/commit/c295bdb37c172363bdda8cecfcbaf784c69cee0a
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-11-27 (Sun, 27 Nov 2016)

Changed paths:
M tools/jailhouse-cell-linux

Log Message:
-----------
tools: let jailhouse-cell-linux check header signatures

We do have magic bytes in configfile headers for distunguishing cell and
system configurations. Add this check to jailhouse-cell-linux to avoid
passing system configurations to jailhouse-cell-linux.

Signed-off-by: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
[Jan: wrapped over-long line]
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 80226df56d9e2c4f4126135f49ab1ed20ffe0d7a
https://github.com/siemens/jailhouse/commit/80226df56d9e2c4f4126135f49ab1ed20ffe0d7a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-11-27 (Sun, 27 Nov 2016)

Changed paths:
M configs/amd-seattle-gic-demo.c
M configs/amd-seattle-linux-demo.c
M configs/amd-seattle-uart-demo.c
M configs/amd-seattle.c
M configs/apic-demo.c
M configs/bananapi-gic-demo.c
M configs/bananapi-linux-demo.c
M configs/bananapi-uart-demo.c
M configs/bananapi.c
M configs/e1000-demo.c
M configs/f2a88xm-hd3.c
M configs/foundation-v8-gic-demo.c
M configs/foundation-v8-linux-demo.c
M configs/foundation-v8-uart-demo.c
M configs/foundation-v8.c
M configs/h87i.c
M configs/hikey-gic-demo.c
M configs/hikey-linux-demo.c
M configs/hikey.c
M configs/imb-a180.c
M configs/ioapic-demo.c
M configs/ivshmem-demo.c
M configs/jetson-tk1-demo.c
M configs/jetson-tk1-linux-demo.c
M configs/jetson-tk1.c
M configs/linux-x86-demo.c
M configs/pci-demo.c
M configs/qemu-vm.c
M configs/smp-demo.c
M configs/tiny-demo.c
M configs/vexpress-gic-demo.c
M configs/vexpress-linux-demo.c
M configs/vexpress-uart-demo.c
M configs/vexpress.c
M driver/cell.c
M driver/main.c
M hypervisor/include/jailhouse/cell-config.h
M tools/jailhouse-cell-linux
M tools/root-cell-config.c.tmpl

Log Message:
-----------
configs, driver, tools: Add and validate config revision

A common source of breakages during development and testing is to run
with outdated configuration files against newer binaries, or vice versa.
Catch and report this by converting the last 2 bytes of the system and
cell config signatures into a revision number. Whenever we change their
layout or semantic, this number shall be increased.

Configs were auto-converted via

sed -i -e '/\.signature =/a\\t\t.revision = JAILHOUSE_CONFIG_REVISION,' \
`git ls-files configs/*.c`

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


Commit: d57f3fdc5258203b8fc999687f9850bbf963cb5d
https://github.com/siemens/jailhouse/commit/d57f3fdc5258203b8fc999687f9850bbf963cb5d
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-11-27 (Sun, 27 Nov 2016)

Changed paths:
M tools/jailhouse-cell-linux

Log Message:
-----------
tools: Fix writing of x86 Linux loader parameters

Fixes: a7b8b414c893 ("tools: Prepare jailhouse-cell-linux for non-x86
support")

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


Commit: 069a5847226488cc37e7c774387cc2a970f46a9a
https://github.com/siemens/jailhouse/commit/069a5847226488cc37e7c774387cc2a970f46a9a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)

Changed paths:
M tools/jailhouse-cell-linux

Log Message:
-----------
tools: Fix silent breakage of DTBNode parsing in Linux loader

The "raise" was missing, but that only revealed more problems of this
loop.

Fixes: 077e62e372c5 ("tools: Add ARM and ARM64 support to Linux loader
script")

Reported-by: Ralf Ramsauer <ra...@ramses-pyramidenbau.de>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 25d7821877f2158433050191bad53bbb34873281
https://github.com/siemens/jailhouse/commit/25d7821877f2158433050191bad53bbb34873281
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)

Changed paths:
M hypervisor/arch/arm/include/asm/processor.h
M hypervisor/arch/arm/include/asm/spinlock.h
M hypervisor/arch/arm64/include/asm/processor.h

Log Message:
-----------
arm, arm64: Remove unneeded macros and prototypes from processor.h

Remove no longer needed or - in case of sev() - unneeded abstractions
and prototypes from the processor headers.

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


Commit: 43104a75345080decc0443c762e92a372993ef4c
https://github.com/siemens/jailhouse/commit/43104a75345080decc0443c762e92a372993ef4c
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-11-29 (Tue, 29 Nov 2016)

Changed paths:
M hypervisor/arch/x86/uart.c

Log Message:
-----------
core: x86: remove 8-bit MMIO support from uart driver

This is not required at the moment, as we don't have any real hardware
that would need 8-bit register distance together with MMIO.

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


Commit: 4d4bcd6dc983d2768f7c13240252760cbdbc6e6f
https://github.com/siemens/jailhouse/commit/4d4bcd6dc983d2768f7c13240252760cbdbc6e6f
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-11-29 (Tue, 29 Nov 2016)

Changed paths:
M Documentation/vga-console.txt
M configs/amd-seattle.c
M configs/bananapi.c
M configs/f2a88xm-hd3.c
M configs/foundation-v8.c
M configs/h87i.c
M configs/hikey.c
M configs/imb-a180.c
M configs/jetson-tk1.c
M configs/qemu-vm.c
M configs/vexpress.c
M driver/main.c
M hypervisor/arch/arm64/asm-defines.c
M hypervisor/arch/x86/uart.c
M hypervisor/arch/x86/vga.c
M hypervisor/include/jailhouse/cell-config.h
M hypervisor/paging.c
M tools/root-cell-config.c.tmpl

Log Message:
-----------
core: Introduce struct jailhouse_debug_console

This patch exchanges the type of the debug_console.

So far, the jailhouse debug console has been a simple
jailhouse_memory_region. This makes it hard to differentiate between
different kinds of debug outputs.

This patch introduces the new struct jailhouse_debug_console which makes
the debug_console much more extensible.

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


Commit: 398e0f99916c4f8314931f89d54fde7b086a1428
https://github.com/siemens/jailhouse/commit/398e0f99916c4f8314931f89d54fde7b086a1428
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-11-29 (Tue, 29 Nov 2016)

Changed paths:
M hypervisor/arch/arm-common/dbg-write.c
M hypervisor/arch/x86/dbg-write.c
M hypervisor/arch/x86/include/asm/uart.h
M hypervisor/arch/x86/include/asm/vga.h
M hypervisor/arch/x86/uart.c
M hypervisor/arch/x86/vga.c
M hypervisor/include/jailhouse/cell-config.h
M hypervisor/include/jailhouse/printk.h
M hypervisor/printk.c

Log Message:
-----------
core: dynamically choose the debug output driver

The new struct jailhouse_debug_output allows us to differentiate between
different debug output types.

So far, differentiation has mainly been done by flags or by slicing the
the base address of the console. This patch makes differentiation of
debug output drivers more explicit.

Furthermore, introduce an architecture independent dbg_write_stub() that
serves as an empty debug output and choose it initially.

arch_dbg_write is now a function pointer that can be set by specific
architecture output drivers.

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


Commit: c7c60d987523c5fc9f967199f3a28b4592560756
https://github.com/siemens/jailhouse/commit/c7c60d987523c5fc9f967199f3a28b4592560756
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-11-29 (Tue, 29 Nov 2016)

Changed paths:
M hypervisor/arch/arm-common/uart-8250.c
M hypervisor/arch/arm-common/uart-pl011.c
A inmates/lib/arm-common/include/uart.h
M inmates/lib/arm/Makefile
M inmates/lib/arm/Makefile.lib
M inmates/lib/arm/printk.c
M inmates/lib/arm/uart-8250.c
M inmates/lib/arm/uart-pl011.c
R inmates/lib/arm/uart-tegra.c
M inmates/lib/arm64/Makefile.lib

Log Message:
-----------
core, inmates: Decouple debug output of hypervisor from inmates

This allows us also to fold uart-tegra and uart-8250, at least for
inmates.

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


Commit: d989b18671e2492f8796b3d8ed9a761c0e6e005f
https://github.com/siemens/jailhouse/commit/d989b18671e2492f8796b3d8ed9a761c0e6e005f
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-11-29 (Tue, 29 Nov 2016)

Changed paths:
R hypervisor/arch/arm-common/include/asm/uart-8250.h
R hypervisor/arch/arm-common/include/asm/uart-pl011.h
M hypervisor/arch/arm-common/uart-8250.c
M hypervisor/arch/arm-common/uart-pl011.c

Log Message:
-----------
core: arm: Fold UART headers and source

UART headers are no longer shared. No reason to keep code inside
headers.

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


Commit: 2f898c7b3bc19c7e0e814136eebaad20ae424888
https://github.com/siemens/jailhouse/commit/2f898c7b3bc19c7e0e814136eebaad20ae424888
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-11-29 (Tue, 29 Nov 2016)

Changed paths:
M hypervisor/arch/arm-common/dbg-write.c
M hypervisor/arch/arm-common/include/asm/uart.h

Log Message:
-----------
core: arm: Add pointer to debug_console in struct uart_chip

This helps us in future to access configuration.

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


Commit: 2a7c8733b6a3d47fb507eca4de5a33433199424c
https://github.com/siemens/jailhouse/commit/2a7c8733b6a3d47fb507eca4de5a33433199424c
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-11-29 (Tue, 29 Nov 2016)

Changed paths:
M configs/bananapi.c
M configs/f2a88xm-hd3.c
M configs/h87i.c
M configs/imb-a180.c
M configs/jetson-tk1.c
M configs/qemu-vm.c
M hypervisor/arch/arm-common/uart-8250.c
M hypervisor/arch/x86/uart.c
M hypervisor/include/jailhouse/cell-config.h

Log Message:
-----------
core: add divider to jailhouse_debug_console

Add an additional divider variable to the uart structure that allows to
dynamically set the uart baudrate.

If the divider is zero, the hypervisor will skip UART initialisation and
assume that the UART was already initialised by Linux.

For most scenarios, this is the default case and the reason why .divider
values are comments inside system configurations that represent common
default values, if initialisation is required.

Those default values are:
- arm: Banana Pi (0x0d, 8250)
- arm: Jetson TK1 (0xdd, tegra, yet unused)
- x86: PIO (0x1, means 115200 (?))
- x86: OXPCIE (0x22, see h87i.c)

Additionally, the introduction of the divider gives us the chance to get
rid of CONFIG_SERIAL_OXPCIE952 in hypervisor code.

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: 21b36c4092ade9411ae8bf4b29679b1e30e2a2d3
https://github.com/siemens/jailhouse/commit/21b36c4092ade9411ae8bf4b29679b1e30e2a2d3
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-11-29 (Tue, 29 Nov 2016)

Changed paths:
M configs/jetson-tk1.c
M hypervisor/arch/arm/include/asm/uart-tegra.h
M inmates/lib/arm/include/mach-tegra124/mach/uart.h

Log Message:
-----------
arm: jetson tk1: use 7006300 as default debug console

The page of the Jetson TK1 UARTs is 0x70006000, the DB9 debug uart is
0x300 inside that page.

Moving this offset to the configuration allows us to consolidate
uart-tegra and uart-8250-dw.

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


Commit: 9dd09d0db6ae9c5299751ce274a4e20a1ef2a4c6
https://github.com/siemens/jailhouse/commit/9dd09d0db6ae9c5299751ce274a4e20a1ef2a4c6
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-11-29 (Tue, 29 Nov 2016)

Changed paths:
M hypervisor/arch/arm/Kbuild
R hypervisor/arch/arm/include/asm/uart-tegra.h
R hypervisor/arch/arm/uart-tegra.c
M inmates/lib/arm/Makefile
M inmates/lib/arm/include/mach-tegra124/mach/uart.h

Log Message:
-----------
core: arm: consolidate uart drivers 8250 and tegra

Tegra UART is 8250 compatible.

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


Commit: f86f018751c3a778c672c9ba2780067922dcbaf2
https://github.com/siemens/jailhouse/commit/f86f018751c3a778c672c9ba2780067922dcbaf2
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-11-29 (Tue, 29 Nov 2016)

Changed paths:
M configs/bananapi.c
M configs/jetson-tk1.c
M driver/main.c
M hypervisor/arch/arm-common/dbg-write.c
M hypervisor/arch/arm-common/include/asm/uart.h
M hypervisor/arch/arm-common/uart-8250.c
M hypervisor/include/jailhouse/cell-config.h
M hypervisor/include/jailhouse/header.h
M hypervisor/paging.c

Log Message:
-----------
core: add clock register and gate nr to jailhouse_debug_console

This allows jailhouse to power up UART devices without being initialised
from Linux before.

In most scenarios, Linux will power up clocks.

Default for Bananapi and Jetson TK1 values can be found as comments
inside system configurations.

Note, that this is currently only supported on ARM together with the
8250 driver. This is currently not supported by ARM64.

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


Commit: a974733c8d8866d28d73e8043c18614edf330c9f
https://github.com/siemens/jailhouse/commit/a974733c8d8866d28d73e8043c18614edf330c9f
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-11-29 (Tue, 29 Nov 2016)

Changed paths:
M hypervisor/arch/arm-common/dbg-write.c
M hypervisor/arch/arm-common/include/asm/uart.h
M hypervisor/arch/arm-common/uart-8250.c
M hypervisor/arch/arm-common/uart-pl011.c

Log Message:
-----------
core: arm: use the uart_chip structure instead of functions

Also add an initialisation function to struct uart_chip. In this way,
all operations are now encapsulated in the structure.

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


Commit: 5c27cf5f2743b89d9f2a5a40dc50f3eba97ed18c
https://github.com/siemens/jailhouse/commit/5c27cf5f2743b89d9f2a5a40dc50f3eba97ed18c
Author: Ralf Ramsauer <ralf.r...@oth-regensburg.de>
Date: 2016-11-29 (Tue, 29 Nov 2016)

Changed paths:
M configs/amd-seattle.c
M configs/bananapi.c
M configs/foundation-v8.c
M configs/hikey.c
M configs/jetson-tk1.c
M configs/vexpress.c
M hypervisor/arch/arm-common/Kbuild
M hypervisor/arch/arm-common/dbg-write.c
M hypervisor/arch/arm-common/uart-8250.c
M hypervisor/arch/arm-common/uart-pl011.c
M hypervisor/include/jailhouse/cell-config.h

Log Message:
-----------
core: always built-in all available debug output drivers

And add two new debug types:
JAILHOUSE_CON_TYPE_PL011
JAILHOUSE_CON_TYPE_8250

Those drivers can now explicitely be chosen in the configuration, no
need for conditional compilation any more.

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


Commit: bbbaec6eb1db02c54bbbcdf1e30218417e838bc1
https://github.com/siemens/jailhouse/commit/bbbaec6eb1db02c54bbbcdf1e30218417e838bc1
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

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>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 8627f69163cb8ba64e84001d168fae220137fd7d
https://github.com/siemens/jailhouse/commit/8627f69163cb8ba64e84001d168fae220137fd7d
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: cf947627c2a69ae6318aa997af6725ff12a3ac01
https://github.com/siemens/jailhouse/commit/cf947627c2a69ae6318aa997af6725ff12a3ac01
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: 6983f4baf23c1afa2ec2cd2d22b28d59e3f9d908
https://github.com/siemens/jailhouse/commit/6983f4baf23c1afa2ec2cd2d22b28d59e3f9d908
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: b98335190d43901eb8de42f15948fc777be06555
https://github.com/siemens/jailhouse/commit/b98335190d43901eb8de42f15948fc777be06555
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: 8c0d840260bdc15a6eb2db50a8ea84cc24f70443
https://github.com/siemens/jailhouse/commit/8c0d840260bdc15a6eb2db50a8ea84cc24f70443
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: 00725984ccdcdbe31eb54f988303be51da3964a4
https://github.com/siemens/jailhouse/commit/00725984ccdcdbe31eb54f988303be51da3964a4
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: 221b16afb55ce1b1a2a27204d11d523b1e87edb0
https://github.com/siemens/jailhouse/commit/221b16afb55ce1b1a2a27204d11d523b1e87edb0
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>


Compare: https://github.com/siemens/jailhouse/compare/25ecb74c6532...221b16afb55c

GitHub

未讀,
2016年12月6日 凌晨2:16:272016/12/6
收件者:jailho...@googlegroups.com
Branch: refs/heads/master
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
Commit: 211558763dddd5adeded635f86c20133c3188213
https://github.com/siemens/jailhouse/commit/211558763dddd5adeded635f86c20133c3188213
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: e3c57d5b3f0019c38ec41ee197d703dafee8bd42
https://github.com/siemens/jailhouse/commit/e3c57d5b3f0019c38ec41ee197d703dafee8bd42
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-05 (Mon, 05 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>
Tested-by: Ralf Ramsauer <ra...@ramses-pyramidenbau.de>


Commit: 5e02026f773ed9b5214f15c318520ce306f9dc4a
https://github.com/siemens/jailhouse/commit/5e02026f773ed9b5214f15c318520ce306f9dc4a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-05 (Mon, 05 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: f93fa7350c861c5ef3772f53f9550c71e717711e
https://github.com/siemens/jailhouse/commit/f93fa7350c861c5ef3772f53f9550c71e717711e
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-05 (Mon, 05 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: afdb015982401b86992fd6ce94857d7960b58264
https://github.com/siemens/jailhouse/commit/afdb015982401b86992fd6ce94857d7960b58264
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-05 (Mon, 05 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: 08c3e22e2643cc0013054d08b951b136e13c18ec
https://github.com/siemens/jailhouse/commit/08c3e22e2643cc0013054d08b951b136e13c18ec
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-05 (Mon, 05 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: 6a98d456b0a4eea871a1ce12d75ac5905962ddf0
https://github.com/siemens/jailhouse/commit/6a98d456b0a4eea871a1ce12d75ac5905962ddf0
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-05 (Mon, 05 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: faa98cc601ec64a03ed56462861e16f5080e606a
https://github.com/siemens/jailhouse/commit/faa98cc601ec64a03ed56462861e16f5080e606a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-05 (Mon, 05 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: ff1f1a2266d577cf053bcef8570dd4ec088873a0
https://github.com/siemens/jailhouse/commit/ff1f1a2266d577cf053bcef8570dd4ec088873a0
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-05 (Mon, 05 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: 1b86e9e581513352fae531d430b0fe2982833fda
https://github.com/siemens/jailhouse/commit/1b86e9e581513352fae531d430b0fe2982833fda
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-05 (Mon, 05 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: db8184f14e3d64ecb20a1c0f407b8b8063faeefe
https://github.com/siemens/jailhouse/commit/db8184f14e3d64ecb20a1c0f407b8b8063faeefe
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-05 (Mon, 05 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: c65edaf35f6ca595544ea493acdb5726295f61b1
https://github.com/siemens/jailhouse/commit/c65edaf35f6ca595544ea493acdb5726295f61b1
Author: Claudio Scordino <cla...@evidence.eu.com>
Date: 2016-12-05 (Mon, 05 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: e4fe53ab9bf11c40be4ad521e798fa431a2560d8
https://github.com/siemens/jailhouse/commit/e4fe53ab9bf11c40be4ad521e798fa431a2560d8
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-12-05 (Mon, 05 Dec 2016)

Changed paths:
M hypervisor/ivshmem.c

Log Message:
-----------
core: 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/25ecb74c6532...e4fe53ab9bf1
回覆所有人
回覆作者
轉寄
0 則新訊息