Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: 8bd33e99db44a1fb6b59eba28089f7d30ed5e352
https://github.com/siemens/jailhouse/commit/8bd33e99db44a1fb6b59eba28089f7d30ed5e352
Author: Jan Kiszka <[email protected]>
Date: 2016-11-21 (Mon, 21 Nov 2016)
Changed paths:
M tools/jailhouse-cell-linux
Log Message:
-----------
tools: Prepare jailhouse-cell-linux for non-x86 support
Encapsulate arch-specific pieces into a an arch class so that it becomes
cleaner to extend the support to ARM.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 9e03e1b75dad9b8b0d0990c40495828634d9972f
https://github.com/siemens/jailhouse/commit/9e03e1b75dad9b8b0d0990c40495828634d9972f
Author: Jan Kiszka <[email protected]>
Date: 2016-11-21 (Mon, 21 Nov 2016)
Changed paths:
M tools/jailhouse-cell-linux
M tools/jailhouse-completion.bash
Log Message:
-----------
tools: Add ARM and ARM64 support to Linux loader script
This extends "jailhouse cell linux" with support for ARM and ARM64
targets. Those need a device tree template to describe the cell, so we
extend the command line options accordingly.
Command line and initrd location/size are passed to the kernel via the
device tree. Therefore, we have to parse the input dtb and patch/extend
it with the required properties under /chosen.
Furthermore, placing the images into the cell memory has arch-dependent
constraints. We need to leave some space (we chose 3-times the kernel
image) between kernel and initrd so that Linux can do decompression and
relocation. And on ARM64, the kernel has to be put on 2 MB-aligned
address plus it load offset.
As we are already patching the dtb, we can also create the /memory node
from the cell configuration. This avoids that config and device tree
have to be manually kept in sync in this regard.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 8a8e84d44066b89b70ddf2116e3b4afa42d00cc3
https://github.com/siemens/jailhouse/commit/8a8e84d44066b89b70ddf2116e3b4afa42d00cc3
Author: Jan Kiszka <[email protected]>
Date: 2016-11-21 (Mon, 21 Nov 2016)
Changed paths:
M configs/amd-seattle-linux-demo.c
M configs/dts/inmate-amd-seattle.dts
Log Message:
-----------
configs: Tune AMD Seattle Linux inmate configuration
Be less wasteful with memory: provide most of the RAM 1:1 mapped and
report that as available memory via the device tree. Also set
JAILHOUSE_MEM_DMA for the RAM regions, even though we don't have SMMU
support yet, so that the Linux loader script can identify them as RAM.
As jailhouse-cell-linux is now writing the /memory node, we can remove
it from the device tree, instead of updating it.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 9643f73a7fcc4f99c6bcf357cacb83f50779cbb6
https://github.com/siemens/jailhouse/commit/9643f73a7fcc4f99c6bcf357cacb83f50779cbb6
Author: Jan Kiszka <[email protected]>
Date: 2016-11-21 (Mon, 21 Nov 2016)
Changed paths:
A configs/bananapi-linux-demo.c
A configs/dts/inmate-bananapi.dts
Log Message:
-----------
configs: Add non-root Linux demo cells and device trees for Banana Pi
Use the separate UART 7 for the inmate. Access to the CCU is granted to
allow Linux to enable the related clock gate. We do not control the
access on a bit-level, so this remains a hack. However, we can at least
avoid that Linux touches the wrong bits by describing only the relevant
one in the inmate device tree.
On ARM, we have the need to align the virtual start address of the
identity-mapped memory to 128 MB. Furthermore, Linux won't boot if that
region starts at 0xf0000000 or higher.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: c00ff7190f2a2713f50b504c3aead71487556506
https://github.com/siemens/jailhouse/commit/c00ff7190f2a2713f50b504c3aead71487556506
Author: Jan Kiszka <[email protected]>
Date: 2016-11-21 (Mon, 21 Nov 2016)
Changed paths:
A configs/dts/inmate-jetson-tk1.dts
A configs/jetson-tk1-linux-demo.c
Log Message:
-----------
configs: Add non-root Linux demo cells and device trees for Jetson TK1
We use the same UART for the non-root Linux as the root cell to simplify
the physical setup. Can be changed as needed.
To test SMP support, we hand out two CPUs. Note the peculiarity that the
first CPU has to have ID 0 while the second be reported with its real
one, otherwise Linux won't pick up both. Reason is still unclear.
On ARM, we have the need to align the virtual start address of the
identity-mapped memory to 128 MB. Furthermore, Linux won't boot if that
region starts at 0xf0000000 or higher. This constrains will be removed
at least from the Jetson as soon as we add SMMU support.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 9eb9a3e7b6d0fe3362ed4f7cb065da315a48f78d
https://github.com/siemens/jailhouse/commit/9eb9a3e7b6d0fe3362ed4f7cb065da315a48f78d
Author: Jan Kiszka <[email protected]>
Date: 2016-11-21 (Mon, 21 Nov 2016)
Changed paths:
A configs/dts/inmate-hikey.dts
A configs/hikey-linux-demo.c
Log Message:
-----------
configs: Add non-root Linux demo cells and device trees for HiKey
For now, we share the UART 3 with the root cell. Can be changed to a
separate port as needed.
To test SMP support, to CPUs are handed out to the non-root cell.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: eb45f729893ab403a41b27da56f6a65bce5ff2ed
https://github.com/siemens/jailhouse/commit/eb45f729893ab403a41b27da56f6a65bce5ff2ed
Author: Jan Kiszka <[email protected]>
Date: 2016-11-21 (Mon, 21 Nov 2016)
Changed paths:
M inmates/tools/arm64/linux-loader.c
Log Message:
-----------
inmates: arm64: Initialize x1-x3 to 0 prior to calling Linux
This is required by the kernel, see also
linux/Documentation/arm64/booting.txt.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 2409ca7826c940431991ae367600f7e11e06556d
https://github.com/siemens/jailhouse/commit/2409ca7826c940431991ae367600f7e11e06556d
Author: Jan Kiszka <[email protected]>
Date: 2016-11-21 (Mon, 21 Nov 2016)
Changed paths:
M inmates/tools/arm64/linux-loader.c
Log Message:
-----------
inmates: arm64: Remove output from Linux loader
Now that the loader is controlled by jailhouse-cell-linux, these debug
messages add no value anymore and rather require access to a UART.
Removing them also obsoletes parsing the kernel header.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 646417b38147042dc6bf1ed4f123fc86f3b2b0af
https://github.com/siemens/jailhouse/commit/646417b38147042dc6bf1ed4f123fc86f3b2b0af
Author: Jan Kiszka <[email protected]>
Date: 2016-11-21 (Mon, 21 Nov 2016)
Changed paths:
M hypervisor/arch/arm-common/control.c
M hypervisor/arch/arm/control.c
M hypervisor/arch/arm64/control.c
Log Message:
-----------
arm, arm64: Fix reset of non-root SMP cells
So far, we initialize cpu_on_entry during arch_cell_create, but not on
arch_cell_reset which breaks the PSCI state after reload and starting a
cell. We can simply move the related code over because arch_cell_create
is issued by cell_start, thus early enough after cell creation. The ARM
and ARM64 implementations of the initialization code look different but
already did the same.
And the bonus is even a few lines of code less.
Fixes: 58a0e22f08c8 ("arm: Introduce infrastructure for reworked CPU
management")
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 1b4cd926afbef6d98b722f0d1ca0900359af27b5
https://github.com/siemens/jailhouse/commit/1b4cd926afbef6d98b722f0d1ca0900359af27b5
Author: Jan Kiszka <[email protected]>
Date: 2016-11-21 (Mon, 21 Nov 2016)
Changed paths:
M driver/sysfs.c
Log Message:
-----------
driver: Add missing statistic entries for ARM64
This completes the list of vmexit counter for ARM64 - basically ARM
minus cp15 exits.
Signed-off-by: Jan Kiszka <[email protected]>
Compare:
https://github.com/siemens/jailhouse/compare/64eb5ad51e0c...1b4cd926afbe
--
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.