HomeFreeBSD

e1000: Lock nvm print sysctl

Description

e1000: Lock nvm print sysctl

Otherwise results in KASSERT with debug kernels because we rely on the
iflib CTX lock to implement the software serialization to the NVM model

Reviewed by: gallatin
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D32333

(cherry picked from commit 9b3e252e59c6e63594fb20e3f65188dab9e1eeff)

Details

Provenance
Kevin Bowling <kbowling@FreeBSD.org>Authored on Oct 6 2021, 11:20 PM
Reviewer
gallatin
Differential Revision
D32333: e1000: print EEPROM/NVM/OROM versions
Parents
rGe49d57eecc8e: linuxkpi: Handle a NULL cache pointer in kmem_cache_destroy()
Branches
Unknown
Tags
Unknown

Event Timeline

Kevin Bowling <kbowling@FreeBSD.org> committed rG884b89510faa: e1000: Lock nvm print sysctl (authored by Kevin Bowling <kbowling@FreeBSD.org>).Oct 13 2021, 2:10 AM