qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] accel/kvm: Specify default IPA size for arm64
@ 2023-07-22  6:22 Akihiko Odaki
  2023-07-22  6:22 ` [PATCH v3 1/2] kvm: Introduce kvm_arch_get_default_type hook Akihiko Odaki
  2023-07-22  6:22 ` [PATCH v3 2/2] accel/kvm: Specify default IPA size for arm64 Akihiko Odaki
  0 siblings, 2 replies; 4+ messages in thread
From: Akihiko Odaki @ 2023-07-22  6:22 UTC (permalink / raw)
  Cc: qemu-devel, qemu-arm, kvm, Paolo Bonzini, Peter Maydell,
	Richard Henderson, Akihiko Odaki

Some Arm systems such as Apple Silicon Macs have IPA size smaller than the
default used by KVM. Introduce our own default IPA size that fits on such a
system.

V2 -> V3: Changed to use the maximum IPA size as the default.
V1 -> V2: Introduced an arch hook

Akihiko Odaki (2):
  kvm: Introduce kvm_arch_get_default_type hook
  accel/kvm: Specify default IPA size for arm64

 include/sysemu/kvm.h     | 2 ++
 target/mips/kvm_mips.h   | 9 ---------
 accel/kvm/kvm-all.c      | 4 +++-
 hw/mips/loongson3_virt.c | 1 -
 target/arm/kvm.c         | 7 +++++++
 target/i386/kvm/kvm.c    | 5 +++++
 target/mips/kvm.c        | 2 +-
 target/ppc/kvm.c         | 5 +++++
 target/riscv/kvm.c       | 5 +++++
 target/s390x/kvm/kvm.c   | 5 +++++
 10 files changed, 33 insertions(+), 12 deletions(-)

-- 
2.41.0



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

end of thread, other threads:[~2023-07-24 10:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-22  6:22 [PATCH v3 0/2] accel/kvm: Specify default IPA size for arm64 Akihiko Odaki
2023-07-22  6:22 ` [PATCH v3 1/2] kvm: Introduce kvm_arch_get_default_type hook Akihiko Odaki
2023-07-24 10:53   ` Philippe Mathieu-Daudé
2023-07-22  6:22 ` [PATCH v3 2/2] accel/kvm: Specify default IPA size for arm64 Akihiko Odaki

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