Page MenuHomeFreeBSD

kbowling (Kevin Bowling)
Logistics

Projects

User Details

User Since
Jun 6 2015, 10:46 PM (587 w, 3 d)

Recent Activity

Yesterday

kbowling added a watcher for PCI: kbowling.
Tue, Sep 8, 9:22 PM
kbowling updated the diff for D59328: iflib: Track queue datapath lifecycle.

Thank you for the clarification and history. I've updated this to remove any dependency on IFF_DRV_* and make this new private state authoritative. This lays groundwork for DMA fencing I am working on; I can chain a broader sweeping of IFF_DRV_* in iflib and its drivers if this is looking like the right direction.

Tue, Sep 8, 8:59 PM
kbowling added inline comments to D59498: pci: wait for a function to answer again after a reset.
Tue, Sep 8, 8:26 PM · PCI
kbowling updated the summary of D59477: pci: Add checked bus mastering helpers.
Tue, Sep 8, 8:20 PM
kbowling added a reviewer for D59477: pci: Add checked bus mastering helpers: nprice.
Tue, Sep 8, 8:20 PM
kbowling updated the diff for D59477: pci: Add checked bus mastering helpers.
Tue, Sep 8, 8:20 PM
kbowling accepted D59504: aq.4: Document iflib drivers have extra tunables.

No comment on the formatting which I am not an expert, but the xref is a valid improvement.

Tue, Sep 8, 11:15 AM
kbowling planned changes to D59477: pci: Add checked bus mastering helpers.
Tue, Sep 8, 9:38 AM
kbowling added a comment to D59501: netinet: add SO_REUSEPORT_LB_CPU for receive-CPU socket affinity.

FWIW when we did LB we were really worried about breaking software, and in hindsight we maybe should have just aligned REUSEPORT across a major FreeBSD version with Linux to minimize third party software adaptation. Think hard before adding yet another non-portable sockopt; the LB_CPU_CURRENT behavior sounds desirable unless there is some corner you see. So I agree with Gleb.

Tue, Sep 8, 7:06 AM
kbowling added inline comments to D59498: pci: wait for a function to answer again after a reset.
Tue, Sep 8, 2:08 AM · PCI

Mon, Sep 7

kbowling requested review of D59477: pci: Add checked bus mastering helpers.
Mon, Sep 7, 10:55 AM
kbowling updated the diff for D59473: ixv: Add Hyper-V virtual function support.

Fix E610 VFLINKS

Mon, Sep 7, 4:29 AM
kbowling requested review of D59473: ixv: Add Hyper-V virtual function support.
Mon, Sep 7, 4:11 AM
kbowling updated the diff for D58739: ice: Report SR-IOV VF status.

Only set IFVF_F_VLAN_LIMIT when configured

Mon, Sep 7, 2:29 AM
kbowling updated the diff for D58738: bnxt: Report SR-IOV VF status.

Use BNXT_SRIOV_LOCK around MAC ops

Mon, Sep 7, 2:16 AM
kbowling updated the diff for D58741: cxgbe: Report SR-IOV VF status.

Update to committed netlink API, address review feedback

Mon, Sep 7, 2:04 AM
kbowling updated the diff for D58738: bnxt: Report SR-IOV VF status.

Update to committed netlink API

Mon, Sep 7, 1:52 AM
kbowling updated the diff for D58742: qlnx: Report SR-IOV VF status.

Update to committed netlink API

Mon, Sep 7, 1:47 AM
kbowling added inline comments to D58740: mlx5en: Report SR-IOV VF status.
Mon, Sep 7, 1:45 AM
kbowling updated the diff for D58740: mlx5en: Report SR-IOV VF status.

Update against committed netlink API, propagate firmware query failures, tolerate absent CVLAN support, synchronize teardown.

Mon, Sep 7, 1:42 AM
kbowling updated the diff for D58739: ice: Report SR-IOV VF status.

Update against committed netlink interface, reorder after ice bug fixes and features in series

Mon, Sep 7, 1:19 AM
kbowling updated the summary of D59029: ice: Protect the PF mailbox from flooding VFs.
Mon, Sep 7, 1:17 AM
kbowling updated the diff for D59029: ice: Protect the PF mailbox from flooding VFs.

VF status reporting prereq

Mon, Sep 7, 1:16 AM
kbowling updated the diff for D59028: ice: Isolate VFs after malicious-driver detection.

Add VF status prereq

Mon, Sep 7, 1:14 AM

Sun, Sep 6

kbowling added a comment to D59239: tpm: Harvest entropy from TPM 1.2 devices.
In D59239#1363827, @cem wrote:

How useful a source of entropy is this? Initial seeding is really the only hard and important part of Fortuna or other system CSPRNGs. The periodic additional mixing is nice, but no one's threat model depends on it. (I'm not opposed, though.)

Sun, Sep 6, 4:02 AM
kbowling added a comment to D59239: tpm: Harvest entropy from TPM 1.2 devices.

@kevans I've spent the interim thinking about this occasionally and I think the design is sound with consideration of the existing TPM2.0 harvester and we uncovered some framework decisions that deserve some new thought.

Sun, Sep 6, 2:11 AM

Sat, Sep 5

kbowling accepted D59448: graphics/egl-wayland: Update to 1.1.22.
Sat, Sep 5, 11:04 PM

Fri, Sep 4

kbowling added inline comments to D59328: iflib: Track queue datapath lifecycle.
Fri, Sep 4, 10:25 AM
kbowling updated the diff for D59328: iflib: Track queue datapath lifecycle.
Fri, Sep 4, 10:23 AM
kbowling added a comment to D59329: iflib: Own queue quiescence during power transitions.

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.

Fri, Sep 4, 10:01 AM
kbowling added inline comments to D59329: iflib: Own queue quiescence during power transitions.
Fri, Sep 4, 7:29 AM
kbowling accepted D59327: tpm: crb: make the Pluton startmethod more resilient.
Fri, Sep 4, 3:38 AM

Thu, Sep 3

kbowling added inline comments to D58778: ifconfig: Add SR-IOV VF status output.
Thu, Sep 3, 12:17 PM
kbowling added inline comments to D59327: tpm: crb: make the Pluton startmethod more resilient.
Thu, Sep 3, 12:09 PM
kbowling requested review of D59340: ice: Defer RDMA critical-error notifications.
Thu, Sep 3, 12:03 PM
kbowling requested review of D59339: ice: Use sleepable locks in shared code.
Thu, Sep 3, 12:01 PM
kbowling updated the diff for D59337: ixl: Tie statistics baselines to hardware resource epochs.
Thu, Sep 3, 11:05 AM
kbowling requested review of D59337: ixl: Tie statistics baselines to hardware resource epochs.
Thu, Sep 3, 11:00 AM
kbowling requested review of D59336: ixl: Reset VSI statistics after initial sampling.
Thu, Sep 3, 10:58 AM
kbowling added a comment to D19279: ix(4): Fix SRIOV initialization.

@ziaee yes this is overcome by b6cd053e6da9 no remaining changes are needed from this.

Thu, Sep 3, 9:02 AM
kbowling requested review of D59335: ice: Re-enable link after reset when link-on-down is disabled.
Thu, Sep 3, 8:14 AM
kbowling requested changes to D59327: tpm: crb: make the Pluton startmethod more resilient.
Thu, Sep 3, 7:25 AM
kbowling updated the diff for D59300: ice: Refresh link status on first initialization.

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.

Thu, Sep 3, 6:36 AM
kbowling requested review of D59331: ice: Quiesce queues after partial initialization.
Thu, Sep 3, 6:34 AM
kbowling added a comment to D59328: iflib: Track queue datapath lifecycle.

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.

Thu, Sep 3, 6:17 AM
kbowling requested review of D59330: iflib: Reject media changes during suspend.
Thu, Sep 3, 4:25 AM
kbowling requested review of D59329: iflib: Own queue quiescence during power transitions.
Thu, Sep 3, 4:23 AM
kbowling requested review of D59328: iflib: Track queue datapath lifecycle.
Thu, Sep 3, 4:21 AM

Wed, Sep 2

kbowling added inline comments to D59321: iflib: update rs_pending based on descriptors consumed by isc_txd_encap.
Wed, Sep 2, 11:17 PM
kbowling updated the diff for D58638: iflib: Plumb per-packet RX hardware timestamps from drivers to mbufs.
Wed, Sep 2, 8:39 PM
kbowling commandeered D58638: iflib: Plumb per-packet RX hardware timestamps from drivers to mbufs.

@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

Wed, Sep 2, 8:38 PM
kbowling closed D59204: iflib: Require sustained demand for TX watchdog.

Committed as a550e8280b98

Wed, Sep 2, 5:40 PM
kbowling accepted D59321: iflib: update rs_pending based on descriptors consumed by isc_txd_encap.

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.

Wed, Sep 2, 4:38 PM

Tue, Sep 1

kbowling updated the diff for D59294: iflib: Do not hold the ifnet lock across registration.

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.

Tue, Sep 1, 11:51 PM
kbowling added a comment to D59294: iflib: Do not hold the ifnet lock across registration.

Did the original version of this review removed use of IFNET_WLOCK completely? If I understand phabricator correct, that would be URL https://reviews.freebsd.org/D59294?id=185524 I also would prefer this.

Tue, Sep 1, 5:55 PM
kbowling requested review of D59300: ice: Refresh link status on first initialization.
Tue, Sep 1, 9:30 AM

Mon, Aug 31

kbowling added a comment to D59294: iflib: Do not hold the ifnet lock across registration.

@glebius this does not resolve the WITNESS panic between e0e12405285b6 and 2f8f892ca344

Mon, Aug 31, 11:57 PM
kbowling updated the diff for D59294: iflib: Do not hold the ifnet lock across registration.

Limit this change to the fe00ca2f8871 regression

Mon, Aug 31, 11:45 PM
kbowling added a reviewer for D59294: iflib: Do not hold the ifnet lock across registration: vmaffione.
Mon, Aug 31, 11:36 PM
kbowling added a comment to D59289: ifnet: Traverse interface groups under the network epoch.

https://reviews.freebsd.org/D59294

Mon, Aug 31, 11:34 PM
kbowling requested review of D59294: iflib: Do not hold the ifnet lock across registration.
Mon, Aug 31, 11:34 PM
kbowling added a comment to D59289: ifnet: Traverse interface groups under the network epoch.

@glebius I am stress testing a fix for the fail point registration, I will tag you when I post it.

Mon, Aug 31, 11:16 PM
kbowling abandoned D59289: ifnet: Traverse interface groups under the network epoch.

Agreed, abandoning this approach

Mon, Aug 31, 11:05 PM
kbowling requested review of D59289: ifnet: Traverse interface groups under the network epoch.
Mon, Aug 31, 3:22 PM

Sun, Aug 30

kbowling abandoned D31625: e1000: Make em_enable_wakeup family aware.
Sun, Aug 30, 5:14 AM
kbowling updated the diff for D59240: tpm20: Harden the common device lifecycle.

address feedback

Sun, Aug 30, 4:25 AM
kbowling updated the diff for D58940: ice: Add a failure injection facility.

address ice(4)

Sun, Aug 30, 4:24 AM
kbowling added inline comments to D59196: tpm20: Initialize common state before testing TIS interrupts.
Sun, Aug 30, 4:01 AM
kbowling updated the diff for D59195: tpm20: Validate suspend and resume commands.

address feedback

Sun, Aug 30, 3:58 AM
kbowling updated the diff for D59204: iflib: Require sustained demand for TX watchdog.

iflib(4) change

Sun, Aug 30, 3:42 AM

Sat, Aug 29

kbowling added a comment to D59204: iflib: Require sustained demand for TX watchdog.

My build is still running on the old hardware where I can test this.
Quick check, if I get it right:

  • this solves the issue where demand is false on the next period.
  • this does not solve an issue where ~1 packet per period is send while more than one is in the queue (no idea if this is behavior we can see in the real world): growth every period → demand true every period → armed reaches 4 → still resets.
Sat, Aug 29, 9:57 AM
kbowling added a comment to D30094: ixgbe: Enable AIM by default.

This is unsafe as is, and needs a broader pass so you can close it.

Sat, Aug 29, 12:57 AM
kbowling added a comment to D30155: ixgbe: Bring back accounting for tx in AIM.

Still relevant. No.

Sat, Aug 29, 12:56 AM

Fri, Aug 28

kbowling added a comment to D59239: tpm: Harvest entropy from TPM 1.2 devices.

FWIW- I think the change is largely fine, but the main thought I had when looking at it initially is that it might be worth having its own RANDOM_PURE_TPM12 just in case one wanted to disable just entropy from older chips in their own generic images. We only have something like 4 bits left for new sources at the moment, though, so that kind of needs more deliberation. OTOH, Fortuna's design (as I understand it) means that it doesn't really matter if this single source is lower quality as long as it's not completely broken.

Fri, Aug 28, 11:34 PM
kbowling accepted D59258: bnxt.4: Canonicalize SYNOPSIS.
Fri, Aug 28, 11:20 PM
kbowling accepted D59248: x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 595.99.02.
Fri, Aug 28, 9:58 AM
kbowling added inline comments to D58940: ice: Add a failure injection facility.
Fri, Aug 28, 6:17 AM
kbowling updated the diff for D58940: ice: Add a failure injection facility.

address license format and man page

Fri, Aug 28, 6:17 AM
kbowling added a comment to D59239: tpm: Harvest entropy from TPM 1.2 devices.

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.

Fri, Aug 28, 4:43 AM
kbowling updated the diff for D59245: tpm20: Move user copies outside the lifecycle lock.

Apply uio finding from @kevans to tpm20

Fri, Aug 28, 4:31 AM
kbowling updated the diff for D59238: tpm: Move user copies outside the TPM 1.2 lock.

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.

Fri, Aug 28, 4:29 AM
kbowling added inline comments to D59211: tpm: Remove Giant from the TPM 1.2 driver.
Fri, Aug 28, 4:12 AM
kbowling updated the diff for D59237: tpm: Bound TPM 1.2 locality ownership.

Add locality acquire assertion. Release side would be trickier since it is used in abort and cleanup.

Fri, Aug 28, 4:02 AM
kbowling requested review of D59247: amd64, powerpc: Enable tpm(4) in supported kernels.
Fri, Aug 28, 1:59 AM
kbowling requested review of D59246: tpm20: Preserve all harvested random bytes.
Fri, Aug 28, 1:45 AM
kbowling requested review of D59245: tpm20: Move user copies outside the lifecycle lock.
Fri, Aug 28, 1:41 AM
kbowling added a comment to D59244: tpm20: Correct 32-bit register helpers.

OpenBSD carries the same BIT change.

Fri, Aug 28, 1:16 AM
kbowling requested review of D59244: tpm20: Correct 32-bit register helpers.
Fri, Aug 28, 1:16 AM
kbowling requested review of D59243: tpm20: Release transport state after command failures.
Fri, Aug 28, 1:14 AM
kbowling updated the diff for D59241: tpm_tis: Close interrupt wait races.
Fri, Aug 28, 1:07 AM
kbowling requested review of D59241: tpm_tis: Close interrupt wait races.
Fri, Aug 28, 12:55 AM
kbowling requested review of D59240: tpm20: Harden the common device lifecycle.
Fri, Aug 28, 12:53 AM
kbowling requested review of D59239: tpm: Harvest entropy from TPM 1.2 devices.
Fri, Aug 28, 12:43 AM
kbowling requested review of D59238: tpm: Move user copies outside the TPM 1.2 lock.
Fri, Aug 28, 12:11 AM

Thu, Aug 27

kbowling requested review of D59237: tpm: Bound TPM 1.2 locality ownership.
Thu, Aug 27, 11:45 PM
kbowling requested review of D59211: tpm: Remove Giant from the TPM 1.2 driver.
Thu, Aug 27, 12:33 PM
kbowling added a reviewer for D59197: tpm_tis: Restore validated interrupts after resume: seuros.
Thu, Aug 27, 11:05 AM
kbowling added a reviewer for D59196: tpm20: Initialize common state before testing TIS interrupts: seuros.
Thu, Aug 27, 11:05 AM
kbowling added a reviewer for D59195: tpm20: Validate suspend and resume commands: seuros.
Thu, Aug 27, 11:04 AM
kbowling added a reviewer for D59193: tpm: Restore TPM 1.2 TIS state after resume: seuros.
Thu, Aug 27, 11:04 AM