Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-20 Thread Jan Beulich
On 20.08.2024 13:48, Ayan Kumar Halder wrote: > So I will do :- > > 1. HARDEN_BRANCH_PREDICTOR will depend on MMU. > > 2. ARCH_VMAP will be selected by PPC and RISCV. The reason is below. > > 3. xen/common/vmap.c will be conditionally compiled on ARCH_VMAP and the > "#ifdef VMAP_VIRT_START .. e

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-20 Thread Ayan Kumar Halder
Hi Julien/Jan, On 19/08/2024 10:58, Julien Grall wrote: On 19/08/2024 10:55, Julien Grall wrote: Hi Ayan, On 19/08/2024 10:45, Ayan Kumar Halder wrote: I am ok with this. This has the benefit that the change can be contained within arch/arm if we do the following :- diff --git a/xen/arch/

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-19 Thread Julien Grall
Hi Jan, On 19/08/2024 13:24, Jan Beulich wrote: On 19.08.2024 14:12, Julien Grall wrote: On 19/08/2024 12:39, Jan Beulich wrote: Guys, On 19.08.2024 11:45, Ayan Kumar Halder wrote: On 16/08/2024 17:40, Julien Grall wrote: On 14/08/2024 13:33, Ayan Kumar Halder wrote: mind me asking why I

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-19 Thread Jan Beulich
On 19.08.2024 14:12, Julien Grall wrote: > On 19/08/2024 12:39, Jan Beulich wrote: >> Guys, >> >> On 19.08.2024 11:45, Ayan Kumar Halder wrote: >>> On 16/08/2024 17:40, Julien Grall wrote: On 14/08/2024 13:33, Ayan Kumar Halder wrote: >> >> mind me asking why I continue to be on the To: list o

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-19 Thread Julien Grall
On 19/08/2024 12:39, Jan Beulich wrote: Guys, On 19.08.2024 11:45, Ayan Kumar Halder wrote: On 16/08/2024 17:40, Julien Grall wrote: On 14/08/2024 13:33, Ayan Kumar Halder wrote: mind me asking why I continue to be on the To: list of this communication between the two of you? You were i

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-19 Thread Jan Beulich
Guys, On 19.08.2024 11:45, Ayan Kumar Halder wrote: > On 16/08/2024 17:40, Julien Grall wrote: >> On 14/08/2024 13:33, Ayan Kumar Halder wrote: mind me asking why I continue to be on the To: list of this communication between the two of you? Jan

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-19 Thread Julien Grall
On 19/08/2024 10:55, Julien Grall wrote: Hi Ayan, On 19/08/2024 10:45, Ayan Kumar Halder wrote: I am ok with this. This has the benefit that the change can be contained within arch/arm if we do the following :- diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index cb2c0a16b8..26f7

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-19 Thread Julien Grall
Hi Ayan, On 19/08/2024 10:45, Ayan Kumar Halder wrote: I am ok with this. This has the benefit that the change can be contained within arch/arm if we do the following :- diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index cb2c0a16b8..26f7406278 100644 --- a/xen/arch/arm/setup.c +++

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-19 Thread Ayan Kumar Halder
On 16/08/2024 17:40, Julien Grall wrote: Hi Ayan, Hi Julien, On 14/08/2024 13:33, Ayan Kumar Halder wrote: Hi Jan, On 14/08/2024 12:35, Jan Beulich wrote: On 14.08.2024 12:55, Ayan Kumar Halder wrote: Hi Jan, On 14/08/2024 07:37, Jan Beulich wrote: On 13.08.2024 19:13, Ayan Kumar Halde

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-16 Thread Julien Grall
Hi Ayan, On 14/08/2024 13:33, Ayan Kumar Halder wrote: Hi Jan, On 14/08/2024 12:35, Jan Beulich wrote: On 14.08.2024 12:55, Ayan Kumar Halder wrote: Hi Jan, On 14/08/2024 07:37, Jan Beulich wrote: On 13.08.2024 19:13, Ayan Kumar Halder wrote: From: Penny Zheng Introduced CONFIG_VMAP whic

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-16 Thread Ayan Kumar Halder
On 16/08/2024 10:28, Michal Orzel wrote: Hi Ayan, Hi Michal, On 14/08/2024 14:33, Ayan Kumar Halder wrote: Hi Jan, On 14/08/2024 12:35, Jan Beulich wrote: On 14.08.2024 12:55, Ayan Kumar Halder wrote: Hi Jan, On 14/08/2024 07:37, Jan Beulich wrote: On 13.08.2024 19:13, Ayan Kumar Halde

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-16 Thread Michal Orzel
Hi Ayan, On 14/08/2024 14:33, Ayan Kumar Halder wrote: > Hi Jan, > > On 14/08/2024 12:35, Jan Beulich wrote: >> On 14.08.2024 12:55, Ayan Kumar Halder wrote: >>> Hi Jan, >>> >>> On 14/08/2024 07:37, Jan Beulich wrote: On 13.08.2024 19:13, Ayan Kumar Halder wrote: > From: Penny Zheng >>>

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-14 Thread Jan Beulich
On 14.08.2024 14:33, Ayan Kumar Halder wrote: > On 14/08/2024 12:35, Jan Beulich wrote: >> On 14.08.2024 12:55, Ayan Kumar Halder wrote: >>> On 14/08/2024 07:37, Jan Beulich wrote: On 13.08.2024 19:13, Ayan Kumar Halder wrote: > From: Penny Zheng > > Introduced CONFIG_VMAP which i

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-14 Thread Ayan Kumar Halder
Hi Jan, On 14/08/2024 12:35, Jan Beulich wrote: On 14.08.2024 12:55, Ayan Kumar Halder wrote: Hi Jan, On 14/08/2024 07:37, Jan Beulich wrote: On 13.08.2024 19:13, Ayan Kumar Halder wrote: From: Penny Zheng Introduced CONFIG_VMAP which is selected by the architectures that use MMU. vm_init(

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-14 Thread Jan Beulich
On 14.08.2024 12:55, Ayan Kumar Halder wrote: > Hi Jan, > > On 14/08/2024 07:37, Jan Beulich wrote: >> On 13.08.2024 19:13, Ayan Kumar Halder wrote: >>> From: Penny Zheng >>> >>> Introduced CONFIG_VMAP which is selected by the architectures that use >>> MMU. vm_init() does not do anything if CONF

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-14 Thread Ayan Kumar Halder
Hi Jan, On 14/08/2024 07:37, Jan Beulich wrote: On 13.08.2024 19:13, Ayan Kumar Halder wrote: From: Penny Zheng Introduced CONFIG_VMAP which is selected by the architectures that use MMU. vm_init() does not do anything if CONFIG_VMAP is not enabled. VMAP is widely used in ALTERNATIVE feature

Re: [PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-13 Thread Jan Beulich
On 13.08.2024 19:13, Ayan Kumar Halder wrote: > From: Penny Zheng > > Introduced CONFIG_VMAP which is selected by the architectures that use > MMU. vm_init() does not do anything if CONFIG_VMAP is not enabled. > > VMAP is widely used in ALTERNATIVE feature to remap a range of memory > with new m

[PATCH v3 2/4] xen: make VMAP only support in MMU system

2024-08-13 Thread Ayan Kumar Halder
From: Penny Zheng Introduced CONFIG_VMAP which is selected by the architectures that use MMU. vm_init() does not do anything if CONFIG_VMAP is not enabled. VMAP is widely used in ALTERNATIVE feature to remap a range of memory with new memory attributes. Since this is highly dependent on virtual