Files
linux/drivers/scsi
Yihang Li e675a4fd6d scsi: libsas: Align SMP request allocation to ARCH_DMA_MINALIGN
This series [1] reduced the kmalloc() minimum alignment on arm64 to 8 bytes
(from 128). In libsas, this will cause SMP requests to be 8-byte aligned
through kmalloc() allocation. However, for hisi_sas hardware, all command
addresses must be 16-byte-aligned. Otherwise, the commands fail to be
executed.

ARCH_DMA_MINALIGN represents the minimum (static) alignment for safe DMA
operations, so use ARCH_DMA_MINALIGN as the alignment for SMP request.

Link: https://lkml.kernel.org/r/[email protected] [1]
Signed-off-by: Yihang Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: John Garry <[email protected]>
Reviewed-by: Jason Yan <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
2024-04-01 21:34:23 -04:00
..
2023-10-13 14:15:54 -04:00
2023-05-31 19:59:26 -04:00
…
…
…
…
…
…
…
…
…
2024-03-10 18:15:48 -04:00
…
…
…
…
2023-05-26 13:52:19 -07:00
…
2023-04-18 23:01:23 -04:00
…
…
…
…
2024-04-01 21:08:48 -04:00
…
2024-04-01 21:08:48 -04:00
…
…
…
…
…
…
…
…
2024-03-25 15:41:07 -04:00
…
…
2024-03-10 18:15:49 -04:00
…
2023-05-31 11:36:40 -04:00
…
…