- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Sun, Mar 31
Mar 14 2024
Intel PT support added by Bojan Novković
Mar 10 2024
In D44084#1005680, @dev_submerge.ch wrote: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.
Feb 25 2024
Feb 24 2024
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 18 2024
In D43798#1002444, @dev_submerge.ch wrote:In D43798#1002381, @br wrote:In D43798#999017, @dev_submerge.ch 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):
- Set hw.hdspe.unified_pcm="1" in /boot/loader.conf.
- Reboot.
- Check cat /dev/sndstat | grep HDSPe, should be one pcm device named "all".
- sysctl dev.hdspe.0.speedshould be 0.
- sysctl dev.hdspe.0.clock_source should be internal.
- sysctl dev.pcm.0.bitperfect should be 1 (use pcm number of HDSPe AIO).
- Set dev.pcm.0.rec.vchans=0 and dev.pcm.0.play.vchans=0.
- Start jackd -d oss --rate 48000 -p 1024 -w 32 --inchannels 14 --outchannels 16 --capture /dev/dsp0 --playback /dev/dsp0.
- Open Hydrogen (audio/hydrogen) and load a demo from the examples.
- 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 16 2024
In D43798#999017, @dev_submerge.ch 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.
Feb 13 2024
Jan 30 2024
Jan 28 2024
Jan 24 2024
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 15 2024
Jan 12 2024
looks very good
Jan 9 2024
Jan 4 2024
Jan 3 2024
Note that some lines don't fit 80 chars per style (9) and some have too much whitespace after wrap.
Interesting!
Jan 1 2024
Looks good. but I noticed these things just before committing
Dec 30 2023
great work, just minor things
Oct 12 2023
Sep 26 2023
Pass ctx to backend_deinit().
Pass ctx to backend_deinit().
Sep 25 2023
rebase for freebsd
Sep 6 2023
User provides cpusetsize together with *cpuset_t.
Replace most of spin locks to standard mtx. Use refcounting in some places
Sep 4 2023
change backend lock, ident set lock, ownerhash lock to standard mtx
Aug 21 2023
remove hwt_libxo.h as not needed
Aug 19 2023
obtain ETM IDR registers from sysctl. This is needed for Juno
Aug 16 2023
Allow attaching to an existed proc;
Add support for libxo
Aug 15 2023
Allow attaching to an existed proc
Aug 8 2023
Add description for CPU mode of operation into hwt.c
Fix context ID allocation, do not allocate twice and check the status of allocation
Aug 3 2023
decode multiple cpus at the same time
Jul 31 2023
Fix tracing cpu_id > 0
Jul 30 2023
hwt kernel module added
ability to build as a module
Jul 26 2023
Code cleanup. Implement some TODOs
Jul 24 2023
Allow tracing multiple cpus in CPU(system) mode
allow tracing multiple cpus in system mode
allow tracing multiple cpus in system mode
Remove cheribsd-specific "size" member from hwt_record as not needed
Jul 19 2023
Kernel-mode tracing support added.
Kernel-mode tracing support added.
Add kernel-mode tracing support.
Jul 12 2023
Initial work on cpu/system mode of operation
hwt_backend interface changed
Jul 10 2023
Jul 5 2023
suspend specific thread on mmap, not entire proc
suspend a single thread on mmap, not entire proc
ip range filtering (draft) added
coresight_setup() method added
Jun 28 2023
In D40466#921159, @andrew wrote: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.
Make coresight optional. Depends on hwt
Move changes related to coresight to another review
Move hwt files to conf/files.
Add '-t' argument allowing to specify thread index we want to read trace for.
Jun 27 2023
Add short overview and context lifecycle.
Add hwt_hook variable and HWT_CALL_HOOK macro
Add hwt_hook variable and HWT_CALL_HOOK macro
Remove mtx_threads and mtx_records. Use mtx of entire context
Jun 26 2023
Split out ownerhash/contexthash code to a separate files.