Re: [RFC Part1 PATCH v3 16/17] X86/KVM: Provide support to create Guest and HV shared per-CPU variables

2017-09-02 Thread Brijesh Singh
On 9/1/17 10:21 PM, Andy Lutomirski wrote: > On Fri, Sep 1, 2017 at 3:52 PM, Brijesh Singh wrote: >> Hi Boris, >> >> On 08/30/2017 12:46 PM, Borislav Petkov wrote: >>> On Wed, Aug 30, 2017 at 11:18:42AM -0500, Brijesh Singh wrote: I was trying to avoid mixing early

Re: [PATCH V2 0/3] Use mm_struct and switch_mm() instead of manually

2017-09-02 Thread Bhupesh Sharma
On Sat, Sep 2, 2017 at 7:38 PM, Bhupesh Sharma wrote: > Hi Sai, > > On Tue, Aug 29, 2017 at 5:07 AM, Sai Praneeth Prakhya > wrote: >> From: Sai Praneeth >> >> Presently, in x86, to invoke any efi function like

Re: [PATCH V2 0/3] Use mm_struct and switch_mm() instead of manually

2017-09-02 Thread Bhupesh Sharma
Hi Sai, On Tue, Aug 29, 2017 at 5:07 AM, Sai Praneeth Prakhya wrote: > From: Sai Praneeth > > Presently, in x86, to invoke any efi function like > efi_set_virtual_address_map() or any efi_runtime_service() the code path > typically

Re: [RFC PATCH 2/2] efi: libstub: add support for the Chaoskey RNG USB stick to the stub

2017-09-02 Thread Ard Biesheuvel
On 2 September 2017 at 09:26, Greg KH wrote: > On Sat, Sep 02, 2017 at 09:18:34AM +0100, Ard Biesheuvel wrote: >> On 2 September 2017 at 07:45, Greg KH wrote: >> > On Sat, Aug 19, 2017 at 04:17:40PM +0100, Ard Biesheuvel wrote: >> >> Early

Re: [RFC PATCH 1/2] efi: import USB I/O related declarations from the UEFI spec

2017-09-02 Thread Ard Biesheuvel
On 2 September 2017 at 09:25, Greg KH wrote: > On Sat, Sep 02, 2017 at 09:15:37AM +0100, Ard Biesheuvel wrote: >> On 2 September 2017 at 07:41, Greg KH wrote: >> > On Sat, Aug 19, 2017 at 04:17:39PM +0100, Ard Biesheuvel wrote: >> >> In

Re: [RFC PATCH 2/2] efi: libstub: add support for the Chaoskey RNG USB stick to the stub

2017-09-02 Thread Greg KH
On Sat, Sep 02, 2017 at 09:18:34AM +0100, Ard Biesheuvel wrote: > On 2 September 2017 at 07:45, Greg KH wrote: > > On Sat, Aug 19, 2017 at 04:17:40PM +0100, Ard Biesheuvel wrote: > >> Early entropy is hard to come by, especially on non-x86 systems that > >> lack an

Re: [RFC PATCH 1/2] efi: import USB I/O related declarations from the UEFI spec

2017-09-02 Thread Greg KH
On Sat, Sep 02, 2017 at 09:15:37AM +0100, Ard Biesheuvel wrote: > On 2 September 2017 at 07:41, Greg KH wrote: > > On Sat, Aug 19, 2017 at 04:17:39PM +0100, Ard Biesheuvel wrote: > >> In preparation of adding support for the Chaoskey USB stick to the > >> UEFI stub,

Re: [RFC PATCH 2/2] efi: libstub: add support for the Chaoskey RNG USB stick to the stub

2017-09-02 Thread Ard Biesheuvel
On 2 September 2017 at 07:45, Greg KH wrote: > On Sat, Aug 19, 2017 at 04:17:40PM +0100, Ard Biesheuvel wrote: >> Early entropy is hard to come by, especially on non-x86 systems that >> lack an architected instruction and are not as uniform as PCs. >> Fortunately, on

Re: [RFC PATCH 1/2] efi: import USB I/O related declarations from the UEFI spec

2017-09-02 Thread Ard Biesheuvel
On 2 September 2017 at 07:41, Greg KH wrote: > On Sat, Aug 19, 2017 at 04:17:39PM +0100, Ard Biesheuvel wrote: >> In preparation of adding support for the Chaoskey USB stick to the >> UEFI stub, import the USB I/O protocol declarations and related types >> to

Re: [RFC PATCH 2/2] efi: libstub: add support for the Chaoskey RNG USB stick to the stub

2017-09-02 Thread Greg KH
On Sat, Aug 19, 2017 at 04:17:40PM +0100, Ard Biesheuvel wrote: > Early entropy is hard to come by, especially on non-x86 systems that > lack an architected instruction and are not as uniform as PCs. > Fortunately, on UEFI systems, we can invoke the EFI_RNG_PROTOCOL, > which exposes the platform

Re: [RFC PATCH 1/2] efi: import USB I/O related declarations from the UEFI spec

2017-09-02 Thread Greg KH
On Sat, Aug 19, 2017 at 04:17:39PM +0100, Ard Biesheuvel wrote: > In preparation of adding support for the Chaoskey USB stick to the > UEFI stub, import the USB I/O protocol declarations and related types > to linux/efi.h. > > Signed-off-by: Ard Biesheuvel > --- >