sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
xen: introduce XEN_CPUID_TO_VCPUID()/XEN_VCPUID()Part of the series for allowing FreeBSD/ARM to run on Xen. On ARM thefunction is a trivial pass-through, other architectures need distinctimpleme
xen: introduce XEN_CPUID_TO_VCPUID()/XEN_VCPUID()Part of the series for allowing FreeBSD/ARM to run on Xen. On ARM thefunction is a trivial pass-through, other architectures need distinctimplementations.While implementing XEN_VCPUID() as a call to XEN_CPUID_TO_VCPUID()works, that involves multiple accesses to the PCPU region. As such makethis a distinct macro. Only callers in machine independent code havebeen switched.Add a wrapper for the x86 PIC interface to use matching the oldprototype.Partially inspired by the work of Julien Grall <[email protected]>,2015-08-01 09:45:06, but XEN_VCPUID() was redone by Elliott Mitchell on2022-06-13 12:51:57.Reviewed by: roygerSubmitted by: Elliott Mitchell <[email protected]>Original implementation: Julien Grall <[email protected]>, 2014-04-19 08:57:40Original implementation: Julien Grall <[email protected]>, 2014-04-19 14:32:01Differential Revision: https://reviews.freebsd.org/D29404
show more ...
xen: Remove unused devclass arguments to DRIVER_MODULE.
stack_zero is not needed before stack_saveThe man page was recently clarified to commit to this contract.MFC after: 1 weekSponsored by: Dell EMC Isilon
xen/dev: remove write-only variableThis was found while looking for driver_filter_t functions which got thetrap frame from the argument. This particular instance it isn't evenused, so remove now
xen/dev: remove write-only variableThis was found while looking for driver_filter_t functions which got thetrap frame from the argument. This particular instance it isn't evenused, so remove now lest someone else get to it first.Reviewed by: mhorne
xen: introduce xen_has_percpu_evtchn()xen_vector_callback_enabled is x86 specific and availability ofper-cpu event channel delivery differs on other architectures.Introduce a new helper to check
xen: introduce xen_has_percpu_evtchn()xen_vector_callback_enabled is x86 specific and availability ofper-cpu event channel delivery differs on other architectures.Introduce a new helper to check if there's support for per-cpu eventchannel injection.Submitted by: Elliott Mitchell <[email protected]>Reviewed by: roygerDifferential Revision: https://reviews.freebsd.org/D29402
Extract eventfilter declarations to sys/_eventfilter.hThis allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h"in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces hea
Extract eventfilter declarations to sys/_eventfilter.hThis allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h"in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces headerpollution substantially.EVENTHANDLER_DECLARE and EVENTHANDLER_LIST_DECLAREs were moved out of .cfiles into appropriate headers (e.g., sys/proc.h, powernv/opal.h).As a side effect of reduced header pollution, many .c files and headers nolonger contain needed definitions. The remainder of the patch addressesadding appropriate includes to fix those files.LOCK_DEBUG and LOCK_FILE_LINE_ARG are moved to sys/_lock.h, as required bysys/mutex.h since r326106 (but silently protected by header pollution priorto this change).No functional change (intended). Of course, any out of tree modules thatrelied on header pollution for sys/eventhandler.h, sys/lock.h, orsys/mutex.h inclusion need to be fixed. __FreeBSD_version has been bumped.
xen: add a handler for the debug interruptHandle the VIRQ_DEBUG signal and print a stack trace of each vCPU on the Xenconsole. This is only used for debug purposes and is triggered by theadminist
xen: add a handler for the debug interruptHandle the VIRQ_DEBUG signal and print a stack trace of each vCPU on the Xenconsole. This is only used for debug purposes and is triggered by theadministrator of the Xen host.Sponsored by: Citrix Systems R&DMFC after: 1 week