Comment 0 for bug 1853994

Revision history for this message
Fred Kimmy (kongzizaixian) wrote :

"[Steps to Reproduce]
suspend-resume device, and find it is suspened on SAS dirver

[Actual Results]
after suspend-resume, system is not ok and printk some exception printk

[Expected Results]
after suspend-resume, system is ok and all the disk are normal

[Reproducibility]
It occurs all the times

[Additional information]
Hardware: D06 CS
Firmware: NA
Kernel: NA

[Resolution]
After suspend and resume, the HW registers will be set back to their
initial value. We use init_reg_v3_hw() to set some registers, but some
registers are set via firmware in ACPI ""_RST"" method, so add reset handler
before init_reg_v3_hw()."

scsi: hisi_sas: Update all the registers after suspend and resume