User Details
- User Since
- Jun 6 2015, 10:46 PM (586 w, 5 d)
Today
ifdi_power_prepare or whatever lands will also be used in a followup commit to disarm the ixgbe firmware recovery task when the device is suspended.
Yesterday
@ziaee yes this is overcome by b6cd053e6da9 no remaining changes are needed from this.
Add an attach-only refresh latch instead of overloading. Reset recovery still skips redundant PHY programming without republishing link. Reset preparation clears any obsolete attach refresh.
Some background on this change is perhaps worth sharing.. I was originally chasing the up/down/up dance on boot, seeing if I could improve boot speed by carefully driving initial ifnet status through a state machine. But the majority of the time is spent in PHY code so doing something careful in iflib only shaved off xx-xxx milliseconds. Therefore the initial investigation is more of a driver state machine problem, and ice(4) has a good example of doing link state well. This ends up closing a few gaps anyway so here is just the lifecycle relevant part, and it lends naturally to the PM state machine that is a child of this review.
Wed, Sep 2
@sumit.saxena_broadcom.com I'm going to help this along since it just needs some trivial changes to lang, I will retain you as the author
Committed as a550e8280b98
I think this is a strict accounting improvement. e1000 manufactures some descriptors in a couple situations to work around hw errata, although I'm not sure that direct RS wb would've faulted.
Tue, Sep 1
Switch back to removal. I don't think this is merely a WITNESS ordering issue now, 2f8f892ca344 may cause a timing sensitive deadlock with the existing registration lock and @netchild is hitting it.
Mon, Aug 31
@glebius this does not resolve the WITNESS panic between e0e12405285b6 and 2f8f892ca344
Limit this change to the fe00ca2f8871 regression
@glebius I am stress testing a fix for the fail point registration, I will tag you when I post it.
Agreed, abandoning this approach
Sun, Aug 30
address feedback
address ice(4)
address feedback
iflib(4) change
Sat, Aug 29
This is unsafe as is, and needs a broader pass so you can close it.
Still relevant. No.
Fri, Aug 28
address license format and man page
Thanks for adding csprng. One thing that bears a bit of scrutiny here and the existing tpm20 collector is the registered quality level. https://trustedcomputinggroup.org/resource/sha-1-uses-in-tpm-v1-2/ claims the SHA-1 mixing function does not materially degrade the output and I can link some papers that claim they tend to outperform PRNGs. In a tpm20, you generally have a high(er) quality random source and mixing function, but it could also be a vTPM proxying CPU rdrand or the like.
Apply uio finding from @kevans to tpm20
It's a good catch, The TPM wait paths can return errnos, which the write converts into a succcessful short write once uio_resid has chaged. I restored the original residual when a post-copy TPM op fails, and preserve the short count only after sc_end() succeeds.
Add locality acquire assertion. Release side would be trickier since it is used in abort and cleanup.
OpenBSD carries the same BIT change.
Thu, Aug 27
I reworked the implementation around this feedback but I'm not sure it can be done in pcib (please let me know if you see otherwise).
address feedback
Wed, Aug 26
Some followups: Add NOTES entry on commit. Later consider MODULE_PNP_INFO. LGTM.
Tue, Aug 25
Mon, Aug 24
This is deliberately limited to the measurement plumbing. Policy decisions are exciting. For instance, this could be used to drive a full TCB with veriexec(9), sealing keys like GELI or ZFS to boot state, remote attestation, signed containers, a Chain of Trust to externally controlled bhyve VMs, etc but that will come with a lot more weight. When I did this in industry at a financial custodian, we had extremely stringent controls centered around immutable build and release pipelines as otherwise this can become a big pain when you do something trivial like change a loader setting or upgrade etc. So that is left for later experimentation, and decisions for what make sense to ship as an open source general purpose OS.
Sun, Aug 23
address feedback
@ziaee the igbv(4) linkage and the new SR-IOV section in head we talked about on IRC is an attempt, feel free to massage it as you see fit
Sat, Aug 22
Accessor split out to 3481a9cdc4dc
Fri, Aug 21
Thank you for doing this. I want to eventually add some 1588 stuff to some drivers so this will be a prerequisite. Consider documenting in iflibtxtx(9).
This is substantively fine, I would fix up these 6 new suggestions and then see if @adrian has any desire for the naming.