Re: [PATCH v2 2/4] efi_loader: versioning support in GetImageInfo

2023-03-02 Thread Masahisa Kojima
Hi Akashi-san, On Fri, 3 Mar 2023 at 09:10, Takahiro Akashi wrote: > > On Thu, Mar 02, 2023 at 07:05:50PM +0900, Masahisa Kojima wrote: > > On Thu, 2 Mar 2023 at 14:16, Takahiro Akashi > > wrote: > > > > > > On Wed, Mar 01, 2023 at 06:15:20PM +0900, Masahisa Kojima wrote: > > > > Current

Re: [PATCH v2 2/4] efi_loader: versioning support in GetImageInfo

2023-03-02 Thread Takahiro Akashi
On Thu, Mar 02, 2023 at 07:05:50PM +0900, Masahisa Kojima wrote: > On Thu, 2 Mar 2023 at 14:16, Takahiro Akashi > wrote: > > > > On Wed, Mar 01, 2023 at 06:15:20PM +0900, Masahisa Kojima wrote: > > > Current FMP->GetImageInfo() always return 0 for the firmware > > > version, user can not

Re: [PATCH v2 2/4] efi_loader: versioning support in GetImageInfo

2023-03-02 Thread Masahisa Kojima
On Thu, 2 Mar 2023 at 14:16, Takahiro Akashi wrote: > > On Wed, Mar 01, 2023 at 06:15:20PM +0900, Masahisa Kojima wrote: > > Current FMP->GetImageInfo() always return 0 for the firmware > > version, user can not identify which firmware version is currently > > running through the EFI interface. >

Re: [PATCH v2 2/4] efi_loader: versioning support in GetImageInfo

2023-03-01 Thread Takahiro Akashi
On Wed, Mar 01, 2023 at 06:15:20PM +0900, Masahisa Kojima wrote: > Current FMP->GetImageInfo() always return 0 for the firmware > version, user can not identify which firmware version is currently > running through the EFI interface. > > This commit reads the "FmpState" EFI variable, then

[PATCH v2 2/4] efi_loader: versioning support in GetImageInfo

2023-03-01 Thread Masahisa Kojima
Current FMP->GetImageInfo() always return 0 for the firmware version, user can not identify which firmware version is currently running through the EFI interface. This commit reads the "FmpState" EFI variable, then fills the firmware version, lowest supported version, last attempt version and