From: Oleksii Kurochko <oleksii.kurochko@gmail.com>
To: "Orzel, Michal" <michal.orzel@amd.com>, xen-devel@lists.xenproject.org
Cc: Romain Caritey <Romain.Caritey@microchip.com>,
Stefano Stabellini <sstabellini@kernel.org>,
Julien Grall <julien@xen.org>,
Bertrand Marquis <bertrand.marquis@arm.com>,
Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>,
Luca Fancellu <luca.fancellu@arm.com>,
Jan Beulich <jbeulich@suse.com>
Subject: Re: [PATCH v5 05/11] xen/device-tree: use p2m_gpa_bits in common code
Date: Thu, 14 May 2026 09:19:53 +0200 [thread overview]
Message-ID: <a06f6f51-7355-4770-90be-6867530c2bd0@gmail.com> (raw)
In-Reply-To: <7c75dce1-f0e9-44f6-bda5-9d18435b882d@amd.com>
On 5/13/26 1:16 PM, Orzel, Michal wrote:
>
>
> On 13-May-26 13:14, Orzel, Michal wrote:
>>
>>
>> On 07-May-26 10:58, Oleksii Kurochko wrote:
>>> The IPA terminology is Arm-specific, so rename p2m_ipa_bits to
>>> p2m_gpa_bits to use architecture-neutral naming in
>>> xen/common/device-tree/ code.
>>>
>>> No functional changes.
>>>
>>> Reported-by: Jan Beulich <jbeulich@suse.com>
>>> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
>>> Reviewed-by: Luca Fancellu <luca.fancellu@arm.com>
>>> ---
>>> Changes in v5:
>>> - Rephraze commit subject.
>>> - Reviewed-by: Luca Fancellu <luca.fancellu@arm.com>.
>>> ---
>>> Changes in v4:
>>> - Nothing changed only rebase.
>>> ---
>>> Changes in v3:
>>> - Introduce #define p2m_gpa_bits p2m_ipa_bits for Arm instead of
>>> renaming of p2m_ipa_bits to p2m_gpa_bits to keep Arm part of
>>> changes clearer and keep using Arm-specific terminolgy inside
>>> Arm code.
>>> ---
>>> Changes in v2:
>>> - New patch.
>>> ---
>>> ---
>>> xen/arch/arm/include/asm/p2m.h | 2 ++
>>> xen/common/device-tree/domain-build.c | 2 +-
>>> 2 files changed, 3 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/xen/arch/arm/include/asm/p2m.h b/xen/arch/arm/include/asm/p2m.h
>>> index 010ce8c9ebbd..7957dbd96e57 100644
>>> --- a/xen/arch/arm/include/asm/p2m.h
>>> +++ b/xen/arch/arm/include/asm/p2m.h
>>> @@ -14,6 +14,8 @@
>>> /* Holds the bit size of IPAs in p2m tables. */
>>> extern unsigned int p2m_ipa_bits;
>>>
>>> +#define p2m_gpa_bits p2m_ipa_bits
>> This deserves the comment e.g.:
>> /* Common-code alias; ARM keeps the IPA spelling internally */
>>
>> With that:
>> Acked-by: Michal Orzel <michal.orzel@amd.com>
Thanks!
> Forgot to mention that I'm ok to do this change on commit (patches 1-5 are ready
> from this series).
I would be happy with that.
~ Oleksii
next prev parent reply other threads:[~2026-05-14 7:20 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-07 8:58 [PATCH v5 00/11] RISCV: enable DOMAIN_BUILD_HELPERS Oleksii Kurochko
2026-05-07 8:58 ` [PATCH v5 01/11] xen: arm: fix len type for guest copy functions Oleksii Kurochko
2026-05-13 11:07 ` Orzel, Michal
2026-05-07 8:58 ` [PATCH v5 02/11] xen/dom0less: rename kernel_zimage_probe() to kernel_image_probe() Oleksii Kurochko
2026-05-07 9:29 ` Luca Fancellu
2026-05-13 11:07 ` Orzel, Michal
2026-05-07 8:58 ` [PATCH v5 03/11] xen: move declaration of fw_unreserved_regions() to common header Oleksii Kurochko
2026-05-13 11:08 ` Orzel, Michal
2026-05-07 8:58 ` [PATCH v5 04/11] xen: introduce domain-layout.h with common domain_use_host_layout() Oleksii Kurochko
2026-05-07 9:29 ` Luca Fancellu
2026-05-13 11:10 ` Orzel, Michal
2026-05-07 8:58 ` [PATCH v5 05/11] xen/device-tree: use p2m_gpa_bits in common code Oleksii Kurochko
2026-05-13 11:14 ` Orzel, Michal
2026-05-13 11:16 ` Orzel, Michal
2026-05-14 7:19 ` Oleksii Kurochko [this message]
2026-05-07 8:58 ` [PATCH v5 06/11] xen/riscv: implement copy_to_guest_phys() Oleksii Kurochko
2026-05-07 8:58 ` [PATCH v5 07/11] xen/riscv: add Linux kernel loading support Oleksii Kurochko
2026-05-07 8:58 ` [PATCH v5 08/11] xen/riscv: rework G-stage mode handling Oleksii Kurochko
2026-05-07 8:58 ` [PATCH v5 09/11] xen/riscv: introduce p2m_gpa_bits Oleksii Kurochko
2026-05-07 8:58 ` [PATCH v5 10/11] xen/riscv: add definition of guest RAM banks Oleksii Kurochko
2026-05-07 8:58 ` [PATCH v5 11/11] xen/riscv: enable DOMAIN_BUILD_HELPERS Oleksii Kurochko
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=a06f6f51-7355-4770-90be-6867530c2bd0@gmail.com \
--to=oleksii.kurochko@gmail.com \
--cc=Romain.Caritey@microchip.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=bertrand.marquis@arm.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=luca.fancellu@arm.com \
--cc=michal.orzel@amd.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.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.