linux/drivers/scsi/hisi_sas
John Garry ad6048325c scsi: hisi_sas: define hisi_sas_device.device_id as int
Currently hisi_sas_device.device_id is a u64. This can create a problem
in selecting the queue for a device, in that this code does a 64b
division on device id. For some 32b systems, 64b division is slow and
the lib reference must be explicitly included.

The device id does not need to be 64b in size, so, as a solution, just
make as an int.

Also, struct hisi_sas_device elements are re-ordered to improve packing
efficiency.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-06-19 21:31:25 -04:00
..
hisi_sas_main.c scsi: hisi_sas: define hisi_sas_device.device_id as int 2017-06-19 21:31:25 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: fix some sas_task.task_state_lock locking 2017-03-23 11:12:02 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: controller reset for multi-bits ECC and AXI fatal errors 2017-04-11 22:01:04 -04:00
hisi_sas.h scsi: hisi_sas: define hisi_sas_device.device_id as int 2017-06-19 21:31:25 -04:00
Kconfig scsi: hisi_sas: fix SATA dependency 2017-03-29 22:44:53 -04:00
Makefile hisi_sas: add bare v2 hw driver 2016-02-23 21:27:02 -05:00