Skip to content

SPARC64: fix nonfaulting load on softmmu

Tsuneo Saito qemu-devel 1 version Applied

Status from this message: Thanks, applied all.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7SPARC64: TTE bits cleanuptarget-sparc/cpu.h target-sparc/helper.c+26 -160 replies
2/7SPARC64: SFSR cleanup and fixtarget-sparc/cpu.h target-sparc/helper.c+62 -120 replies
3/7SPARC64: introduce a convenience function for getting physical addressestarget-sparc/helper.c+14 -60 replies
4/7SPARC64: split cpu_get_phys_page_debug() from cpu_get_phys_page_nofault()target-sparc/cpu.h target-sparc/helper.c+16 -10 replies
5/7SPARC64: fix fault status overwritten on nonfaulting loadtarget-sparc/helper.c+2 -60 replies
6/7SPARC64: implement MMU miss traps on nonfaulting loadstarget-sparc/op_helper.c+20 -160 replies
7/7SPARC64: implement addtional MMU faults related to nonfaulting loadtarget-sparc/cpu.h target-sparc/helper.c+30 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/7] SPARC64: fix nonfaulting load on softmmu

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(-)
Signature · 1 line
1.7.5.4