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

2020-08-25 Thread Jan Beulich
On 07.08.2020 12:12, Jan Beulich wrote: > On 06.08.2020 21:16, Andrew Cooper wrote: >> On 06/08/2020 10:28, Jan Beulich wrote: >>> Note that opt_pv32's declaration / #define need to be moved due to other >>> header dependencies; in particular can asm-x86/mm.h not include >>> asm-x86/pv/domain.h. >>

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

2020-08-07 Thread Jan Beulich
On 07.08.2020 12:12, Jan Beulich wrote: > On 06.08.2020 21:16, Andrew Cooper wrote: >> On 06/08/2020 10:28, Jan Beulich wrote: >>> An alternative place for opt_pv32.h would seem to be asm-x86/config.h. >> >> Oh - yes please.  I think that would be better overall. > > Done. Now that I'm trying to

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

2020-08-07 Thread Jan Beulich
On 06.08.2020 21:16, Andrew Cooper wrote: > On 06/08/2020 10:28, Jan Beulich wrote: >> Note that opt_pv32's declaration / #define need to be moved due to other >> header dependencies; in particular can asm-x86/mm.h not include >> asm-x86/pv/domain.h. >> >> While touching their definitions anyway,

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

2020-08-06 Thread Andrew Cooper
On 06/08/2020 10:28, Jan Beulich wrote: > Note that opt_pv32's declaration / #define need to be moved due to other > header dependencies; in particular can asm-x86/mm.h not include > asm-x86/pv/domain.h. While I do appreciate that our headers are a complete tangle, I can't help but feel that this

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

2020-08-06 Thread Jan Beulich
Note that opt_pv32's declaration / #define need to be moved due to other header dependencies; in particular can asm-x86/mm.h not include asm-x86/pv/domain.h. While touching their definitions anyway, also adjust section placement of m2p_compat_vstart and compat_idle_pg_table_l2. Similarly, while pu