lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d95b97d5-d007-460f-b5ad-a4818acb29c6@linux.dev>
Date: Wed, 8 Oct 2025 16:19:03 +0100
From: Vadim Fedorenko <vadim.fedorenko@...ux.dev>
To: Ivan Vecera <ivecera@...hat.com>, netdev@...r.kernel.org
Cc: Prathosh Satish <Prathosh.Satish@...rochip.com>,
 Arkadiusz Kubalewski <arkadiusz.kubalewski@...el.com>,
 Jiri Pirko <jiri@...nulli.us>, Jakub Kicinski <kuba@...nel.org>,
 Przemek Kitszel <przemyslaw.kitszel@...el.com>,
 open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net] dpll: zl3073x: Increase maximum size of flash utility

On 08/10/2025 15:14, Ivan Vecera wrote:
> Newer firmware bundles contain a flash utility whose size exceeds
> the currently allowed limit. Increase the maximum allowed size
> to accommodate the newer utility version.
> 
> Without this patch:
>   # devlink dev flash i2c/1-0070 file fw_nosplit_v3.hex
>   Failed to load firmware
>   Flashing failed
>   Error: zl3073x: FW load failed: [utility] component is too big (11000 bytes)
> 
> Fixes: ca017409da694 ("dpll: zl3073x: Add firmware loading functionality")
> Suggested-by: Prathosh Satish <Prathosh.Satish@...rochip.com>
> Signed-off-by: Ivan Vecera <ivecera@...hat.com>
> ---
>   drivers/dpll/zl3073x/fw.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/dpll/zl3073x/fw.c b/drivers/dpll/zl3073x/fw.c
> index d5418ff74886..def37fe8d9b0 100644
> --- a/drivers/dpll/zl3073x/fw.c
> +++ b/drivers/dpll/zl3073x/fw.c
> @@ -37,7 +37,7 @@ struct zl3073x_fw_component_info {
>   static const struct zl3073x_fw_component_info component_info[] = {
>   	[ZL_FW_COMPONENT_UTIL] = {
>   		.name		= "utility",
> -		.max_size	= 0x2300,
> +		.max_size	= 0x4000,
>   		.load_addr	= 0x20000000,
>   		.flash_type	= ZL3073X_FLASH_TYPE_NONE,
>   	},

Reviewed-by: Vadim Fedorenko <vadim.fedorenko@...ux.dev>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ