User Details
- User Since
- Jul 2 2021, 4:03 PM (254 w, 4 d)
Today
Yesterday
I don't have the hardware to test this on, but if it works for you, LGTM. Do you have a commit bit or should I commit it?
Fri, May 15
"sound: Fix lock order reversal in dsp_poll()"
LGTM. Please change the commit title from "dsp: Make witness happy" to "sound: Fix lock order reversal in chn_trigger()".
I understand that the change here locks the channels we actually want, instead of both of them. However, the effect is the same; if priv has both channels allocated, then your code will also lock both of them, just not at the same time. But I don't understand why doing this fixes the issue. Could you elaborate further?
I suppose you are referring to a seemingly "harmless" LOR coming from chn_trigger(). I've been aware of this for a while already. That being said, I don't see how this change fixes it. You are essentially doing the exact same thing.
Also in the commit message it should be "sound", not "dsp".
Please explain in a commit message what this change does. What does WITNESS complain about? Why are you changing the order of dsp_lock_chans()? And why did you remove the dsp_lock_chans() call in dsp_poll()?
Thu, May 14
Are there any updates we should do in D40874?
Thu, May 7
Mon, May 4
Thu, Apr 30
Mon, Apr 27
Sun, Apr 26
Sat, Apr 25
Fri, Apr 24
Thu, Apr 23
Tue, Apr 21
Mon, Apr 20
Note that this won't have any effect after a device driver has initialized. snd_mixerdefaults is only used in mixer_init(), so any change with these sysctls will require a driver re-load for the new defaults to take effect. I suppose this is not really an issue if these defaults are set and "forgotten" in a config file, though.
Many translations (e.g., German, Danish, Polish from a quick look) are actually in English.
Apr 19 2026
Apr 18 2026
Apr 17 2026
Apr 16 2026
Apr 15 2026
Bump.
The patch does not apply cleanly on main:
$ git arc patch D52325 Checking patch usr.sbin/fwget/usb/usb_wireless_ralink... Checking patch usr.sbin/fwget/usb/usb_wireles_header... Checking patch usr.sbin/fwget/usb/usb_ralink... Checking patch usr.sbin/fwget/usb/usb_bluetooth_realtek... Checking patch usr.sbin/fwget/usb/usb_bluetooth_qca... Checking patch usr.sbin/fwget/usb/usb_bluetooth_intel... Checking patch usr.sbin/fwget/usb/usb_bluetooth_header... Checking patch usr.sbin/fwget/usb/usb_bluetooth_brcm... Checking patch usr.sbin/fwget/usb/usb... Checking patch usr.sbin/fwget/usb/Makefile... Checking patch usr.sbin/fwget/pci/pci_wireless_realtek... Checking patch usr.sbin/fwget/pci/pci_wireless_qca... Checking patch usr.sbin/fwget/pci/pci_wireless_mediatek... Checking patch usr.sbin/fwget/pci/pci_wireless_intel... Checking patch usr.sbin/fwget/pci/pci_wireless_header... Checking patch usr.sbin/fwget/pci/pci_video_intel... Checking patch usr.sbin/fwget/pci/pci_video_header... Checking patch usr.sbin/fwget/pci/pci_video_amd... error: while searching for: #- # SPDX-License-Identifier: BSD-2-Clause # # Copyright 2023 Beckhoff Automation GmbH & Co. KG # # Redistribution and use in source and binary forms, with or without # modification, are permitted providing that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE.
Address Mark's comments.
Let me know if you want me to take this over. No problem for me. :-)
Apr 14 2026
Apr 12 2026
Apr 7 2026
Apr 6 2026
Apr 5 2026
Apr 3 2026
Apr 2 2026
Clarify virtual_oss_default_control_device further.