[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v9 4/5] x86/cpuid: fix unbootable VMs by really inlining memcmp() in hypervisor_cpuid_base()
- To: Mauricio Faria de Oliveira <mfo@xxxxxxxxxx>
- From: Borislav Petkov <bp@xxxxxxxxx>
- Date: Mon, 14 Sep 2026 22:11:55 -0700
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=alien8 header.d=alien8.de header.i="@alien8.de" header.h="Date:From:To:Cc:Subject:References:In-Reply-To"
- Authentication-results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de
- Cc: Thomas Gleixner <tglx@xxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>, x86@xxxxxxxxxx, "H. Peter Anvin" <hpa@xxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Alexey Dobriyan <adobriyan@xxxxxxxxx>, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Brian Gerst <brgerst@xxxxxxxxx>, kernel-dev@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Tue, 15 Sep 2026 05:12:45 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Mon, Sep 14, 2026 at 08:22:08AM -0300, Mauricio Faria de Oliveira wrote:
> In the review of the original patchset (fixed by this series) it is
> mentioned that a compiler might turn it into a memcmp() [1] -- and thus
> revert back to the same issue.
>
> [1] https://lore.kernel.org/all/877ccz12ab.ffs@tglx/
Hmm, never heard that before but that doesn't mean anything. Probably should
mention it in one of the commit messages so that we know for the future...
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
|