From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-178.mta0.migadu.com (out-178.mta0.migadu.com [91.218.175.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 936F72EC562 for ; Wed, 8 Oct 2025 15:19:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759936754; cv=none; b=iajY3aQR4WMZ/4K7CN8KOxTZXeOCj3zLUeFcXG9Lkto3LelKaOk+HkYsWGZLY4PQC19CTdntRdUQMLhkDCrAOaA/nsmjwXiJSBVqbbk8G7T9xvc9MTia/mNsh5fSu1FSduI63L3JAkuM/7dTNXMz4xiMP9jJejuM08niZvF9t+o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759936754; c=relaxed/simple; bh=dpweNp1UTyxQM0s2/8LARt1MWLRdZHExNLUozHTEJrA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=a3Rxxw90rTvUdFPbPh6rjdJtV3ITzGKAB9CzpqjPJ1tyhvegz9L0MjYozoB4ugRx+85fD9PSScXRa3mIGflpQlkv2KWIdC6zTWDs8tnQqDOz0mICsn0ZoXB8q5ggJdg9mh/7NBfbSgKf0zyjML6gJl0jExwHK3UxRYJsIho2+2Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=WvDpijsU; arc=none smtp.client-ip=91.218.175.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="WvDpijsU" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1759936748; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IhkKw+krLJuUpERYXgvwDH4kTAo80j012GYjIQB7COM=; b=WvDpijsUigCpL5i00LZdehXzT5rRVMCUrc3F6E/D4k2lI3iIofJCma7O28JE8aYyKTJuCN CcvDgEPnvXSi9fpxEy259HjTKDxrnbUIYTVe2bvg7xUTVAFQHq7FEo1g1valbNMfpEaxZZ bxyRMUfV36WD2yP6K3UnQ/Yv6Iwo21Q= Date: Wed, 8 Oct 2025 16:19:03 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH net] dpll: zl3073x: Increase maximum size of flash utility To: Ivan Vecera , netdev@vger.kernel.org Cc: Prathosh Satish , Arkadiusz Kubalewski , Jiri Pirko , Jakub Kicinski , Przemek Kitszel , open list References: <20251008141418.841053-1-ivecera@redhat.com> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Vadim Fedorenko In-Reply-To: <20251008141418.841053-1-ivecera@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT 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 > Signed-off-by: Ivan Vecera > --- > 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