From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D65CA1007D9 for ; Tue, 12 Jan 2010 13:34:15 +1100 (EST) Subject: hibernation BookE patch From: Benjamin Herrenschmidt To: Anton Vorontsov Content-Type: text/plain; charset="UTF-8" Date: Tue, 12 Jan 2010 13:34:08 +1100 Message-ID: <1263263648.724.182.camel@pasglop> Mime-Version: 1.0 Cc: linuxppc-dev List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Anton ! For some reason I can't find that patch in my mailbox (just saw it on patchwork :-) Here's a quick review. Looks good but two things: - Please make it swsusp_booke.c, 44x support is trivial and I don't want to rename the file :-) - Is there really an SDR1 register on FSL BookE ? It's supposed to be the pointer to the hash table on server ... - You probably should save/restore the TCR and ack pending crap DEC or FIT interrupts in the TSR right before you kick the decrementer - Nowadays, we still assume that the "loader" kernel is exactly the same as the "loaded" kernel on resume ? If not, you may need to save/restore IVORs, IVPR, ... Cheers, Ben.