linux/drivers/scsi/smartpqi
Don Brace c23efd9ead scsi: smartpqi: Fix byte aligned writew for ARM servers
Correct OOPs on ARM servers during driver init.

The driver attempts to update FW with max_feature_supported value using a
writew() kernel call using a byte aligned address. This fails on some ARM
systems.

Change the writew() to two writeb() calls to update this value.

Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Link: https://lore.kernel.org/r/20230428153712.297638-9-don.brace@microchip.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-05-08 07:17:11 -04:00
..
Kconfig scsi: smartpqi: Update copyright to current year 2022-07-13 23:42:04 -04:00
Makefile scsi: smartpqi: add spdx 2019-03-18 16:48:28 -04:00
smartpqi_init.c scsi: smartpqi: Fix byte aligned writew for ARM servers 2023-05-08 07:17:11 -04:00
smartpqi_sas_transport.c scsi: smartpqi: Fix rare SAS transport memory leak 2023-05-08 07:17:11 -04:00
smartpqi_sis.c scsi: smartpqi: Update copyright to current year 2022-07-13 23:42:04 -04:00
smartpqi_sis.h scsi: smartpqi: Update copyright to current year 2022-07-13 23:42:04 -04:00
smartpqi.h scsi: smartpqi: Remove contention for raid_bypass_cnt 2023-05-08 07:17:11 -04:00