All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] target/s390x: Allow 2G hugepages guest backing
@ 2026-07-29 16:30 Claudio Imbrenda
  2026-07-29 16:30 ` [PATCH v2 1/1] " Claudio Imbrenda
  0 siblings, 1 reply; 4+ messages in thread
From: Claudio Imbrenda @ 2026-07-29 16:30 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-s390x, borntraeger, frankja, pasic, mhartmay, david, farman,
	mjrosato, richard.henderson, iii, cohuck

Allow mapping guest with 2G hugepages on hosts that support it.
    
Add new helper functions to check whether hpages are in effect, and
which size.

v1->v2:
* Rename the global variable to cap_hpage
* Use different values of cap_hpage to distinguish between hpage sizes
* Add wrappers to test for specific hpage sizes


Claudio Imbrenda (1):
  target/s390x: Allow 2G hugepages guest backing

 target/s390x/diag.c          |  2 +-
 target/s390x/kvm/kvm.c       | 40 +++++++++++++++++++++++-------------
 target/s390x/kvm/kvm_s390x.h |  2 ++
 target/s390x/kvm/stubs.c     | 10 +++++++++
 4 files changed, 39 insertions(+), 15 deletions(-)

-- 
2.55.0



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

end of thread, other threads:[~2026-07-30 12:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-29 16:30 [PATCH v2 0/1] target/s390x: Allow 2G hugepages guest backing Claudio Imbrenda
2026-07-29 16:30 ` [PATCH v2 1/1] " Claudio Imbrenda
2026-07-29 17:53   ` Matthew Rosato
2026-07-30 12:20     ` Claudio Imbrenda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.