If we don't need it to go early in the .text section (just after locore.S), then I am fine with this
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Thu, May 23
Wed, May 22
Fri, May 17
use UL suffix to not rely on sign-extension
Thu, May 9
Tue, May 7
good idea — these cards are high in quality to cost ratio, if not the best out all the PCI/PCIe cards we have?
Apr 27 2024
Apr 26 2024
In D44978#1025398, @dev_submerge.ch wrote:@br: I was surprised that after a firmware update of my HDSPe RayDAT card it wasn't recognized anymore on FreeBSD. Turns out RME changed the PCI vendor id to their own instead of the Xilinx one.
Could you please check that your HDSPe AIO card is still recognized with this patch? Would be nice to have this fixed in upcoming 14.1-RELEASE, thus the short-term MFC.
Mar 31 2024
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