Re: [XEN PATCH v2 3/5] x86/spec-ctrl: configurable Intlel/AMD-specific calculations

2024-08-30 Thread Jan Beulich
On 29.08.2024 21:25, Andrew Cooper wrote: > On 16/08/2024 12:14 pm, Sergiy Kibrik wrote: >> Put platforms-specific code under #ifdef CONFIG_{AMD,INTEL} so that when >> corresponding CPU support is disabled by configuration less dead code will >> end >> up in the build. >> >> This includes re-order

Re: [XEN PATCH v2 3/5] x86/spec-ctrl: configurable Intlel/AMD-specific calculations

2024-08-29 Thread Andrew Cooper
On 16/08/2024 12:14 pm, Sergiy Kibrik wrote: > Put platforms-specific code under #ifdef CONFIG_{AMD,INTEL} so that when > corresponding CPU support is disabled by configuration less dead code will end > up in the build. > > This includes re-ordering of calls to ibpb_calculations() & > div_calculat

Re: [XEN PATCH v2 3/5] x86/spec-ctrl: configurable Intlel/AMD-specific calculations

2024-08-19 Thread Jan Beulich
On 16.08.2024 13:14, Sergiy Kibrik wrote: > Put platforms-specific code under #ifdef CONFIG_{AMD,INTEL} so that when > corresponding CPU support is disabled by configuration less dead code will end > up in the build. > > This includes re-ordering of calls to ibpb_calculations() & > div_calculatio

[XEN PATCH v2 3/5] x86/spec-ctrl: configurable Intlel/AMD-specific calculations

2024-08-16 Thread Sergiy Kibrik
Put platforms-specific code under #ifdef CONFIG_{AMD,INTEL} so that when corresponding CPU support is disabled by configuration less dead code will end up in the build. This includes re-ordering of calls to ibpb_calculations() & div_calculations(), but since they don't access common variables or f