Branch: refs/heads/next Home: https://github.com/siemens/jailhouse Commit: 0763b9728ddfe8faad80248b5bd16d9ca53cf86c https://github.com/siemens/jailhouse/commit/0763b9728ddfe8faad80248b5bd16d9ca53cf86c Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-07 (Mon, 07 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-common/Makefile.lib 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: 2d1af2c7d57588000a195be31048db44d4d5f41f https://github.com/siemens/jailhouse/commit/2d1af2c7d57588000a195be31048db44d4d5f41f Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-07 (Mon, 07 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: bc6aba1f45d07e118d087554c63f44258cb02878 https://github.com/siemens/jailhouse/commit/bc6aba1f45d07e118d087554c63f44258cb02878 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-07 (Mon, 07 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: 2b39d02837f6a0416c02428c2a4a8d5652517ab4 https://github.com/siemens/jailhouse/commit/2b39d02837f6a0416c02428c2a4a8d5652517ab4 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-07 (Mon, 07 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: e49675397a549ecd3e7edf3d77416c9f09af5e06 https://github.com/siemens/jailhouse/commit/e49675397a549ecd3e7edf3d77416c9f09af5e06 Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-07 (Mon, 07 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: 3bde7729be54cf3d4b65b30f3b12ed435b90559a https://github.com/siemens/jailhouse/commit/3bde7729be54cf3d4b65b30f3b12ed435b90559a Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-07 (Mon, 07 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: 484b3f25a1a7fe9f44f4b33a4e39447a401b679d https://github.com/siemens/jailhouse/commit/484b3f25a1a7fe9f44f4b33a4e39447a401b679d Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-07 (Mon, 07 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: 2a6c241634555cb92cc5dab3810322b9dc6933dc https://github.com/siemens/jailhouse/commit/2a6c241634555cb92cc5dab3810322b9dc6933dc Author: Jan Kiszka <jan.kis...@siemens.com> Date: 2020-09-07 (Mon, 07 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/3e1ae553f995...2a6c24163455 -- 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/3e1ae5-2a6c24%40github.com.