Re: [PATCH V3 (resend) 04/19] x86: Lift mapcache variable to the arch level

2024-07-17 Thread Alejandro Vallejo
On Tue Jul 16, 2024 at 6:06 PM BST, Alejandro Vallejo wrote: > On Mon May 13, 2024 at 2:40 PM BST, Elias El Yandouzi wrote: > > From: Wei Liu > > > > It is going to be needed by HVM and idle domain as well, because without > > the direct map, both need a mapcache to map pages. > > > > This commit

Re: [PATCH V3 (resend) 04/19] x86: Lift mapcache variable to the arch level

2024-07-16 Thread Alejandro Vallejo
On Mon May 13, 2024 at 2:40 PM BST, Elias El Yandouzi wrote: > From: Wei Liu > > It is going to be needed by HVM and idle domain as well, because without > the direct map, both need a mapcache to map pages. > > This commit lifts the mapcache variable up and initialise it a bit earlier > for PV and

Re: [PATCH V3 (resend) 04/19] x86: Lift mapcache variable to the arch level

2024-05-15 Thread Jan Beulich
On 13.05.2024 15:40, Elias El Yandouzi wrote: > --- a/xen/arch/x86/domain.c > +++ b/xen/arch/x86/domain.c > @@ -851,6 +851,8 @@ int arch_domain_create(struct domain *d, > > psr_domain_init(d); > > +mapcache_domain_init(d); This new placement is re-done right away in the next patch. To

Re: [PATCH V3 (resend) 04/19] x86: Lift mapcache variable to the arch level

2024-05-14 Thread Roger Pau Monné
On Mon, May 13, 2024 at 01:40:31PM +, Elias El Yandouzi wrote: > From: Wei Liu > > It is going to be needed by HVM and idle domain as well, because without > the direct map, both need a mapcache to map pages. The idle domain is a PV domain, and so gets the mapcache already initialized with t

[PATCH V3 (resend) 04/19] x86: Lift mapcache variable to the arch level

2024-05-13 Thread Elias El Yandouzi
From: Wei Liu It is going to be needed by HVM and idle domain as well, because without the direct map, both need a mapcache to map pages. This commit lifts the mapcache variable up and initialise it a bit earlier for PV and HVM domains. Signed-off-by: Wei Liu Signed-off-by: Wei Wang Signed-of