On Mon, Feb 26, 2024 at 02:22:31PM +0200, Nikolay Borisov wrote:
From: "H. Peter Anvin (Intel)" hpa@zytor.com
[ Upstream commit 0576d1ed1e153bf34b54097e0561ede382ba88b0 ]
Looks like the correct sha is f87bc8dc7a7c438c70f97b4e51c76a183313272e
Add a macro _ASM_RIP() to add a (%rip) suffix on 64 bits only. This is useful for immediate memory references where one doesn't want gcc to possibly use a register indirection as it may in the case of an "m" constraint.
Signed-off-by: H. Peter Anvin (Intel) hpa@zytor.com Signed-off-by: Borislav Petkov bp@suse.de Link: https://lkml.kernel.org/r/20210910195910.2542662-3-hpa@zytor.com Signed-off-by: Nikolay Borisov nik.borisov@suse.com