Re: [PATCH v3] soc: qcom: geni-se: Use HW PROG_RAM_DEPTH to validate firmware size
From: Bjorn Andersson
Date: Thu Jul 30 2026 - 23:27:32 EST
On Thu, 02 Jul 2026 11:12:23 +0530, Viken Dadhaniya wrote:
> The hardcoded MAX_GENI_CFG_RAMn_CNT limit is not accurate for all SoCs:
> some targets have less CFG RAM than the constant implies, while others
> like QCS615 need more entries than the old limit of 455 allowed, causing
> valid firmware to be rejected at load time.
>
> Rather than hardcoding a constant, read PROG_RAM_DEPTH from SE_HW_PARAM_2
> at runtime to get the actual CFG RAM depth of the hardware instance and
> use that as the upper bound for firmware size validation.
>
> [...]
Applied, thanks!
[1/1] soc: qcom: geni-se: Use HW PROG_RAM_DEPTH to validate firmware size
commit: 522bfb4f33c0930b3d14d5c5ee80bc93a883b544
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>