linux_dsm_epyc7002/drivers/scsi/pm8001
Arnd Bergmann 75c0b0e118 compat_ioctl: scsi: handle HDIO commands from drivers
The ata_sas_scsi_ioctl() function implements a number of HDIO_* commands
for SCSI devices, it is used by all libata drivers as well as a few
drivers that support SAS attached SATA drives.

The only command that is not safe for compat ioctls here is
HDIO_GET_32BIT. Change the implementation to check for in_compat_syscall()
in order to do both cases correctly, and change all callers to use it
as both native and compat callback pointers, including the indirect
callers through sas_ioctl and ata_scsi_ioctl.

Reviewed-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-01-03 09:42:52 +01:00
..
Makefile
pm80xx_hwi.c scsi: pm80xx: Remove unused include of linux/version.h 2019-11-26 21:31:46 -05:00
pm80xx_hwi.h scsi: pm80xx: Increase timeout for pm80xx mpi_uninit_check 2019-11-19 21:37:33 -05:00
pm8001_chips.h
pm8001_ctl.c scsi: pm80xx: Controller fatal error through sysfs 2019-11-19 21:37:33 -05:00
pm8001_ctl.h
pm8001_defs.h
pm8001_hwi.c pci-v5.5-changes 2019-12-03 13:58:22 -08:00
pm8001_hwi.h
pm8001_init.c compat_ioctl: scsi: handle HDIO commands from drivers 2020-01-03 09:42:52 +01:00
pm8001_sas.c scsi: pm80xx: Cleanup command when a reset times out 2019-11-19 21:37:33 -05:00
pm8001_sas.h scsi: pm80xx: Modified the logic to collect fatal dump 2019-11-19 21:37:34 -05:00