diff options
author | Don Brace <don.brace@microchip.com> | 2023-04-28 18:37:08 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-05-08 14:17:11 +0300 |
commit | c23efd9eadd8d07c0e88b52296d9f74350e7af7f (patch) | |
tree | 3dfbf31cb7cad3f217b9c305bb0788a5844ae7be /Makefile | |
parent | 68f7920492be3d193d31b5a6b97e8501d2306b17 (diff) | |
download | linux-c23efd9eadd8d07c0e88b52296d9f74350e7af7f.tar.xz |
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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions