Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: c256d2b703b3620731e42645376b2416657c1b5a
https://github.com/siemens/jailhouse/commit/c256d2b703b3620731e42645376b2416657c1b5a
Author: Jan Kiszka <[email protected]>
Date: 2016-11-02 (Wed, 02 Nov 2016)
Changed paths:
M ci/jailhouse-config-amd-seattle.h
M hypervisor/arch/arm64/asm-defines.c
M hypervisor/arch/arm64/entry.S
M hypervisor/arch/arm64/include/asm/jailhouse_hypercall.h
M hypervisor/arch/arm64/include/asm/paging.h
M hypervisor/arch/arm64/include/asm/sections.h
Log Message:
-----------
arm64: Rework entry code to support non-identity mapping
Now that the hypervisor core is prepare for it, also convert the entry
path.
First, we have to extract some parameters from the hypervisor header and
the configuration, namely hypervisor and UART physical addresses. Their
virtual addresses are not build-time defined, both using the top 1-GB
page in the hypervisor address space. That reduces the likelihood of
address conflicts for the ID mapping of the trampoline page.
Our bootstrap page table now also has to contain an ID map of the
trampoline code. As hypervisor and UART share the same 1-GB page, they
can also share their level-1 and level-2 page tables. We map both as
2-MB pages. The trampoline page is mapped as 1-GB page and, thus,
requires an additional page table page. This structuring also simplifies
the setup because we no longer need to differentiate between various
cases.
The UART virtual address in the hypervisor header is now updated by the
entry code, taking the fixed 2-MB base address as well as the offset
into that page - based on the physical address - into account.
This change overcomes the ugly need to define a target-specific
JAILHOUSE_BASE in config.h.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 5e75f379c9a6ff0ff81e916d425770d43cf8e229
https://github.com/siemens/jailhouse/commit/5e75f379c9a6ff0ff81e916d425770d43cf8e229
Author: Jan Kiszka <[email protected]>
Date: 2016-11-02 (Wed, 02 Nov 2016)
Changed paths:
M driver/main.c
Log Message:
-----------
driver: Do not update debug_console_base if page table is not borrowed
The hypervisor takes care of this itself now.
Signed-off-by: Jan Kiszka <[email protected]>
Compare:
https://github.com/siemens/jailhouse/compare/772c8188d9e8...5e75f379c9a6
--
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.