Re: [Xen-devel] [PATCH V7 2/4] x86/altp2m: Add hypercall to set a range of sve bits

2020-01-13 Thread Alexandru Stefan ISAILA
On 13.01.2020 14:53, Jan Beulich wrote: > On 13.01.2020 11:32, Alexandru Stefan ISAILA wrote: >> On 10.01.2020 18:20, Jan Beulich wrote: >>> On 08.01.2020 15:08, Alexandru Stefan ISAILA wrote: +if ( !(rc = p2m_set_suppress_ve_multi(d, )) && sve.first_error ) +rc =

Re: [Xen-devel] [PATCH V7 2/4] x86/altp2m: Add hypercall to set a range of sve bits

2020-01-13 Thread Jan Beulich
On 13.01.2020 11:32, Alexandru Stefan ISAILA wrote: > On 10.01.2020 18:20, Jan Beulich wrote: >> On 08.01.2020 15:08, Alexandru Stefan ISAILA wrote: >>> +if ( !(rc = p2m_set_suppress_ve_multi(d, )) && sve.first_error ) >>> +rc = sve.first_error; >> >> Why the right side of the && ? >

Re: [Xen-devel] [PATCH V7 2/4] x86/altp2m: Add hypercall to set a range of sve bits

2020-01-13 Thread Alexandru Stefan ISAILA
On 10.01.2020 18:20, Jan Beulich wrote: > On 08.01.2020 15:08, Alexandru Stefan ISAILA wrote: >> By default the sve bits are not set. >> This patch adds a new hypercall, xc_altp2m_set_supress_ve_multi(), >> to set a range of sve bits. >> The core function, p2m_set_suppress_ve_multi(), does not

Re: [Xen-devel] [PATCH V7 2/4] x86/altp2m: Add hypercall to set a range of sve bits

2020-01-10 Thread Jan Beulich
On 08.01.2020 15:08, Alexandru Stefan ISAILA wrote: > By default the sve bits are not set. > This patch adds a new hypercall, xc_altp2m_set_supress_ve_multi(), > to set a range of sve bits. > The core function, p2m_set_suppress_ve_multi(), does not break in case > of a error and it is doing a best

[Xen-devel] [PATCH V7 2/4] x86/altp2m: Add hypercall to set a range of sve bits

2020-01-08 Thread Alexandru Stefan ISAILA
By default the sve bits are not set. This patch adds a new hypercall, xc_altp2m_set_supress_ve_multi(), to set a range of sve bits. The core function, p2m_set_suppress_ve_multi(), does not break in case of a error and it is doing a best effort for setting the bits in the given range. A check for