qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] target/ppc: Fix detection of 64-bit MMU models
@ 2020-12-09 17:35 Greg Kurz
  2020-12-09 17:35 ` [PATCH 1/2] ppc/translate: Use POWERPC_MMU_64 to detect " Greg Kurz
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Greg Kurz @ 2020-12-09 17:35 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stephane Duverger, qemu-ppc, Greg Kurz, David Gibson

Stephane Duverger posted a patch to fix a miscomputation of the
'need_access_type' flag in ppc_tr_init_disas_context(), which can
cause QEMU to abort with 32-bit CPUs.

This series contains an extended version of Stephane's patch and
introduce an mmu_is_64bit() helper to avoid a similar confusion
in the future.

Greg Kurz (1):
  target/ppc: Introduce an mmu_is_64bit() helper

Stephane Duverger (1):
  ppc/translate: Use POWERPC_MMU_64 to detect 64-bit MMU models

 target/ppc/cpu-qom.h            |  5 +++++
 target/ppc/excp_helper.c        |  4 ++--
 target/ppc/machine.c            |  4 ++--
 target/ppc/mmu-hash64.c         |  2 +-
 target/ppc/mmu_helper.c         | 10 +++++-----
 target/ppc/translate.c          |  4 ++--
 target/ppc/translate_init.c.inc |  2 +-
 7 files changed, 18 insertions(+), 13 deletions(-)

-- 
2.26.2




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-10  3:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-09 17:35 [PATCH 0/2] target/ppc: Fix detection of 64-bit MMU models Greg Kurz
2020-12-09 17:35 ` [PATCH 1/2] ppc/translate: Use POWERPC_MMU_64 to detect " Greg Kurz
2020-12-09 17:35 ` [PATCH 2/2] target/ppc: Introduce an mmu_is_64bit() helper Greg Kurz
2020-12-10  3:24 ` [PATCH 0/2] target/ppc: Fix detection of 64-bit MMU models David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).