History log of /src/sys/dev/vmt |
Revision | Date | Author | Comments |
1.1 | 27-Oct-2020 |
ryo | move vmt(4) from MD to MI, and add support vmt on aarch64. tested on ESXi-Arm Fling
- move from sys/arch/x86/x86/{vmt.c,vmtreg.h,vmtvar.h} to sys/dev/vmt/{vmt_subr.c,vmtreg.h,vmtvar.h}, and split the attach part of the cpufeaturebus and fdt - add aarch64 vmware backdoor op - add include guard to vmt{reg,var}.h - Yet there is still some little-endian dependency. it needs to be fixed in order to work properly on aarch64eb
|
1.11 | 05-Jun-2025 |
ozaki-r | Apply if_first_addr() and if_first_addr_psref()
|
1.10 | 09-May-2024 |
pho | branches: 1.10.2; 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.
|
1.9 | 02-Apr-2024 |
christos | fix llvm build
|
1.8 | 20-Mar-2024 |
msaitoh | Process all queued messages without delay immediately. From OpenBSD.
Apply the remaining part of OpenBSD sys/dev/vmt.c rev. 1.22.
> The VM host might send multiple messages at once but vmt(4) only > processed one of time per second. Change the code to process all > queued messages without delay immediately. This fixes two things: a) > the vmt time sensor is available on boot when ntpd -s is loaded and b) > the random seeding on resume (OS_Resume message) is executed almost > immediately and not delayed by about 20 seconds.
Apply OpenBSD sys/dev/pv/vmt.c rev. 1.4.
> Merge two return branches in vmt_tclo_tick(). No functional changes.
|
1.7 | 20-Mar-2024 |
msaitoh | On error, give time to recover and wait a second.
Part of OpenBSD sys/dev/vmt.c rev. 1.22.
|
1.6 | 20-Mar-2024 |
msaitoh | Use a table like OpenBSD vmt.c rev. 1.27. No functional change.
Add new vmt_tclo_rpc[] table and use it. In this change, all of vmt_tclo_xxx()'s functionality are not changed from previous.
Now we can understand what's the difference between OpenBSD's sys/dev/pv/vmt.c and NetBSD's sys/dev/vmt/vmt_subr.c.
|
1.5 | 20-Mar-2024 |
msaitoh | Move a prototype definition. No functional change.
|
1.4 | 20-Mar-2024 |
msaitoh | KNF. No functional change.
|
1.3 | 27-Mar-2021 |
ryo | branches: 1.3.16; Removed little endian dependencies. Now vmt(4) works on aarch64eb on vmware ESXIonARM.
|
1.2 | 17-Nov-2020 |
ryo | branches: 1.2.2; use aprint_verbose_dev()
|
1.1 | 27-Oct-2020 |
ryo | branches: 1.1.2; move vmt(4) from MD to MI, and add support vmt on aarch64. tested on ESXi-Arm Fling
- move from sys/arch/x86/x86/{vmt.c,vmtreg.h,vmtvar.h} to sys/dev/vmt/{vmt_subr.c,vmtreg.h,vmtvar.h}, and split the attach part of the cpufeaturebus and fdt - add aarch64 vmware backdoor op - add include guard to vmt{reg,var}.h - Yet there is still some little-endian dependency. it needs to be fixed in order to work properly on aarch64eb
|
1.1.2.2 | 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.1.2.1 | 14-Dec-2020 |
thorpej | Sync w/ HEAD.
|
1.2.2.1 | 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.3.16.2 | 01-Oct-2025 |
martin | Pull up following revision(s) (requested by ozaki-r in ticket #1164):
sys/net/link_proto.c: revision 1.41 sys/netinet6/in6.c: revision 1.293 sys/net/if.h: revision 1.307 sys/netinet/ip_icmp.c: revision 1.180 sys/dev/vmt/vmt_subr.c: revision 1.11 sys/netinet6/in6_var.h: revision 1.105 sys/netinet6/in6_var.h: revision 1.106 sys/net/if.c: revision 1.532 sys/net/if.c: revision 1.533 sys/netinet6/mld6.c: revision 1.102 sys/netinet/in_var.h: revision 1.104 sys/net/if_spppsubr.c: revision 1.270 sys/net/if_spppsubr.c: revision 1.271 sys/netinet6/nd6.c: revision 1.284
if: introduce if_first_addr() (and psref variant)
It returns a first address (ifa) of a given family on a given interface.
It will replace a bunch of open codes and make their intent clear. Apply if_first_addr() and if_first_addr_psref()
in6: introduce in6ifa_first_lladdr() (and psref variant)
It returns a first link-local address (ifa) on a given interface. Apply in6ifa_first_lladdr() and in6ifa_first_lladdr_psref()
|
1.3.16.1 | 11-Sep-2024 |
martin | Pull up following revision(s) (requested by rin in ticket #822):
sys/dev/vmt/vmt_subr.c: revision 1.4 sys/dev/vmt/vmt_subr.c: revision 1.5 sys/dev/vmt/vmt_subr.c: revision 1.6 sys/dev/vmt/vmt_subr.c: revision 1.7 sys/dev/vmt/vmt_subr.c: revision 1.8 sys/dev/vmt/vmt_subr.c: revision 1.9
KNF. No functional change.
Move a prototype definition. No functional change.
Use a table like OpenBSD vmt.c rev. 1.27. No functional change.
Add new vmt_tclo_rpc[] table and use it. In this change, all of vmt_tclo_xxx()'s functionality are not changed from previous.
Now we can understand what's the difference between OpenBSD's sys/dev/pv/vmt.c and NetBSD's sys/dev/vmt/vmt_subr.c.
On error, give time to recover and wait a second. Part of OpenBSD sys/dev/vmt.c rev. 1.22.
Process all queued messages without delay immediately. From OpenBSD. Apply the remaining part of OpenBSD sys/dev/vmt.c rev. 1.22. > The VM host might send multiple messages at once but vmt(4) only > processed one of time per second. Change the code to process all > queued messages without delay immediately. This fixes two things: a) > the vmt time sensor is available on boot when ntpd -s is loaded and b) > the random seeding on resume (OS_Resume message) is executed almost > immediately and not delayed by about 20 seconds.
Apply OpenBSD sys/dev/pv/vmt.c rev. 1.4. > Merge two return branches in vmt_tclo_tick(). No functional changes. fix llvm build
|
1.10.2.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
1.1 | 27-Oct-2020 |
ryo | move vmt(4) from MD to MI, and add support vmt on aarch64. tested on ESXi-Arm Fling
- move from sys/arch/x86/x86/{vmt.c,vmtreg.h,vmtvar.h} to sys/dev/vmt/{vmt_subr.c,vmtreg.h,vmtvar.h}, and split the attach part of the cpufeaturebus and fdt - add aarch64 vmware backdoor op - add include guard to vmt{reg,var}.h - Yet there is still some little-endian dependency. it needs to be fixed in order to work properly on aarch64eb
|
1.2 | 27-Mar-2021 |
ryo | Removed little endian dependencies. Now vmt(4) works on aarch64eb on vmware ESXIonARM.
|
1.1 | 27-Oct-2020 |
ryo | branches: 1.1.2; 1.1.4; move vmt(4) from MD to MI, and add support vmt on aarch64. tested on ESXi-Arm Fling
- move from sys/arch/x86/x86/{vmt.c,vmtreg.h,vmtvar.h} to sys/dev/vmt/{vmt_subr.c,vmtreg.h,vmtvar.h}, and split the attach part of the cpufeaturebus and fdt - add aarch64 vmware backdoor op - add include guard to vmt{reg,var}.h - Yet there is still some little-endian dependency. it needs to be fixed in order to work properly on aarch64eb
|
1.1.4.1 | 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.1.2.1 | 03-Apr-2021 |
thorpej | Sync with HEAD.
|