[siemens/jailhouse] 84432e: core, driver: Pass rounded-up core size in hypervi...

4 views
Skip to first unread message

GitHub

unread,
Jan 25, 2016, 1:47:03 PM1/25/16
to jailho...@googlegroups.com
Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: 84432e3aed420288f631182504d3776c18dac60c
https://github.com/siemens/jailhouse/commit/84432e3aed420288f631182504d3776c18dac60c
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-01-25 (Mon, 25 Jan 2016)

Changed paths:
M driver/main.c
M hypervisor/hypervisor.lds.S
M hypervisor/include/jailhouse/header.h
M hypervisor/setup.c

Log Message:
-----------
core, driver: Pass rounded-up core size in hypervisor header

Hypervisor and root kernel may have different ideas about PAGE_SIZE.
This will cause wrong hypervisor core size calculations as seen on arm64
with 64K Linux PAGE_SIZE.

Avoid this trap by moving the round-up into the hypervisor code, passing
a ready-to-be-used size value in the header.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


GitHub

unread,
Feb 3, 2016, 6:31:03 PM2/3/16
to jailho...@googlegroups.com
Branch: refs/heads/master
Commit: c30f05f2a301a910cd0ce5be00afd3d281764bbf
https://github.com/siemens/jailhouse/commit/c30f05f2a301a910cd0ce5be00afd3d281764bbf
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)

Changed paths:
M hypervisor/arch/arm/Makefile

Log Message:
-----------
arm: Only filter out complete string from KBUILD_AFLAGS

Otherwise we remove those words separately, destroying any
"-include header.h" addition made elsewhere.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: b8dbf44444ef264a700931c1f40d721ec1e2f8f7
https://github.com/siemens/jailhouse/commit/b8dbf44444ef264a700931c1f40d721ec1e2f8f7
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)

Changed paths:
M hypervisor/arch/x86/dbg-write.c

Log Message:
-----------
x86: Remove redundant typecast

debug_console_base is a void pointer.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 2592903ed39f195914f536a8ddea5d533d2fe926
https://github.com/siemens/jailhouse/commit/2592903ed39f195914f536a8ddea5d533d2fe926
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)

Changed paths:
M hypervisor/arch/x86/dbg-write.c

Log Message:
-----------
x86: Pull usage check out of vga_write

This makes the code more regular.

Account for the additional contributor at this chance.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 00bc661e0dbaf40fd5c838fd6bae889d7ea8185d
https://github.com/siemens/jailhouse/commit/00bc661e0dbaf40fd5c838fd6bae889d7ea8185d
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)

Changed paths:
M configs/f2a88xm-hd3.c
M configs/h87i.c
M configs/imb-a180.c
M configs/qemu-vm.c
M tools/root-cell-config.c.tmpl

Log Message:
-----------
config: Set .debug_console for x86 targets

We will make the debug console UART port configurable via the system
config. Set the corresponding values, they will be ignored so far.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 4a67ce2e06bfeabd0bd7149f24b1fa5d5e44188e
https://github.com/siemens/jailhouse/commit/4a67ce2e06bfeabd0bd7149f24b1fa5d5e44188e
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)

Changed paths:
M hypervisor/paging.c
M hypervisor/setup.c

Log Message:
-----------
core: Initialize system_config earlier

On x86, we want to make the debug UART configurable via the system
config. That means we will need this pointer in arch_dbg_write_init
already.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 62486b40f309a18209a862130c787caedfe3c5cb
https://github.com/siemens/jailhouse/commit/62486b40f309a18209a862130c787caedfe3c5cb
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)

Changed paths:
M hypervisor/arch/x86/dbg-write.c

Log Message:
-----------
x86: Make debug UART port configurable via system config

We already allow to enable a VGA console via the system config, so let's
make the UART port configurable this way as well: phys_start will hold
the port, and flags must not have JAILHOUSE_MEM_IO set, in order to
differentiate us from the memory-mapped VGA console. And by leaving
phys_start at 0, we can even turn off the console now.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Compare: https://github.com/siemens/jailhouse/compare/3f7b8249d8fa...62486b40f309
Reply all
Reply to author
Forward
0 new messages