From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qjv2c-00018l-QF for qemu-devel@nongnu.org; Thu, 21 Jul 2011 11:19:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qjuzw-00032O-If for qemu-devel@nongnu.org; Thu, 21 Jul 2011 11:17:17 -0400 Received: from mail-pz0-f43.google.com ([209.85.210.43]:45573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qjuzw-00032F-E5 for qemu-devel@nongnu.org; Thu, 21 Jul 2011 11:17:12 -0400 Received: by pzk1 with SMTP id 1so2207122pzk.30 for ; Thu, 21 Jul 2011 08:17:10 -0700 (PDT) From: Tsuneo Saito Date: Fri, 22 Jul 2011 00:16:26 +0900 Message-Id: <1311261393-47400-1-git-send-email-tsnsaito@gmail.com> Subject: [Qemu-devel] [PATCH 0/7] SPARC64: fix nonfaulting load on softmmu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Tsuneo Saito This patch series fixes nonfaulting load ASIs and traps related to them. According to "8.3.4 Non-Faulting Load" in the UltraSPARC-IIi User's Manual, a CPU should raise a TLB miss to the system software if the load is for unmapped area: "When a non-faulting load encounters a TLB miss, the operating system should attempt to translate the page. If the translation results in an error (for example, address out of range), a 0 is returned and the load completes silently." The first 4 patches are not directly related to nonfaulting load but are cleanups and fixes for preparing for the fix. The next 2 patches fix the problem and the last one is for related faults other than the TLB miss. Tsuneo Saito (7): SPARC64: TTE bits cleanup SPARC64: SFSR cleanup and fix SPARC64: introduce a convenience function for getting physical addresses SPARC64: split cpu_get_phys_page_debug() from cpu_get_phys_page_nofault() SPARC64: fix fault status overwritten on nonfaulting load SPARC64: implement MMU miss traps on nonfaulting loads SPARC64: implement addtional MMU faults related to nonfaulting load target-sparc/cpu.h | 35 +++++++++++ target-sparc/helper.c | 149 ++++++++++++++++++++++++++++++++++------------ target-sparc/op_helper.c | 36 ++++++----- 3 files changed, 165 insertions(+), 55 deletions(-) -- 1.7.5.4