Page MenuHomeFreeBSD

christos (Christos Margiolis)
User

Projects

User Details

User Since
Jul 2 2021, 4:03 PM (145 w, 5 d)

Recent Activity

Today

christos committed rG5abbbb7c6401: sound: Remove leftover references to snd_clone (authored by christos).
sound: Remove leftover references to snd_clone
Thu, Apr 18, 12:42 PM
christos committed rG51abcd0c477a: sound: Update some LICENSE headers (authored by christos).
sound: Update some LICENSE headers
Thu, Apr 18, 12:42 PM
christos committed rGd692c314d29a: sound: Implement asynchronous device detach (authored by christos).
sound: Implement asynchronous device detach
Thu, Apr 18, 12:41 PM
christos committed rGe6c51f6db8d7: sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9) (authored by christos).
sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9)
Thu, Apr 18, 12:41 PM

Tue, Apr 16

christos created P637 sound(4) LOR.
Tue, Apr 16, 2:16 PM
christos committed rG72eb6d65ede2: sound: Move sndstat_prepare_pcm() to pcm/sndstat.c and remove sndstat_entry… (authored by christos).
sound: Move sndstat_prepare_pcm() to pcm/sndstat.c and remove sndstat_entry…
Tue, Apr 16, 1:48 AM

Mon, Apr 15

christos abandoned D44792: vmm: Add ppt device list sysctl.
Mon, Apr 15, 2:51 PM
christos added a comment to D44792: vmm: Add ppt device list sysctl.
In D44792#1020926, @bz wrote:

Does this give any information pciconf -l would not already give? I would rather we'd improve our tooling than use a sysctl for that? I'd almost want something like ifconfig -g bridge -l in devctl or somewhere appropriate?

% pciconf -l | grep ppt
ppt0@pci0:2:0:0: class=0x028000 rev=0x1a hdr=0x00 vendor=0x8086 device=0x2723 subvendor=0x1a56 subdevice=0x1653

Maybe if the commit message would describe why this is helpful anyway, it would help to understand the problem it is trying to solve?

Mon, Apr 15, 12:02 AM

Sun, Apr 14

christos added a comment to D44792: vmm: Add ppt device list sysctl.

Isn't this basically the same as pciconf -l | grep ppt?

Sun, Apr 14, 11:54 PM
christos updated the diff for D44792: vmm: Add ppt device list sysctl.

Fix style.

Sun, Apr 14, 11:53 PM
christos requested review of D44792: vmm: Add ppt device list sysctl.
Sun, Apr 14, 11:49 PM
christos abandoned D44790: Test.
Sun, Apr 14, 2:43 PM
christos updated the diff for D44790: Test.

Test

Sun, Apr 14, 2:42 PM
christos updated the diff for D44790: Test.

Add commit message.

Sun, Apr 14, 2:32 PM
christos requested review of D44790: Test.
Sun, Apr 14, 2:32 PM

Sat, Apr 13

christos committed rG068c675ca7ae: sound: Remove leftover references to snd_clone (authored by christos).
sound: Remove leftover references to snd_clone
Sat, Apr 13, 5:13 PM
christos closed D44758: sound: Remove leftover references to snd_clone.
Sat, Apr 13, 5:12 PM
christos added inline comments to D44758: sound: Remove leftover references to snd_clone.
Sat, Apr 13, 5:05 PM
christos accepted D44778: snd_hda: fix "duplicated free" on module unloading.
Sat, Apr 13, 4:52 PM
christos accepted D44777: snd_hda: Add the full Intel Meteor/Arrow/Lunar Lake HD Audio PCI IDs.
Sat, Apr 13, 4:52 PM

Fri, Apr 12

christos added a comment to D44758: sound: Remove leftover references to snd_clone.

The 2 month MFC is because e8c0d15a64fa will also be MFC'd in 2 months.

Fri, Apr 12, 6:42 PM
christos requested review of D44758: sound: Remove leftover references to snd_clone.
Fri, Apr 12, 6:41 PM
christos closed D44757: sound: Update some LICENSE headers.
Fri, Apr 12, 6:37 PM
christos committed rG4f854658c5d6: sound: Update some LICENSE headers (authored by christos).
sound: Update some LICENSE headers
Fri, Apr 12, 6:36 PM
christos updated the diff for D44757: sound: Update some LICENSE headers.

Address Mark's comments.

Fri, Apr 12, 6:29 PM
christos updated the summary of D44757: sound: Update some LICENSE headers.
Fri, Apr 12, 6:28 PM
christos requested review of D44757: sound: Update some LICENSE headers.
Fri, Apr 12, 6:11 PM
christos committed rG7e0c6e00b3c9: sound: Remove unused SND_DEV_LAST and SND_DEV_MAX constants (authored by christos).
sound: Remove unused SND_DEV_LAST and SND_DEV_MAX constants
Fri, Apr 12, 1:14 AM
christos committed rG578a8fb50c39: sound: Fix SND_DIAGNOSTIC ifdef comment (authored by christos).
sound: Fix SND_DIAGNOSTIC ifdef comment
Fri, Apr 12, 1:13 AM
christos committed rG4dfb88f3dea5: sound: Get rid of pcm/sndstat.h and turn macros into regular code (authored by christos).
sound: Get rid of pcm/sndstat.h and turn macros into regular code
Fri, Apr 12, 1:13 AM
christos committed rGea2275e72cda: sound: Drain buffer selinfo in sndbuf_free() (authored by christos).
sound: Drain buffer selinfo in sndbuf_free()
Fri, Apr 12, 1:13 AM

Thu, Apr 11

christos committed rG44e128fe9d92: sound: Implement asynchronous device detach (authored by christos).
sound: Implement asynchronous device detach
Thu, Apr 11, 6:07 PM
christos committed rGe8c0d15a64fa: sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9) (authored by christos).
sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9)
Thu, Apr 11, 6:07 PM
christos closed D43545: sound: Implement asynchronous device detach.
Thu, Apr 11, 6:07 PM
christos closed D44411: sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9).
Thu, Apr 11, 6:07 PM
christos added a comment to D44411: sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9).

@meka_tilda.center Let me know when you test it. I think this should fix your virtual_oss returning EBUSY as well.

Thu, Apr 11, 4:14 PM
christos added a reviewer for D43545: sound: Implement asynchronous device detach: bapt.
Thu, Apr 11, 4:13 PM
christos updated the diff for D43545: sound: Implement asynchronous device detach.

Re-opening since D44411 seems to be fixed.

Thu, Apr 11, 4:12 PM
christos reopened D43545: sound: Implement asynchronous device detach.
Thu, Apr 11, 4:12 PM
christos added a reviewer for D44411: sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9): bapt.
Thu, Apr 11, 4:07 PM
christos updated the diff for D44411: sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9).

Re-opening the review. Apparently the patch introduced a regression where where
dsp_[get|set]_flags() would fetch the flags of the wrong softc, resulting in
generally strange behavior if the machine had more than 1 audio device attached
(EBUSY's from dsp_open() etc). Get rid of dsp_[get|set]_flags() as they are no
longer needed and use pcm_[get|set]_flags() directly.

Thu, Apr 11, 4:07 PM
christos reopened D44411: sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9).
Thu, Apr 11, 4:01 PM

Sun, Apr 7

christos abandoned D44570: sound: Implement SNDCTL_SETNAME.

Hacked it into the sosso test executable to exercise this ioctl, I'm still not convinced of its utility. This lets every application of all users set the device description globally. I think it's useful on a system level (mixer or similar tool), but I'd be wary to use it in an application. For the purposes mentioned in OSSv4, something like virtual_oss can set the description of the pcm devices it creates in a different way.

Sun, Apr 7, 10:35 AM

Fri, Apr 5

christos closed D44608: audio/virtual_oss: Take over maintenance.
Fri, Apr 5, 11:11 AM
christos committed R11:2067ff3c2fbc: audio/virtual_oss: Take over maintenance (authored by christos).
audio/virtual_oss: Take over maintenance
Fri, Apr 5, 11:11 AM
christos updated the diff for D44608: audio/virtual_oss: Take over maintenance.

Address manu's comments.

Fri, Apr 5, 10:46 AM
christos committed rG13952fbca7cd: pcm.4: Showcase default device change using mixer(8) (authored by christos).
pcm.4: Showcase default device change using mixer(8)
Fri, Apr 5, 10:44 AM
christos added a reverting change for rGdc831e93bad6: sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9): rGc0d8f5862997: Revert "sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9)".
Fri, Apr 5, 10:39 AM
christos committed rGc0d8f5862997: Revert "sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9)" (authored by christos).
Revert "sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9)"
Fri, Apr 5, 10:39 AM
christos added a reverting change for rG9eff58c6d52b: sound: Implement asynchronous device detach: rG365067e98e4e: Revert "sound: Implement asynchronous device detach".
Fri, Apr 5, 10:39 AM
christos committed rG365067e98e4e: Revert "sound: Implement asynchronous device detach" (authored by christos).
Revert "sound: Implement asynchronous device detach"
Fri, Apr 5, 10:39 AM
christos added a reverting change for D44411: sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9): rGc0d8f5862997: Revert "sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9)".
Fri, Apr 5, 10:39 AM
christos added a reverting change for D43545: sound: Implement asynchronous device detach: rG365067e98e4e: Revert "sound: Implement asynchronous device detach".
Fri, Apr 5, 10:39 AM

Wed, Apr 3

christos requested review of D44608: audio/virtual_oss: Take over maintenance.
Wed, Apr 3, 9:19 AM

Tue, Apr 2

christos updated the diff for D44570: sound: Implement SNDCTL_SETNAME.

Address Mark's comment. Sorry for this.

Tue, Apr 2, 9:52 PM
christos updated the diff for D44570: sound: Implement SNDCTL_SETNAME.

Address Mark's comment.

Tue, Apr 2, 9:41 PM
christos added inline comments to D44570: sound: Implement SNDCTL_SETNAME.
Tue, Apr 2, 5:37 PM
christos added a comment to D44570: sound: Implement SNDCTL_SETNAME.

Do you have a particular interest in this ioctl?

Tue, Apr 2, 5:32 PM
christos updated the diff for D44570: sound: Implement SNDCTL_SETNAME.

Address Mark's comments. NUL-terminate the input string in general, but also
NUL-terminate it right before we encounter a non-isprint() character (or do we
want to return EINVAL in this case?)

Tue, Apr 2, 5:29 PM
christos committed rG9da3b645dbaa: sound: Move sndstat_prepare_pcm() to pcm/sndstat.c and remove sndstat_entry… (authored by christos).
sound: Move sndstat_prepare_pcm() to pcm/sndstat.c and remove sndstat_entry…
Tue, Apr 2, 4:57 PM
christos closed D44571: sound: Move sndstat_prepare_pcm() to pcm/sndstat.c and remove sndstat_entry->handler.
Tue, Apr 2, 4:57 PM

Sun, Mar 31

christos committed rG9eff58c6d52b: sound: Implement asynchronous device detach (authored by christos).
sound: Implement asynchronous device detach
Sun, Mar 31, 2:18 PM
christos closed D43545: sound: Implement asynchronous device detach.
Sun, Mar 31, 2:18 PM
christos requested review of D44571: sound: Move sndstat_prepare_pcm() to pcm/sndstat.c and remove sndstat_entry->handler.
Sun, Mar 31, 5:53 AM
christos closed D44411: sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9).
Sun, Mar 31, 5:21 AM
christos committed rGdc831e93bad6: sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9) (authored by christos).
sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9)
Sun, Mar 31, 5:21 AM
christos requested review of D44570: sound: Implement SNDCTL_SETNAME.
Sun, Mar 31, 5:14 AM
christos added a comment to D43545: sound: Implement asynchronous device detach.

@dev_submerge.ch @emaste Do you think this is good to go?

Sun, Mar 31, 2:49 AM

Sat, Mar 30

christos added a comment to D44411: sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9).

"Good news", I can reproduce the lock order reversal on the main branch, without this patch - it's not related to the changes here. How should we proceed with that?

Sat, Mar 30, 9:25 AM

Fri, Mar 29

christos closed D44556: pcm.4: Showcase default device change using mixer(8).
Fri, Mar 29, 4:01 PM
christos committed rGd46a6a77e8e1: pcm.4: Showcase default device change using mixer(8) (authored by christos).
pcm.4: Showcase default device change using mixer(8)
Fri, Mar 29, 4:01 PM
christos added inline comments to D44556: pcm.4: Showcase default device change using mixer(8).
Fri, Mar 29, 3:57 PM
christos requested review of D44556: pcm.4: Showcase default device change using mixer(8).
Fri, Mar 29, 3:51 PM
christos committed rGb5e55dbf3574: sound: Remove unused SND_DEV_LAST and SND_DEV_MAX constants (authored by christos).
sound: Remove unused SND_DEV_LAST and SND_DEV_MAX constants
Fri, Mar 29, 3:34 PM
christos committed rGc136e6180e47: sound: Fix SND_DIAGNOSTIC ifdef comment (authored by christos).
sound: Fix SND_DIAGNOSTIC ifdef comment
Fri, Mar 29, 3:34 PM
christos closed D44554: sound: Remove unused SND_DEV_LAST and SND_DEV_MAX constants.
Fri, Mar 29, 3:34 PM
christos closed D44555: sound: Fix SND_DIAGNOSTIC ifdef comment.
Fri, Mar 29, 3:34 PM
christos closed D44545: sound: Get rid of pcm/sndstat.h and turn macros into regular code.
Fri, Mar 29, 3:33 PM
christos committed rG6d1cee1640e1: sound: Get rid of pcm/sndstat.h and turn macros into regular code (authored by christos).
sound: Get rid of pcm/sndstat.h and turn macros into regular code
Fri, Mar 29, 3:33 PM
christos closed D44544: sound: Drain buffer selinfo in sndbuf_free().
Fri, Mar 29, 3:33 PM
christos committed rGfba54d0179aa: sound: Drain buffer selinfo in sndbuf_free() (authored by christos).
sound: Drain buffer selinfo in sndbuf_free()
Fri, Mar 29, 3:33 PM
christos abandoned D44546: sound: Make verbose sndstat output more readable.

After thinking a bit more about it, and taking the comments into consideration, I think it's better to abandon this to avoid any unwanted side-effects and instead just focus on the userland tool.

Fri, Mar 29, 3:23 PM
christos abandoned D44553: sound: Make hw.snd.basename_clone a bool.

Isn't this backwards incompatible? If a caller sets the sysctl in C, they'll have to change the type of the variable that they use. Existing code will misbehave.

Fri, Mar 29, 3:19 PM
christos requested review of D44555: sound: Fix SND_DIAGNOSTIC ifdef comment.
Fri, Mar 29, 4:02 AM
christos requested review of D44554: sound: Remove unused SND_DEV_LAST and SND_DEV_MAX constants.
Fri, Mar 29, 4:02 AM
christos requested review of D44553: sound: Make hw.snd.basename_clone a bool.
Fri, Mar 29, 4:02 AM
christos added a comment to D44546: sound: Make verbose sndstat output more readable.

This is definitely more readable, but my main concern would be that this form of output is quite lengthy and not very grep-friendly. Imagine 8 pcm devices with 4 channels each (when idle). Ideally, we could easily grep for the whole output of a single device, or check which output is used by an application (cat /dev/sndstat | grep mpv). Would be handy for both personal use and bug reports from users. Or maybe we can integrate these selective queries into a user space tool?

Fri, Mar 29, 3:33 AM

Thu, Mar 28

christos updated the test plan for D44546: sound: Make verbose sndstat output more readable.
Thu, Mar 28, 11:07 AM
christos requested review of D44546: sound: Make verbose sndstat output more readable.
Thu, Mar 28, 11:06 AM
christos updated the diff for D44545: sound: Get rid of pcm/sndstat.h and turn macros into regular code.

Diff against main.

Thu, Mar 28, 8:37 AM
christos requested review of D44545: sound: Get rid of pcm/sndstat.h and turn macros into regular code.
Thu, Mar 28, 8:33 AM
christos retitled D43545: sound: Implement asynchronous device detach from sound: implement asynchronous device detach to sound: Implement asynchronous device detach.
Thu, Mar 28, 5:19 AM
christos retitled D44544: sound: Drain buffer selinfo in sndbuf_free() from sound: drain buffer selinfo during sndbuf_free() to sound: Drain buffer selinfo in sndbuf_free().
Thu, Mar 28, 5:18 AM
christos added a comment to D43545: sound: Implement asynchronous device detach.

Fixed kern_poll() panic. Depends on D44544.

Thu, Mar 28, 5:16 AM
christos retitled D43545: sound: Implement asynchronous device detach from WIP: sound: implement asynchronous device detach to sound: implement asynchronous device detach.
Thu, Mar 28, 5:15 AM
christos requested review of D44544: sound: Drain buffer selinfo in sndbuf_free().
Thu, Mar 28, 5:15 AM
christos added a comment to D44411: sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9).

My first round of tests was all good, no regressions so far. I still have to test mmap'ed operation, probably tomorrow.

Do we have any systematic tests yet to check the whole OSS API? Or at least the most common ioctls?

Thu, Mar 28, 4:02 AM

Tue, Mar 26

christos updated the summary of D43545: sound: Implement asynchronous device detach.
Tue, Mar 26, 5:50 AM
christos added a comment to D11140: OSS: allow unplug sound cards without apps close devices.

D43545 takes care of this change. Should we close this?

Tue, Mar 26, 5:49 AM · Contributor Reviews (src), multimedia
christos updated the diff for D43545: sound: Implement asynchronous device detach.

Apply on top of D44411.

Tue, Mar 26, 5:49 AM