[PATCH v7 3/3] dm: uclass: don't assign aliased seq numbers

2020-06-01 Thread Michael Walle
If there are aliases for an uclass, set the base for the "dynamically" allocated numbers next to the highest alias. Please note, that this might lead to holes in the sequences, depending on the device tree. For example if there is only an alias "ethernet1", the next device seq number would be 2.

[PATCH v7 0/2] dm: uclass: don't assign aliased seq numbers

2020-06-01 Thread Michael Walle
If there are aliases for an uclass, set the base for the "dynamically" allocated numbers next to the highest alias. The actual patch is 3, the first two patches will fix some breakage which would be introduced with patch 3. changes since v6: - added new patch to fix dev_read_alias_highest_id()

[PATCH v7 2/3] dm: core: fix dev_read_alias_highest_id() without libfdt

2020-06-01 Thread Michael Walle
If CONFIG_DM_DEV_READ_INLINE is set, dev_read_alias_highest_id() calls libfdt_get_highest_id(). But this function is only available if we have libfdt compiled in. If its not available return -1, which matches the return code for no alias found. This fixes the following error on omapl138_lcdk:

Re: [PATCH 05/13] efi_loader: signature: make efi_hash_regions more generic

2020-06-01 Thread AKASHI Takahiro
Heinrich, On Sat, May 30, 2020 at 08:58:02AM +0200, Heinrich Schuchardt wrote: > On 5/29/20 8:41 AM, AKASHI Takahiro wrote: > > There are a couple of occurrences of hash calculations in which a new > > efi_hash_regions will be commonly used. > > > > Signed-off-by: AKASHI Takahiro > > --- > >

Re: [PATCH 2/2] riscv: Enable CONFIG_OF_BOARD_FIXUP by default

2020-06-01 Thread Bin Meng
Hi Rick, On Tue, Jun 2, 2020 at 1:23 PM Rick Chen wrote: > > Hi Bin > > > Hi Rick, > > > > On Mon, Jun 1, 2020 at 3:40 PM Rick Chen wrote: > > > > > > Hi Bin > > > > > > > Hi Rick, > > > > > > > > On Thu, May 28, 2020 at 4:24 PM Bin Meng wrote: > > > > > > > > > > Hi Rick, > > > > > > > > > >

Re: [PATCH 08/13] test/py: efi_secboot: remove all "re.search"

2020-06-01 Thread AKASHI Takahiro
On Sat, May 30, 2020 at 09:04:11AM +0200, Heinrich Schuchardt wrote: > On 5/29/20 8:41 AM, AKASHI Takahiro wrote: > > Currently, we don't use any regular expression in matching outputs from > > U-Boot. Since its use is just redundant, we can remove all. > > > > Signed-off-by: AKASHI Takahiro > >

Re: [PATCH 06/13] efi_loader: image_loader: verification for all signatures should pass

2020-06-01 Thread AKASHI Takahiro
Heinrich, On Sat, May 30, 2020 at 09:01:53AM +0200, Heinrich Schuchardt wrote: > On 5/29/20 8:41 AM, AKASHI Takahiro wrote: > > A signed image may have multiple signatures in > > - each WIN_CERTIFICATE in authenticode, and/or > > - each SignerInfo in pkcs7 SignedData (of WIN_CERTIFICATE) > >

Re: [PATCH 2/2] riscv: Enable CONFIG_OF_BOARD_FIXUP by default

2020-06-01 Thread Rick Chen
Hi Bin > Hi Rick, > > On Mon, Jun 1, 2020 at 3:40 PM Rick Chen wrote: > > > > Hi Bin > > > > > Hi Rick, > > > > > > On Thu, May 28, 2020 at 4:24 PM Bin Meng wrote: > > > > > > > > Hi Rick, > > > > > > > > On Thu, May 28, 2020 at 4:17 PM Rick Chen wrote: > > > > > > > > > > Hi Bin > > > > > > >

Re: [PATCH 07/13] efi_loader: image_loader: add digest-based verification for signed image

2020-06-01 Thread AKASHI Takahiro
Heinrich, On Sat, May 30, 2020 at 09:09:30AM +0200, Heinrich Schuchardt wrote: > On 5/29/20 8:41 AM, AKASHI Takahiro wrote: > > In case that a type of certificate in "db" or "dbx" is > > EFI_CERT_X509_SHA256_GUID, it is actually not a certificate which contains > > a public key for RSA

<    1   2