Re: [PATCH 3/3] net: add generic MAC address derivation from machine ID

2023-10-12 Thread Alexander Shiyan
Hello. Any news on this patch? пт, 6 окт. 2023 г. в 14:59, Sascha Hauer : > > On Tue, Sep 12, 2023 at 02:34:28PM +0200, Ahmad Fatoum wrote: > > Hi Sascha, > > > > On 12.09.23 12:49, Sascha Hauer wrote: > > > On Mon, Sep 11, 2023 at 05:59:27PM +0200, Ahmad Fatoum wrote: > > >> From: Ahmad Fatoum

Re: [PATCH 1/2] x86: lib: setjmp: fix stack alignment

2023-10-12 Thread Sascha Hauer
On Mon, Oct 09, 2023 at 01:50:50PM +0200, Ahmad Fatoum wrote: > x86 stack is expected to be 16-byte aligned to allow for instructions > like movaps that involve xmm operands to directly use the stack. > > However the 16-byte alignment is what's expected at startup time. > All later functions will

Re: [PATCH 1/2] ARM64: configs: enable SPI drivers

2023-10-12 Thread Sascha Hauer
On Wed, Oct 11, 2023 at 07:35:50AM +0200, Marco Felsch wrote: > Enable NXP (Q)SPI drivers since NOR flashes are often used as: > - bootsource and/or > - storage medium e.g. for barebox-state > > Signed-off-by: Marco Felsch > --- > arch/arm/configs/multi_v8_defconfig | 3 ++- > 1 file changed,

Re: [PATCH] ARM: arria10: xload: retry FPGA configuration

2023-10-12 Thread Sascha Hauer
On Wed, Oct 11, 2023 at 10:37:50AM +0200, Steffen Trumtrar wrote: > From: Bruno Knittel > > The Intel documentation states that the FPGA configuration might fail. > This has been observed on the Enclustra AA1+ board where up to 4 retries > where required to configure the FPGA. > > Debugging

Re: [PATCH 2/3] bootstrap: Fix partition creation

2023-10-12 Thread Sascha Hauer
On Thu, Oct 12, 2023 at 01:47:40PM +0200, Steffen Trumtrar wrote: > > On 2023-10-12 at 13:10 +02, Sascha Hauer wrote: > > > bootstrap_read_devfs() registers a partition with DEVFS_PARTITION_FIXED. > > The purpose of this flag is that the partition can't be removed later. > > Removing the

Re: [PATCH 2/3] bootstrap: Fix partition creation

2023-10-12 Thread Steffen Trumtrar
On 2023-10-12 at 13:10 +02, Sascha Hauer wrote: bootstrap_read_devfs() registers a partition with DEVFS_PARTITION_FIXED. The purpose of this flag is that the partition can't be removed later. Removing the partition is exactly what bootstrap_read_devfs() does when finished, so remove the

[PATCH 1/3] mtd: initialize partitions_entry

2023-10-12 Thread Sascha Hauer
>partitions_entry is added to the parents partition list only when DEVFS_PARTITION_FIXED is not set, but later this check is not done when removing it from the list again. This results in NULL pointer derefs when a mtd partition is added with DEVFS_PARTITION_FIXED set and removed later. Do a

[PATCH 2/3] bootstrap: Fix partition creation

2023-10-12 Thread Sascha Hauer
bootstrap_read_devfs() registers a partition with DEVFS_PARTITION_FIXED. The purpose of this flag is that the partition can't be removed later. Removing the partition is exactly what bootstrap_read_devfs() does when finished, so remove the DEVFS_PARTITION_FIXED flag which doesn't make sense here.

[PATCH 3/3] devfs: check for valid flags before removing a partition

2023-10-12 Thread Sascha Hauer
When a partition is a mtd device then it is removed before checking if the cdev actually a partition. move the call to mtd_del_partition() further down to a point where we know the operation is valid. Signed-off-by: Sascha Hauer --- fs/devfs-core.c | 10 +- 1 file changed, 5