Re: [loongson-PATCH-v2 23/23] Hibernation Support in mips system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 27 May 2009 11:51:11 +0200, Arnaud Patard <apatard@xxxxxxxxxxxx> wrote:
> > +LEAF(swsusp_arch_resume)
...
> 
> you really need to flush cache/tlb here. If you don't do that you'll get
> some weird bugs.

I also wonder if we need to flush cache on swsusp_arch_suspend.  Maybe
kernel pages does not need to be flushed on here, but how about user
pages with dcache aliasing?  It seems swsusp_save() reads from source
page via kernel mapping without any care for coherency...

---
Atsushi Nemoto


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux