public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Vadim Fedorenko <vadim.fedorenko@linux.dev>
To: Ivan Vecera <ivecera@redhat.com>, netdev@vger.kernel.org
Cc: Prathosh Satish <Prathosh.Satish@microchip.com>,
	Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>,
	Jiri Pirko <jiri@resnulli.us>, Jakub Kicinski <kuba@kernel.org>,
	Przemek Kitszel <przemyslaw.kitszel@intel.com>,
	open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net] dpll: zl3073x: Increase maximum size of flash utility
Date: Wed, 8 Oct 2025 16:19:03 +0100	[thread overview]
Message-ID: <d95b97d5-d007-460f-b5ad-a4818acb29c6@linux.dev> (raw)
In-Reply-To: <20251008141418.841053-1-ivecera@redhat.com>

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@microchip.com>
> Signed-off-by: Ivan Vecera <ivecera@redhat.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@linux.dev>

  reply	other threads:[~2025-10-08 15:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-08 14:14 [PATCH net] dpll: zl3073x: Increase maximum size of flash utility Ivan Vecera
2025-10-08 15:19 ` Vadim Fedorenko [this message]
2025-10-10  8:40 ` patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d95b97d5-d007-460f-b5ad-a4818acb29c6@linux.dev \
    --to=vadim.fedorenko@linux.dev \
    --cc=Prathosh.Satish@microchip.com \
    --cc=arkadiusz.kubalewski@intel.com \
    --cc=ivecera@redhat.com \
    --cc=jiri@resnulli.us \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=przemyslaw.kitszel@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox