Module Name: src Committed By: pho Date: Thu May 9 12:10:00 UTC 2024
Modified Files: src/distrib/sets/lists/modules: ad.aarch64 src/share/man/man4: vmt.4 src/sys/arch/aarch64/aarch64: cpu.c src/sys/arch/aarch64/conf: files.aarch64 src/sys/arch/aarch64/include: cpu.h src/sys/arch/evbarm/conf: GENERIC64 src/sys/arch/x86/x86: vmt.c src/sys/dev/fdt: files.fdt src/sys/dev/vmt: vmt_subr.c src/sys/modules: Makefile src/sys/modules/vmt: Makefile Added Files: src/sys/arch/aarch64/aarch64: vmt.c Removed Files: src/sys/dev/fdt: vmt_fdt.c Log Message: port-arm/58194: Resurrect vmt(4) from bitrot On this architecture vmt(4) used to search for a node "/hypervisor" in the FDT and probed the VMware hypervisor call only when the node was found. However, things appear to have changed and VMware no longer provides the FDT node. Since vmt(4) doesn't actually need to read anything from FDT, and the hypervisor call logically resides in virtual CPUs themselves, it would be better to attach it directly to cpu, just like how it's probed on x86. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/distrib/sets/lists/modules/ad.aarch64 cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/vmt.4 cvs rdiff -u -r1.74 -r1.75 src/sys/arch/aarch64/aarch64/cpu.c cvs rdiff -u -r0 -r1.1 src/sys/arch/aarch64/aarch64/vmt.c cvs rdiff -u -r1.44 -r1.45 src/sys/arch/aarch64/conf/files.aarch64 cvs rdiff -u -r1.49 -r1.50 src/sys/arch/aarch64/include/cpu.h cvs rdiff -u -r1.214 -r1.215 src/sys/arch/evbarm/conf/GENERIC64 cvs rdiff -u -r1.21 -r1.22 src/sys/arch/x86/x86/vmt.c cvs rdiff -u -r1.72 -r1.73 src/sys/dev/fdt/files.fdt cvs rdiff -u -r1.6 -r0 src/sys/dev/fdt/vmt_fdt.c cvs rdiff -u -r1.9 -r1.10 src/sys/dev/vmt/vmt_subr.c cvs rdiff -u -r1.285 -r1.286 src/sys/modules/Makefile cvs rdiff -u -r1.4 -r1.5 src/sys/modules/vmt/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.