Re: [PATCH v2 31/40] xen/mpu: disable FIXMAP in MPU system

2023-02-09 Thread Julien Grall
Hi, On 13/01/2023 10:10, Jan Beulich wrote: On 13.01.2023 06:29, Penny Zheng wrote: --- a/xen/arch/arm/Kconfig +++ b/xen/arch/arm/Kconfig @@ -13,9 +13,10 @@ config ARM def_bool y select HAS_ALTERNATIVE if !ARM_V8R select HAS_DEVICE_TREE + select HAS_FIXMAP if

Re: [PATCH v2 31/40] xen/mpu: disable FIXMAP in MPU system

2023-01-13 Thread Jan Beulich
On 13.01.2023 06:29, Penny Zheng wrote: > --- a/xen/arch/arm/Kconfig > +++ b/xen/arch/arm/Kconfig > @@ -13,9 +13,10 @@ config ARM > def_bool y > select HAS_ALTERNATIVE if !ARM_V8R > select HAS_DEVICE_TREE > + select HAS_FIXMAP if !ARM_V8R > select HAS_PASSTHROUGH >

Re: [PATCH v2 31/40] xen/mpu: disable FIXMAP in MPU system

2023-01-13 Thread Jan Beulich
On 13.01.2023 06:29, Penny Zheng wrote: > --- a/xen/common/Kconfig > +++ b/xen/common/Kconfig > @@ -43,6 +43,9 @@ config HAS_EX_TABLE > config HAS_FAST_MULTIPLY > bool > > +config HAS_FIXMAP > + bool I think it'll end up misleading if this option is not selected by x86 as well. So

[PATCH v2 31/40] xen/mpu: disable FIXMAP in MPU system

2023-01-12 Thread Penny Zheng
FIXMAP in MMU system is used to do special-purpose 4K mapping, like mapping early UART, temporarily mapping source codes for copy and paste (copy_from_paddr), ect. As there is no VMSA in MPU system, we do not support FIXMAP in MPU system. We deine !CONFIG_HAS_FIXMAP to provide empty stubbers for