[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aMwGDk4nLq_RZ134@lx-t490>
Date: Thu, 18 Sep 2025 15:15:58 +0200
From: "Ahmed S. Darwish" <darwi@...utronix.de>
To: Borislav Petkov <bp@...en8.de>, Ingo Molnar <mingo@...hat.com>,
Dave Hansen <dave.hansen@...ux.intel.com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Andrew Cooper <andrew.cooper3@...rix.com>,
Sean Christopherson <seanjc@...gle.com>,
David Woodhouse <dwmw2@...radead.org>,
"H. Peter Anvin" <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>,
Sohil Mehta <sohil.mehta@...el.com>,
John Ogness <john.ogness@...utronix.de>, x86@...nel.org,
x86-cpuid@...ts.linux.dev, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v5 08/35] x86/cpuid: Introduce a centralized CPUID parser
On Fri, 05 Sep 2025, Ahmed S. Darwish wrote:
>
> /**
> - * cpuid_leaf_regs() - Access parsed CPUID data in raw format
> + * cpuid_leaf_raw() - Access parsed CPUID data in raw format
...
> -#define cpuid_leaf_regs(_cpuinfo, _leaf) \
> +#define cpuid_leaf_raw(_cpuinfo, _leaf) \
> ((const struct cpuid_regs *)(cpuid_leaf(_cpuinfo, _leaf)))
...
> /**
> - * cpuid_subleaf_n_regs() - Access parsed CPUID data for leaf with dynamic subleaf range
> + * cpuid_subleaf_n_raw() - Access parsed CPUID data for leaf with dynamic subleaf range
...
> -#define cpuid_subleaf_n_regs(_cpuinfo, _leaf, _subleaf) \
> +#define cpuid_subleaf_n_raw(_cpuinfo, _leaf, _subleaf) \
> ((const struct cpuid_regs *)cpuid_subleaf_n(_cpuinfo, _leaf, _subleaf))
>
That snippet should've been folded into the previous patch.
Rest of the PQ stays as-is.
I'll not spam the list with a v6 just for this, since the next iteration
should include the X86_FEATURE adaptation mentioned in the cover.
Thanks,
Ahmed
Powered by blists - more mailing lists