From nobody Sun May 5 22:05:40 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=linuxfoundation.org ARC-Seal: i=1; a=rsa-sha256; t=1652364152; cv=none; d=zohomail.com; s=zohoarc; b=QJeJk+sEi7NSdRFGgnc3h/Mhvod13Ork12S5KE8dHFIynEsYQxbq0M1hWGAk66NmnVxKokLBMaK0a0V+TL9achkqR8MI0Az0z/97CrWPCB9hh0p/wOPCsZ5l/l1GFX6NZo0j3FFXRMfPbAN5sd6hAn+sUCOc1yhY+AMjUtTZJl8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1652364152; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=KIIsqFJdt5rj+2D2zqf/4shIKZAVgZnvo+l6Lpx8mj8=; b=kNkqZ9GdumfXmP3V+nj5dA0zzDhtscPf8+09mAWqD9GmLHq587WVHkC9X0u2ME7qv5D+4eFr4R3NXlPMqaH/T72M8EWdglE6RwF7G63/1Q34wVOFnco2MANsh/5SLXzjkwtY+bvOJ+pNjChV9CseIP3Gue3vbZi9RrfIIdG9wkg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1652364152005239.19093321675462; Thu, 12 May 2022 07:02:32 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.327725.550589 (Exim 4.92) (envelope-from ) id 1np9O5-0001HE-Al; Thu, 12 May 2022 14:01:53 +0000 Received: by outflank-mailman (output) from mailman id 327725.550589; Thu, 12 May 2022 14:01:53 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1np9O5-0001H7-82; Thu, 12 May 2022 14:01:53 +0000 Received: by outflank-mailman (input) for mailman id 327725; Thu, 12 May 2022 14:01:52 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1np9O4-0001Gk-0d for xen-devel@lists.xenproject.org; Thu, 12 May 2022 14:01:52 +0000 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 114d9b64-d1fc-11ec-a406-831a346695d4; Thu, 12 May 2022 16:01:50 +0200 (CEST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C41F961A39; Thu, 12 May 2022 14:01:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 921B6C385B8; Thu, 12 May 2022 14:01:47 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 114d9b64-d1fc-11ec-a406-831a346695d4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1652364108; bh=Z/Ws/YqRZBPStcl75eglrGhJNELDeF5x+1KQttHEXBM=; h=Subject:To:Cc:From:Date:From; b=13VwfVIip4aeGa4GD3M92snk8Kd8iXwB9mXxu27b4EeUqOXF2AVIHjfHajYMV0/9B EOIMy/GmKDQp1HOR+QvshXwnONrHHxUcyQPz8kMeMkLpen33lorqKHKjbFTbFma5rl cl8a/Icq92V5aKJT6rlyZyEbQK0AbeBdP5D1Aa7A= Subject: Patch "x86/asm: Allow to pass macros to __ASM_FORM()" has been added to the 5.4-stable tree To: andrew.cooper3@citrix.com,boris.ostrovsky@oracle.com,bp@alien8.de,gregkh@linuxfoundation.org,jgross@suse.com,jpoimboe@redhat.com,mheyne@amazon.de,mhiramat@kernel.org,mingo@kernel.org,peterz@infradead.org,rdunlap@infradead.org,sstabellini@kernel.org,x86@kernel.org,xen-devel@lists.xenproject.org Cc: From: Date: Thu, 12 May 2022 16:01:37 +0200 Message-ID: <16523640972042@kroah.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-stable: commit X-Patchwork-Hint: ignore X-ZohoMail-DKIM: pass (identity @linuxfoundation.org) X-ZM-MESSAGEID: 1652364153563100001 Content-Type: text/plain; charset="utf-8" This is a note to let you know that I've just added the patch titled x86/asm: Allow to pass macros to __ASM_FORM() to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=3Dlinux/kernel/git/stable/stable-queue.git= ;a=3Dsummary The filename of the patch is: x86-asm-allow-to-pass-macros-to-__asm_form.patch and it can be found in the queue-5.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. From f7919fd943abf0c77aed4441ea9897a323d132f5 Mon Sep 17 00:00:00 2001 From: Masami Hiramatsu Date: Fri, 6 Sep 2019 22:13:48 +0900 Subject: x86/asm: Allow to pass macros to __ASM_FORM() From: Masami Hiramatsu commit f7919fd943abf0c77aed4441ea9897a323d132f5 upstream. Use __stringify() at __ASM_FORM() so that user can pass code including macros to __ASM_FORM(). Signed-off-by: Masami Hiramatsu Signed-off-by: Peter Zijlstra (Intel) Cc: Juergen Gross Cc: x86@kernel.org Cc: Boris Ostrovsky Cc: Ingo Molnar Cc: Stefano Stabellini Cc: Andrew Cooper Cc: Borislav Petkov Cc: xen-devel@lists.xenproject.org Cc: Randy Dunlap Cc: Josh Poimboeuf Link: https://lkml.kernel.org/r/156777562873.25081.2288083344657460959.stgi= t@devnote2 Signed-off-by: Maximilian Heyne Signed-off-by: Greg Kroah-Hartman --- arch/x86/include/asm/asm.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) --- a/arch/x86/include/asm/asm.h +++ b/arch/x86/include/asm/asm.h @@ -7,9 +7,11 @@ # define __ASM_FORM_RAW(x) x # define __ASM_FORM_COMMA(x) x, #else -# define __ASM_FORM(x) " " #x " " -# define __ASM_FORM_RAW(x) #x -# define __ASM_FORM_COMMA(x) " " #x "," +#include + +# define __ASM_FORM(x) " " __stringify(x) " " +# define __ASM_FORM_RAW(x) __stringify(x) +# define __ASM_FORM_COMMA(x) " " __stringify(x) "," #endif =20 #ifndef __x86_64__ Patches currently in stable-queue which might be from mhiramat@kernel.org a= re queue-5.4/x86-xen-kvm-gather-the-definition-of-emulate-prefixes.patch queue-5.4/x86-xen-insn-decode-xen-and-kvm-emulate-prefix-signature.patch queue-5.4/x86-asm-allow-to-pass-macros-to-__asm_form.patch queue-5.4/x86-kprobes-prohibit-probing-on-instruction-which-has-emulate-pre= fix.patch