If hibernation image exists, this bootup dtb is cut as
minimal system for faster to resume. So, when resume failed
need do restart because dtb was cut. Next bootup u-boot will
put a normal dtb( no valid hibernate image sign).
And more, removed resume keep sign feature for its unneed.
Signed-off-by: xianbing Zhu <xianbing.zhu@linux.alibaba.com>
Change-Id: I85b5a1eacb9e7924333de80fe99e2f5853b9576f
the Senario is gpio is config as both egde trigger and wakeup interrupt,
the system entry suspend and this gpio wakeup the system, and the polarity will
be toggle in dwapb_do_irq, but after that dwapb_gpio_resume will
overwirte the polarity, make toggle miss, so if as wakeup int ,should
not do resum
This commit introduce crc32 calc data by compressed instead of
uncompressed data. This improve speed of hibernation resume data
about 10% :
Change-Id: I9a90006fd42430c0fe4ba712e48fee325068ec01
------with this commmit-----
PM: hibernation: Read 788072 kbytes in 2.21 seconds (356.59 MB/s)
-----berfore this commit----
PM: hibernation: Read 786300 kbytes in 2.45 seconds (320.93 MB/s)
Before this the crc32 of data is uncompress origin data,which is
huge.
The risk of this change is we not checked the origin data, but
the compressed data is check ok can equal to uncompressed data
ok mostly. For the data become invalid mostly is from disk,
for example : human mistook erasing.
Signed-off-by: xianbing Zhu <xianbing.zhu@linux.alibaba.com>
Change-Id: I7e8d968373667fa4532f527f6a63c37711169711
merge 13 commits to one
Add 8911edp driver
fix hall seense lpm logic
add some debug info to mh248
PR:gerrit-4305/4306
PR:gerrit-4307
PR:gerrit-4308: hibernate: add resume keep swap signature for fastresume
PR:gerrit-4309:Solve STD problem for DPU releted clock gate not enabled
PR:gerrit-4310,driver usb: optimize pm resume time, do resume in runtime_resume
PR:gerrit-4317,padctrl:light: add aon pinmux backup and restore
Revert "add some debug info to mh248"
This reverts commit c6cbf3c7d49caba33eee014caec3da24eb9d2388.
remove suspend state judge in mh248
Fix LT8911 panel str resume problem
Revert "PR:gerrit-4310,driver usb: optimize pm resume time, do resume in runtime_resume"
This reverts commit 690823c5528df8e7743ce3954aec6c4473500b91.