NetBSD/src 298748asys/dev/usb usb.c uaudio.c

   - make pipe->close method take the thread lock

   - convert usb_taskq to use mutex/cv

   - convert needs_explore usage into a cv on the thread lock

   - remove KERNEL_*LOCK from uaudio and umidi, since we're supposedly
     MPSAFE here now

   - use IPL_SCHED instead of IPL_USB (aka biglocked) interrupts

   - drop the audio thread lock when calling into usb when it may sleep,
     avoiding a deadlock between audiowrite and audioioctl.  this fixes
     mixerctl -a vs. playing hanging the system
     XXX probably need to check this in a bunch more places.
VersionDeltaFile
1.125.6.5+67-21sys/dev/usb/usb.c
1.124.2.1+8-24sys/dev/usb/uaudio.c
1.218.6.8+13-11sys/dev/usb/ohci.c
1.93.8.4+15-8sys/dev/usb/usbdivar.h
1.181.6.5+11-9sys/dev/usb/ehci.c
1.240.6.6+11-7sys/dev/usb/uhci.c
+125-806 files not shown
+154-10312 files

NetBSD/src 65ddef8sys/dev/usb usbdi_util.c utoppy.c

   convert the remaining wakeup(xfer)'s to use the xfer->cv.

   utoppy - untested.
VersionDeltaFile
1.55.12.1+28-12sys/dev/usb/usbdi_util.c
1.15.12.1+15-7sys/dev/usb/utoppy.c
1.134.2.3+5-5sys/dev/usb/usbdi.c
+48-243 files

NetBSD/src 8b36297sys/dev/usb uhci.c uhcivar.h

   my compiles-but-un-runtime-tested port of uhci to usbmp branch.
   based upon the ohci and ehci changes.
VersionDeltaFile
1.240.6.2+180-104sys/dev/usb/uhci.c
1.48.12.1+5-1sys/dev/usb/uhcivar.h
+185-1052 files

NetBSD/src 02e60c9sys/dev/usb ohci.c ohcivar.h

   adapt ohci, from mrg with some changes by me
VersionDeltaFile
1.218.6.2+212-129sys/dev/usb/ohci.c
1.51.8.1+6-3sys/dev/usb/ohcivar.h
+218-1322 files

NetBSD/src 26a86a4sys/dev/usb ehci.c usbdi.c

   Make ehci mpsafe.
VersionDeltaFile
1.181.6.1+231-150sys/dev/usb/ehci.c
1.134.2.1+43-15sys/dev/usb/usbdi.c
1.125.6.1+5-11sys/dev/usb/usb.c
1.93.8.1+12-1sys/dev/usb/usbdivar.h
1.38.10.1+7-6sys/dev/usb/ehcivar.h
1.180.6.1+7-2sys/dev/usb/usb_subr.c
+305-1854 files not shown
+319-19310 files

NetBSD/src 6846a07sys/arch/x86/x86 pmap_tlb.c

   Split out the cross-CPU tlb flushing code between XEN and non-XEN.
   x86 tlb flushing is asynchronous and uses x86_ipi()
   XEN tlb flushing uses synchronous hypercalls.
VersionDeltaFile
1.4+76-28sys/arch/x86/x86/pmap_tlb.c
+76-281 files

NetBSD/src 0674b06sys/arch/xen/x86 hypervisor_machdep.c, sys/arch/xen/xen xenevt.c

   hypervisor_unmask_event(): don't check/update evtchn_pending_sel for the
     current CPU, but for any CPU which may accept this event.
   xen/xenevt.c: more use of atomic ops and locks where appropriate, and some
     other SMP fixes. Handle all events on the primary CPU (may be revisited
     later). Set/clear ci_evtmask[] for watched events.

   This should fix the problems on dom0 kernels reported by jym@
VersionDeltaFile
1.39+80-35sys/arch/xen/xen/xenevt.c
1.18+30-10sys/arch/xen/x86/hypervisor_machdep.c
+110-452 files

NetBSD/src 41953e5sys/arch/xen/xen xbdback_xenbus.c

   xbdback_disconnect() can be called twice,  from XenbusStateClosing then from
   xbdback_xenbus_destroy(). The second call will wait forever as the first
   already caused the xbd thread to exit.
   Have xbdback_disconnect() check if we're already disconnected and if so,
   do nothing.
VersionDeltaFile
1.54+9-7sys/arch/xen/xen/xbdback_xenbus.c
+9-71 files

NetBSD/src e0160f2sys/ddb db_xxx.c

   If we are DIAGNOSTIC don't try to go further if we failed to take the
   lock, because we are going to trigger a KASSERT. Also hold the lock
   longer and take the proc lock for kpsignal(). Maybe we should add
   mutex_steal() and mutex_return() for the debugger? Lock correction
   suggestion from jmcneill.
VersionDeltaFile
1.66+16-6sys/ddb/db_xxx.c
+16-61 files

NetBSD/src e3f1090sys/dev/pci ld_virtio.c

   Don't try to set ld->sc_maxxfer below MAXPHYS.
   At least genfs_io assumes 'ld->sc_maxxfer == MAXPHYS'.
VersionDeltaFile
1.4+4-2sys/dev/pci/ld_virtio.c
+4-21 files

NetBSD/src fcd162bsys/dev/pci esa.c

   the argument of esa_get_locks() is struct esa_voice *, not struct esa_softc *.

   ok by mrg@ jmcneill@
VersionDeltaFile
1.57+6-3sys/dev/pci/esa.c
+6-31 files

NetBSD/src ec9f34csys/arch/hpcmips/tx tx39.c

   PR/32394 -- Don't define 'panic' label unconditionally, or "minimal
   mobilepro 780 kernel configuration will not build".

   OK by wiz@
VersionDeltaFile
1.44+4-2sys/arch/hpcmips/tx/tx39.c
+4-21 files

NetBSD/src 82a7dbdsys/dev/ic mb89352.c

   Define NO_MANUAL_XFER on luna68k as temporary workaround for hangup problem
   during probing old drives like DK312C in OMRON LUNA machines.

   I'll check this MSGIN xfer problem later.
   (NO_MANUAL_XFER also caused hang on heavy load on hp300 with multiple drives)
VersionDeltaFile
1.53+5-2sys/dev/ic/mb89352.c
+5-21 files

NetBSD/src 7e5c916sys/dev TODO.audiomp

   auich(4) tested on port-i386.
VersionDeltaFile
1.14+1-1sys/dev/TODO.audiomp
+1-11 files

NetBSD/src 0d69bb4sys/kern vfs_wapbl.c

   - move disk cache flushing code into a separate function.
   - more verbose output if vfs.wapbl.verbose_commit >= 2.
     namely, time taken for each DIOCCACHESYNC calls.
        wapbl_flush: 1322826000.785245900 this transaction = 546304 bytes
        wapbl_cache_sync: 1: dev 0x0 0.017572724
        wapbl_cache_sync: 2: dev 0x0 0.007199825
        wapbl_flush: 1322826011.860771302 this transaction = 431104 bytes
        wapbl_cache_sync: 1: dev 0x0 0.019469753
        wapbl_cache_sync: 2: dev 0x0 0.009473410
        wapbl_flush: 1322829266.489154342 this transaction = 187904 bytes
        wapbl_cache_sync: 1: dev 0x4 0.022270180
        wapbl_cache_sync: 2: dev 0x4 0.030749402
   - fix a comment.
VersionDeltaFile
1.48+44-23sys/kern/vfs_wapbl.c
+44-231 files

NetBSD/src ecb9b3csys/kern kern_resource.c

   assertion
VersionDeltaFile
1.168+4-2sys/kern/kern_resource.c
+4-21 files

NetBSD/src ce355dasys/kern vfs_subr.c

   assertions
VersionDeltaFile
1.426+7-2sys/kern/vfs_subr.c
+7-21 files

NetBSD/src 5dc691asys/kern kern_turnstile.c

   move priority inheritance code to separate functions
VersionDeltaFile
1.31+142-118sys/kern/kern_turnstile.c
+142-1181 files

NetBSD/src 73b84besys/kern kern_runq.c

   comments
VersionDeltaFile
1.33+10-2sys/kern/kern_runq.c
+10-21 files

NetBSD/src e870951sys/kern vfs_syscalls.c

   fix an indent an unwarp a short line.
VersionDeltaFile
1.442+4-5sys/kern/vfs_syscalls.c
+4-51 files

NetBSD/src 140bbfesys/kern sched_4bsd.c

   update a comment
VersionDeltaFile
1.28+10-11sys/kern/sched_4bsd.c
+10-111 files

NetBSD/src 2530d12sys/dev/pci auixp.c

   audio cookie is a struct auixp_codec, not auixp_softc
VersionDeltaFile
1.37+4-4sys/dev/pci/auixp.c
+4-41 files

NetBSD/src ac4ee2fsys/arch/arm/arm disksubr_mbr.c

   Use xlat_mbr_fstype().
VersionDeltaFile
1.13+4-16sys/arch/arm/arm/disksubr_mbr.c
+4-161 files

NetBSD/src 57ff482sys/dev/usb ugen.c

   Don't double clfree() when closing an interrupt endpoint.
   From Geoff C. Wing in PR#37934.
VersionDeltaFile
1.114+2-3sys/dev/usb/ugen.c
+2-31 files

NetBSD/src 4d24c35sys/rump/librump/rumpkern rump.c

   Initialize the kern_cprng in rump startup.  Oops.

   Should fix some "mysterious" rump test failures.  Thanks to Nicholas Joly
   for pointing out exactly what was wrong.
VersionDeltaFile
1.237+6-20sys/rump/librump/rumpkern/rump.c
+6-201 files

NetBSD/src f460449sys/arch/algor/conf P6032

   Increase SYMTAB_SPACE for evbmips.
VersionDeltaFile
1.62+3-3sys/arch/algor/conf/P6032
+3-31 files

NetBSD/src 9b14f51sys/arch/evbarm/conf MV2120

   Trim down MV2120:
    - comment pci(4)-related drivers
    - comment dmover(4)-related drivers
    - optimize for size
    - add 5.0 compat
    - misc and cosmetics
VersionDeltaFile
1.3+21-24sys/arch/evbarm/conf/MV2120
+21-241 files

NetBSD/src c35722csys/arch/evbarm/conf mk.mv2120

by jakllsch on ⎇🏷
   Explain the reasoning behind the load-time memory layout.
   Only build kernels the MV2120 can boot.
   Use mkubootimage -E.
VersionDeltaFile
1.2+15-23sys/arch/evbarm/conf/mk.mv2120
+15-231 files

NetBSD/src 2f5a0f1sys/arch/algor/conf P4032

   Increase SYMTAB_SPACE for evbmips.
VersionDeltaFile
1.61+3-3sys/arch/algor/conf/P4032
+3-31 files

NetBSD/src 17639c8sys/kern kern_ktrace.c

   Only return values when there was no error.
VersionDeltaFile
1.159+4-4sys/kern/kern_ktrace.c
+4-41 files