Message ID | 20170627151438.17428.63531.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 657AF6020A for <patchwork-kvm@patchwork.kernel.org>; Tue, 27 Jun 2017 15:33:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56F3F286D5 for <patchwork-kvm@patchwork.kernel.org>; Tue, 27 Jun 2017 15:33:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4AFDE286E4; Tue, 27 Jun 2017 15:33:33 +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=unavailable 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 296DF286EE for <patchwork-kvm@patchwork.kernel.org>; Tue, 27 Jun 2017 15:33:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752523AbdF0PbX (ORCPT <rfc822;patchwork-kvm@patchwork.kernel.org>); Tue, 27 Jun 2017 11:31:23 -0400 Received: from mail-co1nam03on0083.outbound.protection.outlook.com ([104.47.40.83]:41248 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753014AbdF0POt (ORCPT <rfc822;kvm@vger.kernel.org>); Tue, 27 Jun 2017 11:14:49 -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=hSUrkTXSOH2X0Rue45yMnPzdhE9yDoXQuQ8uDm0mlB5LuY6iy3eV/RDTK1zjDChi/Gf1EUbYa7yvQ48FaAHwDlYHZk94lTwyxlIvnL49IMIv6cCTrtQhKmvgWDcUz+hTZVbDA0rDIlgU6TgsRKz16R/sKOxZacpn1s7ULFEZuyQ= 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 BN6PR12MB1139.namprd12.prod.outlook.com (10.168.226.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Tue, 27 Jun 2017 15:14:41 +0000 From: Tom Lendacky <thomas.lendacky@amd.com> Subject: [PATCH v8 RESEND 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: Tue, 27 Jun 2017 10:14:38 -0500 Message-ID: <20170627151438.17428.63531.stgit@tlendack-t1.amdoffice.net> In-Reply-To: <20170627150718.17428.81813.stgit@tlendack-t1.amdoffice.net> References: <20170627150718.17428.81813.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: BN6PR11CA0002.namprd11.prod.outlook.com (10.172.17.12) To BN6PR12MB1139.namprd12.prod.outlook.com (10.168.226.141) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2d374866-8f0d-49e3-86fd-08d4bd6f3cdb 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); SRVR:BN6PR12MB1139; X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1139; 3:ORRworbeWlm0pfxrtJcY4f8nQEiT9DbVH7ZEEoZiKcPBX8M1Qt65n9dUugZBbsgqdgSZScfJz13T5xk3Q4T7/2mAZRy5qG8yFVh7JI6lbbiHyq4SvKG1xdm59JwKXxANV10CKxvkFLC+oatIPDGDVQ1A52s60huAWTVvad3+guKpvP8h0sgU7n5e1hZ5wv4mBny4pKFqnVdHia7ifUgpzCIolNEpa2A0L5qgHOVCIcpj/uMNAuL1uwgTTr6x7I85bZ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2lQ6D07oF2phJIFYBiymHopBtp54IiXAtq77EwX26tI3E= X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1139; 20:dckezdO1p1cwYm6HbtDWvNae8JxVD/AjcW4jg/ShqJDOt2oGVPWvkeG1bK1Q/AoLWYPQEcDEwZACTRgsTEyBzPnqcY7GnjGbOKre6nqJUmKdfPZDJA3QqkR1mURZL9d1OLXFRXYg+XzbCtcvyffTEf6GqXgZ9xM+2OG6o8uvTdAv1dHIKnVdyoqsV+2tijQU2lZTFLr2T181ALEu3F3y43d48pR2utwSwzMgfr3l2MNEkmMpkmkAWTnvbSLPLzpnzBvzBhpViuY5UJWGomNLS+4hNqF7ardcdRLOknmKCHJDzp2a7+MYy3m5wEo4ZGNQLJPFe4XGzNG67Uu02j79wOX4tlz8o8FYupp+Bd1RGG7TGZAsIhK4Ml4+YIqWEbK9QlQSGvz0LBRoqSDOdwrAm5RzdXUgwLipKFORBnTqxmdlkKY+WC1DyPmF1tXFA0yb/HfO2SYk8ECWIUfEVSIaj/LR/vkso2e1rZOb7dPVeY2EbEc9qQUIUbyVXcP9okQN X-Microsoft-Antispam-PRVS: <BN6PR12MB11395BB5E69237697CCB8C6DECDC0@BN6PR12MB1139.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)(8121501046)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123558100)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR12MB1139; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR: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:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39850400002)(39400400002)(39840400002)(39410400002)(39860400002)(47776003)(230700001)(50466002)(110136004)(189998001)(50986999)(76176999)(54356999)(53416004)(72206003)(42186005)(478600001)(33646002)(305945005)(38730400002)(97746001)(83506001)(103116003)(23676002)(8676002)(66066001)(7736002)(4001350100001)(4326008)(81166006)(7416002)(7406005)(6506006)(1076002)(2950100002)(6666003)(9686003)(5660300001)(86362001)(53936002)(2906002)(6116002)(3846002)(25786009)(55016002)(54906002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR12MB1139; H:tlendack-t1.amdoffice.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjZQUjEyTUIxMTM5OzIzOnBwd0FiVlNPQXZ3enFkL0ZteGpLWjVMV2pu?= =?utf-8?B?dVUya0ozeGRIU1pQeDlUbGZxVE9XRnV1WGE0WHBPWGV6T3Y3MVF2TzFKTVRL?= =?utf-8?B?bGF1Z1dTbVo4ODFuM2lxUDF0Uk4yYzVndEFzT1ZCOWZWQk04VEdkdnkyeWlP?= =?utf-8?B?aTMzTEZoR0M5cXB5eDlWQmQwVGpPOExaVmFkN0xoV21QcnBxQWV4dER4V1VN?= =?utf-8?B?azkxMFkxaFM0ZmZKTWRUSkYzTjlhWnRidENyejd3UHpsUW9GSjVEaFRDUkJM?= =?utf-8?B?STR0a002VVhTdDFGREpXVHI0KzMwSTFkc1NtZzNhV1Nkc1ZPdlAzclR3TGQ3?= =?utf-8?B?MWUxRVd2QzlDRm1HQ1ZCZ001Sm8xMDEzVEFxQ3F0YlBodlVuSHQ0T3RnREkz?= =?utf-8?B?Y0J4cDFORHgvQmtpOEZWVkFKRGJOL1JPb3pqMEkwVHpXZy9tbVR5QU45QzVZ?= =?utf-8?B?TzVBa3Bmd0lWd2owaFRPZkdpMUdyVlduRi9sRmlaa2JaV1hvUHl0VnBlNjhr?= =?utf-8?B?V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3nRxeryXTEMWIwfBsCiKbPlYyhFJRlQLoRN49JDl8gA/VIGj6hkg8nBDO5KjQmZOZPTjjtRHDfgNnNFmaYbodxGcsxVS2OJKacxyv7US8wB0hlKNxT1oNEHD2BBzRC8RFm6dlXJeIO4R8nBqGkD9ad0cEBFE+zY8ywjG/CPtEvmkbmDJ/D3OX8nV/8VC29y0I4dVE12jmPVu7Hjg8gMC8LCh/Mnpy6oRvENa/Do6B/nuNi9f1ir9nwQlLwQYDMLW0BpdQRA3d8Dtc7n0C3/MXPcnRc6o27uUYPzCQeHAI3D5qWbKKH74+PJBlwEKb0InIvCM4AnaZW/QFvjeuDYQDfRc0/0933Y5tw7Uq0NN8lakNgA= X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1139; 20:yQYxwivJA6HupLssRd0G55FlYoCWrp4+RFk56I4ANdeV6lsjuzGgxhsWJ4o8/o1Gy5KH2l80CfRWGDxgs6PiTklBHJktR7uEXCwMPM97r9F0raekFkkhsdpqATTq6ZdoZ4r/T/zdacJNFXZWkaQbXjnAE3qFQaaaOOt/fHCtmwIFWdZviMokQXa7HneDGpsGeezIyiFq2tqAkVvJR7keekodaInsCEMEKh0U/KKrMJNMZGNzgwYmcH30BrMLytRU X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 15:14:41.0496 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1139 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(+)