> Implement the ->restore() PM operation and set the link to off, which > will force a full reset and restore. This ensures that Host Performance > Booster is reset after suspend-to-disk. > > The Host Performance Booster feature caches logical-to-physical mapping > information in the host memory. After suspend-to-disk, such information > is not valid, so a full reset and restore is needed. > > A full reset and restore is done if the SPM level is 5 or 6, but not for > other SPM levels, so this change fixes those cases. It is perfectly fine for you to do that on your platform, if you choose so - Hence my reviewed-by. But the reasoning is a bit odd, because you already set SSU4 for your spm-lvl, And on SSU3 the device does not dump its internal tables. Thanks, Avri > A full reset and restore also restores base address registers, so that > code is removed. > > Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx> Reviewed-by: Avri Altman <avri.altman@xxxxxxx>