Re: [PATCH 2/5] x86: Refactor microcode_update() hypercall with flags field

2024-04-23 Thread Jan Beulich
On 23.04.2024 16:53, Fouad Hilly wrote: > On Mon, Apr 8, 2024 at 10:16 AM Jan Beulich wrote: >> On 05.04.2024 14:11, Fouad Hilly wrote: >>> @@ -708,11 +712,13 @@ static long cf_check microcode_update_helper(void >>> *data) >>> return ret; >>> } >>> >>> -int

Re: [PATCH 2/5] x86: Refactor microcode_update() hypercall with flags field

2024-04-23 Thread Fouad Hilly
On Mon, Apr 8, 2024 at 10:16 AM Jan Beulich wrote: > > On 05.04.2024 14:11, Fouad Hilly wrote: > > @@ -708,11 +712,13 @@ static long cf_check microcode_update_helper(void > > *data) > > return ret; > > } > > > > -int microcode_update(XEN_GUEST_HANDLE(const_void) buf, unsigned long len) > >

Re: [PATCH 2/5] x86: Refactor microcode_update() hypercall with flags field

2024-04-08 Thread Jan Beulich
On 05.04.2024 14:11, Fouad Hilly wrote: > @@ -708,11 +712,13 @@ static long cf_check microcode_update_helper(void *data) > return ret; > } > > -int microcode_update(XEN_GUEST_HANDLE(const_void) buf, unsigned long len) > +int microcode_update(XEN_GUEST_HANDLE(const_void) buf, unsigned long

[PATCH 2/5] x86: Refactor microcode_update() hypercall with flags field

2024-04-05 Thread Fouad Hilly
Refactor microcode_update() hypercall by adding flags field. Introduce XENPF_microcode_update2 hypercall to handle flags field. Signed-off-by: Fouad Hilly --- xen/arch/x86/cpu/microcode/core.c| 12 +--- xen/arch/x86/include/asm/microcode.h | 2 +- xen/arch/x86/platform_hypercall.c