Re: [PATCH v1] of: add sanity check for machine compatible string

2024-05-30 Thread Sascha Hauer
] Applied, thanks! [1/1] of: add sanity check for machine compatible string https://git.pengutronix.de/cgit/barebox/commit/?id=6edcb98c0dd5 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH v1 1/2] net: sja1105: split adjust_link into reusable functions

2024-05-30 Thread Sascha Hauer
[2/2] net: sja1105: add function to configure CPU port https://git.pengutronix.de/cgit/barebox/commit/?id=9cce2d64ba7d (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH v1] spi: stm32: avoid enabling SPI in setup to allow register configuration

2024-05-30 Thread Sascha Hauer
https://git.pengutronix.de/cgit/barebox/commit/?id=e548c6f567f2 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH v1] ARM: dts: stm32mp151-prtt1c: sync with the kernel dts

2024-05-30 Thread Sascha Hauer
51-prtt1c: sync with the kernel dts https://git.pengutronix.de/cgit/barebox/commit/?id=b31d9add37eb (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH v1] phy: avoid adjust_link call if link remains down

2024-05-29 Thread Sascha Hauer
On Wed, May 29, 2024 at 07:03:40AM +0200, Oleksij Rempel wrote: > Add a check in phy_update_status to skip calling adjust_link when the > link status remains down. This prevents unnecessary adjust_link calls > for PHYs that may change speed and duplex status bits before confirming > link

Re: [PATCH v1] phy: avoid adjust_link call if link remains down

2024-05-29 Thread Sascha Hauer
/cgit/barebox/commit/?id=1851e95fcb68 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH v1 1/2] gpiolib: extend support for non-zero offset GPIO banks

2024-05-29 Thread Sascha Hauer
id=1f5bdfbdae27 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 0/9] mci: core: add CID as parameters and fix parsing

2024-05-29 Thread Sascha Hauer
nix.de/cgit/barebox/commit/?id=4d340dea7dbd (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master] mtd: nand: reinstate raw NAND IS_ENABLED(CONFIG_MTD_WRITE) checks

2024-05-29 Thread Sascha Hauer
re still above the original size, but this here is the lowest hanging > fruit. > > [...] Applied, thanks! [1/1] mtd: nand: reinstate raw NAND IS_ENABLED(CONFIG_MTD_WRITE) checks https://git.pengutronix.de/cgit/barebox/commit/?id=55cf43c442c2 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master] bus: omap-gpmc: allow build with raw NAND support disabled

2024-05-29 Thread Sascha Hauer
drivers enabled anyway. > > > [...] Applied, thanks! [1/1] bus: omap-gpmc: allow build with raw NAND support disabled https://git.pengutronix.de/cgit/barebox/commit/?id=2375d985921d (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] mtd: nand: raw: add back support for marking blocks as good

2024-05-29 Thread Sascha Hauer
On Tue, 07 May 2024 09:38:09 +0200, Sascha Hauer wrote: > Support for marking blocks as good was lost during the last NAND layer > update. Add that back. > > Applied, thanks! [1/1] mtd: nand: raw: add back support for marking blocks as good https://git.pengutronix.de/

Re: [PATCH] commands: mipi_dbi: fix null pointer dereference when writing data

2024-05-29 Thread Sascha Hauer
/commit/?id=da602c975fcc (link may not be stable) Best regards, -- Sascha Hauer

[PATCH 1/3] clk: imx27: sync with kernel

2024-05-28 Thread Sascha Hauer
This updates the i.MX27 clk driver to the one from Linux. This essentially replaces our physbase based clk matching with device tree based clk matching. The driver is nearly unchanged, only some clocks that are unused in barebox are dropped. Signed-off-by: Sascha Hauer --- arch/arm/mach-imx

[PATCH 3/3] ARM: Phytec-phyCARD-imx27: register USB from device tree

2024-05-28 Thread Sascha Hauer
The i.MX27 USB ports have device tree support, so switch the board over to use it. We still need to do some board specific setup to reset the ULPI phys properly, so there's still some board code needed. Signed-off-by: Sascha Hauer --- arch/arm/boards/phytec-phycard-imx27/pca100.c | 92

[PATCH 2/3] ARM: Phytec-phyCARD-imx27: switch to deep probe

2024-05-28 Thread Sascha Hauer
Switch board to deep probe. Signed-off-by: Sascha Hauer --- arch/arm/boards/phytec-phycard-imx27/pca100.c | 29 +++ 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/arch/arm/boards/phytec-phycard-imx27/pca100.c b/arch/arm/boards/phytec-phycard-imx27/pca100.c index

[PATCH] usb: ulpi: add more ulpi ids

2024-05-28 Thread Sascha Hauer
Update the list of UPLI chips from the kernel. Signed-off-by: Sascha Hauer --- drivers/usb/otg/ulpi.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/usb/otg/ulpi.c b/drivers/usb/otg/ulpi.c index d231b49b08..b2b5913ec2 100644 --- a/drivers/usb/otg/ulpi.c +++ b

Re: [PATCH v3 7/9] net: smc911x: do not read past the receive buffer

2024-05-28 Thread Sascha Hauer
Hi Jules, On Tue, May 28, 2024 at 03:29:47PM +0200, Jules Maselbas wrote: > Hi, > > On Tue May 28, 2024 at 10:58 AM CEST, Sascha Hauer wrote: > > The hardware may report a packet longer than our receive buffer. Instead > > of reading past the read buffer, discard too long pa

[PATCH] fixup! net: smc911x: do not read past the receive buffer

2024-05-28 Thread Sascha Hauer
--- drivers/net/smc911x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index cb2e57da5e..8ae71ea81f 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -467,6 +467,8 @@ static void smc911x_eth_rx(struct eth_device *edev)

Re: [PATCH 1/2] string: inline isempty

2024-05-28 Thread Sascha Hauer
bc (link may not be stable) [2/2] string: add nonempty helper https://git.pengutronix.de/cgit/barebox/commit/?id=7253e9872c95 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 1/2] watchdog: dw_wdt: do not register restart handler

2024-05-28 Thread Sascha Hauer
On Mon, 27 May 2024 11:50:56 +0200, Sascha Hauer wrote: > The designware watchdog driver doesn't have a special reset function, > instead it only uses the regular watchdog to reset the SoC. Since > 0ed7bb09f2ef7b ("watchdog: add option to provide fall-back restart handler")

[PATCH v3 2/9] net: cs8900: do not read past the receive buffer

2024-05-28 Thread Sascha Hauer
the hardware may report a packet longer than our receive buffer. Instead of reading past the read buffer, discard too long packets. Signed-off-by: Sascha Hauer --- drivers/net/cs8900.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/net/cs8900.c b

[PATCH v3 4/9] net: liteeth: do not read past the receive buffer

2024-05-28 Thread Sascha Hauer
The driver already discards packets bigger than 2048 bytes, but that is already larger than the buffer we read the data into. Limit packet size to PKTSIZE instead which matches our receive buffer size. Signed-off-by: Sascha Hauer --- drivers/net/liteeth.c | 2 +- 1 file changed, 1 insertion

[PATCH v3 6/9] net: smc911x: Fix amount of words read from RX FIFO

2024-05-28 Thread Sascha Hauer
) / 4. I have no idea why the code has an additional + 2 when calculating the number of dwords. The corresponding U-Boot driver also does not have this additional + 2, so drop it from the barebox driver as well. Signed-off-by: Sascha Hauer --- drivers/net/smc911x.c | 2 +- 1 file changed, 1

[PATCH v3 9/9] net: let net rx hook return void

2024-05-28 Thread Sascha Hauer
The return value of the net rx hook is quite inconsistent over the different drivers. Some return the length of the received packet, some return the number of packets and others just return 0. Nobody checks the return value anyway, so just change the hook to return void. Signed-off-by: Sascha

[PATCH v3 5/9] net: liteeth: do not set len to 0 before printing it

2024-05-28 Thread Sascha Hauer
'len' is set to 0 before it is printed, so printing it doesn't give any information. Drop this and print the erroneous len instead. Also, do not initialize 'len' initially as this initialization value is never used. Signed-off-by: Sascha Hauer --- drivers/net/liteeth.c | 3 +-- 1 file changed

[PATCH v3 8/9] net: ks8851_mll: drop return value from ks8851_rx_frame()

2024-05-28 Thread Sascha Hauer
The return value of ks8851_rx_frame() is unused, so let it return void. Signed-off-by: Sascha Hauer --- drivers/net/ks8851_mll.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ks8851_mll.c b/drivers/net/ks8851_mll.c index 936191597a..4e2a05158e 100644

[PATCH v3 7/9] net: smc911x: do not read past the receive buffer

2024-05-28 Thread Sascha Hauer
The hardware may report a packet longer than our receive buffer. Instead of reading past the read buffer, discard too long packets. Signed-off-by: Sascha Hauer --- drivers/net/smc911x.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/smc911x.c b

[PATCH v3 3/9] net: ks8851_mll: do not read past the receive buffer

2024-05-28 Thread Sascha Hauer
the hardware may report a packet longer than our receive buffer. Instead of reading past the receive buffer, discard too long packets. Signed-off-by: Sascha Hauer --- drivers/net/ks8851_mll.c | 36 ++-- 1 file changed, 30 insertions(+), 6 deletions(-) diff --git

[PATCH v3 1/9] net: cs8900: simplify buffer read loop

2024-05-28 Thread Sascha Hauer
Instead of doing an extra read after the buffer read loop when the packet length is odd, add another iteration to the loop if necessary. Signed-off-by: Sascha Hauer --- drivers/net/cs8900.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/net/cs8900.c b/drivers

[PATCH v3 0/9] net: do not read past receive buffer

2024-05-28 Thread Sascha Hauer
packet check in smc911x Changes since v1: - Do not call net_receive() when we decided to discard a packet - Add patch to let network device receive hook return void Sascha Hauer (9): net: cs8900: simplify buffer read loop net: cs8900: do not read past the receive buffer net: ks8851_mll: do

Re: [PATCH] mtd: nand: mxc_nand: sync with kernel driver

2024-05-27 Thread Sascha Hauer
On Mon, 27 May 2024 14:57:25 +0200, Sascha Hauer wrote: > The software BCH ECC support merged into barebox was a preliminary > version. Sync this with the code that was merged to the kernel. > This hasn't hit Linus' tree yet, but is merged into next: > https://lore.ke

Re: [PATCH] mtd: nand: mxc_nand: sync with kernel driver

2024-05-27 Thread Sascha Hauer
On Mon, May 27, 2024 at 02:57:25PM +0200, Sascha Hauer wrote: > The software BCH ECC support merged into barebox was a preliminary > version. Sync this with the code that was merged to the kernel. > This hasn't hit Linus' tree yet, but is merged into next: > https://lore.ke

[PATCH] mtd: nand: mxc_nand: sync with kernel driver

2024-05-27 Thread Sascha Hauer
not be used. Signed-off-by: Sascha Hauer --- drivers/mtd/nand/raw/mxc_nand.c | 196 ++-- 1 file changed, 159 insertions(+), 37 deletions(-) diff --git a/drivers/mtd/nand/raw/mxc_nand.c b/drivers/mtd/nand/raw/mxc_nand.c index f8517df823..a5500f7dda 100644 --- a/drivers

[PATCH v2 5/7] net: smc911x: do not read past the receive buffer

2024-05-27 Thread Sascha Hauer
The hardware may report a packet longer than our receive buffer. Instead of reading past the read buffer, discard too long packets. Signed-off-by: Sascha Hauer --- drivers/net/smc911x.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/net/smc911x.c b

[PATCH v2 7/7] net: let net rx hook return void

2024-05-27 Thread Sascha Hauer
The return value of the net rx hook is quite inconsistent over the different drivers. Some return the length of the received packet, some return the number of packets and others just return 0. Nobody checks the return value anyway, so just change the hook to return void. Signed-off-by: Sascha

[PATCH v2 3/7] net: ks8851_mll: do not read past the receive buffer

2024-05-27 Thread Sascha Hauer
the hardware may report a packet longer than our receive buffer. Instead of reading past the receive buffer, discard too long packets. Signed-off-by: Sascha Hauer --- drivers/net/ks8851_mll.c | 36 ++-- 1 file changed, 30 insertions(+), 6 deletions(-) diff --git

[PATCH v2 2/7] net: cs8900: do not read past the receive buffer

2024-05-27 Thread Sascha Hauer
the hardware may report a packet longer than our receive buffer. Instead of reading past the read buffer, discard too long packets. Signed-off-by: Sascha Hauer --- drivers/net/cs8900.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/net/cs8900.c b

[PATCH v2 1/7] net: cs8900: simplify buffer read loop

2024-05-27 Thread Sascha Hauer
Instead of doing an extra read after the buffer read loop when the packet length is odd, add another iteration to the loop if necessary. Signed-off-by: Sascha Hauer --- drivers/net/cs8900.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/net/cs8900.c b/drivers

[PATCH v2 6/7] net: ks8851_mll: drop return value from ks8851_rx_frame()

2024-05-27 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- drivers/net/ks8851_mll.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ks8851_mll.c b/drivers/net/ks8851_mll.c index 936191597a..4e2a05158e 100644 --- a/drivers/net/ks8851_mll.c +++ b/drivers/net/ks8851_mll.c @@ -672,7

[PATCH v2 4/7] net: liteeth: do not read past the receive buffer

2024-05-27 Thread Sascha Hauer
The driver already discards packets bigger than 2048 bytes, but that is already larger than the buffer we read the data into. Limit packet size to PKTSIZE instead which matches our receive buffer size. Signed-off-by: Sascha Hauer --- drivers/net/liteeth.c | 2 +- 1 file changed, 1 insertion

[PATCH v2 0/7] net: do not read past receive buffer

2024-05-27 Thread Sascha Hauer
return void Sascha Hauer (7): net: cs8900: simplify buffer read loop net: cs8900: do not read past the receive buffer net: ks8851_mll: do not read past the receive buffer net: liteeth: do not read past the receive buffer net: smc911x: do not read past the receive buffer net: ks8851_mll

[PATCH 2/2] watchdog: fix watchdog restart handler when autoping is enabled

2024-05-27 Thread Sascha Hauer
poller will continue to feed the watchdog, so we never actually reset the CPU. Use mdelay_non_interruptible() instead so that no poller can run in the background. Signed-off-by: Sascha Hauer --- drivers/watchdog/wd_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 1/2] watchdog: dw_wdt: do not register restart handler

2024-05-27 Thread Sascha Hauer
he restart functionality from the driver. Signed-off-by: Sascha Hauer --- drivers/watchdog/dw_wdt.c | 22 -- 1 file changed, 22 deletions(-) diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c index 178e0a29f1..398bbfe05f 100644 --- a/drivers/watchdog/dw_wdt.c +++

Re: [PATCH 2/5] net: cs8900: do not read past the receive buffer

2024-05-27 Thread Sascha Hauer
Hi Jules, On Mon, May 27, 2024 at 10:58:55AM +0200, Jules Maselbas wrote: > Hi Sascha, > > Just a quick remark: > > On Mon May 27, 2024 at 9:29 AM CEST, Sascha Hauer wrote: > > the hardware may report a packet longer than our receive buffer. Instead > > of reading pa

Re: Heap overflow vulnerabilities in network implementation of barebox

2024-05-27 Thread Sascha Hauer
Hi, On Thu, May 23, 2024 at 06:51:01PM +0200, jianqiang wang wrote: > Dear Barebox devlopers, > > I found several heap overflow vulnerabilities in Barebox. > > The Barebox implementation assumes that the network packet received is > less than PKTSIZE, that is 1536 bytes. For example, the

[PATCH 1/5] net: cs8900: simplify buffer read loop

2024-05-27 Thread Sascha Hauer
Instead of doing an extra read after the buffer read loop when the packet length is odd, add another iteration to the loop if necessary. Signed-off-by: Sascha Hauer --- drivers/net/cs8900.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/net/cs8900.c b/drivers

[PATCH 3/5] net: ks8851_mll: do not read past the receive buffer

2024-05-27 Thread Sascha Hauer
the hardware may report a packet longer than our receive buffer. Instead of reading past the receive buffer, discard too long packets. Signed-off-by: Sascha Hauer --- drivers/net/ks8851_mll.c | 28 +--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git

[PATCH 4/5] net: liteeth: do not read past the receive buffer

2024-05-27 Thread Sascha Hauer
The driver already discards packets bigger than 2048 bytes, but that is already larger than the buffer we read the data into. Limit packet size to PKTSIZE instead which matches our receive buffer size. Signed-off-by: Sascha Hauer --- drivers/net/liteeth.c | 2 +- 1 file changed, 1 insertion

[PATCH 5/5] net: smc911x: do not read past the receive buffer

2024-05-27 Thread Sascha Hauer
The hardware may report a packet longer than our receive buffer. Instead of reading past the read buffer, discard too long packets. Signed-off-by: Sascha Hauer --- drivers/net/smc911x.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/smc911x.c b/drivers

[PATCH 2/5] net: cs8900: do not read past the receive buffer

2024-05-27 Thread Sascha Hauer
the hardware may report a packet longer than our receive buffer. Instead of reading past the read buffer, discard too long packets. Signed-off-by: Sascha Hauer --- drivers/net/cs8900.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/cs8900.c b/drivers

v2024.05.0

2024-05-27 Thread Sascha Hauer
: i.MX8MP: skov: add fallback for unsupported HW ARM: i.MX8MP: skov: add new bd500 variant support Roland Hieber (1): ARM: i.MX8MP: fix compatible string for koenigbauer,alphajet board Rouven Czerwinski (1): mci: mci-core: make devinfo hex values obvious Sascha Hauer (54): net

Re: [PATCH] mci: bcm2835: Set mci host for sdhci

2024-05-24 Thread Sascha Hauer
.de/cgit/barebox/commit/?id=5d74c69b3279 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master 1/3] mci: sdhci: use host device, not card, for debug message

2024-05-24 Thread Sascha Hauer
21b90 (link may not be stable) [3/3] mci: sdhci: populate struct sdhci::mci in drivers https://git.pengutronix.de/cgit/barebox/commit/?id=532da9c40cdc (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master] nvmem: bsec: make OP-TEE TA interaction optional

2024-05-24 Thread Sascha Hauer
Applied, thanks! [1/1] nvmem: bsec: make OP-TEE TA interaction optional https://git.pengutronix.de/cgit/barebox/commit/?id=ead274ad3bc2 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 0/3] net: phy: dp83867: sync dp83867_phy_reset

2024-05-24 Thread Sascha Hauer
may not be stable) [2/3] net: phy: document core PHY structures https://git.pengutronix.de/cgit/barebox/commit/?id=7fb2f20dc854 (link may not be stable) [3/3] net: phy: dp83867: sync dp83867_phy_rest https://git.pengutronix.de/cgit/barebox/commit/?id=adde7a0344ac (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 0/4] make more use of handoff data

2024-05-21 Thread Sascha Hauer
On Tue, 21 May 2024 12:49:09 +0200, Sascha Hauer wrote: > struct boarddata is a mechanism to pass a ARM machine number from PBL to > barebox proper. The EFI payload also uses it to pass some custom > pointers to barebox proper. handoff data was created for exactly this > purpos

Re: [PATCH v2 1/3] pinctrl: split off consumer API into linux/pinctrl/consumer.h

2024-05-21 Thread Sascha Hauer
git/barebox/commit/?id=ee4be3efa1e7 (link may not be stable) [3/3] pinctrl: implement pinctrl_lookup_state/select_state https://git.pengutronix.de/cgit/barebox/commit/?id=da674fab4c62 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] include: linux/types.h: define intptr_t

2024-05-21 Thread Sascha Hauer
r_t https://git.pengutronix.de/cgit/barebox/commit/?id=7176954ca289 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 1/2] usbgadget: fix error code in common code base

2024-05-21 Thread Sascha Hauer
https://git.pengutronix.de/cgit/barebox/commit/?id=41276fd07089 (link may not be stable) [2/2] usbgadget: split usbgadget_register into prepare and register https://git.pengutronix.de/cgit/barebox/commit/?id=ef3c7fac172c (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master 1/2] list: fix CONFIG_DEBUG_LIST link failure in PBL

2024-05-21 Thread Sascha Hauer
[2/2] pblimage: ls1028a: fix handling of short reads on https://git.pengutronix.de/cgit/barebox/commit/?id=27d7f5dcb305 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 1/3] pinctrl: split off consumer API into linux/pinctrl/consumer.h

2024-05-21 Thread Sascha Hauer
git/barebox/commit/?id=1a34f8cc686a (link may not be stable) [3/3] pinctrl: implement pinctrl_lookup_state/select_state https://git.pengutronix.de/cgit/barebox/commit/?id=e13c73ff4b17 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] driver: move some inline getters for struct device into device.h

2024-05-21 Thread Sascha Hauer
ependencies, so move them into this header as well. > > > [...] Applied, thanks! [1/1] driver: move some inline getters for struct device into device.h https://git.pengutronix.de/cgit/barebox/commit/?id=16a636613978 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] mci: imx-esdhc: retire esdhc_platform_data

2024-05-21 Thread Sascha Hauer
Applied, thanks! [1/1] mci: imx-esdhc: retire esdhc_platform_data https://git.pengutronix.de/cgit/barebox/commit/?id=4cce368d53c1 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] mci: collect host operation in struct mci_ops

2024-05-21 Thread Sascha Hauer
ple variants and makes code more similar to Linux. > > No functional change. > > [...] Applied, thanks! [1/1] mci: collect host operation in struct mci_ops https://git.pengutronix.de/cgit/barebox/commit/?id=dfef2a2d2792 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] common: hide DEFAULT_COMPRESSION menu

2024-05-21 Thread Sascha Hauer
.de/cgit/barebox/commit/?id=f661c703ff46 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master] ARM: layerscape: fix layerscape multiarch build with DEBUG_LL

2024-05-21 Thread Sascha Hauer
is, so DEBUG_LL may be used for either layerscape or other enabled > platforms. > > [...] Applied, thanks! [1/1] ARM: layerscape: fix layerscape multiarch build with DEBUG_LL https://git.pengutronix.de/cgit/barebox/commit/?id=a8fa6c2afcb1 (link may not be stable) Best regards, -- Sascha Hauer

[PATCH 3/4] ARM: beagle: setup C environment early

2024-05-21 Thread Sascha Hauer
Setup C environment in early board code. This will be needed in the next step. Factored out to a separate patch to ease bisecting. Signed-off-by: Sascha Hauer --- arch/arm/boards/beagle/lowlevel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boards/beagle/lowlevel.c b/arch

[PATCH 1/4] handoff-data: put handoff data into data section

2024-05-21 Thread Sascha Hauer
The intention was to put the handoff data into the data section and not into the bss section so that it won't be cleared by another call to setup_c(). This was not fully done, add a __section(.data) to the missing places. Signed-off-by: Sascha Hauer --- include/pbl/handoff-data.h | 18

[PATCH 2/4] efi-payload: use handoff data to pass data to barebox proper

2024-05-21 Thread Sascha Hauer
EFI payload uses custom fields in struct boarddata to pass data from PBL to barebox proper. handoff data was created for exactly this purpose. Now that we have it, switch EFI payload over to use it. Signed-off-by: Sascha Hauer --- efi/payload/boarddata.c| 12 +++- efi/payload/entry

[PATCH 0/4] make more use of handoff data

2024-05-21 Thread Sascha Hauer
tested only. Could you give it a try? Sascha Sascha Hauer (4): handoff-data: put handoff data into data section efi-payload: use handoff data to pass data to barebox proper ARM: beagle: setup C environment early ARM: replace boarddata with handoff data arch/arm/boards/beagle/lowlevel.c

[PATCH 4/4] ARM: replace boarddata with handoff data

2024-05-21 Thread Sascha Hauer
struct boarddata can be used to pass a ARM machine number from PBL to barebox proper. Now that we have handoff data for this purpose, retire struct boarddata and use handoff data instead. Signed-off-by: Sascha Hauer --- arch/arm/boards/beagle/lowlevel.c | 6 +-- arch/arm/boards

Re: [PATCH master 1/2] ARM: cpu: start: align uncompressed DTB size to 4 bytes

2024-05-21 Thread Sascha Hauer
size to 4 bytes https://git.pengutronix.de/cgit/barebox/commit/?id=ce38eef3c056 (link may not be stable) [2/2] RISC-V: start: align uncompressed DTB size to 4 bytes https://git.pengutronix.de/cgit/barebox/commit/?id=249164bc555f (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH v2 0/6] add PBL handoff-data support

2024-05-21 Thread Sascha Hauer
off data from PBL to proper https://git.pengutronix.de/cgit/barebox/commit/?id=b02063a8aa22 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master 1/2] ARM: document PBL barebox memory layout

2024-05-21 Thread Sascha Hauer
barebox memory layout https://git.pengutronix.de/cgit/barebox/commit/?id=c9af0d2b5e57 (link may not be stable) [2/2] ARM: fix overlap between ramoops area and early malloc area https://git.pengutronix.de/cgit/barebox/commit/?id=d1cc8a4045a0 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master] filetype: fix OOB read when detecting type of truncated kernel images

2024-05-21 Thread Sascha Hauer
ot be stable) Best regards, -- Sascha Hauer

Re: [PATCH 1/2] images: sha_sum: mark as not needing executable stack

2024-05-21 Thread Sascha Hauer
as not needing executable stack https://git.pengutronix.de/cgit/barebox/commit/?id=320b72bfc91b (link may not be stable) [2/2] x86: lib: setjmp: mark as not needing executable stack https://git.pengutronix.de/cgit/barebox/commit/?id=628e7d6e5d1c (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 5/7] regulator: of_regulator: remove unused allocation

2024-05-21 Thread Sascha Hauer
On Fri, May 17, 2024 at 09:48:22AM +0200, Ahmad Fatoum wrote: > We leak this allocation, but we don't actually need it, so drop it. > > Signed-off-by: Ahmad Fatoum > --- > drivers/regulator/of_regulator.c | 6 -- > 1 file changed, 6 deletions(-) > > diff --git

Re: [PATCH 1/7] of: free unflattened overlays after application

2024-05-21 Thread Sascha Hauer
wer: reset: reboot-mode: fix memory leak https://git.pengutronix.de/cgit/barebox/commit/?id=22f770fb9041 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 1/2] FIT: fix build with sandbox

2024-05-21 Thread Sascha Hauer
ld with sandbox https://git.pengutronix.de/cgit/barebox/commit/?id=9f82a33c178e (link may not be stable) [2/2] common: fit: don't have BOOTM_FITIMAGE depend on ARM https://git.pengutronix.de/cgit/barebox/commit/?id=09201c7dd960 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] pbl: compile PBL decompression code optionally

2024-05-21 Thread Sascha Hauer
code optionally https://git.pengutronix.de/cgit/barebox/commit/?id=05cc671bbebb (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] sandbox: enable frame pointers unconditionally

2024-05-21 Thread Sascha Hauer
df68faf5b855 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] treewide: use an unsigned type for ioctl commands

2024-05-21 Thread Sascha Hauer
ositive warnings about sign-extended constants that get truncated. > > Applied, thanks! [1/1] treewide: use an unsigned type for ioctl commands https://git.pengutronix.de/cgit/barebox/commit/?id=d9c9b317673d (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 0/8] kconfig: cut down on duplication with merged defconfigs

2024-05-21 Thread Sascha Hauer
https://git.pengutronix.de/cgit/barebox/commit/?id=15af24567132 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 0/7] replace cdev_by_name() with cdev_open_by_name()

2024-05-21 Thread Sascha Hauer
On Thu, 16 May 2024 09:08:15 +0200, Sascha Hauer wrote: > As Ahmad noticed cdev_by_name() doesn't increase the reference counting > on the returned cdev which causes problems further down the road. This > series replaces some of the easier occurences of cdev_by_name() with > cdev_

Re: [PATCH 0/7] replace cdev_by_name() with cdev_open_by_name()

2024-05-16 Thread Sascha Hauer
On Thu, May 16, 2024 at 04:43:04PM +0200, Marco Felsch wrote: > Hi Sascha, > > On 24-05-16, Sascha Hauer wrote: > > As Ahmad noticed cdev_by_name() doesn't increase the reference counting > > on the returned cdev which causes problems further down the road. This >

Re: [PATCH] ARM: socfpga-xload_*defconfig: merge and disable unused features

2024-05-16 Thread Sascha Hauer
On Thu, 16 May 2024 12:10:52 +0200, Sascha Hauer wrote: > The socfpga-xload_*defconfig have MC13xxx, AT25 and SPI support enabled. > Disable these as they are unused. This makes the configs small enough so > that we can merge the two existing configs into one. > > Applied, tha

[PATCH] ARM: socfpga-xload_*defconfig: merge and disable unused features

2024-05-16 Thread Sascha Hauer
The socfpga-xload_*defconfig have MC13xxx, AT25 and SPI support enabled. Disable these as they are unused. This makes the configs small enough so that we can merge the two existing configs into one. Signed-off-by: Sascha Hauer --- arch/arm/configs/socfpga-xload-2_defconfig | 28

Re: [PATCH] common: boards: wolfvision: use state_by_alias instead of opencoding

2024-05-16 Thread Sascha Hauer
ommit/?id=6b1df8b8219d (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master 1/2] list: fix CONFIG_DEBUG_LIST link failure in PBL

2024-05-16 Thread Sascha Hauer
On Wed, May 15, 2024 at 08:07:57AM +0200, Ahmad Fatoum wrote: > With the addition of PBL handoff data, we now use in PBL. > This works fine with CONFIG_DEBUG_LIST disabled, because all functions are > inlined, but when building with the option enabled, references to the > out-of-line sanity

Re: [PATCH master 1/3] cdev: return error code from cdev_close

2024-05-16 Thread Sascha Hauer
e) [3/3] partition: reparse tables only if CONFIG_PARTITION_MANIPULATION=y https://git.pengutronix.de/cgit/barebox/commit/?id=dfdfc732ba6f (link may not be stable) Best regards, -- Sascha Hauer

[PATCH 3/7] ARM: omap: use cdev_open_by_name()

2024-05-16 Thread Sascha Hauer
cdev_by_name() returns a cdev without increasing its reference count. In order to maintain a proper reference counting use cdev_open_by_name() instead and make sure it's closed afterwards when no longer needed. Signed-off-by: Sascha Hauer --- arch/arm/mach-omap/omap_generic.c | 5 - 1 file

[PATCH 0/7] replace cdev_by_name() with cdev_open_by_name()

2024-05-16 Thread Sascha Hauer
As Ahmad noticed cdev_by_name() doesn't increase the reference counting on the returned cdev which causes problems further down the road. This series replaces some of the easier occurences of cdev_by_name() with cdev_open_by_name(). Sascha Hauer (7): ARM: Freescale i.MX23 evk: use

[PATCH 2/7] ARM: tx28: use cdev_open_by_name()

2024-05-16 Thread Sascha Hauer
cdev_by_name() returns a cdev without increasing its reference count. In order to maintain a proper reference counting use cdev_open_by_name() instead and make sure it's closed afterwards when no longer needed. Signed-off-by: Sascha Hauer --- arch/arm/boards/karo-tx28/tx28-stk5.c | 13

[PATCH 6/7] commands: findmnt: use cdev_open_by_name()

2024-05-16 Thread Sascha Hauer
cdev_by_name() returns a cdev without increasing its reference count. In order to maintain a proper reference counting use cdev_open_by_name() instead and make sure it's closed afterwards when no longer needed. Signed-off-by: Sascha Hauer --- commands/findmnt.c | 3 ++- 1 file changed, 2

[PATCH 5/7] commands: devlookup: use cdev_open_by_name()

2024-05-16 Thread Sascha Hauer
cdev_by_name() returns a cdev without increasing its reference count. In order to maintain a proper reference counting use cdev_open_by_name() instead and make sure it's closed afterwards when no longer needed. Signed-off-by: Sascha Hauer --- commands/devlookup.c | 15 ++- 1 file

[PATCH 1/7] ARM: Freescale i.MX23 evk: use cdev_open_by_name()

2024-05-16 Thread Sascha Hauer
cdev_by_name() returns a cdev without increasing its reference count. In order to maintain a proper reference counting use cdev_open_by_name() instead and make sure it's closed afterwards when no longer needed. Signed-off-by: Sascha Hauer --- arch/arm/boards/freescale-mx23-evk/mx23-evk.c | 13

[PATCH 7/7] bootm: use cdev_open_by_name()

2024-05-16 Thread Sascha Hauer
cdev_by_name() returns a cdev without increasing its reference count. In order to maintain a proper reference counting use cdev_open_by_name() instead and make sure it's closed afterwards when no longer needed. Signed-off-by: Sascha Hauer --- common/bootm.c | 5 - 1 file changed, 4

[PATCH 4/7] ARM: Rockchip: use cdev_open_by_name()

2024-05-16 Thread Sascha Hauer
cdev_by_name() returns a cdev without increasing its reference count. In order to maintain a proper reference counting use cdev_open_by_name() instead and make sure it's closed afterwards when no longer needed. Signed-off-by: Sascha Hauer --- arch/arm/mach-rockchip/bbu.c | 8 +++- 1 file

Re: [PATCH master v2 0/3] Fixes for WolfVision board code library and PF5 mainboard code

2024-05-16 Thread Sascha Hauer
be stable) Best regards, -- Sascha Hauer

Re: [PATCH] ddr: imx: rename ddr_get_firmware_ddr to ddr_get_firmware_ddr4

2024-05-16 Thread Sascha Hauer
irmware_ddr4 https://git.pengutronix.de/cgit/barebox/commit/?id=81c131efcaa5 (link may not be stable) Best regards, -- Sascha Hauer

  1   2   3   4   5   6   7   8   9   10   >