From: Lucas Amaral <lucaaamaral@gmail.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Lucas Amaral <lucaaamaral@gmail.com>,
qemu-devel@nongnu.org, qemu-arm@nongnu.org, agraf@csgraf.de,
mohamed@unpredictable.fr, alex.bennee@linaro.org
Subject: Re: [PATCH v4 0/3] hvf: map granule abstraction, configurable IPA, and MAP_FIXED alignment fix
Date: Thu, 23 Apr 2026 14:22:10 -0300 [thread overview]
Message-ID: <20260423172210.51760-1-lucaaamaral@gmail.com> (raw)
In-Reply-To: <CAFEAcA9587cZ+oOv2t6No6eBJdR9gxow8RFqy-JN=7OH3xk7HA@mail.gmail.com>
Hi Peter,
Thanks for the review and for asking Mohamed and Alex to take a look.
> The question that comes to my mind is whether the two places changed
> in accel/hvf to look at hvf_get_map_granule() really are the only
> two places in the whole of QEMU where we call
> qemu_real_host_page_size() and expect it to be also the guest page
> size. The general idea of 'guest page size might not be the same as
> the host page size QEMU itself gets' isn't hvf specific -- maybe we
> should have a qemu_guest_page_size() function?
Good point. I'll audit the qemu_real_host_page_size() call sites to
see which ones actually mean "guest page size" and whether a broader
qemu_guest_page_size() abstraction makes sense. I'd send that as a
follow-up series once these patches land, so the immediate HVF fix
isn't blocked on the broader refactor.
Thanks,
Lucas
next prev parent reply other threads:[~2026-04-23 17:22 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-17 17:57 [PATCH v4 0/3] hvf: map granule abstraction, configurable IPA, and MAP_FIXED alignment fix Lucas Amaral
2026-03-17 17:57 ` [PATCH v4 1/3] virtio-gpu: validate host page alignment for MAP_FIXED blobs Lucas Amaral
2026-04-23 18:00 ` Alex Bennée
2026-04-23 23:44 ` Lucas Amaral
2026-04-24 10:09 ` Alex Bennée
2026-04-24 21:37 ` Lucas Amaral
2026-03-17 17:57 ` [PATCH v4 2/3] accel/hvf: introduce map granule abstraction and IPA property Lucas Amaral
2026-04-23 18:05 ` Alex Bennée
2026-04-23 23:44 ` Lucas Amaral
2026-03-17 17:57 ` [PATCH v4 3/3] target/arm/hvf: configure IPA granule on macOS 26 Lucas Amaral
2026-04-09 17:52 ` [PATCH v4 0/3] hvf: map granule abstraction, configurable IPA, and MAP_FIXED alignment fix Lucas Amaral
2026-04-09 19:06 ` Peter Maydell
2026-04-10 14:13 ` Peter Maydell
2026-04-23 17:22 ` Lucas Amaral [this message]
2026-04-24 7:08 ` Philippe Mathieu-Daudé
2026-04-24 21:38 ` Lucas Amaral
-- strict thread matches above, loose matches on Subject: below --
2026-03-17 17:48 Lucas Amaral
2026-04-24 7:38 ` Manos Pitsidianakis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260423172210.51760-1-lucaaamaral@gmail.com \
--to=lucaaamaral@gmail.com \
--cc=agraf@csgraf.de \
--cc=alex.bennee@linaro.org \
--cc=mohamed@unpredictable.fr \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.