newbus: replace leftover device unit wildcardsReviewed by: imp, jhbApproved by: imp (mentor)Differential Revision: https://reviews.freebsd.org/D50913
sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remov
sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/Remove /\n+#if.*\n#endif.*\n+/Remove /^#if.*\n#endif.*\n/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/Sponsored by: Netflix
show more ...
sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with: pfgMFC After: 3 daysSponsored by: Netflix
kvmclock: Fix initialization when EARLY_AP_STARTUP is not definedTo attach to the hypervisor, kvmclock needs to write a per-CPU MSR.When EARLY_AP_STARTUP is not defined, device attach happens too
kvmclock: Fix initialization when EARLY_AP_STARTUP is not definedTo attach to the hypervisor, kvmclock needs to write a per-CPU MSR.When EARLY_AP_STARTUP is not defined, device attach happens too early:APs are not yet spun up, so smp_rendezvous only runs the callback on thelocal CPU. As a result, the timecounter only gets initialized on theBSP, and then timekeeping is broken on SMP systems.Implement handling for !EARLY_AP_STARTUP kernels: keep track of the CPUon which device attach ran, and then use a SI_SUB_SMP SYSINIT toregister the rest of the CPUs with the hypervisor.Reported by: Shrikanth R Kamath <kshrikanth@juniper.net>Reviewed by: kib, jhb (earlier versions)Sponsored by: Klara, Inc.Sponsored by: Juniper Networks, Inc.MFC after: 2 weeksDifferential Revision: https://reviews.freebsd.org/D37705
kmem_malloc/free: Use void * instead of vm_offset_t for kernel pointers.Reviewed by: kib, markjSponsored by: DARPADifferential Revision: https://reviews.freebsd.org/D36549
kvm_clock: Remove unused devclass argument to DRIVER_MODULE.
kvmclock: Expose implied TSC frequency via sysctlAn interface was added to derive an implied TSC frequency from pvclockin 2015, but this interface was never exposed anywhere user-visible.Reviewe
kvmclock: Expose implied TSC frequency via sysctlAn interface was added to derive an implied TSC frequency from pvclockin 2015, but this interface was never exposed anywhere user-visible.Reviewed by: kib, bryanvDifferential Revision: https://reviews.freebsd.org/D32974
kvm_clock: KVM paravirtual clock supportAdd support for the KVM paravirtual clock device.Sponsored by: Juniper Networks, Inc.Sponsored by: Klara, Inc.Reviewed by: kibDifferential Revision: htt
kvm_clock: KVM paravirtual clock supportAdd support for the KVM paravirtual clock device.Sponsored by: Juniper Networks, Inc.Sponsored by: Klara, Inc.Reviewed by: kibDifferential Revision: https://reviews.freebsd.org/D29733