Re: [PATCH v5 10/35] x86/lib: Add CPUID(0x1) CPU family and model calculation
"Ahmed S. Darwish" <[email protected]> Thu, 5 Mar 2026 09:24:22 +0100
| Newsgroups | dev.linux.lists.x86-cpuid,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <aak9tndGp-4m433p@lx-t490> |
On Wed, 04 Mar 2026, Borislav Petkov wrote: > > On Fri, Sep 05, 2025 at 02:14:50PM +0200, Ahmed S. Darwish wrote: > > The x86 library code provides x86_family() and x86_model(). They take > > raw CPUID(0x1) register output, extract the necessary fields with bitwise > > operations, then calculate the CPU family and model out of that. > > > > In follow-up work, the x86 subystem will use parsed CPUID access, along > > Unknown word [subystem] in commit message. > Suggestions: ['subsystem'... > > Please introduce a spellchecker into your patch creation workflow. > will do for the whole PQ. > > Please keep the old simpler code: > > ... > > This is way easier to parse than a ternary expression oneliner. > > Ditto below. > ACK. Thanks, Ahmed