summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ads7828.c
diff options
context:
space:
mode:
authorRaghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>2016-04-25 23:32:37 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-07 18:18:49 -0700
commitadf82e8ee519df413deec3334021de502c82f17a (patch)
tree416ab78836958ae8d15c0e4389f72c2344f2425c /drivers/hwmon/ads7828.c
parent7f778cfa7148ca300a92a2f237f1da0deafb27ff (diff)
aacraid: Fix for KDUMP driver hang
commit 78cbccd3bd683c295a44af8050797dc4a41376ff upstream. When KDUMP is triggered the driver first talks to the firmware in INTX mode, but the adapter firmware is still in MSIX mode. Therefore the first driver command hangs since the driver is waiting for an INTX response and firmware gives a MSIX response. If when the OS is installed on a RAID drive created by the adapter KDUMP will hang since the driver does not receive a response in sync mode. Fixed by: Change the firmware to INTX mode if it is in MSIX mode before sending the first sync command. Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/ads7828.c')
0 files changed, 0 insertions, 0 deletions