Page MenuHomeFreeBSD
Feed Advanced Search

Sun, Mar 31

br committed rGee36e7faceaf: snd_hdspe(4): Only buffer_copy() audio data once. (authored by dev_submerge.ch).
snd_hdspe(4): Only buffer_copy() audio data once.
Sun, Mar 31, 7:22 PM
br closed D44084: snd_hdspe(4): Only buffer_copy() audio data once..
Sun, Mar 31, 7:21 PM

Mar 14 2024

br updated the diff for D40728: hwt(8) utility added.

Intel PT support added by Bojan Novković

Mar 14 2024, 3:58 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

Regen

Mar 14 2024, 3:55 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Regenerate

Mar 14 2024, 3:54 PM

Mar 10 2024

br added a comment to D44084: snd_hdspe(4): Only buffer_copy() audio data once..

I'm still testing this, but I haven't found any problems in the last few days. It's hard to tell whether this approach is robust against missed interrupts, because I never encountered any.

Ruslan, does the calculation of position and length look reasonable to you? We have to store the playback writing position extra because we don't set it in the sndbuf structure.

Mar 10 2024, 12:37 PM

Feb 25 2024

br committed rGdc15f025062d: snd_hdspe(4): Optional unified pcm device. (authored by dev_submerge.ch).
snd_hdspe(4): Optional unified pcm device.
Feb 25 2024, 9:49 PM
br closed D43798: snd_hdspe(4): Optional unified pcm device..
Feb 25 2024, 9:48 PM

Feb 24 2024

br added a comment to D43798: snd_hdspe(4): Optional unified pcm device..
In D43798#1002933, @br wrote:

All seems to work. I have only line output connected here at home, so only hear sound on first two playback ports in qjackctl.
I can check phone (port 3,4) output on my different machine during the week.

Feb 24 2024, 3:58 PM

Feb 18 2024

br added a comment to D43798: snd_hdspe(4): Optional unified pcm device..
In D43798#1002381, @br wrote:

This was tested with a HDSPe RayDAT. @br, could you at least test the analog outputs of the AIO? You probably need audio/jack or audio/virtual_oss to handle that many channels. Just ask me if you need help with the setup.

I have set hw.hdspe.unified_pcm=1 and tested playback mono (s32le:1.0) and stereo on Line output

help needed with jackit config to test this properly!

My general notes on Jack are here, Jack settings described here, and there's man jackd.

For a quick test I would do (roughly):

  1. Set hw.hdspe.unified_pcm="1" in /boot/loader.conf.
  2. Reboot.
  3. Check cat /dev/sndstat | grep HDSPe, should be one pcm device named "all".
  4. sysctl dev.hdspe.0.speedshould be 0.
  5. sysctl dev.hdspe.0.clock_source should be internal.
  6. sysctl dev.pcm.0.bitperfect should be 1 (use pcm number of HDSPe AIO).
  7. Set dev.pcm.0.rec.vchans=0 and dev.pcm.0.play.vchans=0.
  8. Start jackd -d oss --rate 48000 -p 1024 -w 32 --inchannels 14 --outchannels 16 --capture /dev/dsp0 --playback /dev/dsp0.
  9. Open Hydrogen (audio/hydrogen) and load a demo from the examples.
  10. Use the connection editor of QJackCtl (audio/qjackctl) to plug Hydrogen output into other playback ports (phones should be 3 and 4).

Sorry, I just see that the number of outchannels (playback) and inchannels (recording) in the man page are wrong.
I think the correct ones would be 16 | 14 up to 48kHz, 12 | 10 up to 96kHz, 10 | 8 up to 192kHz. Could you verify that? I'll fix the man page tomorrow.

Hope this helps, if you are stuck somewhere I need more details.

Feb 18 2024, 8:52 PM

Feb 16 2024

br added a comment to D43798: snd_hdspe(4): Optional unified pcm device..

This was tested with a HDSPe RayDAT. @br, could you at least test the analog outputs of the AIO? You probably need audio/jack or audio/virtual_oss to handle that many channels. Just ask me if you need help with the setup.

Feb 16 2024, 8:57 PM

Feb 13 2024

br added inline comments to D43811: Revamping the existing Vybrid I2C Controller Driver to Include Support for the QorIQ LX2160A Controller.
Feb 13 2024, 10:38 AM · arm64, ARM

Jan 30 2024

br committed rG6c892b79de59: snd_hdspe(4): Per device sysctl for sample rate. (authored by dev_submerge.ch).
snd_hdspe(4): Per device sysctl for sample rate.
Jan 30 2024, 3:15 PM
br closed D43659: snd_hdspe(4): Per device sysctl for sample rate..
Jan 30 2024, 3:15 PM

Jan 28 2024

br committed rGfb87726303b6: snd_hdspe(4): Per device sysctl for period. (authored by dev_submerge.ch).
snd_hdspe(4): Per device sysctl for period.
Jan 28 2024, 8:24 PM
br closed D43527: snd_hdspe(4): Per device sysctl for period..
Jan 28 2024, 8:23 PM

Jan 24 2024

br added a comment to D43527: snd_hdspe(4): Per device sysctl for period..

Seems to work. I hear gaps and stuttering when I force period to 4096. On default (32 to 256) it works very well, even up to 2048.

Jan 24 2024, 11:02 PM

Jan 15 2024

br closed D43393: snd_hdspe(4): One pcm device per physical ADAT port..
Jan 15 2024, 10:31 AM
br committed rGd7fde2c9eccf: snd_hdspe(4): One pcm device per physical ADAT port. (authored by dev_submerge.ch).
snd_hdspe(4): One pcm device per physical ADAT port.
Jan 15 2024, 10:31 AM

Jan 12 2024

br added a comment to D43393: snd_hdspe(4): One pcm device per physical ADAT port..

looks very good

Jan 12 2024, 2:28 PM

Jan 9 2024

br committed rGddf7fbbb57e2: Intel FPGA: Support programming larger bitfiles. (authored by br).
Intel FPGA: Support programming larger bitfiles.
Jan 9 2024, 2:34 PM

Jan 4 2024

br added inline comments to D43293: RISCV: Introduce support for APLIC interrupt controller.
Jan 4 2024, 1:18 PM · riscv
br committed rGb6052c10fb4a: Setups with digital audio connections like SPDIF and ADAT require (authored by br).
Setups with digital audio connections like SPDIF and ADAT require
Jan 4 2024, 9:45 AM
br closed D43252: snd_hdspe(4): Add sysctl settings for clock source..
Jan 4 2024, 9:44 AM

Jan 3 2024

br added inline comments to D43293: RISCV: Introduce support for APLIC interrupt controller.
Jan 3 2024, 7:57 PM · riscv
br added inline comments to D43293: RISCV: Introduce support for APLIC interrupt controller.
Jan 3 2024, 12:15 PM · riscv
br added a comment to D43293: RISCV: Introduce support for APLIC interrupt controller.

Note that some lines don't fit 80 chars per style (9) and some have too much whitespace after wrap.

Jan 3 2024, 12:12 PM · riscv
br added a comment to D43293: RISCV: Introduce support for APLIC interrupt controller.

Interesting!

Jan 3 2024, 12:10 PM · riscv

Jan 1 2024

br added a comment to D43252: snd_hdspe(4): Add sysctl settings for clock source..

Looks good. but I noticed these things just before committing

Jan 1 2024, 9:24 PM

Dec 30 2023

br added a comment to D43252: snd_hdspe(4): Add sysctl settings for clock source..

great work, just minor things

Dec 30 2023, 11:23 PM

Oct 12 2023

br added inline comments to D40466: Hardware Trace (HWT) framework.
Oct 12 2023, 9:25 AM

Sep 26 2023

br updated the diff for D40477: HWT: ARM CoreSight support.

Pass ctx to backend_deinit().

Sep 26 2023, 10:31 AM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Pass ctx to backend_deinit().

Sep 26 2023, 10:30 AM

Sep 25 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

rebase for freebsd

Sep 25 2023, 2:13 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

rebase for freebsd

Sep 25 2023, 2:11 PM
br updated the diff for D40728: hwt(8) utility added.

rebase for freebsd

Sep 25 2023, 2:10 PM

Sep 6 2023

br added inline comments to D40466: Hardware Trace (HWT) framework.
Sep 6 2023, 3:42 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

User provides cpusetsize together with *cpuset_t.

Sep 6 2023, 3:41 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Fix typo.

Sep 6 2023, 2:32 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Replace most of spin locks to standard mtx. Use refcounting in some places

Sep 6 2023, 2:25 PM

Sep 4 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

change backend lock, ident set lock, ownerhash lock to standard mtx

Sep 4 2023, 2:15 PM

Aug 21 2023

br added inline comments to D40728: hwt(8) utility added.
Aug 21 2023, 11:49 AM
br updated the diff for D40728: hwt(8) utility added.

remove hwt_libxo.h as not needed

Aug 21 2023, 11:47 AM

Aug 19 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Regenerate

Aug 19 2023, 1:14 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

Regenerate

Aug 19 2023, 1:13 PM
br updated the diff for D40728: hwt(8) utility added.

obtain ETM IDR registers from sysctl. This is needed for Juno

Aug 19 2023, 1:13 PM

Aug 16 2023

br updated the diff for D40728: hwt(8) utility added.

Allow attaching to an existed proc;
Add support for libxo

Aug 16 2023, 12:00 PM

Aug 15 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Allow attaching to an existed proc

Aug 15 2023, 3:41 PM

Aug 8 2023

br updated the test plan for D40466: Hardware Trace (HWT) framework.
Aug 8 2023, 1:23 PM
br updated the summary of D40466: Hardware Trace (HWT) framework.
Aug 8 2023, 1:22 PM
br updated the test plan for D40728: hwt(8) utility added.
Aug 8 2023, 1:21 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Add description for CPU mode of operation into hwt.c

Aug 8 2023, 1:17 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Fix context ID allocation, do not allocate twice and check the status of allocation

Aug 8 2023, 12:37 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

regenerate

Aug 8 2023, 12:36 PM
br updated the diff for D40728: hwt(8) utility added.

cleanup

Aug 8 2023, 12:35 PM

Aug 3 2023

br removed a reviewer for D40466: Hardware Trace (HWT) framework: shurd.
Aug 3 2023, 6:35 PM
br removed reviewers for D40728: hwt(8) utility added: andrew, bdrewery, bhyve.
Aug 3 2023, 6:34 PM
br updated the diff for D40728: hwt(8) utility added.

Regenerate

Aug 3 2023, 6:33 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Regenerate

Aug 3 2023, 6:31 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

regenerate

Aug 3 2023, 6:12 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

regenerate

Aug 3 2023, 6:12 PM
br updated the diff for D40728: hwt(8) utility added.

decode multiple cpus at the same time

Aug 3 2023, 6:12 PM

Jul 31 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Regenerate

Jul 31 2023, 11:50 AM
br updated the diff for D40477: HWT: ARM CoreSight support.

Fix tracing cpu_id > 0

Jul 31 2023, 11:50 AM
br updated the diff for D40728: hwt(8) utility added.

Add -R (fs_root) flag.

Jul 31 2023, 11:49 AM

Jul 30 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

hwt kernel module added

Jul 30 2023, 10:16 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

ability to build as a module

Jul 30 2023, 10:15 PM

Jul 26 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Code cleanup. Implement some TODOs

Jul 26 2023, 2:48 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

Regenerate

Jul 26 2023, 2:47 PM
br updated the diff for D40728: hwt(8) utility added.

format flag added

Jul 26 2023, 2:47 PM

Jul 24 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Allow tracing multiple cpus in CPU(system) mode

Jul 24 2023, 9:44 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

allow tracing multiple cpus in system mode

Jul 24 2023, 9:43 PM
br updated the diff for D40728: hwt(8) utility added.

allow tracing multiple cpus in system mode

Jul 24 2023, 9:42 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Remove cheribsd-specific "size" member from hwt_record as not needed

Jul 24 2023, 6:18 PM
br added inline comments to D40466: Hardware Trace (HWT) framework.
Jul 24 2023, 6:18 PM

Jul 19 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Kernel-mode tracing support added.

Jul 19 2023, 3:21 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

Kernel-mode tracing support added.

Jul 19 2023, 3:20 PM
br updated the diff for D40728: hwt(8) utility added.

Add kernel-mode tracing support.

Jul 19 2023, 3:19 PM

Jul 12 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Initial work on cpu/system mode of operation

Jul 12 2023, 1:19 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

hwt_backend interface changed

Jul 12 2023, 1:19 PM
br updated the diff for D40728: hwt(8) utility added.

usage() added

Jul 12 2023, 1:18 PM

Jul 10 2023

br updated the diff for D40728: hwt(8) utility added.

Abstract tracing devices

Jul 10 2023, 12:15 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

regenerate

Jul 10 2023, 12:15 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

regenerate

Jul 10 2023, 12:15 PM

Jul 5 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

suspend specific thread on mmap, not entire proc

Jul 5 2023, 2:44 PM
br updated the diff for D40728: hwt(8) utility added.

suspend a single thread on mmap, not entire proc

Jul 5 2023, 2:44 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

ip range filtering (draft) added

Jul 5 2023, 10:58 AM
br updated the diff for D40477: HWT: ARM CoreSight support.

coresight_setup() method added

Jul 5 2023, 10:57 AM
br updated the diff for D40728: hwt(8) utility added.

ip range filtering added

Jul 5 2023, 10:56 AM

Jun 28 2023

br updated the diff for D40728: hwt(8) utility added.

Regenerate

Jun 28 2023, 3:04 PM
br added a comment to D40466: Hardware Trace (HWT) framework.

This looks like a kernel with HWT_HOOKS but not HWT wouldn't link as, for example, hwt_switch_in will be missing. HWPMC handles this by adding a function pointer and protects it with an epoch.

I added this functionality. I am not sure if epoch is needed. PMC have several macroses for hook invocation, only some of them require epoch.

Jun 28 2023, 10:38 AM
br updated the diff for D40477: HWT: ARM CoreSight support.

Make coresight optional. Depends on hwt

Jun 28 2023, 10:35 AM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Move changes related to coresight to another review

Jun 28 2023, 10:35 AM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Move hwt files to conf/files.

Jun 28 2023, 10:32 AM
br updated the diff for D40728: hwt(8) utility added.

Add '-t' argument allowing to specify thread index we want to read trace for.

Jun 28 2023, 10:18 AM

Jun 27 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Add short overview and context lifecycle.

Jun 27 2023, 2:32 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Add hwt_hook variable and HWT_CALL_HOOK macro

Jun 27 2023, 1:31 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Add hwt_hook variable and HWT_CALL_HOOK macro

Jun 27 2023, 1:27 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Remove mtx_threads and mtx_records. Use mtx of entire context

Jun 27 2023, 9:13 AM

Jun 26 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Split out ownerhash/contexthash code to a separate files.

Jun 26 2023, 2:09 PM