From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LdU7U-00026Z-JX for qemu-devel@nongnu.org; Sat, 28 Feb 2009 13:41:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LdU7S-00026N-Lh for qemu-devel@nongnu.org; Sat, 28 Feb 2009 13:41:03 -0500 Received: from [199.232.76.173] (port=49098 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdU7S-00026K-Gz for qemu-devel@nongnu.org; Sat, 28 Feb 2009 13:41:02 -0500 Received: from mail-bw0-f171.google.com ([209.85.218.171]:63005) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LdU7S-0006YG-55 for qemu-devel@nongnu.org; Sat, 28 Feb 2009 13:41:02 -0500 Received: by bwz19 with SMTP id 19so1337154bwz.34 for ; Sat, 28 Feb 2009 10:41:00 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 28 Feb 2009 20:41:00 +0200 Message-ID: From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] PPC64: Make OpenBIOS interrupt handlers 64bit aware v2 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: openbios@openbios.org, qemu-devel , Laurent Vivier On 2/28/09, Alexander Graf wrote: > While booting a 64bit kernel, there is a small timeframe where OF and the > kernel communicate with each other. Within that timeframe, DSI/ISI > interrupts may occur, because some memory is not mapped yet. > > Right now in case that happens, we jump into the DSI/ISI interrupt handler > which clobbers the high 32 bits of the kernel's registers. In order to > circumvent that, let's save/restore all 64 bits of all kernel registers when > we get a DSI/ISI interrupt. > > This patch enables a PPC64 Linux kernel to boot up to the point where it > tries to set up the SLB entries (slbmte), which is not yet implemented in > qemu. > > v2 implements handling for the HIOR register, bringing interrupt handlers to > RAM. > > Signed-off-by: Alexander Graf Thanks, applied.