]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r313111 (by imp):
authormav <mav@FreeBSD.org>
Thu, 1 Feb 2018 19:35:34 +0000 (19:35 +0000)
committermav <mav@FreeBSD.org>
Thu, 1 Feb 2018 19:35:34 +0000 (19:35 +0000)
commitf0cb1c409e35c4432e75e2d8ea5ae944704eeda8
treeb3ae8e6a6b8c39018b464efce171fa083ea77c41
parentea53951696328b0bf6220276d93728d0426852bb
MFC r313111 (by imp):
Use aligned buffer for the firmware data. Otherwise, when loading a
MAXPHYS bytes of data, the I/O would require MAXPHYS + PAGE_SIZE worth
of pages to do the I/O and we'd hit an assertion in
vm_fault_quick_hold_pages unless MAXPHYS was larger than 1M +
PAGE_SIZE.
sbin/nvmecontrol/firmware.c