Re: [PATCH 6/6] xen/x86: Add topology generator

2024-05-02 Thread Jan Beulich
On 01.05.2024 19:06, Alejandro Vallejo wrote: > On 26/03/2024 17:02, Jan Beulich wrote: >> On 09.01.2024 16:38, Alejandro Vallejo wrote: >>> --- a/tools/include/xenguest.h >>> +++ b/tools/include/xenguest.h >>> @@ -843,5 +843,20 @@ enum xc_static_cpu_featuremask { >>>

Re: [PATCH 6/6] xen/x86: Add topology generator

2024-05-01 Thread Alejandro Vallejo
On 26/03/2024 17:02, Jan Beulich wrote: > On 09.01.2024 16:38, Alejandro Vallejo wrote: >> --- a/tools/include/xenguest.h >> +++ b/tools/include/xenguest.h >> @@ -843,5 +843,20 @@ enum xc_static_cpu_featuremask { >> XC_FEATUREMASK_HVM_HAP_DEF, >> }; >> const uint32_t

Re: [PATCH 6/6] xen/x86: Add topology generator

2024-03-26 Thread Jan Beulich
On 09.01.2024 16:38, Alejandro Vallejo wrote: > --- a/tools/include/xenguest.h > +++ b/tools/include/xenguest.h > @@ -843,5 +843,20 @@ enum xc_static_cpu_featuremask { > XC_FEATUREMASK_HVM_HAP_DEF, > }; > const uint32_t *xc_get_static_cpu_featuremask(enum > xc_static_cpu_featuremask); > +

Re: [PATCH 6/6] xen/x86: Add topology generator

2024-03-20 Thread Roger Pau Monné
On Tue, Jan 09, 2024 at 03:38:34PM +, Alejandro Vallejo wrote: > This allows toolstack to synthesise sensible topologies for guests. In > particular, this patch causes x2APIC IDs to be packed according to the > topology now exposed to the guests on leaf 0xb. > > Signed-off-by: Alejandro

Re: [PATCH 6/6] xen/x86: Add topology generator

2024-01-10 Thread Jan Beulich
On 10.01.2024 15:16, Alejandro Vallejo wrote: > Review-to-self after running in Gitlab: > > On 09/01/2024 15:38, Alejandro Vallejo wrote: >> +p->basic.lppp = 0xff; >> +if ( threads_per_pkg < 0xff ) >> +p->basic.lppp = threads_per_pkg; >> + >> +switch ( p->x86_vendor ) >> +

Re: [PATCH 6/6] xen/x86: Add topology generator

2024-01-10 Thread Alejandro Vallejo
Review-to-self after running in Gitlab: On 09/01/2024 15:38, Alejandro Vallejo wrote: > +p->basic.lppp = 0xff; > +if ( threads_per_pkg < 0xff ) > +p->basic.lppp = threads_per_pkg; > + > +switch ( p->x86_vendor ) > +{ > +case X86_VENDOR_INTEL: > +struct

[PATCH 6/6] xen/x86: Add topology generator

2024-01-09 Thread Alejandro Vallejo
This allows toolstack to synthesise sensible topologies for guests. In particular, this patch causes x2APIC IDs to be packed according to the topology now exposed to the guests on leaf 0xb. Signed-off-by: Alejandro Vallejo --- tools/include/xenguest.h| 15