Re: [PATCH v2 05/11] x86: add CONFIG_X86_64_NATIVE option

From: irecca . kun
Date: Tue Dec 10 2024 - 14:06:11 EST


Hello.

On 12/10/24 14:49, Arnd Bergmann wrote:
As a replacement for the obsole MK8/MPSC/MCORE2 configuration options,
allow building a specialized kernel for the local CPU, which is useful
for users building their own kernels, and does not require maintaining
a list of possible CPU options.

That potentially introduces problems. Namely compilers could apply auto-vectorization, which currently breaks the kernel.
We probably need an additional patch like this: https://github.com/zen-kernel/zen-kernel/commit/95b7981ba2e5c86529de0e895c2d9e428aa3f7dc