User Details
- User Since
- Jun 6 2015, 10:46 PM (592 w, 4 d)
Tue, Oct 13
Mon, Oct 12
Sun, Oct 11
Sat, Oct 10
It looks like rrs added a sys/kern_prefetch.h... I would say use/move the definitions there if you must maintain wrappers (and drop the amd64 case in it).
Fri, Oct 9
Could we first evaluate tuning txq_max_db_deferred() and having simpletx honor the existing policy?
Mon, Oct 5
It seems like e1000 has the same prior code (igc is generally copied from it)
I'm about to leave on a business trip so I can't give a proper affirmative review, but one thing jumps out without digging into anything.. the multi-line comment and another control flow make it somewhat unpleasing to me. I would investigate a couple ways of writing this, either build the ring decision up with single statement ifs (and line comments as needed), or use de morgans to move true or false around so there are early exits and only one ring decision (perhaps de-indented.. whatever ends up feeling clean after playing with it.
Sun, Oct 4
Looks good to me. There are probably similar elsewhere in the tree.
I thought the idea of d9c55b2e8cd6b79f6926278e10a79f1bcca27a4b was to get rid of most of the ifdef. rss_gethashconfig is a public function, why not just apply what you have in the ifdef RSS section always?
Wed, Sep 30
Tue, Sep 29
Sat, Sep 26
This is sufficient as a fix.
Fri, Sep 25
Are you waiting for internal validation? I don't like keeping head in a known broken state this long if their findings can be posted as a followup.
Rebase, use vendored TcgService.h, move new code to libefi
Tue, Sep 22
@olivier can you make sure I didn't break Pluton boot
Mon, Sep 21
Sun, Sep 20
Sat, Sep 19
Fri, Sep 18
This now handles the close-first ordering, but the open-first ordering from my example still appears possible. Once an opener passes the SI_LASTCLOSE check, nothing records its presence until after d_open returns and the vnode lock is reacquired. A last close can still run in that interval. We need protection in both directions checking SI_LASTCLOSE only before d_open does not establish mutual exclusion.
It fixes the failed open race (from the mentioned issue) but I was able to trigger the following with an LLM mock:
Drop D_TRACKCLOSE
Should be fixed by updated D59578
@erj thanks that is cleaner
I copied the existing pattern, but instead let's invert this and use bus_space_read_8 everywhere except i386 (for MFC).
Committed as 923b9a80c21f not sure why it didn't auto close
Thu, Sep 17
The commit above was supposed to be D58906, sorry for the mixup.
Comitted in a8c60dd5eb8f158c9488db5aa92aafd38d756348
Address review feedback
Wed, Sep 16
Sep 15 2026
I must've not been paying attention back when these were added so I don't know the intent behind selecting between them or if we should still have two but that has no bearing on simpletx or the improvement here.
Committed as 9ea7beb173b8b5c77663ee0f86b32cc76f20357f
rebase on main
rebase on main
Sep 14 2026
Please set MFC to 2 weeks when you commit as I intend to pull the GENERIC change back to stable/15 in about a month barring major issues
Seems to match spec as well, CRB control registers are allowed to return 00h or FFh if locality is not owned (https://trustedcomputinggroup.org/wp-content/uploads/PC-Client-Specific-Platform-TPM-Profile-for-TPM-2p0-v1p07_Pub.pdf Table 51)