Re: [U-Boot] [RFC 1/1] efi_loader: refactor switch to hypervisor mode

2018-12-26 Thread Alexander Graf
On 26.12.18 10:54, Heinrich Schuchardt wrote: > On 12/26/18 8:52 AM, Alexander Graf wrote: >> >> >> On 25.12.18 09:26, Heinrich Schuchardt wrote: >>> Refactor the switch from supervisor to hypervisor to a new function called >>> at >>> the beginning of do_bootefi(). >> >> Why? > > Currently we

Re: [U-Boot] [RFC 1/1] efi_loader: refactor switch to hypervisor mode

2018-12-26 Thread Alexander Graf
On 26.12.18 13:05, Mark Kettenis wrote: >> From: Heinrich Schuchardt >> Date: Wed, 26 Dec 2018 10:57:38 +0100 >> >> On 12/26/18 8:42 AM, Alexander Graf wrote: >>> >>> On 26.12.18 03:02, Heinrich Schuchardt wrote: Thanks Mark for pointing this out. We have some major differenc

Re: [U-Boot] [RFC 1/1] efi_loader: refactor switch to hypervisor mode

2018-12-26 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Wed, 26 Dec 2018 10:57:38 +0100 > > On 12/26/18 8:42 AM, Alexander Graf wrote: > > > > On 26.12.18 03:02, Heinrich Schuchardt wrote: > >> > >> Thanks Mark for pointing this out. > >> > >> We have some major differences between bootm and bootefi: > >> > >> - Bo

Re: [U-Boot] [RFC 1/1] efi_loader: refactor switch to hypervisor mode

2018-12-26 Thread Heinrich Schuchardt
On 12/26/18 8:42 AM, Alexander Graf wrote: > > > On 26.12.18 03:02, Heinrich Schuchardt wrote: >> On 12/25/18 1:39 PM, Mark Kettenis wrote: From: Heinrich Schuchardt Date: Tue, 25 Dec 2018 09:26:57 +0100 Refactor the switch from supervisor to hypervisor to a new function call

Re: [U-Boot] [RFC 1/1] efi_loader: refactor switch to hypervisor mode

2018-12-26 Thread Heinrich Schuchardt
On 12/26/18 8:52 AM, Alexander Graf wrote: > > > On 25.12.18 09:26, Heinrich Schuchardt wrote: >> Refactor the switch from supervisor to hypervisor to a new function called at >> the beginning of do_bootefi(). > > Why? Currently we have duplicate code for loading and starting EFI binaries in cm

Re: [U-Boot] [RFC 1/1] efi_loader: refactor switch to hypervisor mode

2018-12-26 Thread Alexander Graf
On 25.12.18 09:26, Heinrich Schuchardt wrote: > Refactor the switch from supervisor to hypervisor to a new function called at > the beginning of do_bootefi(). Why? > > Signed-off-by: Heinrich Schuchardt > --- > With this patch I am just moving around the switch from supervisor to > hypervisor

Re: [U-Boot] [RFC 1/1] efi_loader: refactor switch to hypervisor mode

2018-12-25 Thread Alexander Graf
On 26.12.18 03:02, Heinrich Schuchardt wrote: > On 12/25/18 1:39 PM, Mark Kettenis wrote: >>> From: Heinrich Schuchardt >>> Date: Tue, 25 Dec 2018 09:26:57 +0100 >>> >>> Refactor the switch from supervisor to hypervisor to a new function called >>> at >>> the beginning of do_bootefi(). >>> >>>

Re: [U-Boot] [RFC 1/1] efi_loader: refactor switch to hypervisor mode

2018-12-25 Thread Heinrich Schuchardt
On 12/25/18 1:39 PM, Mark Kettenis wrote: >> From: Heinrich Schuchardt >> Date: Tue, 25 Dec 2018 09:26:57 +0100 >> >> Refactor the switch from supervisor to hypervisor to a new function called at >> the beginning of do_bootefi(). >> >> Signed-off-by: Heinrich Schuchardt >> --- >> With this patch

Re: [U-Boot] [RFC 1/1] efi_loader: refactor switch to hypervisor mode

2018-12-25 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Tue, 25 Dec 2018 09:26:57 +0100 > > Refactor the switch from supervisor to hypervisor to a new function called at > the beginning of do_bootefi(). > > Signed-off-by: Heinrich Schuchardt > --- > With this patch I am just moving around the switch from superviso

[U-Boot] [RFC 1/1] efi_loader: refactor switch to hypervisor mode

2018-12-25 Thread Heinrich Schuchardt
Refactor the switch from supervisor to hypervisor to a new function called at the beginning of do_bootefi(). Signed-off-by: Heinrich Schuchardt --- With this patch I am just moving around the switch from supervisor to hypervisor mode within the EFI subsystem. Similar switching also occurs in all