Re: [PATCH v2 2/5] x86: don't maintain compat M2P when !PV32

2020-08-24 Thread Andrew Cooper
On 24/08/2020 13:34, Jan Beulich wrote: > --- a/xen/arch/x86/x86_64/mm.c > +++ b/xen/arch/x86/x86_64/mm.c > @@ -34,17 +34,31 @@ EMIT_FILE; > #include > #include > #include > +#include > #include > #include > #include > #include > #include > > +#ifdef CONFIG_PV32 > + > #define co

[PATCH v2 2/5] x86: don't maintain compat M2P when !PV32

2020-08-24 Thread Jan Beulich
It's effectively unused in this case (as well as when "pv=no-32"). While touching their definitions anyway, also adjust section placement of m2p_compat_vstart and compat_idle_pg_table_l2. Similarly, while putting init_xen_pae_l2_slots() inside #ifdef, also move it to a PV-only source file. Sugges