Re: Help port swsusp to ppc.

2004-01-22 Thread Nigel Cunningham
I know nothing about the PPC. Is it a uniprocessor? Regards, Nigel -- My work on Software Suspend is graciously brought to you by LinuxFund.org. signature.asc Description: This is a digitally signed message part

Re: Help port swsusp to ppc.

2004-01-20 Thread Nigel Cunningham
Hi. On Wed, 2004-01-21 at 10:54, Benjamin Herrenschmidt wrote: > > FYI, this is that "ugly C-generated assembly" we are talking about. I > > do not think it is so bad. > > The x86 version has been cleaned up and isn't _that_ bad, though it > could definitely use some comments and I don't like the

Re: Help port swsusp to ppc.

2004-01-20 Thread Nigel Cunningham
I'm really interested to see how you are going to initiate and execute the suspend. Perhaps I'm just ignorant, but I can't see how you can do it without resorting to the same tricks we use now with regards to CPU context. I think you're going to find yourself reinventing the wheel. Regards, Nige

Re: Help port swsusp to ppc.

2004-01-19 Thread Nigel Cunningham
Hi. On Tue, 2004-01-20 at 00:39, Benjamin Herrenschmidt wrote: > I see no reason why this would be needed on ppc, only the last step, > that is the actual CPU state save, should matter. Besides saving the CPU state, the code copies the original kernel back. It sort of defeats the purpose to remov

Re: Help port swsusp to ppc.

2004-01-18 Thread Nigel Cunningham
Hi. I can answer a couple of the questions: On Mon, 2004-01-19 at 16:35, Benjamin Herrenschmidt wrote: > What is this file ? It's absolutely horrible It should contain the .S equivalent to the swsusp2.c file. It would be best if swsusp2.c could simply be compiled, but it appears that it can'

Re: Help port swsusp to ppc.

2004-01-18 Thread Nigel Cunningham
Hi. I'd love to be able to help, but unfortunately the old assembly I know is good old 6502 :> Hopefully someone else will pipe up and get you going. Once you do get it going, I'll be happy to help keep the other parts updated, so far as I'm able. Regards, Nigel On Mon, 2004-01-19 at 15:52, Hu