Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: 25d7821877f2158433050191bad53bbb34873281
https://github.com/siemens/jailhouse/commit/25d7821877f2158433050191bad53bbb34873281
Author: Jan Kiszka <[email protected]>
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 <[email protected]>
Commit: 369394cc3d32e9785f2502f5d0356b76a39f02ac
https://github.com/siemens/jailhouse/commit/369394cc3d32e9785f2502f5d0356b76a39f02ac
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 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 <[email protected]>
Commit: e1428a6d0dac4f8739d477abfe6601df13b3546d
https://github.com/siemens/jailhouse/commit/e1428a6d0dac4f8739d477abfe6601df13b3546d
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 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 <[email protected]>
Commit: 36cd5caa2020a928d74081d39a8b708f8648bfed
https://github.com/siemens/jailhouse/commit/36cd5caa2020a928d74081d39a8b708f8648bfed
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 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 <[email protected]>
Commit: 263a4f7a4df6f7f30fca57d4b30530b2d41cc086
https://github.com/siemens/jailhouse/commit/263a4f7a4df6f7f30fca57d4b30530b2d41cc086
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 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 <[email protected]>
Commit: ba4af9357cbbf13c608347b6f2662917855ee198
https://github.com/siemens/jailhouse/commit/ba4af9357cbbf13c608347b6f2662917855ee198
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 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 <[email protected]>
Commit: 4dbde70168a29c8702506e072d04564b85a86ea2
https://github.com/siemens/jailhouse/commit/4dbde70168a29c8702506e072d04564b85a86ea2
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 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 <[email protected]>
Commit: 2301792d56acbf1de59e5765557e5d3d5ebc2acc
https://github.com/siemens/jailhouse/commit/2301792d56acbf1de59e5765557e5d3d5ebc2acc
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 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, currently not used)
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 <[email protected]>
Commit: c7c468f10dffb962d9f581b5055048891e6af33e
https://github.com/siemens/jailhouse/commit/c7c468f10dffb962d9f581b5055048891e6af33e
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 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 <[email protected]>
Commit: 7aa69e1749d6cc6679698616857c99d8d05e401d
https://github.com/siemens/jailhouse/commit/7aa69e1749d6cc6679698616857c99d8d05e401d
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 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 <[email protected]>
Commit: 0b6375ec2272aa2ff07f59f6d1901937b203795e
https://github.com/siemens/jailhouse/commit/0b6375ec2272aa2ff07f59f6d1901937b203795e
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 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 <[email protected]>
Commit: f3dfd8d1f2e6a6a3038b6bdc2ab9531130266c1a
https://github.com/siemens/jailhouse/commit/f3dfd8d1f2e6a6a3038b6bdc2ab9531130266c1a
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 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 <[email protected]>
Commit: a869f007bd26020153aad7aee790d403333e334f
https://github.com/siemens/jailhouse/commit/a869f007bd26020153aad7aee790d403333e334f
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 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_DBG_TYPE_PL011
JAILHOUSE_DBG_TYPE_8250
Those drivers can now explicitely be chosen in the configuration, no
need for conditional compilation any more.
Signed-off-by: Ralf Ramsauer <[email protected]>
Commit: a5d7faab3e0329f76e188c5c52f37f200c21f26a
https://github.com/siemens/jailhouse/commit/a5d7faab3e0329f76e188c5c52f37f200c21f26a
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 Nov 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 <[email protected]>
Commit: 2bad81287142d2b93f93ee568664098503a1882c
https://github.com/siemens/jailhouse/commit/2bad81287142d2b93f93ee568664098503a1882c
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 Nov 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:
dbg-type
"8250" or "PL011"
dbg-base
UART-MMIO base address
dbg-divider
Optional: UART divider. Zero value means to skip initialisation.
Defaults to 0.
dbg-clock_reg
dbg-gate_nr
Optional: Clock Register and Gate Nr
Signed-off-by: Ralf Ramsauer <[email protected]>
Commit: 7a2fac3c1e25d77147be18551c68774aa106fd60
https://github.com/siemens/jailhouse/commit/7a2fac3c1e25d77147be18551c68774aa106fd60
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 Nov 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:
dbg-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.
dbg-base
UART-{MMIO or PIO} base address. Defaults to 0x3f8
dbg-divider
Optional: UART divider. Like ARM, zero value means that no
initialisation is done. Defaults to 0.
Signed-off-by: Ralf Ramsauer <[email protected]>
Commit: 2137d12dee5467deeb88c2eb8215636304827dbc
https://github.com/siemens/jailhouse/commit/2137d12dee5467deeb88c2eb8215636304827dbc
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 Nov 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 <[email protected]>
Commit: 97ad73127eac7d4e7ce1ecdef8b0cf94388bf2c3
https://github.com/siemens/jailhouse/commit/97ad73127eac7d4e7ce1ecdef8b0cf94388bf2c3
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
A inmates/lib/arm/include/mach-sun7i/mach/debug.h
R inmates/lib/arm/include/mach-sun7i/mach/uart.h
A inmates/lib/arm/include/mach-tegra124/mach/debug.h
R inmates/lib/arm/include/mach-tegra124/mach/uart.h
A inmates/lib/arm/include/mach-vexpress/mach/debug.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/debug.h
R inmates/lib/arm64/include/mach-amd-seattle/mach/uart.h
A inmates/lib/arm64/include/mach-foundation-v8/mach/debug.h
R inmates/lib/arm64/include/mach-foundation-v8/mach/uart.h
A inmates/lib/arm64/include/mach-hi6220/mach/debug.h
R inmates/lib/arm64/include/mach-hi6220/mach/uart.h
Log Message:
-----------
inmates: choose default UART driver according to mach settings
Signed-off-by: Ralf Ramsauer <[email protected]>
Commit: c3e7356d7e221c9f8829e92b7fe042849a415c68
https://github.com/siemens/jailhouse/commit/c3e7356d7e221c9f8829e92b7fe042849a415c68
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M inmates/lib/x86/printk.c
Log Message:
-----------
inmates: x86: Allow PIO and MMIO debug output for inmates
Add dbg-types PIO and MMIO for x86 inmates.
Signed-off-by: Ralf Ramsauer <[email protected]>
Commit: eaaa30f851dd2c21673cc104aa070034ed76260f
https://github.com/siemens/jailhouse/commit/eaaa30f851dd2c21673cc104aa070034ed76260f
Author: Ralf Ramsauer <[email protected]>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
A Documentation/debug-output.md
Log Message:
-----------
documentation: Add documentation for debug output
Signed-off-by: Ralf Ramsauer <[email protected]>
Commit: 87cf0cac53b36516b8e4eb92e9794a82c221a831
https://github.com/siemens/jailhouse/commit/87cf0cac53b36516b8e4eb92e9794a82c221a831
Author: Jan Kiszka <[email protected]>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
A Documentation/debug-output.md
M Documentation/vga-console.txt
M ci/jailhouse-config-amd-seattle.h
M ci/jailhouse-config-banana-pi.h
M ci/jailhouse-config-vexpress.h
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/arm-common/Kbuild
M hypervisor/arch/arm-common/dbg-write.c
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/include/asm/uart.h
M hypervisor/arch/arm-common/uart-8250.c
M hypervisor/arch/arm-common/uart-pl011.c
M hypervisor/arch/arm/Kbuild
R hypervisor/arch/arm/include/asm/uart-tegra.h
R hypervisor/arch/arm/uart-tegra.c
M hypervisor/arch/arm64/asm-defines.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/header.h
M hypervisor/include/jailhouse/printk.h
M hypervisor/paging.c
M hypervisor/printk.c
M inmates/demos/arm/gic-demo.c
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
A inmates/lib/arm-common/include/uart.h
M inmates/lib/arm/Makefile
M inmates/lib/arm/Makefile.lib
A inmates/lib/arm/include/mach-sun7i/mach/debug.h
R inmates/lib/arm/include/mach-sun7i/mach/uart.h
A inmates/lib/arm/include/mach-tegra124/mach/debug.h
R inmates/lib/arm/include/mach-tegra124/mach/uart.h
A inmates/lib/arm/include/mach-vexpress/mach/debug.h
R inmates/lib/arm/include/mach-vexpress/mach/uart.h
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
M inmates/lib/arm64/Makefile.lib
A inmates/lib/arm64/include/mach-amd-seattle/mach/debug.h
R inmates/lib/arm64/include/mach-amd-seattle/mach/uart.h
A inmates/lib/arm64/include/mach-foundation-v8/mach/debug.h
R inmates/lib/arm64/include/mach-foundation-v8/mach/uart.h
A inmates/lib/arm64/include/mach-hi6220/mach/debug.h
R inmates/lib/arm64/include/mach-hi6220/mach/uart.h
M inmates/lib/cmdline.c
M inmates/lib/inmate_common.h
M inmates/lib/x86/printk.c
M inmates/tools/arm/linux-loader.c
M inmates/tools/arm64/linux-loader.c
M tools/root-cell-config.c.tmpl
Log Message:
-----------
Merge remote-tracking branch 'ralf/uart-patches' into next
This integrates Ralf Ramsauer's UART refactoring series
https://www.mail-archive.com/[email protected]/msg01426.html
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 9c3a17edca54a917f35edf97548694a932772bac
https://github.com/siemens/jailhouse/commit/9c3a17edca54a917f35edf97548694a932772bac
Author: Jan Kiszka <[email protected]>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M configs/h87i.c
Log Message:
-----------
configs: Set required divider for h87i
...and clarify where these parameters come from.
Signed-off-by: Jan Kiszka <[email protected]>
Compare:
https://github.com/siemens/jailhouse/compare/069a58472264...9c3a17edca54
--
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].
For more options, visit https://groups.google.com/d/optout.