[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <4a5898f6-f159-4f3e-b352-3a72c23422a2@app.fastmail.com>
Date: Wed, 04 Dec 2024 18:52:51 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Nathan Chancellor" <nathan@...nel.org>, "Arnd Bergmann" <arnd@...nel.org>
Cc: linux-kernel@...r.kernel.org, x86@...nel.org,
"Thomas Gleixner" <tglx@...utronix.de>, "Ingo Molnar" <mingo@...hat.com>,
"Borislav Petkov" <bp@...en8.de>,
"Dave Hansen" <dave.hansen@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>,
"Linus Torvalds" <torvalds@...ux-foundation.org>,
"Andy Shevchenko" <andy@...nel.org>, "Matthew Wilcox" <willy@...radead.org>,
"Sean Christopherson" <seanjc@...gle.com>,
"Davide Ciminaghi" <ciminaghi@...dd.com>,
"Paolo Bonzini" <pbonzini@...hat.com>, kvm@...r.kernel.org
Subject: Re: [PATCH 09/11] x86: rework CONFIG_GENERIC_CPU compiler flags
On Wed, Dec 4, 2024, at 18:09, Nathan Chancellor wrote:
> Hi Arnd,
>
> On Wed, Dec 04, 2024 at 11:30:40AM +0100, Arnd Bergmann wrote:
> ...
>> +++ b/arch/x86/Kconfig.cpu
>> +config X86_64_V1
>> +config X86_64_V2
>> +config X86_64_V3
> ...
>> +++ b/arch/x86/Makefile
>> + cflags-$(CONFIG_MX86_64_V1) += -march=x86-64
>> + cflags-$(CONFIG_MX86_64_V2) += $(call cc-option,-march=x86-64-v2,-march=x86-64)
>> + cflags-$(CONFIG_MX86_64_V3) += $(call cc-option,-march=x86-64-v3,-march=x86-64)
> ...
>> + rustflags-$(CONFIG_MX86_64_V1) += -Ctarget-cpu=x86-64
>> + rustflags-$(CONFIG_MX86_64_V2) += -Ctarget-cpu=x86-64-v2
>> + rustflags-$(CONFIG_MX86_64_V3) += -Ctarget-cpu=x86-64-v3
>
> There appears to be an extra 'M' when using these CONFIGs in Makefile,
> so I don't think this works as is?
Fixed now by adding the 'M' in the Kconfig file, thanks for
noticing it.
Arnd
Powered by blists - more mailing lists