Add support for ARC-1886 series RAID controllers
Backport upstream commits between 4.19 and 5.10-rc1 upstream for supporting Areca ARC-1886 series RAID controllers, including one bugfix in later series (5.14-rc1, but backported to 5.10.52).
- scsi: arcmsr: use dma_set_mask
- scsi: arcmsr: Rename acb structure member roundup_ccbsize to ioqueue_size
- scsi: arcmsr: Rename arcmsr_free_mu to arcmsr_free_io_queue
- scsi: arcmsr: Merge arcmsr_alloc_io_queue to arcmsr_alloc_ccb_pool
- scsi: arcmsr: Update arcmsr_alloc_ccb_pool for ccb buffer address above 4GB
- scsi: arcmsr: Update ACB_ADAPTER_TYPE_A for >4GB ccb addressing
- scsi: arcmsr: Update ACB_ADAPTER_TYPE_B for >4GB ccb addressing
- scsi: arcmsr: Update ACB_ADAPTER_TYPE_C for >4GB ccb addressing
- scsi: arcmsr: Update ACB_ADAPTER_TYPE_D for >4GB ccb addressing
- scsi: arcmsr: Add an option of set dma_mask_64 for ACB_ADAPTER_TYPE_A
- scsi: arcmsr: Separate 'set dma mask' as a function
- scsi: arcmsr: Fix suspend/resume of ACB_ADAPTER_TYPE_B
- scsi: arcmsr: Use dma_alloc_coherent to replace dma_zalloc_coherent
- scsi: arcmsr: Fix suspend/resume of ACB_ADAPTER_TYPE_B part 2
- scsi: arcmsr: fix indentation issues
- scsi: arcmsr: Remove some set but unused variables
- scsi: arcmsr: arcmsr_hba: Remove statement with no effect
- scsi: arcmsr: Remove unnecessary syntax
- scsi: arcmsr: Fix device hot-plug monitoring timer stop
- scsi: arcmsr: Add support for ARC-1886 series RAID controllers
- scsi: arcmsr: Fix doorbell status being updated late on ARC-1886
Closes: #1011295
Edited by Salvatore Bonaccorso