Re: [PATCH v2 2/2] cpufreq: qcom: Add cpufreq scaling support for Qualcomm Shikra SoC

From: Imran Shaik

Date: Thu May 21 2026 - 01:56:06 EST




On 20-05-2026 06:11 pm, Dmitry Baryshkov wrote:
On Tue, May 19, 2026 at 10:58:04PM +0530, Imran Shaik wrote:
From: Taniya Das <taniya.das@xxxxxxxxxxxxxxxx>

The Qualcomm Shikra cpufreq hardware is functionally identical to EPSS,
but supports only up to 12 frequency lookup table (LUT) entries. Hence,
add shikra_epss_soc_data that reuses EPSS configuration with appropriate
LUT entries limit.

What is the drawback of not using the exact limit for the LUT table?


Without the exact limit check, when all 12 entries are populated, the existing repetitive-entry check may read beyond valid entries and expose incorrect frequencies.

I will update these details in the commit text in the next series.

Thanks,
Imran