On 13/03/2025 09:48, Orzel, Michal wrote: > > > On 12/03/2025 14:52, Luca Fancellu wrote: >> >> >> From: Penny Zheng <penny.zh...@arm.com> >> >> virt_to_maddr and maddr_to_virt are used widely in Xen code. So >> even there is no VMSA in MPU system, we keep the interface in MPU to >> don't change the existing common code. >> >> In order to do that, move the virt_to_maddr() definition to mmu/mm.h, >> instead for maddr_to_virt() it's more difficult to isolate it under mmu/ >> so it will be protected by #ifdef CONFIG_MMU. > I don't understand this rationale. I did a quick test and moving maddr_to_virt > to mmu/mm.h works just fine. Ignore this comment. I was not right. ~Michal
- [PATCH 00/10] MPU mm subsistem skeleton Luca Fancellu
- [PATCH 03/10] arm/mpu: Add HYPERVISOR_VIRT_START and av... Luca Fancellu
- Re: [PATCH 03/10] arm/mpu: Add HYPERVISOR_VIRT_STAR... Orzel, Michal
- [PATCH 04/10] arm/mpu: Implement virt/maddr conversion ... Luca Fancellu
- Re: [PATCH 04/10] arm/mpu: Implement virt/maddr con... Orzel, Michal
- Re: [PATCH 04/10] arm/mpu: Implement virt/maddr... Luca Fancellu
- Re: [PATCH 04/10] arm/mpu: Implement virt/m... Orzel, Michal
- Re: [PATCH 04/10] arm/mpu: Implement virt/maddr... Orzel, Michal
- Re: [PATCH 04/10] arm/mpu: Implement virt/maddr con... Julien Grall
- [PATCH 10/10] arm/mpu: Create the skeleton for MPU comp... Luca Fancellu
- Re: [PATCH 10/10] arm/mpu: Create the skeleton for ... Orzel, Michal
- Re: [PATCH 10/10] arm/mpu: Create the skeleton ... Luca Fancellu
- Re: [PATCH 10/10] arm/mpu: Create the skele... Orzel, Michal
- [PATCH 08/10] xen/arm: Rename setup_pagetables with a m... Luca Fancellu
- Re: [PATCH 08/10] xen/arm: Rename setup_pagetables ... Orzel, Michal
- Re: [PATCH 08/10] xen/arm: Rename setup_pagetab... Luca Fancellu
- Re: [PATCH 08/10] xen/arm: Rename setup_pag... Orzel, Michal
- Re: [PATCH 08/10] xen/arm: Rename setu... Luca Fancellu