]> git.baikalelectronics.ru Git - kernel.git/commit
hisi_sas: Allocate memories and create pools
authorJohn Garry <john.garry@huawei.com>
Tue, 17 Nov 2015 16:50:34 +0000 (00:50 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2015 03:12:53 +0000 (22:12 -0500)
commit47d8a34a539fcddfb8a8f189b422fee0a5a38deb
tree33f75b9e54c23e3215962706b24456d6029ca5cf
parentd0f4e74ad940558a733f17bf8c2dadeaf38b4612
hisi_sas: Allocate memories and create pools

Allocate DMA and non-DMA memories for the controller. Also create DMA
pools.

These include:

- Delivery queues
- Completion queues
- Command status buffer
- Command table
- ITCT (For device context)
- Host slot info
- IO status
- Breakpoint
- host slot indexing
- SG data
- FIS
- interrupts names

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c