> -----Original Message----- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Saturday, July 13, 2013 7:07 AM > To: Wood Scott-B07421 > Cc: Wang Dongsheng-B40534; Wood Scott-B07421; johan...@sipsolutions.net; > an...@enomsg.org; ga...@kernel.crashing.org; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH 2/2] powerpc/hibernate: add restore mmu context after > resume > > On Fri, 2013-07-12 at 16:54 -0500, Scott Wood wrote: > > set_context() doesn't exist for hash MMUs. > > > > Whatever you do, please try actually building it on various targets, > > including both 32 and 64 bits, and both hash and non-hash. And make > > sure that whatever effect PPC32 was depending on switch_mmu_context > > for > > is preserved, including on non-booke. > > The right thing to do is probably to have the various tlb_* files How about mmu_context_* files to provide a pair of save/restore context functions?
> provide a pair of save/restore functions that do the right thing > for that specific MMU type. > > Ben. > > _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev