Received: from eggs.gnu.org ([140.186.70.92]:46542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhXd9-0001nQ-4e for qemu-devel@nongnu.org; Thu, 14 Jul 2011 21:55:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhXd8-0004RV-6E for qemu-devel@nongnu.org; Thu, 14 Jul 2011 21:55:51 -0400 Received: from mail-iw0-f173.google.com ([209.85.214.173]:36772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhXd7-0004RO-Mn for qemu-devel@nongnu.org; Thu, 14 Jul 2011 21:55:50 -0400 Received: by iwn3 with SMTP id 3so773087iwn.4 for ; Thu, 14 Jul 2011 18:55:48 -0700 (PDT) Message-ID: <4e1f9e23.9031e70a.4a0d.1b1a@mx.google.com> Date: Fri, 15 Jul 2011 10:55:43 +0900 From: tsnsaito@gmail.com In-Reply-To: References: <1310527849-784-1-git-send-email-tsnsaito@gmail.com> <86r55u5tk7.wl%fwkg7679@mb.infoweb.ne.jp> <4E1D8AF8.1070700@siriusit.co.uk> <86pqle5osp.wl%fwkg7679@mb.infoweb.ne.jp> <86mxgh5zbl.wl%fwkg7679@mb.infoweb.ne.jp> <86liw15io5.wl%fwkg7679@mb.infoweb.ne.jp> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 0/4] SPARC64: Implement sparcv9 ldfa/stfa instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Mark Cave-Ayland , qemu-devel@nongnu.org, Artyom Tarasenko At Thu, 14 Jul 2011 18:31:52 +0300, Blue Swirl wrote: > On Thu, Jul 14, 2011 at 12:13 PM, wrote: > > The softmmu version of current implementation is incorrect. > > Nonfaulting loads should generate exceptions in the same way as > > normal loads.  The CPU hardware should not return zero automatically > > if no memory mapping exists.  The system software is responsible for > > nonfaulting loads to read zero if no mapping is availale. > > > > The differences between nonfaulting loads and normal loads are: > > - that DSFSR.NF bit is set for nonfaulting loads on MMU faults. > > - the result of loads on memory region mapped by TTEs with NFO bit set. >=20 > I hope this is documented somewhere. In the UA2007 spec it is partly documented in "9.6 Nonfaulting Load", but I couldn't find out the description of the SFSR (Synchronous Fault Status Register) in UA2007... In the JPS1 spec, the SFSR register is described in F.10.9. ----=20 Tsuneo Saito