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


Reply via email to