Branch: refs/heads/next Home: https://github.com/siemens/jailhouse Commit: 7b2876158c416ecd40e53bcc6b4c9080dc51931a https://github.com/siemens/jailhouse/commit/7b2876158c416ecd40e53bcc6b4c9080dc51931a Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-08 (Tue, 08 Sep 2020)
Changed paths: M Kbuild M configs/Makefile M hypervisor/Makefile M hypervisor/arch/arm-common/Kbuild M hypervisor/arch/arm/Kbuild M hypervisor/arch/arm64/Kbuild M hypervisor/arch/x86/Kbuild M inmates/lib/arm/Makefile M inmates/lib/arm/Makefile.lib M inmates/lib/arm64/Makefile M inmates/lib/arm64/Makefile.lib M inmates/lib/x86/Makefile M inmates/lib/x86/Makefile.lib A scripts/always-compat.mk M tools/Makefile Log Message: ----------- kbuild: Avoid deprecated 'always' Switch to 'always-y' as suggested by 5.9. For older kernels, we need to set 'always' to 'always-y'. This has to happen conditionally in order to avoid warnings from 5.9 onward. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 67e4de38a3f8c37a429f68019a79a2c387d66fa4 https://github.com/siemens/jailhouse/commit/67e4de38a3f8c37a429f68019a79a2c387d66fa4 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-08 (Tue, 08 Sep 2020) Changed paths: M driver/main.c Log Message: ----------- driver: Adjust to kernel 5.8 and 5.9 Several things changed and require tuning: - __get_vm_area is gone, switch to __get_vm_area_caller which now requires another kernel patch to export it (pointless to try RESOLVE_EXTERNAL_SYMBOL since 5.7) - cr4_init_shadow was hidden from modules; set/clear VMXE directly instead so that the shadow is aligned to the real state; no action needed on AMD as EFER is carrying SVME - include asm/apic.h explicitly for lapic_timer_period Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 5f4f0b1f3588e6059424b23854a9550d1713957f https://github.com/siemens/jailhouse/commit/5f4f0b1f3588e6059424b23854a9550d1713957f Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-08 (Tue, 08 Sep 2020) Changed paths: M pyjailhouse/sysfs_parser.py Log Message: ----------- pyjailhouse: sysfs_parser: Fix wording of parse_iomem_tree comment Makes it easier readable. No functional changes. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 3dbdf11d94a9ac58d9dd213e95ba32781b0f021c https://github.com/siemens/jailhouse/commit/3dbdf11d94a9ac58d9dd213e95ba32781b0f021c Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-08 (Tue, 08 Sep 2020) Changed paths: M pyjailhouse/sysfs_parser.py Log Message: ----------- pyjailhouse: sysfs_parser: Filter out AMD IOMMU memory regions In case they are enabled while parsing the tree. Analogously to DMAR on Intel, except that we do not need to keep them. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 2e8103b044df491e469f143479347823d556ca42 https://github.com/siemens/jailhouse/commit/2e8103b044df491e469f143479347823d556ca42 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-08 (Tue, 08 Sep 2020) Changed paths: M pyjailhouse/sysfs_parser.py Log Message: ----------- pyjailhouse: sysfs_parser: Return true size from IORegion Avoid having to override the size method in PortRegion and rather do the correct calculation in IORegion already. This does not affect the rounding in MemRegion.size. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: b57f5dc5384d8619c98a94e34898658c7db9c2cb https://github.com/siemens/jailhouse/commit/b57f5dc5384d8619c98a94e34898658c7db9c2cb Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-08 (Tue, 08 Sep 2020) Changed paths: M pyjailhouse/sysfs_parser.py Log Message: ----------- pyjailhouse: sysfs_parser: Always walk reserved regions with children Newer kernels and/or certain platforms (seen on AMD R1505G) list a all PCI resources and some ACPI resources behind a top-level reserved region. Skipping it leaves the config fairly incomplete. Also fix up a trivial flake8 reporting at this chance. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: c242d88ba13ff143a05dba0b043eb6b891236ec5 https://github.com/siemens/jailhouse/commit/c242d88ba13ff143a05dba0b043eb6b891236ec5 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-08 (Tue, 08 Sep 2020) Changed paths: M pyjailhouse/sysfs_parser.py Log Message: ----------- pyjailhouse: sysfs_parser: Factor out MemRegion.is_ram To be reusing for merging RAM regions. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Commit: 756216b9d1e1f5b908db35c8dfb1c87d6600e053 https://github.com/siemens/jailhouse/commit/756216b9d1e1f5b908db35c8dfb1c87d6600e053 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-08 (Tue, 08 Sep 2020) Changed paths: M pyjailhouse/sysfs_parser.py Log Message: ----------- pyjailhouse: sysfs_parser: Merge adjacent RAM regions The kernel tends to report regions that are not page-aligned but directly adjacent. Adding them as-is into the config will make accesses fail because the regions will end up as incompletely configured sub-page regions. Detect such cases and merge the regions. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Compare: https://github.com/siemens/jailhouse/compare/2a6c24163455...756216b9d1e1 -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/siemens/jailhouse/push/refs/heads/next/2a6c24-756216%40github.com.