From: Julien Grall <julien@xen.org>
To: Luca Fancellu <Luca.Fancellu@arm.com>,
Ayan Kumar Halder <ayan.kumar.halder@amd.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
Stefano Stabellini <sstabellini@kernel.org>,
Bertrand Marquis <Bertrand.Marquis@arm.com>,
Michal Orzel <michal.orzel@amd.com>,
Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>
Subject: Re: [PATCH 3/5] xen/arm: mpu: Move some of the definitions to common file
Date: Tue, 25 Feb 2025 22:08:32 +0000 [thread overview]
Message-ID: <a593bbed-24de-464e-9fea-db988cc61f7b@xen.org> (raw)
In-Reply-To: <18E074A3-A76B-4C9E-A8B4-8E23B07CB7B7@arm.com>
Hi Luca,
On 06/02/2025 15:01, Luca Fancellu wrote:
> Hi Ayan,
>
>> On 4 Feb 2025, at 19:23, Ayan Kumar Halder <ayan.kumar.halder@amd.com> wrote:
>>
>> For AArch32, refer to ARM DDI 0568A.c ID110520.
>> MPU_REGION_SHIFT is same between AArch32 and AArch64 (HPRBAR).
>> Also, NUM_MPU_REGIONS_SHIFT is same between AArch32 and AArch64
>> (HMPUIR).
>>
>> Signed-off-by: Ayan Kumar Halder <ayan.kumar.halder@amd.com>
>> ---
>> xen/arch/arm/arm64/mpu/head.S | 2 +-
>> xen/arch/arm/include/asm/early_printk.h | 2 +-
>> xen/arch/arm/include/asm/{arm64 => }/mpu.h | 6 +++---
>> 3 files changed, 5 insertions(+), 5 deletions(-)
>> rename xen/arch/arm/include/asm/{arm64 => }/mpu.h (87%)
>>
>> diff --git a/xen/arch/arm/arm64/mpu/head.S b/xen/arch/arm/arm64/mpu/head.S
>> index e4f2021f45..7b659aa42b 100644
>> --- a/xen/arch/arm/arm64/mpu/head.S
>> +++ b/xen/arch/arm/arm64/mpu/head.S
>> @@ -3,7 +3,7 @@
>> * Start-of-day code for an Armv8-R MPU system.
>> */
>>
>> -#include <asm/arm64/mpu.h>
>> +#include <asm/mpu.h>
>> #include <asm/early_printk.h>
>>
>> /* Backgroud region enable/disable */
>> diff --git a/xen/arch/arm/include/asm/early_printk.h b/xen/arch/arm/include/asm/early_printk.h
>> index 219705a8b6..644fd0fcfb 100644
>> --- a/xen/arch/arm/include/asm/early_printk.h
>> +++ b/xen/arch/arm/include/asm/early_printk.h
>> @@ -11,7 +11,7 @@
>> #define __ARM_EARLY_PRINTK_H__
>>
>> #include <xen/page-size.h>
>> -#include <asm/arm64/mpu.h>
>> +#include <asm/mpu.h>
>> #include <asm/fixmap.h>
>>
>> #ifdef CONFIG_EARLY_PRINTK
>> diff --git a/xen/arch/arm/include/asm/arm64/mpu.h b/xen/arch/arm/include/asm/mpu.h
>
> Why not in include/mpu/ ?
Do you mean include/asm/mpu? or something different?
Cheers,
--
Julien Grall
next prev parent reply other threads:[~2025-02-25 22:08 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-04 19:23 [PATCH 0/5] Enable early bootup of AArch32 MPU systems Ayan Kumar Halder
2025-02-04 19:23 ` [PATCH 1/5] xen/arm: mpu: Ensure that the page size is 4KB (arm32) Ayan Kumar Halder
2025-02-06 14:35 ` Luca Fancellu
2025-02-25 16:16 ` Julien Grall
2025-02-04 19:23 ` [PATCH 2/5] xen/arm: mpu: Enclose access to MMU specific registers under CONFIG_MMU (arm32) Ayan Kumar Halder
2025-02-06 14:48 ` Luca Fancellu
2025-02-25 16:24 ` Julien Grall
2025-02-04 19:23 ` [PATCH 3/5] xen/arm: mpu: Move some of the definitions to common file Ayan Kumar Halder
2025-02-06 15:01 ` Luca Fancellu
2025-02-25 22:08 ` Julien Grall [this message]
2025-02-26 8:28 ` Luca Fancellu
2025-02-28 9:22 ` Julien Grall
2025-02-28 10:34 ` Ayan Kumar Halder
2025-03-04 13:09 ` Luca Fancellu
2025-02-04 19:23 ` [PATCH 4/5] xen/arm: mpu: Create boot-time MPU protection regions (arm32) Ayan Kumar Halder
2025-02-06 15:29 ` Luca Fancellu
2025-02-06 17:34 ` Ayan Kumar Halder
2025-02-04 19:23 ` [PATCH 5/5] xen/arm: mpu: Implement a dummy enable_secondary_cpu_mm (arm32) Ayan Kumar Halder
2025-02-06 15:30 ` Luca Fancellu
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=a593bbed-24de-464e-9fea-db988cc61f7b@xen.org \
--to=julien@xen.org \
--cc=Bertrand.Marquis@arm.com \
--cc=Luca.Fancellu@arm.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=ayan.kumar.halder@amd.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.