Branch: refs/heads/master
Home: https://github.com/siemens/jailhouse
Commit: 10f24b24eaff5c9f54913033dd22a3cdfceb8c45
https://github.com/siemens/jailhouse/commit/10f24b24eaff5c9f54913033dd22a3cdfceb8c45
Author: Ralf Ramsauer <[email protected]>
Date: 2017-01-11 (Wed, 11 Jan 2017)
Changed paths:
M tools/jailhouse-cell-linux
Log Message:
-----------
tools: satisfy Python 2/3 compatibility
'jailhouse-cell-linux --write-params' will output sth. like
"b'kernel=0xe8002000 dtb=0xe8000000'" without the .decode() on ARM. This
additional .decode() won't hurt Python 2 and removes the surrounding b''
when running the tool under Python 3.
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 64465536d6e0a1d359db150ce3340ee8b943d7e5
https://github.com/siemens/jailhouse/commit/64465536d6e0a1d359db150ce3340ee8b943d7e5
Author: Jan Kiszka <[email protected]>
Date: 2017-01-14 (Sat, 14 Jan 2017)
Changed paths:
M hypervisor/pci.c
Log Message:
-----------
core: pci: Mask MSI-X vectors on reset also physically
This ensures that no vector is left over from the previous usage that
could trigger unexpected or even invalid interrupts when the new user
starts configuring the device.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: faa301b12afd31e1ce01833d6e3f0d31fac5e1c6
https://github.com/siemens/jailhouse/commit/faa301b12afd31e1ce01833d6e3f0d31fac5e1c6
Author: Jan Kiszka <[email protected]>
Date: 2017-01-14 (Sat, 14 Jan 2017)
Changed paths:
M inmates/demos/arm/gic-demo.c
Log Message:
-----------
inmates: arm: Allow to configure blinking LED via command line
This allows to port the "effect" to the Orange Pi Zero.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 1a172cfde000b489721aa4c333e8ad814d40f76c
https://github.com/siemens/jailhouse/commit/1a172cfde000b489721aa4c333e8ad814d40f76c
Author: Jan Kiszka <[email protected]>
Date: 2017-01-14 (Sat, 14 Jan 2017)
Changed paths:
M ci/jailhouse-config-banana-pi.h
M inmates/lib/arm/include/mach.h
M inmates/lib/arm64/include/mach.h
Log Message:
-----------
arm/arm64: Consistently name CONFIG_MACH after the boards, not the SoCs
CONFIG_MACH mostly influences the inmate defaults, and those are board-
specific. So make sure we can address different boards of the same SoC
by naming the switches after the boards.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 4e335986ab7e3ba6b5e44dfba02647895c628df6
https://github.com/siemens/jailhouse/commit/4e335986ab7e3ba6b5e44dfba02647895c628df6
Author: Jan Kiszka <[email protected]>
Date: 2017-01-24 (Tue, 24 Jan 2017)
Changed paths:
M README.md
A configs/dts/inmate-orangepi0.dts
A configs/orangepi0-gic-demo.c
A configs/orangepi0-linux-demo.c
A configs/orangepi0.c
M inmates/lib/arm/include/mach.h
Log Message:
-----------
configs, imates: Add support for Orange Pi Zero
A tiny low-cost board, based on the Allwinner H2+ with 4 Cortex-A7
cores. Configs are designed for the 256M variant. Make sure to reserve
the top 128M before running the non-root Linux inmate.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 1b4a230e38372758fbe69cbd70e8a0b98498e8fd
https://github.com/siemens/jailhouse/commit/1b4a230e38372758fbe69cbd70e8a0b98498e8fd
Author: Jan Kiszka <[email protected]>
Date: 2017-01-24 (Tue, 24 Jan 2017)
Changed paths:
M hypervisor/arch/x86/include/asm/apic.h
M hypervisor/arch/x86/pci.c
Log Message:
-----------
x86: Expand x86_msi_vector to carry 64-bit address unconditionally
This will allow to match on the whole address to check if we are
actually targeting the MSI address space.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: d897f2e218d67ec2e736335bac46769056d752ff
https://github.com/siemens/jailhouse/commit/d897f2e218d67ec2e736335bac46769056d752ff
Author: Jan Kiszka <[email protected]>
Date: 2017-01-24 (Tue, 24 Jan 2017)
Changed paths:
M hypervisor/arch/x86/pci.c
Log Message:
-----------
x86: Be graceful with invalid MSI target addresses
Linux seems to write zeros to MSI registers when unregistering an MSI
interrupt:
[...]
pci_bus_write_config_dword+0x14/0x20
__pci_write_msi_msg+0xcc/0x130
pci_msi_domain_write_msg+0x1d/0x20
msi_domain_deactivate+0x28/0x30 <-- this writes zeros
irq_domain_deactivate_irq+0x28/0x40
irq_shutdown+0x39/0x70
__free_irq+0x1ee/0x290
free_irq+0x34/0x80
tg3_test_interrupt+0x3f/0x230
tg3_start+0xfa3/0x1130
[...]
(taken with 4.9-rt)
Let's check if the target address actually matches the MSI address space
and, if not, simply declare the vector invalid. That will block it from
being used, raising an IOMMU runtime error at most when the device
should fire nevertheless. But we no longer panic the writer.
Signed-off-by: Jan Kiszka <[email protected]>
Tested-by: Rajiv Vaidyanath <[email protected]>
Commit: c46f4cc40650d417ae0f59c35ed032bea0696b4b
https://github.com/siemens/jailhouse/commit/c46f4cc40650d417ae0f59c35ed032bea0696b4b
Author: Andreas Kölbl <[email protected]>
Date: 2017-01-24 (Tue, 24 Jan 2017)
Changed paths:
M hypervisor/arch/arm-common/uart-8250.c
Log Message:
-----------
arm: Add 16-bit console divider support to 8250 UART
The 8250 chip has two registers to set the baud rate. Write the 8 upper bits to
the UART_DLM register.
Signed-off-by: Andreas Kölbl <[email protected]>
[Jan: adjust subject]
Signed-off-by: Jan Kiszka <[email protected]>
Commit: fc178e5f185ae141cadfe59e57a3ec9de13dbacf
https://github.com/siemens/jailhouse/commit/fc178e5f185ae141cadfe59e57a3ec9de13dbacf
Author: Andreas Kölbl <[email protected]>
Date: 2017-01-24 (Tue, 24 Jan 2017)
Changed paths:
M hypervisor/arch/x86/uart.c
Log Message:
-----------
x86: Add 16-bit console divider support
The 8250 chip has two registers to set the baud rate. Write the 8 upper bits to
the UART_DLM register.
Signed-off-by: Andreas Kölbl <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: d33f09054b504759231fc5949f2b01c0d7b47177
https://github.com/siemens/jailhouse/commit/d33f09054b504759231fc5949f2b01c0d7b47177
Author: Jan Kiszka <[email protected]>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Changed paths:
R Documentation/non-root-linux-arm64.txt
M Documentation/non-root-linux.txt
Log Message:
-----------
Documentation: Update non-root Linux description
We now have "jailhouse cell linux" support for all architectures, thus
the original ARM64 description is no longer needed. Remove it and
generalize the x86 documentation to cover all architectures.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 217b3a069667131e108a9ae457f9b5c6e6c69adf
https://github.com/siemens/jailhouse/commit/217b3a069667131e108a9ae457f9b5c6e6c69adf
Author: Ralf Ramsauer <[email protected]>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Changed paths:
M Documentation/debug-output.md
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/hikey.c
M configs/imb-a180.c
M configs/jetson-tk1.c
M configs/jetson-tx1.c
M configs/orangepi0.c
M configs/qemu-vm.c
M configs/vexpress.c
M configs/zynqmp-zcu102.c
M driver/main.c
M hypervisor/arch/arm-common/dbg-write.c
M hypervisor/arch/x86/dbg-write.c
M hypervisor/arch/x86/uart.c
M hypervisor/include/jailhouse/cell-config.h
M hypervisor/paging.c
M tools/root-cell-config.c.tmpl
Log Message:
-----------
configs, core: Refactor JAILHOUSE_CON_TYPE to JAILHOUSE_CON1_TYPE
We're about to implement a second HV console channel: a 'virtual'
console available for the root cell via sysfs. In order to encode its
configuration in struct jailhouse_debug_console, rename
JAILHOUSE_CON_TYPE to JAILHOUSE_CON1_TYPE.
Most of the work was done automatically with sed.
Signed-off-by: Ralf Ramsauer <[email protected]>
Reviewed-by: Jan Kiszka <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 4adf31d6f88cf8df6e47675ccc7fa446b00b9284
https://github.com/siemens/jailhouse/commit/4adf31d6f88cf8df6e47675ccc7fa446b00b9284
Author: Ralf Ramsauer <[email protected]>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Changed paths:
M hypervisor/hypervisor.lds.S
M hypervisor/include/jailhouse/cell-config.h
M hypervisor/include/jailhouse/header.h
M hypervisor/include/jailhouse/printk.h
M hypervisor/printk.c
Log Message:
-----------
core: declare and define structures used for virtual console
The console page is implemented as ring buffer, and will _not_ contain a
trailing \0 for string termination.
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: f0c99e2a5e8f48634335d16b095b2be0e78407df
https://github.com/siemens/jailhouse/commit/f0c99e2a5e8f48634335d16b095b2be0e78407df
Author: Ralf Ramsauer <[email protected]>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Changed paths:
M hypervisor/include/jailhouse/printk.h
M hypervisor/printk.c
M hypervisor/setup.c
Log Message:
-----------
core: don't hide console page
We're backing hypervisor pages with an empty page for the root cell.
This commit excludes the console page and allows RO access to it, but
only if the debug console of system configuration has the flag
JAILHOUSE_CON2_TYPE_ROOTPAGE set.
This flag is not activated by default and has to be set manually.
In this way, the Linux driver may easily read out the console without
any interactions with the hypervisor.
Signed-off-by: Ralf Ramsauer <[email protected]>
Reviewed-by: Jan Kiszka <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: a6c4e68b0d8682a9e05e7f16611e7a6d796b9ce2
https://github.com/siemens/jailhouse/commit/a6c4e68b0d8682a9e05e7f16611e7a6d796b9ce2
Author: Ralf Ramsauer <[email protected]>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Changed paths:
M hypervisor/include/jailhouse/header.h
M hypervisor/setup.c
Log Message:
-----------
driver, core: propagate offset of console page
Driver must know the location of the console_page. Use the
jailhouse_header for propagating the offset.
Signed-off-by: Ralf Ramsauer <[email protected]>
Reviewed-by: Jan Kiszka <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 705f57bc9099063d8078972a7365b298acb823ef
https://github.com/siemens/jailhouse/commit/705f57bc9099063d8078972a7365b298acb823ef
Author: Ralf Ramsauer <[email protected]>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Changed paths:
M hypervisor/printk.c
Log Message:
-----------
core: print console messages to the console page
If the console is enabled. Don't write messages to the console page if
it is disabled. Otherwise we would leak information if we disable the
hypervisor.
Signed-off-by: Ralf Ramsauer <[email protected]>
[Jan: adjusting comment to busy flag name]
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 85972e517786b77cb3947238a82fabe10db8522f
https://github.com/siemens/jailhouse/commit/85972e517786b77cb3947238a82fabe10db8522f
Author: Ralf Ramsauer <[email protected]>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Changed paths:
M Documentation/sysfs-entries.txt
M TODO.md
M driver/main.c
M driver/main.h
M driver/sysfs.c
Log Message:
-----------
driver: add console sysfs attribute
Signed-off-by: Ralf Ramsauer <[email protected]>
[Jan: use double underscore for __jailhouse_console_dump_delta]
Signed-off-by: Jan Kiszka <[email protected]>
Commit: d0e7632040f98a0d84391b8873b100d61e1d8471
https://github.com/siemens/jailhouse/commit/d0e7632040f98a0d84391b8873b100d61e1d8471
Author: Ralf Ramsauer <[email protected]>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Changed paths:
M configs/amd-seattle.c
M configs/bananapi.c
M configs/f2a88xm-hd3.c
M configs/foundation-v8.c
M configs/hikey.c
M configs/imb-a180.c
M configs/jetson-tk1.c
M configs/jetson-tx1.c
M configs/orangepi0.c
M configs/qemu-vm.c
M configs/vexpress.c
M configs/zynqmp-zcu102.c
M tools/root-cell-config.c.tmpl
Log Message:
-----------
configs: activate sysfs console
for all existing system configuration. Activate it in the root cell
template as well.
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 119c45744c569aa44c198f099e78b0f586184821
https://github.com/siemens/jailhouse/commit/119c45744c569aa44c198f099e78b0f586184821
Author: Ralf Ramsauer <[email protected]>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Changed paths:
M driver/main.c
Log Message:
-----------
driver: implement continous console reading on /dev/jailhouse
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: ea0c002b39e36d18bab1ccea4a3f7660d17e3cbe
https://github.com/siemens/jailhouse/commit/ea0c002b39e36d18bab1ccea4a3f7660d17e3cbe
Author: Ralf Ramsauer <[email protected]>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Changed paths:
M driver/main.c
Log Message:
-----------
driver: copy the console_page after the hypervisor is disabled
This allows us to dump messages if the hypervisor failed to start or the
last few messages after the hypervisor was disabled. This needs some
special treatment, as the hypervisor_memory region is unmapped after
failures.
Hook into disable an failure paths and copy the page to a dedicated
variable. Indicate with a boolean flag that data is present.
Signed-off-by: Ralf Ramsauer <[email protected]>
[Jan: adjust to renamed __jailhouse_console_dump_delta]
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 9f53a53fcb7a34ec67f89dab993c3e20ce0c322f
https://github.com/siemens/jailhouse/commit/9f53a53fcb7a34ec67f89dab993c3e20ce0c322f
Author: Ralf Ramsauer <[email protected]>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Changed paths:
M tools/jailhouse.c
Log Message:
-----------
tools: implement 'jailhouse console [-f]'
Similar to other tools, like 'tail -f', allow 'jailhosue console' to
follow the console output when jailhouse gets enabled.
'jailhouse console' will print all available console log of the
hypervisor.
'jailhouse console -f' will print all available console log of the
hypervisor and append new data as it arrives.
Use this patch to remove a redundant '|' in the usage string of the
tool.
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 9747418070bda31dc11ba0e889674ca99a7c0913
https://github.com/siemens/jailhouse/commit/9747418070bda31dc11ba0e889674ca99a7c0913
Author: Ralf Ramsauer <[email protected]>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Changed paths:
M tools/jailhouse.c
Log Message:
-----------
tools: dump error console on failures
>From now on, 'jailhouse enable' will dump the console if an error occurs
during initialisation of the hypervisor.
Signed-off-by: Ralf Ramsauer <[email protected]>
Reviewed-by: Jan Kiszka <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 3a24d47447999aecb63f867b833f920ca9cd1f3f
https://github.com/siemens/jailhouse/commit/3a24d47447999aecb63f867b833f920ca9cd1f3f
Author: Ralf Ramsauer <[email protected]>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Changed paths:
M Documentation/debug-output.md
Log Message:
-----------
Documentation: add documentation for sysfs console
Signed-off-by: Ralf Ramsauer <[email protected]>
Reviewed-by: Jan Kiszka <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 6ba976f44955651a0b08b8bfddfb49e390ff5108
https://github.com/siemens/jailhouse/commit/6ba976f44955651a0b08b8bfddfb49e390ff5108
Author: Jan Kiszka <[email protected]>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Changed paths:
M tools/jailhouse-completion.bash
Log Message:
-----------
tools: Add completion for 'jailhouse console'
Signed-off-by: Jan Kiszka <[email protected]>
Compare:
https://github.com/siemens/jailhouse/compare/81528e48763c...6ba976f44955
--
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.