Branch: refs/heads/master Home: https://github.com/siemens/jailhouse Commit: 11ef401a9064644bf7faf28e35c97f27ececd81d https://github.com/siemens/jailhouse/commit/11ef401a9064644bf7faf28e35c97f27ececd81d Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2017-11-26 (Sun, 26 Nov 2017)
Changed paths: M driver/pci.c Log Message: ----------- driver: Account for upcoming changes to device tree overlay API In 4.15, of_overlay_create and of_overlay_destroy were refactored to of_overlay_apply and of_overlay_remove, also changing the parameters and return values. Prepare for this change while staying compatible with older kernels. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 5c969979cb0298b0706a5f78ad51da91fa8046cd https://github.com/siemens/jailhouse/commit/5c969979cb0298b0706a5f78ad51da91fa8046cd Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2017-11-26 (Sun, 26 Nov 2017) Changed paths: M inmates/lib/x86/Makefile.lib M tools/Makefile Log Message: ----------- inmates, tools: Avoid warnings of objtool Latest 4.15 kernel comes with the ORC unwinder and, along that, a number of build-time checks on object files. These are tailored for the kernel and do not go well with both our inmates and the userspace tools, e.g.: .../jailhouse.o: warning: objtool: read_file() falls through to next function parse_cell_id() .../jailhouse.o: warning: objtool: help() falls through to next function open_dev() .../jailhouse.o: warning: objtool: open_dev() falls through to next function cell_simple_cmd() (because of lacking knowledge about no-return functions) Disable them for x86 inmates, currently the only affected arch, and the tools. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 42522ce748d34ebf25df40753f7b928f76b47c61 https://github.com/siemens/jailhouse/commit/42522ce748d34ebf25df40753f7b928f76b47c61 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2017-11-27 (Mon, 27 Nov 2017) Changed paths: M driver/main.c M hypervisor/arch/x86/control.c M hypervisor/arch/x86/include/asm/jailhouse_hypercall.h M hypervisor/include/jailhouse/cell-config.h M tools/jailhouse-cell-linux M tools/jailhouse-hardware-check Log Message: ----------- x86, driver, tools: Pass TSC and APIC timer frequency calibration to non-root cells This avoids that non-root cells have to calibrate TSC and - provided there is no TSC deadline timer support - APIC timer frequencies themselves. Rather we now either use statically configured values from the system configuration or, of those or 0, pick them up from the root cell during hypervisor start. Then the values are simply forwarded via the Communication Region to all x86 non-root cells. This requires another patch to the root-cell Linux to export lapic_timer_frequency for us. CC: Thomas Gleixner <t...@linutronix.de> Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 3b514826061eb4bad45f370ea15a3488f6d6fc79 https://github.com/siemens/jailhouse/commit/3b514826061eb4bad45f370ea15a3488f6d6fc79 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2017-11-27 (Mon, 27 Nov 2017) Changed paths: M inmates/lib/x86/timing.c Log Message: ----------- inmates: x86: Add TSC deadline timer support Use the TSC deadline timer when available. This avoids having to calibrate the APIC timer in those cases. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: fe2b6b3c0980f2f6cd78420a7ee1955cb69fa08a https://github.com/siemens/jailhouse/commit/fe2b6b3c0980f2f6cd78420a7ee1955cb69fa08a Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2017-11-27 (Mon, 27 Nov 2017) Changed paths: M inmates/lib/x86/timing.c Log Message: ----------- inmates: x86: Use pre-calibrated TSC and APIC timer frequencies The Communication Region now provides these values, so we can drop the calibration for the inmate library. The APIC timer frequency is only available if there is no TSC deadline timer support, but then we use the latter anyway. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 1f3ed3b5504107eb85ab63e6051d4f2ee0c81fcb https://github.com/siemens/jailhouse/commit/1f3ed3b5504107eb85ab63e6051d4f2ee0c81fcb Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2017-11-27 (Mon, 27 Nov 2017) Changed paths: M inmates/tools/x86/linux-loader.c M tools/jailhouse-cell-linux Log Message: ----------- inmates: x86: Enhance Linux setup data structure Expand the Jailhouse-specific setup data structure we pass to the Linux kernel on boot by the calibrated TSC and APIC timer frequencies. Also switch the type to a value we are going to reserve officially in the upstream kernel, rather than using the large magic value. Although this is a change that should normally increase the version of the struct, we keep it untouched as we didn't release the previous structure version yet. Specifically, there is no official kernel out there expecting the old structure. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 39dfc93aa472636068dca6a6d68f816ab7572071 https://github.com/siemens/jailhouse/commit/39dfc93aa472636068dca6a6d68f816ab7572071 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2017-11-27 (Mon, 27 Nov 2017) Changed paths: M hypervisor/arch/x86/vcpu.c Log Message: ----------- x86: Mask out VMX and SVM from non-root cell cpuid We do not support nested virtualization, so don't make the guests believe anything different. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: f5027b016ad6202bb5f73318d01f3d3aa54f9a26 https://github.com/siemens/jailhouse/commit/f5027b016ad6202bb5f73318d01f3d3aa54f9a26 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2017-11-27 (Mon, 27 Nov 2017) Changed paths: M inmates/lib/inmate_common.h Log Message: ----------- inmates: Declare cmdline buffer It might be overwritten by an inmate, therefore it is a global symbol. Noticed by sparse. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: cb9f332f2146320a09a779910ba216ab81338db3 https://github.com/siemens/jailhouse/commit/cb9f332f2146320a09a779910ba216ab81338db3 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2017-11-28 (Tue, 28 Nov 2017) Changed paths: M Documentation/hypervisor-interfaces.txt Log Message: ----------- Documentation: Update x86 Communication Region description The platform information recently gained some new fields. List them. Reformat the generic region as well for visual consistency. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 64913f728cb95981d3808c2504170648ca8555b6 https://github.com/siemens/jailhouse/commit/64913f728cb95981d3808c2504170648ca8555b6 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2017-12-02 (Sat, 02 Dec 2017) Changed paths: M configs/f2a88xm-hd3.c M configs/imb-a180.c M configs/qemu-x86.c M hypervisor/arch/x86/vcpu.c M tools/root-cell-config.c.tmpl Log Message: ----------- x86, configs: Deny direct access to port 80 Apparently, there are systems that can crash or otherwise get badly influenced by writing port 80 (see Linux commit 99f85a28a78e and CVE-2017-1000407). Intercept those accesses and simply ignore them to be safe. All affected configs and the generator template are updated as well. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: dfe694d480de5912e740836a45bf06ea19c8aad3 https://github.com/siemens/jailhouse/commit/dfe694d480de5912e740836a45bf06ea19c8aad3 Author: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de> Date: 2017-12-13 (Wed, 13 Dec 2017) Changed paths: M configs/Makefile M driver/Makefile M hypervisor/Makefile R hypervisor/arch/arm/include/asm/jailhouse_hypercall.h R hypervisor/arch/arm64/include/asm/jailhouse_hypercall.h R hypervisor/arch/x86/include/asm/jailhouse_hypercall.h R hypervisor/include/jailhouse/hypercall.h A include/arch/arm/asm/jailhouse_hypercall.h A include/arch/arm64/asm/jailhouse_hypercall.h A include/arch/x86/asm/jailhouse_hypercall.h A include/jailhouse/hypercall.h M inmates/Makefile M scripts/header_check Log Message: ----------- core: move hypercall interface to global include directory Keep dual-licensed code and/or headers shared between components at one single place. Signed-off-by: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de> Signed-off-by: Antonios Motakis <antonios.mota...@huawei.com> Cc: Antonios Motakis <antonios.mota...@huawei.com> Reviewed-by: Lokesh Vutla <lokeshvu...@ti.com> [Jan: updated also header_check with new include paths] Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: dce4bd3b3fc3d30b98998761e29bb043b90ade94 https://github.com/siemens/jailhouse/commit/dce4bd3b3fc3d30b98998761e29bb043b90ade94 Author: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de> Date: 2017-12-13 (Wed, 13 Dec 2017) Changed paths: R hypervisor/include/jailhouse/cell-config.h A include/jailhouse/cell-config.h Log Message: ----------- core: move cell-config.h to global include directory Keep dual-licensed code and/or headers shared between components at one single place. Signed-off-by: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de> Signed-off-by: Antonios Motakis <antonios.mota...@huawei.com> Reviewed-by: Lokesh Vutla <lokeshvu...@ti.com> Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 818418e62388f259e37f2a76bd2a2243b27c4212 https://github.com/siemens/jailhouse/commit/818418e62388f259e37f2a76bd2a2243b27c4212 Author: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de> Date: 2017-12-13 (Wed, 13 Dec 2017) Changed paths: M .gitignore M Documentation/hypervisor-configuration.md M Documentation/setup-on-banana-pi-arm-board.md M Documentation/setup-on-emtrion-emcon-rz-boards.md M FAQ.md M Kbuild M ci/build-all-configs.sh Log Message: ----------- core: move hypervisor configuration to include/jailhouse/config.h Keep dual-licensed code and/or headers shared between components at one single place. Also maintain documentation and .gitignore. Both, inmates and hypervisor need those definitions. Don't store the global config.h somewhere deep inside 'hypervisor/' any longer. Signed-off-by: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de> Signed-off-by: Antonios Motakis <antonios.mota...@huawei.com> Reviewed-by: Lokesh Vutla <lokeshvu...@ti.com> [Jan: adjust also emcon-rz doc, FAQ and build-all-configs.sh] Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: ce98ecaad89ba948b73ceb019fa78e641e521592 https://github.com/siemens/jailhouse/commit/ce98ecaad89ba948b73ceb019fa78e641e521592 Author: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de> Date: 2017-12-13 (Wed, 13 Dec 2017) Changed paths: A inmates/lib/arm/include/asm/sysregs.h Log Message: ----------- inmates, arm: provide own sysregs.h ARM inmates make use of hypervisor's sysregs accessors and helpers. In order to entirely decouple the hypervisor code from inmate code, let's duplicate some of those definitions, but only those that are really in use. Signed-off-by: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de> Signed-off-by: Jean-Philippe Brucker <jean-philippe.bruc...@arm.com> Signed-off-by: Antonios Motakis <antonios.mota...@huawei.com> Cc: Jean-Philippe Brucker <jean-philippe.bruc...@arm.com> Cc: Jan Kiszka <jan.kis...@siemens.com> Cc: Antonios Motakis <antonios.mota...@huawei.com> Reviewed-by: Lokesh Vutla <lokeshvu...@ti.com> Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: d238e826bcc0da8ac2665f4af40be2fccaa8ea8d https://github.com/siemens/jailhouse/commit/d238e826bcc0da8ac2665f4af40be2fccaa8ea8d Author: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de> Date: 2017-12-13 (Wed, 13 Dec 2017) Changed paths: A inmates/lib/arm64/include/asm/sysregs.h Log Message: ----------- inmates, arm64: provide own sysregs.h ARM inmates make use of hypervisor's sysregs accessors and helpers. In order to entirely decouple the hypervisor code from inmate code, let's duplicate accessors. And that's it, we just need to define accessors, compiler makes the rest. Signed-off-by: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de> Signed-off-by: Lokesh Vutla <lokeshvu...@ti.com> Signed-off-by: Nikhil Devshatwar <nikhil...@ti.com> Signed-off-by: Antonios Motakis <antonios.mota...@huawei.com> Reviewed-by: Lokesh Vutla <lokeshvu...@ti.com> Cc: Antonios Motakis <antonios.mota...@huawei.com> Cc: Nikhil Devshatwar <nikhil...@ti.com> Cc: Lokesh Vutla <lokeshvu...@ti.com> Cc: Jan Kiszka <jan.kis...@siemens.com> Reviewed-by: Lokesh Vutla <lokeshvu...@ti.com> Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 3b9508a476883c2a3c352b24cb4932b5b1fed934 https://github.com/siemens/jailhouse/commit/3b9508a476883c2a3c352b24cb4932b5b1fed934 Author: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de> Date: 2017-12-13 (Wed, 13 Dec 2017) Changed paths: M inmates/Makefile Log Message: ----------- inmates: remove hypervisor-local include directory There's no more need for it. And that's it, inmates no more depend on pure hypervisor headers. Signed-off-by: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de> Signed-off-by: Antonios Motakis <antonios.mota...@huawei.com> Reviewed-by: Lokesh Vutla <lokeshvu...@ti.com> Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 8cd2ceec686b3d41fed09b96372624202d44f5fc https://github.com/siemens/jailhouse/commit/8cd2ceec686b3d41fed09b96372624202d44f5fc Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2017-12-13 (Wed, 13 Dec 2017) Changed paths: M scripts/header_check Log Message: ----------- scripts: Update header_check to scan also the relocated headers Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: fb495e912e3535f8c3dc84fcc8a4ecd51c2aa035 https://github.com/siemens/jailhouse/commit/fb495e912e3535f8c3dc84fcc8a4ecd51c2aa035 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2017-12-13 (Wed, 13 Dec 2017) Changed paths: M hypervisor/arch/x86/vcpu.c Log Message: ----------- x86: Make PM timer address optional There might be systems without it, and then we should still be able to start the hypervisor and cells that are fine without it as well - such as Linux. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 5212bf8401b2cc8350676a58450cad86b4229c59 https://github.com/siemens/jailhouse/commit/5212bf8401b2cc8350676a58450cad86b4229c59 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2017-12-19 (Tue, 19 Dec 2017) Changed paths: M configs/linux-x86-demo.c M configs/qemu-arm64-linux-demo.c Log Message: ----------- configs: Enable debug console for non-root Linux cell demos Give our demo inmates the necessary rights so that we can test the Linux driver. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Compare: https://github.com/siemens/jailhouse/compare/214929925a46...5212bf8401b2 -- 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 jailhouse-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.