Branch: refs/heads/master
Home: https://github.com/siemens/jailhouse
Commit: 36f9988248fe5bc568f7577a455474a650a9a9b6
https://github.com/siemens/jailhouse/commit/36f9988248fe5bc568f7577a455474a650a9a9b6
Author: Jan Kiszka <[email protected]>
Date: 2016-12-05 (Mon, 05 Dec 2016)
Changed paths:
M hypervisor/ivshmem.c
Log Message:
-----------
core: ivshmem: Fix matching of peers
So far, we created another ivshmem_data structure in case two devices
matched by BDF but not by their shared memory regions. This did not make
sense (ivshmem_find only returns the first BDF match) and it could leak
the data structure when the device was destroyed again.
Change the policy so that we match on BDF but fail creating the second
device in case of region mismatch.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 4fc00369c6f20c83441e41160812a7521f7a5af5
https://github.com/siemens/jailhouse/commit/4fc00369c6f20c83441e41160812a7521f7a5af5
Author: Jan Kiszka <[email protected]>
Date: 2016-12-05 (Mon, 05 Dec 2016)
Changed paths:
M hypervisor/ivshmem.c
Log Message:
-----------
core: ivshmem: Keep BDF also in ivshmem_data structure
Cache the matching BDF of the peer in the ivshmem_data structure. This
will help us when we no longer require slot 0 to be in use.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: a86bb16d73446463345b95522d6a416849020ca3
https://github.com/siemens/jailhouse/commit/a86bb16d73446463345b95522d6a416849020ca3
Author: Jan Kiszka <[email protected]>
Date: 2016-12-05 (Mon, 05 Dec 2016)
Changed paths:
M hypervisor/ivshmem.c
Log Message:
-----------
core: ivshmem: Rework device creation and destruction
Moving device from slot 1 to slot 0 in case the first slot becomes free
had a bug: it didn't update the pointer from pci_device to the
ivshmem_endpoint.
Instead of fixing this, let's take the chance and redesign the
management: Thanks to earlier preparation steps, we can now keep the
device in its original slot. We just need to check during creation which
slot is free (device pointer is NULL) and use that. Now ivpos of an
endpoint always equals the array index in ivshmem_data.eps that the
endpoint uses.
Finally, we can significantly simplify the code by folding ivshmem_find
and ivshmem_connect/disconnect_cell into their callers.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: a403c2b650a6f9d3f51b37bc21c0bbbae8a48dba
https://github.com/siemens/jailhouse/commit/a403c2b650a6f9d3f51b37bc21c0bbbae8a48dba
Author: Jan Kiszka <[email protected]>
Date: 2016-12-06 (Tue, 06 Dec 2016)
Changed paths:
M hypervisor/arch/arm-common/ivshmem.c
M hypervisor/arch/x86/ivshmem.c
M hypervisor/include/jailhouse/ivshmem.h
M hypervisor/ivshmem.c
Log Message:
-----------
core: ivshmem: Factor out ivshmem_remote_interrupt
The check for the remote being present before sending it an interrupt is
actually generic. Factor this out and change the arch-specific callback
to only trigger the interrupt on the destination device.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 7394dbbdbc768c4a49e6167e30c4fcb164c8c7ad
https://github.com/siemens/jailhouse/commit/7394dbbdbc768c4a49e6167e30c4fcb164c8c7ad
Author: Jan Kiszka <[email protected]>
Date: 2016-12-06 (Tue, 06 Dec 2016)
Changed paths:
M hypervisor/include/jailhouse/ivshmem.h
M hypervisor/ivshmem.c
Log Message:
-----------
core: ivshmem: Synchronize remote device access with device destruction
In case of an ivshmem link between two non-root cells, one can go down
while the other is running. That is different from root to non-root
links, because the non-root cell always leaves first, and the root cell
is stopped meanwhile. We have to avoid the, after destroying one peer,
the other will still send interrupts to the former peer.
The simplest way to achieve this is using a spinlock around
dereferencing the remote pointer of an ivshmem endpoint and sending out
the interrupt to the peer on one side and around the clearing of the
remote pointer during destruction. The latter will ensure that the
sender is either already done with the transmission or will see NULL as
remote, thus will not send any message anymore. This resolves the race
between flushing pending interrupts from the destructed cell and sending
new ones from the former peer cell.
Spinlocks come with memory barrier semantics, so we can remove the
explicit barriers.
Now that we have the lock, we can also synchronize the rstate readout of
the remaining peer with device destruction to ensure that no other CPU
will consider the device alive after ivshmem_exit returned.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 7f5c2b146b7b6d432e009b6f6062f57f4ca1e322
https://github.com/siemens/jailhouse/commit/7f5c2b146b7b6d432e009b6f6062f57f4ca1e322
Author: Henning Schild <[email protected]>
Date: 2016-12-06 (Tue, 06 Dec 2016)
Changed paths:
M inmates/demos/x86/ivshmem-demo.c
M inmates/lib/x86/inmate.h
Log Message:
-----------
inmates: x86: match pci device class in ivshmem-demo
Match the device class and "protocol" while probing and skip unknow
devices.
Signed-off-by: Henning Schild <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: d365a80d5de38fd69c66ed4dc632fb7f5615a89b
https://github.com/siemens/jailhouse/commit/d365a80d5de38fd69c66ed4dc632fb7f5615a89b
Author: Jan Kiszka <[email protected]>
Date: 2016-12-06 (Tue, 06 Dec 2016)
Changed paths:
M hypervisor/ivshmem.c
Log Message:
-----------
core: ivshmem: Use local variable for PCI device info
Shortens some existing and upcoming long lines.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: f85c225feaeadc0a4c19955dc8cfbaa4414d092e
https://github.com/siemens/jailhouse/commit/f85c225feaeadc0a4c19955dc8cfbaa4414d092e
Author: Henning Schild <[email protected]>
Date: 2016-12-06 (Tue, 06 Dec 2016)
Changed paths:
M Documentation/inter-cell-communication.txt
M hypervisor/ivshmem.c
Log Message:
-----------
core: ivshmem: match device class to connect
Since 3e970ab533c4 we can specify a protocol to run on the ivshmem channel.
This patch considers a protocol mismatch between the two endpoints a
configuration error and does not connect them to each other.
Signed-off-by: Henning Schild <[email protected]>
[Jan: rebased]
Signed-off-by: Jan Kiszka <[email protected]>
Commit: d10687fc401fbae565bdfb704e5719345efa7692
https://github.com/siemens/jailhouse/commit/d10687fc401fbae565bdfb704e5719345efa7692
Author: Jan Kiszka <[email protected]>
Date: 2016-12-06 (Tue, 06 Dec 2016)
Changed paths:
M hypervisor/mmio.c
Log Message:
-----------
core: Fix matching on mmio_region_unregister
Looking up the to-be-deleted region with zero legnth can cause false
matches:
Registered regions:
Start Size
0xb0000000 0x10000000
0x100000000 0x1000
0x100002000 0x20
0x100002020 0x20
Now trying to remove 0x100002020 will match on 0x100002000. This can be
trivially avoided by looking for a 1-byte region.
Fixes: 0993685e882f ("core: Add generic MMIO access dispatching")
Signed-off-by: Jan Kiszka <[email protected]>
Commit: ccbad16d03bd31312b0f16f0ba4b5e4a520089a7
https://github.com/siemens/jailhouse/commit/ccbad16d03bd31312b0f16f0ba4b5e4a520089a7
Author: Ralf Ramsauer <[email protected]>
Date: 2016-12-10 (Sat, 10 Dec 2016)
Changed paths:
A inmates/lib/arm-common/Makefile.lib
A inmates/lib/arm-common/gic-v2.c
A inmates/lib/arm-common/gic.c
A inmates/lib/arm-common/printk.c
A inmates/lib/arm-common/timer.c
A inmates/lib/arm-common/uart-8250.c
A inmates/lib/arm-common/uart-pl011.c
M inmates/lib/arm/Makefile
R inmates/lib/arm/gic-v2.c
R inmates/lib/arm/gic.c
R inmates/lib/arm/printk.c
R inmates/lib/arm/timer.c
R inmates/lib/arm/uart-8250.c
R inmates/lib/arm/uart-pl011.c
M inmates/lib/arm64/Makefile
Log Message:
-----------
inmates: move common arm sources to arm-common
This keeps common sources in a common location.
Only header.S and gic-v3.c (for ARM) are non-common sources for inmates.
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 9ad0704d1b4e077633bc5836e542ef787db99692
https://github.com/siemens/jailhouse/commit/9ad0704d1b4e077633bc5836e542ef787db99692
Author: Ralf Ramsauer <[email protected]>
Date: 2016-12-10 (Sat, 10 Dec 2016)
Changed paths:
M inmates/demos/arm/gic-demo.c
M inmates/lib/arm-common/gic-v2.c
M inmates/lib/arm-common/printk.c
M inmates/lib/arm/Makefile.lib
M inmates/lib/arm/gic-v3.c
R inmates/lib/arm/include/mach-sun7i/mach/console.h
R inmates/lib/arm/include/mach-sun7i/mach/gic_v2.h
R inmates/lib/arm/include/mach-sun7i/mach/timer.h
R inmates/lib/arm/include/mach-tegra124/mach/console.h
R inmates/lib/arm/include/mach-tegra124/mach/gic_v2.h
R inmates/lib/arm/include/mach-tegra124/mach/timer.h
R inmates/lib/arm/include/mach-vexpress/mach/console.h
R inmates/lib/arm/include/mach-vexpress/mach/gic_v2.h
R inmates/lib/arm/include/mach-vexpress/mach/gic_v3.h
R inmates/lib/arm/include/mach-vexpress/mach/timer.h
A inmates/lib/arm/include/mach.h
M inmates/lib/arm64/Makefile.lib
R inmates/lib/arm64/include/mach-amd-seattle/mach/console.h
R inmates/lib/arm64/include/mach-amd-seattle/mach/gic_v2.h
R inmates/lib/arm64/include/mach-amd-seattle/mach/timer.h
R inmates/lib/arm64/include/mach-foundation-v8/mach/console.h
R inmates/lib/arm64/include/mach-foundation-v8/mach/gic_v2.h
R inmates/lib/arm64/include/mach-foundation-v8/mach/timer.h
R inmates/lib/arm64/include/mach-hi6220/mach/console.h
R inmates/lib/arm64/include/mach-hi6220/mach/gic_v2.h
R inmates/lib/arm64/include/mach-hi6220/mach/timer.h
A inmates/lib/arm64/include/mach.h
Log Message:
-----------
inmates: consolidate mach specific definitions
Move them to a single header.
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 1be5fdef659bd83c221228b01cffa9b427642dda
https://github.com/siemens/jailhouse/commit/1be5fdef659bd83c221228b01cffa9b427642dda
Author: Claudio Scordino <[email protected]>
Date: 2016-12-10 (Sat, 10 Dec 2016)
Changed paths:
M inmates/lib/arm64/Makefile.lib
M inmates/lib/arm64/include/mach.h
Log Message:
-----------
inmates: add support for Tegra TX1
This patch adds the inmate support for the Tegra TX1 board.
Signed-off-by: Claudio Scordino <[email protected]>
[ralf: move all mach specific definitions to mach.h]
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 0b165bb0c87780e9c05bd8f8754607c5c4fbe51c
https://github.com/siemens/jailhouse/commit/0b165bb0c87780e9c05bd8f8754607c5c4fbe51c
Author: Claudio Scordino <[email protected]>
Date: 2016-12-10 (Sat, 10 Dec 2016)
Changed paths:
A configs/jetson-tx1.c
Log Message:
-----------
configs: add config files for Jetson TX1
This patch adds the config file for Jetson TX1.
Signed-off-by: Claudio Scordino <[email protected]>
Signed-off-by: Bruno Morelli <[email protected]>
[ralf: remove trailing newline in jetson-tx1.c, amend commit message,
align debug_console, add config file revision]
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 0ad8e73f96ca6cc44493ee97370cd5ce13d7dad9
https://github.com/siemens/jailhouse/commit/0ad8e73f96ca6cc44493ee97370cd5ce13d7dad9
Author: Claudio Scordino <[email protected]>
Date: 2016-12-10 (Sat, 10 Dec 2016)
Changed paths:
A configs/jetson-demo.c
R configs/jetson-tk1-demo.c
Log Message:
-----------
configs: rename jetson-tk1-demo.c to jetson-demo.c
This patch renames jetson-tk1-demo.c as jetson-demo.c since the demo can
work on both Jetson TK1 and TX1.
Signed-off-by: Claudio Scordino <[email protected]>
[ralf: amend commit message]
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 92b45930eec3e1502b2a42d166c4ac458001893d
https://github.com/siemens/jailhouse/commit/92b45930eec3e1502b2a42d166c4ac458001893d
Author: Claudio Scordino <[email protected]>
Date: 2016-12-10 (Sat, 10 Dec 2016)
Changed paths:
M README.md
Log Message:
-----------
README: add Nvidia TX1 among the supported boards
Signed-off-by: Claudio Scordino <[email protected]>
Signed-off-by: Bruno Morelli <[email protected]>
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: e390bd1136566edc707d0919324dfa573dc202df
https://github.com/siemens/jailhouse/commit/e390bd1136566edc707d0919324dfa573dc202df
Author: Jan Kiszka <[email protected]>
Date: 2016-12-11 (Sun, 11 Dec 2016)
Changed paths:
M driver/pci.c
Log Message:
-----------
driver: Warn on missing CONFIG_OF_OVERLAY during runtime
Without overlay support, we cannot inject the virtual PCI host
controller. Warn about this of the path is stressed during runtime.
It's fine to build the driver without that feature enabled as long as we
only use physical host controllers.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 59f199c4085fda5375b9d6e5a8eca1ab60110f20
https://github.com/siemens/jailhouse/commit/59f199c4085fda5375b9d6e5a8eca1ab60110f20
Author: Jan Kiszka <[email protected]>
Date: 2016-12-11 (Sun, 11 Dec 2016)
Changed paths:
M hypervisor/arch/arm-common/dbg-write.c
M hypervisor/arch/arm-common/include/asm/uart.h
M inmates/lib/arm-common/include/uart.h
M inmates/lib/arm-common/printk.c
Log Message:
-----------
arm-common, inmates: Move uart_chip declarations to headers
These are interfaces, so they belong into their respective headers.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 308f7ada86ed5dda4bad22674e147ec8c1247092
https://github.com/siemens/jailhouse/commit/308f7ada86ed5dda4bad22674e147ec8c1247092
Author: Jan Kiszka <[email protected]>
Date: 2016-12-11 (Sun, 11 Dec 2016)
Changed paths:
M inmates/lib/inmate_common.h
M inmates/lib/string.c
Log Message:
-----------
inmates: Provide strcmp
We are lazy, so we implement it via strncmp, using a practically
infinite counter.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: f173f01187a334aa8d6ca337d256e94c00923dad
https://github.com/siemens/jailhouse/commit/f173f01187a334aa8d6ca337d256e94c00923dad
Author: Jan Kiszka <[email protected]>
Date: 2016-12-11 (Sun, 11 Dec 2016)
Changed paths:
M inmates/lib/arm-common/printk.c
M inmates/lib/x86/printk.c
Log Message:
-----------
inmates: Use exact match for console parameters
The comparisons stopped before the trailing zero, allowing inputs that
only started with the keywords. Use the newly introduced strcmp for both
a correct and simpler match.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 3d5fa883c40f39217c1fa81c83d199f578888170
https://github.com/siemens/jailhouse/commit/3d5fa883c40f39217c1fa81c83d199f578888170
Author: Jan Kiszka <[email protected]>
Date: 2016-12-11 (Sun, 11 Dec 2016)
Changed paths:
M inmates/lib/arm-common/printk.c
Log Message:
-----------
inmates: arm-common: Remove console defaults for type and base
Every target shall provide at least these two. Prevent that it can get
away without them.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 2b2fe52dcb0cf6e3eef328cd68529a3459685201
https://github.com/siemens/jailhouse/commit/2b2fe52dcb0cf6e3eef328cd68529a3459685201
Author: Jan Kiszka <[email protected]>
Date: 2016-12-11 (Sun, 11 Dec 2016)
Changed paths:
M inmates/lib/arm/include/inmate.h
M inmates/lib/arm64/include/inmate.h
Log Message:
-----------
inmates: arm, arm64: Add cpu_relax
Required for UART drivers.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 89c84d4364327256f384f8af5fe88743a315c09b
https://github.com/siemens/jailhouse/commit/89c84d4364327256f384f8af5fe88743a315c09b
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M inmates/lib/arm/include/inmate.h
M inmates/lib/arm64/include/inmate.h
Log Message:
-----------
inmates: arm, arm64: Add more mmio helpers
Required for uart-pl011.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 5ad2bfc3d0556584d96640459bcf4b64580c649b
https://github.com/siemens/jailhouse/commit/5ad2bfc3d0556584d96640459bcf4b64580c649b
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M inmates/lib/arm-common/uart-8250.c
M inmates/lib/arm-common/uart-pl011.c
Log Message:
-----------
inmates: arm-common: Fix uart includes
Avoid the Jailhouse headers, only use our own.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: dad5d5f1fbcc5e82b9312add28c7daa8f05872a4
https://github.com/siemens/jailhouse/commit/dad5d5f1fbcc5e82b9312add28c7daa8f05872a4
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M inmates/lib/x86/printk.c
Log Message:
-----------
inmates: x86: Refactor console output
This prepares for non-uart output via hypercalls. It also makes sure
that unrecognized con-type value result in no output.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: dbd8656fa85f53171b25e3a181754e1b13dc0514
https://github.com/siemens/jailhouse/commit/dbd8656fa85f53171b25e3a181754e1b13dc0514
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 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:
-----------
arm-common: Rework uart_chip wait callback to is_busy
This pulls the waiting loop out of the drivers, saving some lines of
code.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: b4b1556ca9ee212132adaace576bf933b22bcf69
https://github.com/siemens/jailhouse/commit/b4b1556ca9ee212132adaace576bf933b22bcf69
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M inmates/lib/arm-common/include/uart.h
M inmates/lib/arm-common/printk.c
M inmates/lib/arm-common/uart-8250.c
M inmates/lib/arm-common/uart-pl011.c
Log Message:
-----------
inmates: arm-common: Rework uart_chip wait callback to is_busy
Analogously to the hypervisor, this pulls the waiting loop out of the
drivers.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 9fda0bc4852b929df54f2b0b07fcd8e10f31fece
https://github.com/siemens/jailhouse/commit/9fda0bc4852b929df54f2b0b07fcd8e10f31fece
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M inmates/lib/arm-common/printk.c
M inmates/lib/x86/printk.c
Log Message:
-----------
inmates: Delay uart init if it is shared with the hypervisor
If we share an inmate UART with the hypervisor console, both may write
simultaneously during startup, causing mangled output. We used to
prevent this in the apic-demo until 211558763ddd by waiting for the
output to be idle for a couple of checks. Reintroduce this feature, but
now for all archs.
A missing divider is a good indicator for UART sharing.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: b7c79ee751032059fa3f19696ef62499cdd39083
https://github.com/siemens/jailhouse/commit/b7c79ee751032059fa3f19696ef62499cdd39083
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M inmates/lib/arm-common/Makefile.lib
M inmates/lib/arm-common/include/uart.h
M inmates/lib/arm-common/printk.c
A inmates/lib/arm-common/uart-jailhouse.c
M inmates/lib/x86/printk.c
Log Message:
-----------
inmates: Add support for hypervisor debug console
Allow to select the hypervisor debug console by specifying "JAILHOUSE"
as con-type. This is primarily for the sake of completeness and
demonstration purposes, but it will also help testing this feature in
the future via inmate-based test cases.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: c48626a5bb3f3605004d2625128a1c9a2f3db0ab
https://github.com/siemens/jailhouse/commit/c48626a5bb3f3605004d2625128a1c9a2f3db0ab
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M configs/hikey.c
M configs/jetson-tk1.c
Log Message:
-----------
configs: Fix virtual PCI configuration for HiKey and Jetson TK1
The last bus of the virtual PCI host is always the first one: 0.
This caused the mmconfig space overlapping PCI resources, at least for
the root cell where we suggest to map them right after the mmconfig
space. Only worked by chance so far.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 2498a4138ff845c0fb3a2f1dde5a095a3cd9e477
https://github.com/siemens/jailhouse/commit/2498a4138ff845c0fb3a2f1dde5a095a3cd9e477
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M hypervisor/arch/arm-common/Kbuild
M hypervisor/arch/arm-common/dbg-write.c
M hypervisor/arch/arm-common/include/asm/uart.h
A hypervisor/arch/arm-common/uart-xuartps.c
M hypervisor/include/jailhouse/cell-config.h
Log Message:
-----------
arm-common: Add support for Cadance UART
Found in Xilinx ZynqMP, e.g.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: c65d86dcf14a80b128168f414ccb5645bed15fd7
https://github.com/siemens/jailhouse/commit/c65d86dcf14a80b128168f414ccb5645bed15fd7
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M inmates/lib/arm-common/Makefile.lib
M inmates/lib/arm-common/include/uart.h
M inmates/lib/arm-common/printk.c
A inmates/lib/arm-common/uart-xuartps.c
Log Message:
-----------
inmates: arm-common: Add support for Cadence UART
Found in Xilinx ZynqMP, e.g.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 310dd67f1b1c452ae54bfe6be08060efc0e4075c
https://github.com/siemens/jailhouse/commit/310dd67f1b1c452ae54bfe6be08060efc0e4075c
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
A configs/zynqmp-zcu102.c
Log Message:
-----------
configs: Add ZCU102 evaluation board for Xilinx ZynqMP
Prepare for two Linux inmates, thus add a second shared memory device.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 59a414f4ba3f2dd3b1fd5de650f56042b8b2a179
https://github.com/siemens/jailhouse/commit/59a414f4ba3f2dd3b1fd5de650f56042b8b2a179
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M inmates/lib/arm64/Makefile.lib
M inmates/lib/arm64/include/mach.h
Log Message:
-----------
inmates: arm64: Add support for ZynqMP ZCU102 inmates
Use the second UART as default output of inmates on that board.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 6129e8cecf4edb5ad2d03eb18d6a7570a64629a2
https://github.com/siemens/jailhouse/commit/6129e8cecf4edb5ad2d03eb18d6a7570a64629a2
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
A configs/dts/inmate-zynqmp-zcu102-2.dts
A configs/dts/inmate-zynqmp-zcu102.dts
A configs/zynqmp-zcu102-gic-demo.c
A configs/zynqmp-zcu102-linux-demo-2.c
A configs/zynqmp-zcu102-linux-demo.c
Log Message:
-----------
configs: Add ZynqMP ZCU102 inmates
Add the configuration for, alternatively, a gic-demo or a dual-core
Linux inmate. In addition, a second head-less Linux inmate is available.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: ef113608f0cfb2bdb60fc08d4275f15480d13b9b
https://github.com/siemens/jailhouse/commit/ef113608f0cfb2bdb60fc08d4275f15480d13b9b
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M hypervisor/arch/x86/include/asm/processor.h
M hypervisor/arch/x86/include/asm/vmx.h
M hypervisor/arch/x86/vmx.c
Log Message:
-----------
x86: vmx: Add support for XSAVES/XRSTORS
Activate XSAVES/XRSTORS if the CPU supports it. The root cell will get
rather unhappy otherwise, because it already uses the feature prior to
activation.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: bca8b497727ed970199925e24a8db0df276be8a4
https://github.com/siemens/jailhouse/commit/bca8b497727ed970199925e24a8db0df276be8a4
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M tools/jailhouse-config-create
Log Message:
-----------
tools: config-create: Fix v2 PCI Express capability length
Only relevant when using the generated template to allow access.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 52e08738359caf3446ffc65d02b014750fc5041f
https://github.com/siemens/jailhouse/commit/52e08738359caf3446ffc65d02b014750fc5041f
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M hypervisor/arch/x86/mmio.c
Log Message:
-----------
x86: Expand opcode parser to 4 bytes
We will add support for an instruction identified by two leading opcode
bytes.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 46ac93e1826d64c59f9c8500f3ecd79c00a23345
https://github.com/siemens/jailhouse/commit/46ac93e1826d64c59f9c8500f3ecd79c00a23345
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M hypervisor/arch/x86/vcpu.c
Log Message:
-----------
x86: Add support for all MMIO access sizes
We will add support for byte and word-accessing instructions, so prepare
the MMIO handler for this.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: c1317c8f3fdd5e271ce0d9aaa65771a27af8ce56
https://github.com/siemens/jailhouse/commit/c1317c8f3fdd5e271ce0d9aaa65771a27af8ce56
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M hypervisor/arch/x86/include/asm/processor.h
M hypervisor/arch/x86/mmio.c
Log Message:
-----------
x86: Add support for MOVZX instruction parsing
Used by Linux under certain circumstances (apparently via ACPI drivers)
to access the mmconfig space byte- or word-wise.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: f7ed5b6b51c19a1332b5003434a4b8f096c8c9ed
https://github.com/siemens/jailhouse/commit/f7ed5b6b51c19a1332b5003434a4b8f096c8c9ed
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M hypervisor/arch/x86/include/asm/processor.h
M hypervisor/arch/x86/mmio.c
Log Message:
-----------
x86: Add support for byte-wise MOV to memory
Also needed by Linux when accessing the mmconfig space via some ACPI
drivers. Seen on Apollo Lake.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 9aa75a580cb09dc0381f3ef3db221927572cbfde
https://github.com/siemens/jailhouse/commit/9aa75a580cb09dc0381f3ef3db221927572cbfde
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M inmates/lib/arm/Makefile.lib
M inmates/lib/arm/include/mach.h
M inmates/lib/arm64/Makefile.lib
M inmates/lib/arm64/include/mach.h
Log Message:
-----------
inmates: arm, arm64: Simplify mach selection
The MACHINE variable is no longer needed because there are no mach
folders anymore. We can use the CONFIG_MACH_* directly in the headers
and remove the makefile dances.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 85270ebdac0c0578731b8393c2e1b8a46e1e608e
https://github.com/siemens/jailhouse/commit/85270ebdac0c0578731b8393c2e1b8a46e1e608e
Author: Jan Kiszka <[email protected]>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M README.md
Log Message:
-----------
README: Add ZynqMP ZCU102 to list of supported boards
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 5056273e4e785e9468c06f021a6778fd6abb87b8
https://github.com/siemens/jailhouse/commit/5056273e4e785e9468c06f021a6778fd6abb87b8
Author: Jan Kiszka <[email protected]>
Date: 2016-12-13 (Tue, 13 Dec 2016)
Changed paths:
M TODO.md
Log Message:
-----------
TODO: Update, adding v1.0 milestones
A lot was done or became irrelevant. Specifically for inter-cell
communication, we now have a clearer picture where we should go to.
There shall be release 1.0 one day. Clarify which issues should have
been address before that.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 2441c981605eb323510d3c92f18e6bf5989243e8
https://github.com/siemens/jailhouse/commit/2441c981605eb323510d3c92f18e6bf5989243e8
Author: Ralf Ramsauer <[email protected]>
Date: 2016-12-15 (Thu, 15 Dec 2016)
Changed paths:
M tools/jailhouse-cell-linux
Log Message:
-----------
tools: make linux loader run under Python 3
Python code shall run under Python 2 and Python 3. This fix is required
to run the linux loader under Python 3.
Basically the same fix as 5f286d2514f2 ("tools: make
jailhouse-cell-linux run under Python3")
Fixes: 077e62e372c ("tools: Add ARM and ARM64 support to Linux loader script")
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: cfe6abfef4580c15a77f03b56e86229bc09c23a0
https://github.com/siemens/jailhouse/commit/cfe6abfef4580c15a77f03b56e86229bc09c23a0
Author: Ralf Ramsauer <[email protected]>
Date: 2016-12-15 (Thu, 15 Dec 2016)
Changed paths:
M configs/jetson-tk1.c
Log Message:
-----------
configs: fix size of TK1's XUSB memory region
This should be 0xa000 instead of 0x8000. According to Linux's
arch/arm/boot/dts/tegra124.dtsi, XUSB claims:
reg = <0x0 0x70090000 0x0 0x8000>,
<0x0 0x70098000 0x0 0x1000>,
<0x0 0x70099000 0x0 0x1000>;
Fixes: 4fd3748467c ("configs: Add XUSB to jetson-tk1 config")
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 4c116ccbce1aeaa103a695c4183efddb56d0aca2
https://github.com/siemens/jailhouse/commit/4c116ccbce1aeaa103a695c4183efddb56d0aca2
Author: Jan Kiszka <[email protected]>
Date: 2016-12-15 (Thu, 15 Dec 2016)
Changed paths:
M tools/jailhouse-cell-linux
Log Message:
-----------
tools: Remove redundant specification of default string encodings
utf-8 is the default, no need to repeat that.
Signed-off-by: Jan Kiszka <[email protected]>
Compare:
https://github.com/siemens/jailhouse/compare/e4fe53ab9bf1...4c116ccbce1a
--
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.