qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ppc: Check for bad Radix configs
@ 2022-06-24 17:16 Leandro Lupori
  2022-06-24 17:16 ` [PATCH v2 1/3] ppc: Check partition and process table alignment Leandro Lupori
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Leandro Lupori @ 2022-06-24 17:16 UTC (permalink / raw)
  To: qemu-devel, qemu-ppc
  Cc: clg, danielhb413, david, groug, richard.henderson, Leandro Lupori

Changes from v1:
- Use proper format defines in logs
- Optimized ppc_radix64_is_valid_level() and added a comment with
  instructions on how to proceed when adding new Radix CPUs with
  different configurations
- Moved calls to ppc_radix64_is_valid_level() outside of
  ppc_radix64_next_level(). This also avoids calling it twice for
  level 0, through ppc_radix64_walk_tree().
- Removed debug ifdefs from PDE/PTE alignment checks

Leandro Lupori (3):
  ppc: Check partition and process table alignment
  target/ppc: Improve Radix xlate level validation
  target/ppc: Check page dir/table base alignment

 hw/ppc/spapr.c             |  5 +++
 hw/ppc/spapr_hcall.c       |  9 +++++
 target/ppc/mmu-book3s-v3.c |  5 +++
 target/ppc/mmu-radix64.c   | 79 +++++++++++++++++++++++++++++++-------
 4 files changed, 85 insertions(+), 13 deletions(-)

-- 
2.25.1



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

end of thread, other threads:[~2022-06-24 20:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-24 17:16 [PATCH v2 0/3] ppc: Check for bad Radix configs Leandro Lupori
2022-06-24 17:16 ` [PATCH v2 1/3] ppc: Check partition and process table alignment Leandro Lupori
2022-06-24 18:35   ` Fabiano Rosas
2022-06-24 17:16 ` [PATCH v2 2/3] target/ppc: Improve Radix xlate level validation Leandro Lupori
2022-06-24 18:34   ` Fabiano Rosas
2022-06-24 17:16 ` [PATCH v2 3/3] target/ppc: Check page dir/table base alignment Leandro Lupori
2022-06-24 18:04   ` Richard Henderson
2022-06-24 20:10     ` Leandro Lupori
2022-06-24 18:47   ` Fabiano Rosas

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).