| f07b267d | 19-Oct-2023 |
John Hall <john.hall@microchip.com> |
smartpqi: Change alignment for dma tags
Problem: Under certain I/O conditions, a program doing large block disk reads can cause a controller to crash.
Root Cause: The SCSI read request and destinat
smartpqi: Change alignment for dma tags
Problem: Under certain I/O conditions, a program doing large block disk reads can cause a controller to crash.
Root Cause: The SCSI read request and destination address in the BDMA descriptor is incorrect, causing the BDMA engine in the controller to assert.
Fix: Change the alignment for creating bus_dma_tags in the driver from PAGE_SIZE (4k) to 1, which allows the controller to manage it's own address range for BDMA transactions.
Risk: Medium
Exposure: This reverts a change first made to support NVMe drives on Excalibur. At that time a 4k alignment was necessary. This no longer seems to be the case.
PR: 259541 Reported by: Ka Ho Ng <khng@freebsd.org> Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D41619
show more ...
|