[PATCH 1/1] riscv: simplify backtrace report

2024-05-13 Thread Heinrich Schuchardt
* We already have a header 'backtrace', there is no need to repeat the word backtrace on every line. * Add a blank line before the backtrace section of the crash report for improved readability. * If U-Boot is compiled without backtrace, there is no need to write a message at all. * Avoid

Re: [PATCH 12/13] MIPS: boston: Migrate to OF_UPSTREAM

2024-05-13 Thread Sumit Garg
Hi Jiaxun, On Mon, 13 May 2024 at 23:43, Jiaxun Yang wrote: > > We can now boot with upstream devicetree. > > Signed-off-by: Jiaxun Yang > --- > arch/mips/Kconfig| 1 + > arch/mips/dts/Makefile | 1 - > arch/mips/dts/boston-u-boot.dtsi | 10 ++ >

Re: [PATCH 11/13] dts/upstream: Add Makefile for MIPS

2024-05-13 Thread Sumit Garg
Hi Jiaxun, On Mon, 13 May 2024 at 23:43, Jiaxun Yang wrote: > > It is required to make OF_UPSTREAM work. > > Signed-off-by: Jiaxun Yang > --- > dts/upstream/src/mips/Makefile | 14 ++ > 1 file changed, 14 insertions(+) > Reviewed-by: Sumit Garg -Sumit > diff --git

Re: [PATCH v3] rockchip: rv1126: Migrate to OF_UPSTREAM

2024-05-13 Thread Anand Moon
Hi Quentin On Tue, 14 May 2024 at 00:01, Quentin Schulz wrote: > > Hi Anand, > > On 5/13/24 2:07 PM, Anand Moon wrote: > > [You don't often get email from an...@edgeble.ai. Learn why this is > > important at https://aka.ms/LearnAboutSenderIdentification ] > > > > Hi Quentin, > > > > On Mon, 13

[PATCH v4] rockchip: rv1126: Migrate to OF_UPSTREAM

2024-05-13 Thread Anand Moon
From: Anand Moon Migrate RV1126 boards that exists in Linux v6.8 to use OF_UPSTREAM. Following targets is migrated to use OF_UPSTREAM: - rv1126-edgeble-neu2 : Board is an industrial form factor IO board. - sonoff-ihost-rv1126 : Gateway device designed to provide a

[PATCH] sunxi: SPL SPI: add support for the V3s SoC

2024-05-13 Thread Michael Walle
The V3s is identical regarding register layout, clocks and resets to the sun6i variants. Therefore, we can just add the MACH_SUN8I_V3S to the sun6i compatible ones. SPI boot was tested on a custom board with a Gigadevice GD25Q64 8MiB SPI flash. Signed-off-by: Michael Walle ---

[PATCH 2/3 v4] mmc: allow use of hardware partition names for mmc partconf

2024-05-13 Thread Tim Harvey
eMMC v4+ devices have hardware partitions that are accessed via the PARTITION_CONFIG (Extended CSD Register 179) PARTITION_ACCESS and BOOT_PARTITION_ENABLE fields defined as: bit 5:3: BOOT_PARTITION_ENABLE   0x0: Device not boot enabled (default)   0x1: Boot Area partition 1 enabled for boot  

[PATCH 3/3 v4] venice: show emmc boot hardware partition

2024-05-13 Thread Tim Harvey
To aid in understanding what emmc hardware partition is being used to boot on power-up, display the hardware partition name in the SPL. Signed-off-by: Tim Harvey --- v4: - include previous stand-alone patch in series - use emmc hw partition enum and names --- board/gateworks/venice/spl.c | 16

[PATCH 0/3 v4] provide names for emmc hardware partitions

2024-05-13 Thread Tim Harvey
Modern eMMC v4+ devices have multiple hardware partitions per the JEDEC specification described as: Boot Area Partition 1 Boot Area Partition 2 RPMB Partition General Purpose Partition 1 General Purpose Partition 2 General Purpose Partition 3 General Purpose Partition 4 User Data Area

[PATCH 1/3 v4] mmc: use an enumerated type to represent PARTITION_CONFIG fields

2024-05-13 Thread Tim Harvey
Modern eMMC v4+ devices have multiple hardware partitions per the JEDEC specification described as: Boot Area Partition 1 Boot Area Partition 2 RPMB Partition General Purpose Partition 1 General Purpose Partition 2 General Purpose Partition 3 General Purpose Partition 4 User Data

Re: [PATCH v3] mmc: allow use of hardware partition names for mmc partconf

2024-05-13 Thread Marek Vasut
On 5/13/24 10:52 PM, Tim Harvey wrote: On Mon, Apr 29, 2024 at 1:51 PM Marek Vasut wrote: On 4/29/24 6:48 PM, Tim Harvey wrote: On Sat, Apr 27, 2024 at 4:20 PM Marek Vasut wrote: On 4/27/24 2:11 AM, Tim Harvey wrote: [...] diff --git a/include/mmc.h b/include/mmc.h index

[PATCH 2/2] net: sun8i_emac: add support for the V3s

2024-05-13 Thread Michael Walle
Add the compatible string for the emac found on the V3s SoC. The SoC only supports the internal PHY. There are no (R)MII signals on any pins. Signed-off-by: Michael Walle --- drivers/net/sun8i_emac.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/sun8i_emac.c

[PATCH 1/2] clk: sunxi: add EMAC and EPHY clocks and resets for the V3s SoC

2024-05-13 Thread Michael Walle
Add the clock gate registers as well as the reset register bits for the EMAC and EPHY for the V3s. These are needed by the sun8i network driver. Signed-off-by: Michael Walle --- drivers/clk/sunxi/clk_v3s.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/sunxi/clk_v3s.c

[PATCH 0/2] sunxi: v3s: add network support

2024-05-13 Thread Michael Walle
Add network support for the V3s which only supports the internal PHY. Adding support was straight forward. The emac driver just needs the compatible string and some platform data and the clock driver needs to know the bits for the clock gating as well as the reset bits. This was tested on a

Re: [PATCH v3] mmc: allow use of hardware partition names for mmc partconf

2024-05-13 Thread Tim Harvey
On Mon, Apr 29, 2024 at 1:51 PM Marek Vasut wrote: > > On 4/29/24 6:48 PM, Tim Harvey wrote: > > On Sat, Apr 27, 2024 at 4:20 PM Marek Vasut wrote: > >> > >> On 4/27/24 2:11 AM, Tim Harvey wrote: > >> > >> [...] > >> > >>> diff --git a/include/mmc.h b/include/mmc.h > >>> index

Re: [PATCH v3] rockchip: rv1126: Migrate to OF_UPSTREAM

2024-05-13 Thread Quentin Schulz
Hi Anand, On 5/13/24 2:07 PM, Anand Moon wrote: [You don't often get email from an...@edgeble.ai. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Hi Quentin, On Mon, 13 May 2024 at 16:10, Quentin Schulz wrote: Hi Anand, On 5/11/24 6:12 PM, Anand Moon wrote:

[PATCH v2] cmd: move ELF load and boot to lib/elf.c

2024-05-13 Thread Maxim Moskalets
From: Maxim Moskalets Loading and running the ELF image is the responsibility of the library and should not be associated with the command line interface. It is also required to run ELF images from FIT with the bootm command so as not to depend on the command line interface. Signed-off-by:

[PATCH 13/13] mailmap: Update email for Paul Burton

2024-05-13 Thread Jiaxun Yang
Paul had left MIPS a couple of years ago, his email address is no longer valid. Replace it with his kenrel.org email, which has been used in kernel and QEMU, in case we still want to reach him. Signed-off-by: Jiaxun Yang --- .mailmap| 3 ++-

[PATCH 12/13] MIPS: boston: Migrate to OF_UPSTREAM

2024-05-13 Thread Jiaxun Yang
We can now boot with upstream devicetree. Signed-off-by: Jiaxun Yang --- arch/mips/Kconfig| 1 + arch/mips/dts/Makefile | 1 - arch/mips/dts/boston-u-boot.dtsi | 10 ++ arch/mips/dts/img,boston.dts | 222 ---

[PATCH 11/13] dts/upstream: Add Makefile for MIPS

2024-05-13 Thread Jiaxun Yang
It is required to make OF_UPSTREAM work. Signed-off-by: Jiaxun Yang --- dts/upstream/src/mips/Makefile | 14 ++ 1 file changed, 14 insertions(+) diff --git a/dts/upstream/src/mips/Makefile b/dts/upstream/src/mips/Makefile new file mode 100644 index ..9a8f6aa35846 ---

[PATCH 10/13] clk: boston: Allow to get regmap from parent device

2024-05-13 Thread Jiaxun Yang
In upstream devicetree, clk_boston is a child of syscon node and there is no "regmap" property for clk_boston node. Try to check parent device first to look for syscon. Signed-off-by: Jiaxun Yang --- drivers/clk/clk_boston.c | 15 ++- 1 file changed, 10 insertions(+), 5

[PATCH 09/13] syscon: Probe device first in syscon_get_regmap

2024-05-13 Thread Jiaxun Yang
When bootph-all is enabled for a syscon driver, the device may leave unprobed when syscon_get_regmap is called by another driver. Perform device_probe in syscon_get_regmap, there is no side affect as device_probe will return 0 quickly for an activated device. Signed-off-by: Jiaxun Yang ---

[PATCH 08/13] MIPS: boston: Provide default env vars

2024-05-13 Thread Jiaxun Yang
Provide default environment variables on image loading address to make the board useful. Signed-off-by: Jiaxun Yang --- board/imgtec/boston/Kconfig| 4 board/imgtec/boston/boston.env | 9 + 2 files changed, 13 insertions(+) diff --git a/board/imgtec/boston/Kconfig

[PATCH 07/13] MIPS: boston: Imply various options

2024-05-13 Thread Jiaxun Yang
This is a PC-like platform board. Enable drivers for most on-board devices to make it useful. Signed-off-by: Jiaxun Yang --- arch/mips/Kconfig | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index eb7f3ad23762..748b5175b2eb

[PATCH 06/13] MIPS: Provide dummy acpi_table.h

2024-05-13 Thread Jiaxun Yang
Some drivers needs this header. Provide this dummy header as riscv did. Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/acpi_table.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/mips/include/asm/acpi_table.h b/arch/mips/include/asm/acpi_table.h new file mode 100644

[PATCH 05/13] ahci: dwc_ahsata: Generalize the driver

2024-05-13 Thread Jiaxun Yang
Remove hard dependencies to arch headers, get clock from clk subsystem if arch clock function is not available, align compatible strings with devicetree binding. No functional change on existing platforms, just get it build on other platforms. Signed-off-by: Jiaxun Yang ---

[PATCH 04/13] ahci: DMA addressing fixes

2024-05-13 Thread Jiaxun Yang
Ensure that we are using correct physical/virtual address for DMA buffer write and hardware register settings. The convention is: in ahci_ioports all pointers are virtual, that will be converted to physical address when writing to hardware registers or into sg/cmd_tbl. Also fixed 64bit physical

[PATCH 03/13] pci: Enable PCI_MAP_SYSTEM_MEMORY when ARCH_MAP_SYSMEM is not set

2024-05-13 Thread Jiaxun Yang
For MIPS we are always looking gd->dram in virtual address so PCI_MAP_SYSTEM_MEMORY should always be enabled. If in future we ever want to make it physical we have to set ARCH_MAP_SYSMEM. Signed-off-by: Jiaxun Yang --- drivers/pci/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 02/13] pci: auto: Reduce bridge mem alignment boundary for boston

2024-05-13 Thread Jiaxun Yang
Boston has a very limited memory range for PCI controllers, where 1MB can't easily fit into it. Make alignment boundary of PCI memory resource allocation a Kconfig option and default to 0x1 for boston. Signed-off-by: Jiaxun Yang --- drivers/pci/Kconfig| 9 +

[PATCH 01/13] pci: xilinx: Handle size of ecam region properly

2024-05-13 Thread Jiaxun Yang
Probe size of ecam from devicetree properly and cap accessible bus number accorading to ecam region size to ensure we don't go beyond hardware address space. Also disable all interrupts to ensure errors are handled silently. Signed-off-by: Jiaxun Yang --- drivers/pci/pcie_xilinx.c | 53

[PATCH 00/13] MIPS: Boston: Various enhancements

2024-05-13 Thread Jiaxun Yang
/src/mips/Makefile | 14 +++ include/ahci.h | 4 +- 28 files changed, 234 insertions(+), 308 deletions(-) --- base-commit: c8ffd1356d42223cbb8c86280a083cc3c93e6426 change-id: 20240513-boston-45ef6edc219f Best regards, -- Jiaxun Yang

Re: [PATCH] arch: fix arch-rockchip/clock.h dependency

2024-05-13 Thread Tom Rini
On Mon, May 13, 2024 at 07:59:16PM +0300, Maxim Moskalets wrote: > This header uses u32 and should include header with this typedef. > > Signed-off-by: Maxim Moskalets > --- > arch/arm/include/asm/arch-rockchip/clock.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [PATCH v2 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-13 Thread Tom Rini
On Mon, 13 May 2024 15:13:53 +0300, Roger Quadros wrote: > Sync AM62 device tree files with Linux v6.9 and > add in the missing bits in -u-boot.dtsi to get CPSW > Ethernet working. > > CI testing > https://github.com/u-boot/u-boot/pull/534 > > [...] Applied to u-boot/master, thanks! -- Tom

Re: Pull request: rpi-2024.07 rc3

2024-05-13 Thread Tom Rini
On Mon, May 13, 2024 at 08:48:00AM +0100, Peter Robinson wrote: > Hi Tom, > > Please pull the updates for the Raspberry Pi: > > Updates for RPi for 2024.07: > - Switch to OF_HAS_PRIOR_STAGE by default > > The following changes since commit 52835266d3e933656a217233eaf672dd9ccd7352: > >

Re: [PATCH] doc/sphinx: Bump Jinja2 to 3.1.4

2024-05-13 Thread Tom Rini
On Mon, 06 May 2024 15:22:30 -0600, Tom Rini wrote: > While we unlikely to have an issue with CVE-2024-22195, it is simple > enough to bump our version of Jinja2 to receive the fix, do so. > > Applied to u-boot/master, thanks! -- Tom

[PATCH] arch: fix arch-rockchip/clock.h dependency

2024-05-13 Thread Maxim Moskalets
This header uses u32 and should include header with this typedef. Signed-off-by: Maxim Moskalets --- arch/arm/include/asm/arch-rockchip/clock.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-rockchip/clock.h b/arch/arm/include/asm/arch-rockchip/clock.h index

Re: [PATCH 2/3] wdt-uclass: prevent multiple cyclic_register calls

2024-05-13 Thread Stefan Roese
Hi Rasmus, On 5/13/24 13:09, Rasmus Villemoes wrote: On 13/05/2024 12.40, Stefan Roese wrote: On 5/9/24 02:47, Rasmus Villemoes wrote: Currently, the cyclic_register() done in wdt_start() is not undone in wdt_stop(). Moreover, calling wdt_start multiple times (which is perfectly allowed on an

Re: [PATCH v3] rockchip: rv1126: Migrate to OF_UPSTREAM

2024-05-13 Thread Anand Moon
Hi Quentin, On Mon, 13 May 2024 at 16:10, Quentin Schulz wrote: > > Hi Anand, > > On 5/11/24 6:12 PM, Anand Moon wrote: > > [You don't often get email from an...@edgeble.ai. Learn why this is > > important at https://aka.ms/LearnAboutSenderIdentification ] > > > > Migrate RV1126 boards that

Re: [PULL] u-boot-sh/master-cleanup

2024-05-13 Thread Tom Rini
On Sun, May 12, 2024 at 01:12:27AM +0200, Marek Vasut wrote: > The following changes since commit 5c5565cfec92eb7377ff7fe197612c6a813bb6c7: > > Merge patch series "arm: davinci: Migrate da850-evm to OF_UPSTREAM" > (2024-05-07 11:59:26 -0600) > > are available in the Git repository at: > >

Re: [PATCH] ARM: imx: Add doc/imx/ to i.MX MAINTAINERS entry

2024-05-13 Thread Fabio Estevam
Hi Marek, On Mon, May 13, 2024 at 12:28 AM Marek Vasut wrote: > > Make sure i.MX maintainers are CCed on doc/imx/ patches. > > Signed-off-by: Marek Vasut Reviewed-by: Fabio Estevam Thanks

[PATCH v2 3/3] arm: dts: k3-am625-beagleplay: Fix Ethernet PHY reset GPIO

2024-05-13 Thread Roger Quadros
Move GPIO pinmux to MDIO node. Add GB Ethernet reset GPIO. Add PIN_INPUT to Fix SPE ethernet reset gpio so that reading the GPIO can give correct status. Signed-off-by: Roger Quadros --- Commit 0b1133ee36ecbf3b02f69cc4e8a169f1b6019e40 on linux-next --- arch/arm/dts/k3-am625-beagleplay.dts | 8

[PATCH v2 2/3] arm: dts: k3-am625-beagleplay: get CPSW Ethernet to work

2024-05-13 Thread Roger Quadros
Add missing bits in -u-boot.dtsi to get CPSW Ethernet working. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 63 1 file changed, 63 insertions(+) diff --git a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi

[PATCH v2 1/3] arm: dts: k3-am62*: sync with Linux v6.9

2024-05-13 Thread Roger Quadros
Update k3-am62 DT files from Linux v6.9 Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am62-main.dtsi | 126 ++ arch/arm/dts/k3-am62-mcu.dtsi| 4 +- arch/arm/dts/k3-am62-thermal.dtsi| 5 +- arch/arm/dts/k3-am62-wakeup.dtsi | 38 +--

[PATCH v2 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-13 Thread Roger Quadros
Sync AM62 device tree files with Linux v6.9 and add in the missing bits in -u-boot.dtsi to get CPSW Ethernet working. CI testing https://github.com/u-boot/u-boot/pull/534 Signed-off-by: Roger Quadros --- --- Changes in v2: - rebase on u-boot/next 13th May 2024 - drop 'not-for-merge' comment

Re: [PATCH 2/3] wdt-uclass: prevent multiple cyclic_register calls

2024-05-13 Thread Rasmus Villemoes
On 13/05/2024 12.40, Stefan Roese wrote: > On 5/9/24 02:47, Rasmus Villemoes wrote: >> Currently, the cyclic_register() done in wdt_start() is not undone in >> wdt_stop(). Moreover, calling wdt_start multiple times (which is >> perfectly allowed on an already started device, e.g. to change the >>

Re: [PATCH 2/3] wdt-uclass: prevent multiple cyclic_register calls

2024-05-13 Thread Stefan Roese
On 5/9/24 02:47, Rasmus Villemoes wrote: Currently, the cyclic_register() done in wdt_start() is not undone in wdt_stop(). Moreover, calling wdt_start multiple times (which is perfectly allowed on an already started device, e.g. to change the timeout value) will result in another struct

Re: [PATCH v3] rockchip: rv1126: Migrate to OF_UPSTREAM

2024-05-13 Thread Quentin Schulz
Hi Anand, On 5/11/24 6:12 PM, Anand Moon wrote: [You don't often get email from an...@edgeble.ai. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Migrate RV1126 boards that exists in Linux v6.8 to use OF_UPSTREAM. Following targets is migrated to use

Re: [PATCH] kconfig: default to zero if int/hex symbol lacks default property

2024-05-13 Thread Rasmus Villemoes
On 13/05/2024 11.03, Yoann Congal wrote: > > > Le 13/05/2024 à 10:28, Rasmus Villemoes a écrit : >> On 07/05/2024 19.23, Tom Rini wrote: >>> On Tue, May 07, 2024 at 09:17:46AM +0200, Yoann Congal wrote: But, my more general use case is the Yocto dev trying to change the U-Boot (or

Re: [PATCH] kconfig: default to zero if int/hex symbol lacks default property

2024-05-13 Thread Rasmus Villemoes
On 13/05/2024 10.28, Rasmus Villemoes wrote: > On 07/05/2024 19.23, Tom Rini wrote: >> On Tue, May 07, 2024 at 09:17:46AM +0200, Yoann Congal wrote: >>> Le 06/05/2024 à 19:43, Tom Rini a écrit : On Sun, May 05, 2024 at 03:53:53PM +0200, Yoann Congal wrote: > From: Masahiro Yamada

Re: [PATCH] kconfig: default to zero if int/hex symbol lacks default property

2024-05-13 Thread Yoann Congal
Le 13/05/2024 à 10:28, Rasmus Villemoes a écrit : > On 07/05/2024 19.23, Tom Rini wrote: >> On Tue, May 07, 2024 at 09:17:46AM +0200, Yoann Congal wrote: >>> Le 06/05/2024 à 19:43, Tom Rini a écrit : On Sun, May 05, 2024 at 03:53:53PM +0200, Yoann Congal wrote: > From: Masahiro

Re: [PATCH] kconfig: default to zero if int/hex symbol lacks default property

2024-05-13 Thread Rasmus Villemoes
On 07/05/2024 19.23, Tom Rini wrote: > On Tue, May 07, 2024 at 09:17:46AM +0200, Yoann Congal wrote: >> Le 06/05/2024 à 19:43, Tom Rini a écrit : >>> On Sun, May 05, 2024 at 03:53:53PM +0200, Yoann Congal wrote: >>> From: Masahiro Yamada This is a cherry-pick from the kernel

Re: [PATCH] mach-snapdragon: do carveouts for qcs404 only

2024-05-13 Thread Caleb Connolly
On Tue, 07 May 2024 18:41:23 +, Sam Day wrote: > The newly introduced carve_out_reserved_memory causes issues when > U-Boot is chained from the lk2nd bootloader. lk2nd provides a > simple-framebuffer device and marks the framebuffer region as no-map in > the supplied /reserved-memory.

Re: [PATCH v2 0/2] qcom: ehci: enable core + iface clocks

2024-05-13 Thread Caleb Connolly
On Mon, 06 May 2024 10:26:51 +, Sam Day wrote: > These clocks are mandatory, as can be seen in msm_hsusb driver in the > Linux kernel. > > The appropriate HS_USB AHB/SYSTEM clocks were added to gcc_apq8016. > > Technically there's other adjacent SoC families that can use the > msm_hsusb

Re: [PATCH] kconfig: default to zero if int/hex symbol lacks default property

2024-05-13 Thread Yoann Congal
Le 07/05/2024 à 19:23, Tom Rini a écrit : > On Tue, May 07, 2024 at 09:17:46AM +0200, Yoann Congal wrote: >> Le 06/05/2024 à 19:43, Tom Rini a écrit : >>> On Sun, May 05, 2024 at 03:53:53PM +0200, Yoann Congal wrote: >>> From: Masahiro Yamada This is a cherry-pick from the kernel

Pull request: rpi-2024.07 rc3

2024-05-13 Thread Peter Robinson
Hi Tom, Please pull the updates for the Raspberry Pi: Updates for RPi for 2024.07: - Switch to OF_HAS_PRIOR_STAGE by default The following changes since commit 52835266d3e933656a217233eaf672dd9ccd7352: Prepare v2024.07-rc2 (2024-05-06 13:54:17 -0600) are available in the Git repository at:

[PATCH] timer: npcm: Change counter source

2024-05-13 Thread Jim Liu
From: Stanley Chu The counter value read from TDR register may not be correct. Read SECCNT and CNTR25M instead to get the correct timestamp. Signed-off-by: Stanley Chu --- arch/arm/dts/nuvoton-common-npcm7xx.dtsi | 12 ++-- arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 13 ++--

[PATCH] phy: Use dt-bindig definations for npcm usb phy

2024-05-13 Thread Jim Liu
Use dt-binding definations for the phy switch connection. It declares the target usb controller it is connected to. Signed-off-by: Jim Liu --- drivers/phy/phy-npcm-usb.c | 27 ++- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/drivers/phy/phy-npcm-usb.c

Re: [PATCH] Fix neighbor discovery ethernet address saving

2024-05-13 Thread Vyacheslav V. Mitrofanov
Hello, Sean. I see. You are right. Reviewed-by: Viacheslav Mitrofanov On Tue, 2024-05-07 at 22:16 -0700, Sean Edmond wrote: > > Hi Vyachesla, > > Let's start by saying neighbour discovery protocol is definitely > working > properly.  I'm only suggesting that it isn't properly caching the

[PATCH] net: tftp: don't call stop callback from UDP handler

2024-05-13 Thread A. Sverdlin
From: Alexander Sverdlin Contrary to doc/develop/driver-model/ethernet.rst contract, eth_ops .free_pkt can be called after .stop, there are several error paths in TFTP, for instance: eth_halt() <= tftp_handler() <= net_process_received_packet() <= eth_rx() ... am65_cpsw_free_pkt() <= eth_rx()

Re: [PATCH 1/3] cyclic: stop strdup'ing name in cyclic_register()

2024-05-13 Thread Stefan Roese
On 5/9/24 02:47, Rasmus Villemoes wrote: We are not checking the return value of strdup(), nor freeing the string in cyclic_unregister(). However, all current users either pass a string literal or the dev->name of the client device. So in all cases the name string will live at least as long as