lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z-6sKELOFl9d8KVe@smile.fi.intel.com>
Date: Thu, 3 Apr 2025 18:41:28 +0300
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: Uros Bizjak <ubizjak@...il.com>, x86@...nel.org,
	linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
	Borislav Petkov <bp@...en8.de>,
	Dave Hansen <dave.hansen@...ux.intel.com>,
	"H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH -tip 2/4] x86/idle: Use MONITOR and MWAIT mnemonics in
 <asm/mwait.h>

On Thu, Apr 03, 2025 at 05:33:56PM +0200, Ingo Molnar wrote:
> * Andy Shevchenko <andriy.shevchenko@...el.com> wrote:
> > On Thu, Apr 03, 2025 at 06:28:13PM +0300, Andy Shevchenko wrote:
> > > On Wed, Apr 02, 2025 at 08:08:06PM +0200, Uros Bizjak wrote:

...

> > > > No functional change intended.
> > > 
> > > Hmm... Is it only me who gets these, please?
> > > 
> > > In file included from acpi/cstate.c:18:
> > > asm/mwait.h:30:15: error: invalid operand for instruction
> > >    30 |         asm volatile("monitor %0, %1, %2" :: "a" (eax), "c" (ecx), "d" (edx));
> > >       |                      ^
> > > <inline asm>:1:16: note: instantiated into assembly here
> > >     1 |         monitor %rax, %ecx, %edx
> > >       |                       ^~~~~
> > > In file included from acpi/cstate.c:18:
> > > asm/mwait.h:95:15: error: instruction requires: Not 64-bit mode
> > >    95 |         asm volatile("sti; mwait %0, %1" :: "a" (eax), "c" (ecx));
> > >       |                      ^
> > > <inline asm>:1:7: note: instantiated into assembly here
> > >     1 |         sti; mwait %eax, %ecx
> > >       |              ^
> > 
> > FWIW, revert fixes the issue.
> 
> All gone already, tomorrow's -next should be fine.

Thanks!

-- 
With Best Regards,
Andy Shevchenko



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ