[PATCH/RFT] sata: rcar_sata: Reset SATA PHY on resume

Simon Horman horms at verge.net.au
Tue Apr 18 03:30:42 EDT 2017


On Tue, Apr 18, 2017 at 04:17:38PM +0900, Tejun Heo wrote:
> On Tue, Apr 18, 2017 at 04:02:53PM +0900, Simon Horman wrote:
> > In the case where power is cut on suspend the SATA PHY state needs to be
> > suspended on resume.
>   ^
>   re-initialized?

Yes, sorry for the think-o.

> > This is the case on the Salvator-X board with the r8a7795 or r8a7796 SoC.
> > In that environment it has been observed that SATA partitions cannot not be
> > accessed on resume.
> > 
> > Based on work by Khiem Nguyen.
> > 
> > Cc: Khiem Nguyen <khiem.nguyen.xt at rvc.renesas.com>
> > Signed-off-by: Simon Horman <horms+renesas at verge.net.au>
> > ---
> > * Compile and boot tested only
> 
> Can somebody verify this fix?

Yes, I should be able to do so but I need to set up the appropriate
hardware environment first. I would, of course, welcome verification by
others.



More information about the linux-arm-kernel mailing list