Re: [PATCH 2/9] tests/cpu-policy: Confirm that CPUID serialisation is sorted

2020-06-16 Thread Jan Beulich
On 15.06.2020 16:15, Andrew Cooper wrote: > The existing x86_cpuid_copy_to_buffer() does produce sorted results, and we're > about to start relying on this. Extend the unit tests. > > As test_cpuid_serialise_success() is a fairly limited set of synthetic > examples right now, introduce test_cpuid

Re: [PATCH 2/9] tests/cpu-policy: Confirm that CPUID serialisation is sorted

2020-06-15 Thread Jan Beulich
On 15.06.2020 18:12, Andrew Cooper wrote: > On 15/06/2020 16:34, Ian Jackson wrote: >> Andrew Cooper writes ("Re: [PATCH 2/9] tests/cpu-policy: Confirm that CPUID >> serialisation is sorted"): >>> Nothing runs it by default, but it is part of my prepush testin

Re: [PATCH 2/9] tests/cpu-policy: Confirm that CPUID serialisation is sorted

2020-06-15 Thread Andrew Cooper
On 15/06/2020 16:34, Ian Jackson wrote: > Andrew Cooper writes ("Re: [PATCH 2/9] tests/cpu-policy: Confirm that CPUID > serialisation is sorted"): >> Nothing runs it by default, but it is part of my prepush testing for >> anything in the relevant area. >> >>

Re: [PATCH 2/9] tests/cpu-policy: Confirm that CPUID serialisation is sorted

2020-06-15 Thread Ian Jackson
Andrew Cooper writes ("Re: [PATCH 2/9] tests/cpu-policy: Confirm that CPUID serialisation is sorted"): > Nothing runs it by default, but it is part of my prepush testing for > anything in the relevant area. > > We should do something better, but its not totally trivial.  T

Re: [PATCH 2/9] tests/cpu-policy: Confirm that CPUID serialisation is sorted

2020-06-15 Thread Andrew Cooper
On 15/06/2020 15:52, Ian Jackson wrote: > Andrew Cooper writes ("[PATCH 2/9] tests/cpu-policy: Confirm that CPUID > serialisation is sorted"): >> The existing x86_cpuid_copy_to_buffer() does produce sorted results, and >> we're >> about to start relying on

Re: [PATCH 2/9] tests/cpu-policy: Confirm that CPUID serialisation is sorted

2020-06-15 Thread Ian Jackson
Andrew Cooper writes ("[PATCH 2/9] tests/cpu-policy: Confirm that CPUID serialisation is sorted"): > The existing x86_cpuid_copy_to_buffer() does produce sorted results, and we're > about to start relying on this. Extend the unit tests. > > As test_cpuid_serialise_su

[PATCH 2/9] tests/cpu-policy: Confirm that CPUID serialisation is sorted

2020-06-15 Thread Andrew Cooper
The existing x86_cpuid_copy_to_buffer() does produce sorted results, and we're about to start relying on this. Extend the unit tests. As test_cpuid_serialise_success() is a fairly limited set of synthetic examples right now, introduce test_cpuid_current() to operate on the full policy for the cur