User Details
- User Since
- Oct 2 2015, 1:17 PM (575 w, 2 d)
Thu, Oct 8
Wed, Oct 7
Yeah, sorry, I was actually thinking of a WIP one that isn't yet finished: https://paste.fbsd.dev/7kvf/ -- the prototype for this one was a pass with claude for the fun of it, and I haven't had time yet to sanity check what it did or what I asked it to do. I was going to switch USBSTS to stdatomic rather than putting it under any lock in particular, but I'm not sure that's actually the sensible thing to do.
I note that I have D59779 that was about to land; it might make sense to rebase this onto that one and use the finer-grained event mutex? I think both the original author of that one and I overlooked this one.
Cc'ing @jhb specifically, as he may be better equipped to answer re: appetite for features in support of legacy BIOS.
What's your takeaway on the results from your testing? I don't have a well-informed perspective here, but that feels like a modest but respectable enough win to make it worth doing (particularly when we finish getting USB device passthrough and can then support a wider variety of devices and usage patterns).
Tue, Oct 6
This is a pre-existing problem, but it might be nice to rername these at some point to IMAN_IP and IMAN_IE to line up witih the spec.
Fri, Oct 2
Thanks!
Tue, Sep 29
Dag-Erling might also have opinions here
Yes, this is perfectly sensible.
Switch gears and just control the release and install dependencies. Convert .WAIT into .ORDER and dcument the pain point that requires it, but call it out of scope for the moment as long as we don't break re@ builds.
Sat, Sep 26
Fri, Sep 25
Tue, Sep 22
Can you submit this one upstream to https://github.com/libecc/libecc, please?
Flip usbsts write and pci_xhci_assert_interrupt() call
Fix portsc reset in pci_xhci_deinit_port
This doesn't seem like it particularly violates any bhyve principles, so I may proceed with commtting this within the next week or so with no objection otherwise from bhyve folks
Mon, Sep 21
Sat, Sep 19
Fri, Sep 18
Extend locking to ERSTBA handling and pci_xhci_reset()
CC @bnovkov, IIRC he has an AMD machine with ControlArea outside of the device range that should be functional after this.
The first set of patches breaking this up starts at D59779
Thu, Sep 17
Manpage revision, incorporate some of polyduekes' feedback
Rebase, small revisions to the manpage, and a variety of cosmetic fixes
Wed, Sep 16
Taking this to address some feedback
Fixed one indentation issue
Restore handling of XHCI_TRB_TYPE_RESET_EP to be sure that we don't retain data
that should be dropped according to the spec.
It probably makes sense for this to ditch d_close entirely in favor of devfs_set_cdevpriv(9). This is how we typically get reliable semantics. @kib has a writeup of why d_close is shit for this somewhere, but I always have to go trolling through mail history to find it
A shlib interface where we'll dlopen and discover commands that way could also be neat, to facilitate things that want to operate in C using libzfs/libbe. The interface would take the subcommand args, libbe handle and roll with it.
Tue, Sep 15
Sun, Sep 13
I did a cursory pass over verbs in base to see if we /might/ want to expand this to others / pass it through to mp->ctlreq, but it doesn't seem very likely except maybe in getactive?
Sep 12 2026
Sep 11 2026
For posterity, I think we agreed that I would rebase this forward since @aokblast is quite busy these days, and I'm going to see if there are functional pieces I can split this further into. (after Euro)
Sep 10 2026
Sep 9 2026
I note that there's a second copy of all of this in auditdistd, and we probably want to do similar things.
Sep 5 2026
Sep 4 2026
No idea why I would have done this, I've done plenty of atf-c... thanks!
I'm not that familiar with hastd, but this looks straightforward and correct to me.
review feedback: go with the first suggestion, and leave pluton_wait_reply() to
always poll for a reply at least once. The timeout == 0 case shouldn't really
happen in practice today, but it's worth defining the semantics now.