From: Scott Wood Date: Fri, 08 Jul 2011 20:47:05 +0000 Subject: Re: Emulating lwz instruction powerpc e500 Message-Id: <20110708154705.526bd0b4@schlenkerla.am.freescale.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org On Fri, 8 Jul 2011 20:33:18 +0000 Aashish Mittal wrote: > Hi > > I'm trying to emulate the lwz instruction in powerpc e500 kvm for my project . > And the instruction can modify any of the 32 gpr's . So i'm resuming the guest > using RESUME_GUEST_NV Flag so that all the gpr's can be updated . Were they saved in the first place? What trap type did you enter on -- is it listed in NEED_INST_MASK? What kernel version? Any reason not to use the existing MMIO emulation mechanisms? -Scott