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)
commit27bc43bd7c42b3995d16ad63794e355ae865a3a3
tree6d19237503cfee0afcb8acc3bc8800ff675edc35
parent05c6c029a44d9f43715577e33e95eba87f44d285
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