]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: pm80xx: Remove DMA memory allocation for ccb and device structures
authorViswas G <Viswas.G@microchip.com>
Mon, 5 Oct 2020 14:50:09 +0000 (20:20 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 8 Oct 2020 03:50:04 +0000 (23:50 -0400)
commit0a14bb1bd9e11695ccb01200cfedd1faa0a7e2ef
tree6d19237503cfee0afcb8acc3bc8800ff675edc35
parent7266bb90ee0d360d1d0d34709e77322904a58e62
scsi: pm80xx: Remove DMA memory allocation for ccb and device structures

Remove DMA memory allocation for Devices and CCB structure. Instead
allocate memory outside of DMA memory.  DMA memory is a limited system
resource and it is better to allocate memory outside of DMA memory when
possible.

Link: https://lore.kernel.org/r/20201005145011.23674-3-Viswas.G@microchip.com.com
Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Viswas G <Viswas.G@microchip.com>
Signed-off-by: Ruksar Devadi <Ruksar.devadi@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pm8001/pm8001_defs.h
drivers/scsi/pm8001/pm8001_init.c