Re: [PATCH v6 01/90] ASoC: Intel: avs: Check maximum valid CPUID leaf
Cezary Rojewski <[email protected]> Fri, 27 Mar 2026 10:26:43 +0100
| Newsgroups | dev.linux.lists.x86-cpuid,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 2026-03-27 3:15 AM, Ahmed S. Darwish wrote:
> The Intel AVS driver queries CPUID(0x15) before checking if the CPUID leaf
> is available. Check the maximum-valid CPU standard leaf beforehand.
>
> Use the CPUID_LEAF_TSC macro instead of defining a custom local one for the
> CPUID(0x15) leaf number.
>
> Note, the inclusion of a header file from within a C function will be fixed
> in a separate commit next.
>
> Fixes: cbe37a4d2b3c ("ASoC: Intel: avs: Configure basefw on TGL-based platforms")
> Signed-off-by: Ahmed S. Darwish <[email protected]>
Acked-by: Cezary Rojewski <[email protected]>