Message ID | 20170707134502.29711.66274.stgit@tlendack-t1.amdoffice.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <kvm-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C6202602CA for <patchwork-kvm@patchwork.kernel.org>; Fri, 7 Jul 2017 13:45:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B776E2833E for <patchwork-kvm@patchwork.kernel.org>; Fri, 7 Jul 2017 13:45:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB685285EB; Fri, 7 Jul 2017 13:45:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25A512833E for <patchwork-kvm@patchwork.kernel.org>; Fri, 7 Jul 2017 13:45:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753022AbdGGNp0 (ORCPT <rfc822;patchwork-kvm@patchwork.kernel.org>); Fri, 7 Jul 2017 09:45:26 -0400 Received: from mail-bl2nam02on0077.outbound.protection.outlook.com ([104.47.38.77]:18560 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750883AbdGGNpQ (ORCPT <rfc822;kvm@vger.kernel.org>); Fri, 7 Jul 2017 09:45:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=goGe5gyocdjf0GPY0sdMWIXVQlVBkHRBn1Ij62bFdqw=; b=swau4uLLji1tGgNLsvDWGD7VmOiD5LLNn1P0be6VQc7D8okq8xp71T8zjjGtKyHS6WZRUF1nNTc9ct5GgiOQuSEXYGhu289U4p9e76l1q6euudr7j86aCksydYG0MyIQc1dfXLh39l12FrbLZOEM2MfTq3o5UVCc/bYtFBqKFaw= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=amd.com; Received: from tlendack-t1.amdoffice.net (165.204.77.1) by DM5PR12MB1146.namprd12.prod.outlook.com (10.168.236.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Fri, 7 Jul 2017 13:45:05 +0000 From: Tom Lendacky <thomas.lendacky@amd.com> Subject: [PATCH v9 37/38] compiler-gcc.h: Introduce __nostackp function attribute To: linux-arch@vger.kernel.org, linux-efi@vger.kernel.org, kvm@vger.kernel.org, linux-doc@vger.kernel.org, x86@kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, xen-devel@lists.xen.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org Cc: Brijesh Singh <brijesh.singh@amd.com>, Toshimitsu Kani <toshi.kani@hpe.com>, Radim =?utf-8?b?S3LEjW3DocWZ?= <rkrcmar@redhat.com>, Matt Fleming <matt@codeblueprint.co.uk>, Alexander Potapenko <glider@google.com>, "H. Peter Anvin" <hpa@zytor.com>, Larry Woodman <lwoodman@redhat.com>, Jonathan Corbet <corbet@lwn.net>, Joerg Roedel <joro@8bytes.org>, "Michael S. Tsirkin" <mst@redhat.com>, Ingo Molnar <mingo@redhat.com>, Andrey Ryabinin <aryabinin@virtuozzo.com>, Dave Young <dyoung@redhat.com>, Rik van Riel <riel@redhat.com>, Arnd Bergmann <arnd@arndb.de>, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>, Borislav Petkov <bp@alien8.de>, Andy Lutomirski <luto@kernel.org>, Boris Ostrovsky <boris.ostrovsky@oracle.com>, Dmitry Vyukov <dvyukov@google.com>, Juergen Gross <jgross@suse.com>, Thomas Gleixner <tglx@linutronix.de>, Paolo Bonzini <pbonzini@redhat.com> Date: Fri, 07 Jul 2017 08:45:02 -0500 Message-ID: <20170707134502.29711.66274.stgit@tlendack-t1.amdoffice.net> In-Reply-To: <20170707133804.29711.1616.stgit@tlendack-t1.amdoffice.net> References: <20170707133804.29711.1616.stgit@tlendack-t1.amdoffice.net> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: BN6PR14CA0032.namprd14.prod.outlook.com (10.171.172.146) To DM5PR12MB1146.namprd12.prod.outlook.com (10.168.236.141) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f7b8910f-9e63-494d-7a4f-08d4c53e618e X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM5PR12MB1146; X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1146; 3:ErkMNom1qKCX699u7HyMjxIyMVHGtFpzY7cvP/aCKMm9yh6ErF6sp6fi2fgLwSoMwgPL9RyKNmva0/gL7MhO9z5weMSx8fGhdnlybGxx7IGkHO3q2GBhFs4pplBMnGlIlrbK0Rz/s6yG+LL0ORDp7oQ5l/cKs//N2h/pVJqKfGL4R2tS8YiXfgJbBQC76GV6BYh1vaJOzRFrmaQnJgw8W5VNayd8hebKl4sQDXIy6zL0sfeKTt90fO3xIexru1gRJCzXGg/CShEcb/7k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3w7wNpRbA2FAXTkJPAfIVrpTcAHdFACyf3lTUzKRz6j0NiYuiNlIDBpDXZrblgjFYJ3yiX+90kHXLc0UwCYr81FPZ9UYGvvkY2t0OXS4vCE= X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1146; 20:q7iEkq7kCnwwV3f0MCCt4v2NqEybKcyh16dHhGxgzMqtBYqjx3efTDTIOAbdVMf2SalLM7aXWKBbfV4YGE2OveQgP5g/6NM8nvA0/tsZbtg/jD/lGrD9cIcyB7awbUZ0XWaaRKSwH5b4dKyw0JP+uNlCispBrzfWofs5sA+YCJ0tIAYr1XMm40jNEYb1PFLm1Xr7pnGwATgTZH1tgqaqhMWmbl/OibQAL6mi7FuuJ62h2Tk4uzFbUM6i6g7LoKlZRQLEc4n9Q6mOGv/05sdlJd5qGXeAqTgKWSG/ZRXu5AUblxgk+4M8NvEfUu3VrUXAbGyTW3cChNviL4aJE9ZSeSIvYg++V4L2EoxdBVTKTqNU5nC8ZNfvybqK1fItK/sPW0TT43tNYJvP0WvQpYJ1Me8lKI9HcB01pRaZ1tp7wRHKQ6/Fo5D3k8I6nSf0LHw+aPcPKZfP+zLYqYFJveC/VSQtoVLUCnGW6iiodhW/yaeBquWW5/PxbG79zQEF1WeI X-Microsoft-Antispam-PRVS: <DM5PR12MB114637C0EADB0A98F37A6668ECAA0@DM5PR12MB1146.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(767451399110)(148574349560750); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(2017060910064)(8121501046)(10201501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(20161123564025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR12MB1146; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR12MB1146; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTVQUjEyTUIxMTQ2OzQ6bjJHZWUxUVl2ZmVlTjJwTWhIbUNXckk1ZC9Y?= =?utf-8?B?VS9wQVZNaCs2UGpXelVtUFlibnBhVWRpUkJOUjBrZU80N0txbkc1alZUZUxz?= =?utf-8?B?dUdVMnovd09FR2VNaFJqcUI0QU54MTYrRmkzaURSMEVHTTRLbGFDMzdZRThZ?= =?utf-8?B?ZTVWVUtYKzlKWGN5ZStWK0JsQUtqcjMvVE1FMm9kaGc0czVtSzNLczByU2ZC?= =?utf-8?B?VFVDZ0h6WGpGSDZTUGM3bUtJcnlvZTU4UEY5eHlHeTdVcml1TVlkd3FLZFVl?= =?utf-8?B?enN6VWU4N0dNY3ZRZFB3TlhYeXpGS0JHTm9scWVzRzMyZ1VmRSt5azl6STZ2?= =?utf-8?B?akswUXdxWjdMbFNTTUNJMUtyQUZPa3oyRlhlRDdtZUFZbVZPZEJKQlVWRDlJ?= =?utf-8?B?M1hwY1duTjd1c3BIQVVlcENOcVh3VEV1SzFXZTdPcFZBUkx3THc2dnk1alFN?= =?utf-8?B?dnBnTjBqSTNWSHJKcmtjeExkd3NQbzlDWlhiNWZJSUtNaVhDUEpYU0t1eHdT?= =?utf-8?B?QzlZKy9Fd2V1M1prMmRCTDB3N1psLzVRS0tPRHM3MmU3TE85NmRZYXJvRVow?= =?utf-8?B?YUJ2cUpJQ0xpNllFaThkWlQ5Sm5Fb2F6bWlHTGtNc1J6RnlHSEpPSVdVNTVj?= =?utf-8?B?d2hYRk1OODNDVTZRaDN5em4zQy9rR202QXhvK3JzTkgxL082eDBwRkpOWEFn?= =?utf-8?B?bHczVXdXbGlJdDUxNUxDeVEzMlJON3BYUTZxS0o1MkZKTnBsZTJhbTNnMzZ3?= =?utf-8?B?RUd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hY?= =?utf-8?Q?T3CcOoQM7nEk7SKvlg5suhCfXD4ejri/zbUKRj?= X-Forefront-PRVS: 0361212EA8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39400400002)(39410400002)(39860400002)(39850400002)(39840400002)(39450400003)(2906002)(81166006)(42186005)(83506001)(189998001)(8676002)(38730400002)(305945005)(2950100002)(103116003)(53416004)(6666003)(4326008)(110136004)(33646002)(25786009)(6506006)(86362001)(53936002)(47776003)(97746001)(50986999)(23676002)(9686003)(66066001)(7736002)(76176999)(72206003)(478600001)(230700001)(6116002)(7406005)(5660300001)(7416002)(50466002)(55016002)(54906002)(1076002)(54356999)(3846002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR12MB1146; H:tlendack-t1.amdoffice.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTVQUjEyTUIxMTQ2OzIzOi82N3dPVmdYaDZYSTE1ZDY3MGRXUlJmSU5B?= =?utf-8?B?SVV2bWZOcEIwdHlEZjdMM2lZY09XSDYxenNNYzVqUVZ3ZExFenV5d2ZsOC9N?= =?utf-8?B?a1YzcVFEUXV4cmIzYjF5aUdzRk84c2VsbTFoUTBsVGhaTEFsUXdybDVRRVF0?= =?utf-8?B?VTMxQ1I3b21nOGY5Q1A4MHcyVzc2T05hUmlFYW9lZGxyNmp2WWJGcmRPZWxn?= =?utf-8?B?dHlJcURocGJmQlhzRHU1Zk1MeVIxM3dqSDdGemg0dDdMN3hBTG1IME1JdDhs?= =?utf-8?B?emsvdGlQSlF6RWZLUThvS2NQcnJBUXQ5S2NNL2FneWpxSFdIMUc2T0FQV1ZE?= =?utf-8?B?RXR5UFNZT25SelBReFRXNnBuN0NwdUJCZDdKbkFHalB0QzlNajAzS3RBdTBh?= =?utf-8?B?K0RDSWdsOUNaZllBVU5jazB1UTZUSTRDb09rTFlwOU1sY1greEdsR0VBUTZ2?= =?utf-8?B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UEP3KRtxFxgSTQKvKNvqWeLgzxXoRceSJj1cPDBcOwG95hBIRAoSd8kt4TGn7wuHe+9+jvyULsdh8k/9HuDatNaXr+b6466I+v0oEYse7W1NdK84N07b27u5EUiznIpgrP/oriEyO7ceeucKft0RCspVQz47XN+6upnQ5IW4Mkbv3XeEe/r4JGfa/sGd/99AcuE+kGnPNzA+9qsKgrU4DcSmjzRwxJKsgBt2S+frKYDASXk683bMLd+NdMNsAGpKDVcZBwLbBCgR6TAemzKEh8H2q+e8BDoIY9LzCy+UqFOpdSqKVD1wzEEnblg2jq1278260d7dO4KHTGVCxwx60Z3roU5T8j1FvwL17NKZd+Uin6mdjDToGWitdOpkURo3vVdbOhi+nDxyop/ebFvCnkjyb4+s3HmVIA5nOIBFE= X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1146; 20:BdBAS5x4kciR2G043lyeo6RiU4XOXnsUVTt84LNYvamynfUqqM3g/u8MohfG97g+53RCF483hOAJArmCA4dysrZoa2KFNCjSmzlW3YPOuMm4IH6n2topTOGd5qdPK4v9cDo6cP0Reipq6WcH6S0E53ASdiE/wuHwrooM6RARpAXwB6Deqlr/Hfehm2Vc20qlsD/x1R/FaSaAc9SDxggMi8+lkK9hqvl8ywzPgSExv/CzQWMcl8Ow4nz2cQcjq9Vr X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2017 13:45:05.4581 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1146 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: <kvm.vger.kernel.org> X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h index 0efef9c..de48b32 100644 --- a/include/linux/compiler-gcc.h +++ b/include/linux/compiler-gcc.h @@ -162,6 +162,8 @@ #if GCC_VERSION >= 40100 # define __compiletime_object_size(obj) __builtin_object_size(obj, 0) + +#define __nostackp __attribute__((__optimize__("no-stack-protector"))) #endif #if GCC_VERSION >= 40300 diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 707242f..615d50d 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -458,6 +458,10 @@ static __always_inline void __write_once_size(volatile void *p, void *res, int s #define __visible #endif +#ifndef __nostackp +#define __nostackp +#endif + /* * Assume alignment of return value. */
Create a new function attribute, __nostackp, that can used to turn off stack protection on a per function basis. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> --- include/linux/compiler-gcc.h | 2 ++ include/linux/compiler.h | 4 ++++ 2 files changed, 6 insertions(+)