[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200414103106.GK20713@hirez.programming.kicks-ass.net>
Date: Tue, 14 Apr 2020 12:31:06 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Kyung Min Park <kyung.min.park@...el.com>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org, tglx@...utronix.de,
mingo@...hat.com, hpa@...or.com, gregkh@...uxfoundation.org,
ak@...ux.intel.com, tony.luck@...el.com, ashok.raj@...el.com,
ravi.v.shankar@...el.com, fenghua.yu@...el.com
Subject: Re: [PATCH v3 3/3] x86/delay: Introduce TPAUSE delay
On Fri, Apr 10, 2020 at 04:29:55PM -0700, Kyung Min Park wrote:
> +static inline void __tpause(u32 ecx, u32 edx, u32 eax)
> +{
> + /* "tpause %ecx, %edx, %eax;" */
> + asm volatile(".byte 0x66, 0x0f, 0xae, 0xf1\t\n"
> + :
> + : "c"(ecx), "d"(edx), "a"(eax));
> +}
Can we please get a comment stating from what binutils version this
opcode has a mnemonic? That way, when we raise the minimum binutils
version we can easily grep and find such things.
Powered by blists - more mailing lists