Re: [PATCH 1/6] x86/boot: Rework dom0 feature configuration

2023-05-16 Thread Jan Beulich
On 16.05.2023 11:45, Andrew Cooper wrote: > On 16/05/2023 8:58 am, Jan Beulich wrote: >> On 15.05.2023 16:42, Andrew Cooper wrote: >>> @@ -858,7 +839,7 @@ void __init init_dom0_cpuid_policy(struct domain *d) >>> * so dom0 can turn off workarounds as appropriate. Temporary, until >>> the >>>

Re: [PATCH 1/6] x86/boot: Rework dom0 feature configuration

2023-05-16 Thread Andrew Cooper
On 16/05/2023 8:58 am, Jan Beulich wrote: > On 15.05.2023 16:42, Andrew Cooper wrote: >> Right now, dom0's feature configuration is split between between the common >> path and a dom0-specific one. This mostly is by accident, and causes some >> very subtle bugs. >> >> First, start by clearly defin

Re: [PATCH 1/6] x86/boot: Rework dom0 feature configuration

2023-05-16 Thread Jan Beulich
On 15.05.2023 16:42, Andrew Cooper wrote: > Right now, dom0's feature configuration is split between between the common > path and a dom0-specific one. This mostly is by accident, and causes some > very subtle bugs. > > First, start by clearly defining init_dom0_cpuid_policy() to be the domain >

[PATCH 1/6] x86/boot: Rework dom0 feature configuration

2023-05-15 Thread Andrew Cooper
Right now, dom0's feature configuration is split between between the common path and a dom0-specific one. This mostly is by accident, and causes some very subtle bugs. First, start by clearly defining init_dom0_cpuid_policy() to be the domain that Xen builds automatically. The late hwdom case is