Unverified Commit f65056c2 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!2199 Not clear ATA_PFLAG_EH_PENDING and not thaw the port twice in ata_eh_reset()

Merge Pull Request from: @ci-robot 
 
PR sync from: Xingui Yang <yangxingui@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/7WJAGOMS4CV4A5ONOUUGFV33MX5YTSIX/ 
Clear port pending interrupts before reset, as per AHCI
specifications (Szuying). Followup fixes for this one are to not
clear ATA_PFLAG_EH_PENDING in ata_eh_reset() to allow EH to
continue on with other actions recorded with error interrupts
triggered before EH completes. A~Nd an additional fix to avoid
thawing a port twice in EH (Niklas).

Niklas Cassel (2):
  ata: libata-eh: do not clear ATA_PFLAG_EH_PENDING in ata_eh_reset()
  ata: libata-eh: do not thaw the port twice in ata_eh_reset()


-- 
2.17.1
 
https://gitee.com/openeuler/kernel/issues/I81M63 
 
Link:https://gitee.com/openeuler/kernel/pulls/2199

 

Reviewed-by: default avatarYihang Li <liyihang9@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 9f143496 e0b2c089
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment