Message ID | 20170627145812.15908.39913.stgit@tlendack-t1.amdoffice.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xen.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 2B51560351 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:00:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1DA15286C3 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:00:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1124E286C1; Tue, 27 Jun 2017 15:00:36 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 72C5E286CC for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:00:35 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1dPrwd-0003JI-Aj; Tue, 27 Jun 2017 14:58:23 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <Thomas.Lendacky@amd.com>) id 1dPrwb-0003IP-Un for xen-devel@lists.xen.org; Tue, 27 Jun 2017 14:58:22 +0000 Received: from [193.109.254.147] by server-3.bemta-6.messagelabs.com id 57/DB-03044-D8272595; Tue, 27 Jun 2017 14:58:21 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA1VSeUgUYRTvm2tHceRztXwtWbpmkXhGRUREGZR lpRgpWpGzNboLe+jMVhtUSG0HpmYKG22m5tFhRRmZkiRmWCodknRI/ZOEkSlll5mJzeyo1ffX 773f8b4HjyW1hxkdKzjsgmjlzXrGmzJGL0iOzBeT02J+hS2tHqqiVqL4tqZRIgml0yarwebIo I1F3aNEdqOv4/HoeyYX3ffJQ94shZ0kXPrcwSgFwiUIrr0sJpVCi48S0Ow+TeQhL5bBEfBi8J sH++PV8LH4MKPgAFxBQK8LKwYSDzLQ/OSRhyDwLKiorCEVTOEwGGgto/IQy3I4Hj4PcUrbC6+ Dwr4Wj0QrtwvufdUoeDqeDZe7nbSCOewHHWfeeawkXgDX70QrbRLPgYbBUo8VcDA0DA97FgB8 DEHR8xJCzZwL7q9dGlUUBG2PSykVb4T28SJayQQcCp3OTWq7hoChqlVqTgEDPX3lE95wqLw4M jGgVwNfblVrJgoaeuqclFrcpqA//yxSY83QMh6hurfC74cnaRU/omFszK7qBzGMl4ygIhTp/m dT999N3f9sWoHIWjRfEsQ9ghi5MMogmrKMdgtvMkfGxiyJsgiSxGcJZt4gRe20WW4i+SKmya8 RXRiLa0UzWUI/nbsCyWlaX4Nt1z4jLxl3iLvNgtSK5rMsrmw7tFlHWW1WQQ9ceY4s8xOFLMGR aTLLFzapBNZHH8C9yJZpTsrmLZIpS6U6UYgukBMVH1YI427rlG3yNp+hIJ0/h+Q/aX2yBdFis v/P96NAFun9OcYmp/iYrPap9H55MCEPpsqSlMF2/i+ly0UHl8etnJdoGJjpXHviadCnxaEr3n 5wLLuakvIkZMMMTe5Bfm5EzBoXXfigJZX8vSWn1lV62br/VXVGzWwqzLu93jut2CvhjfCTbMy /sTX+dXCr6/jO5u2pXYsEQ/enxPqEA3sP3c08tz69qb6+ptltT89rqJuxLfOHkT4fvM313Xnk lJ6SjHxsOClK/B/c4UhulgMAAA== X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-15.tower-27.messagelabs.com!1498575498!56847194!1 X-Originating-IP: [104.47.41.82] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.19; banners=-,-,- X-VirusChecked: Checked Received: (qmail 11030 invoked from network); 27 Jun 2017 14:58:19 -0000 Received: from mail-dm3nam03on0082.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) (104.47.41.82) by server-15.tower-27.messagelabs.com with AES256-SHA256 encrypted SMTP; 27 Jun 2017 14:58:19 -0000 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=alDY2HXOMu2dcCg3q+8Tvm5dJ1EwheNN0llqOcZpsqM=; b=GTyZEVln49kbznHFihmA+lEpmv1OFBrFz0s79VjLc9/BJGbMUqKe+pBnKAhGe1/pA74earG7VjpmpeErLWQT72XTex6pIg+kBweZH4TxYQPv72U737LWMQEtoflPXRF+EeL/2WEhZ0aFUio/bKRoAHvRcvHBKdqbv/wF066tLqg= Received: from tlendack-t1.amdoffice.net (165.204.77.1) by CY4PR12MB1141.namprd12.prod.outlook.com (10.168.163.149) 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 14:58:15 +0000 From: Tom Lendacky <thomas.lendacky@amd.com> 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 Date: Tue, 27 Jun 2017 09:58:12 -0500 Message-ID: <20170627145812.15908.39913.stgit@tlendack-t1.amdoffice.net> In-Reply-To: <20170627145607.15908.26571.stgit@tlendack-t1.amdoffice.net> References: <20170627145607.15908.26571.stgit@tlendack-t1.amdoffice.net> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: MWHPR21CA0064.namprd21.prod.outlook.com (10.172.93.154) To CY4PR12MB1141.namprd12.prod.outlook.com (10.168.163.149) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 265d494a-dbe8-4a9c-d192-08d4bd6cf1f4 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:CY4PR12MB1141; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1141; 3:wgQS+GjYuMyo1JT++rDO/c/aOJ5jjy6r6c9SlsQ3ap+c0N/bUOCNPz4g+tPhVHJ3lIAdYreCg4n9O3X3FN4+D7lumOlSA32F950VXDs98kiK2cmv+OVQOR/gFJe9hk2bsLH35zcaIib5/NscjJb5kUb4Z6SVodJ+tRXi+caccGReKOyl5HkJBoFq8uNMNs0NAbapJ12BI1e2WhgwFoy4kFeO/Ba+ipkUREAe2MRpbiZiyizXWqturjE5We8JYEBZcbQX8KlCXqaYUXYU5ZnrJrzGlsxqaxZM9heXW6hEEUCgWyBIbZ6JHP3h+Y8AwPtBXGNg/pzMK6LYTEhwQwqLvx3yDDTItITKJ00qHbfT7BVcyHo8gcaBUuCIoX5jc6bZI3xgEDJyJJPEfB1BFGheIVPqW5vZjCe5Q2FrZrOStmvk+mg2+WCxlkSXtToWCmxAwKcD3AEnU4a9GtLWl5+PrYjDESYn078ACIGSZwpFuClkox3HEGWnQhBMEJemAhvbcExIftv61VQev0ZL4UWU29KuOcoumo04kclV2hljEVlIuPmD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x+6Hd+tyVX49d4AVbVs/AjIqooxnLf3TECeNZ7CfZg+JA4GgBCZiqmP4HkeF7gEfkNeb27UeGMY7bNfgE0deptzCXrU9RX/PcuhGdrMzUe0EWfevxFHhe83sLJBY5H6/ymFOUXAQoG7Vr10wOHvRHGRrR7RqNUrJpBZyynleo3lk3187qgo3fm5i/8Wk1MPMv2lMb6slscBpbxiKUgTJs6LBNwRv8SRU62vxDWAmKexW2sUSaf5LEotI39Ok8Yx1KtNKvAIwx0rOzr1J4k/JmbCpnY/qELVBvi7PRVtFS/H2U0xKSXM X-Microsoft-Antispam-PRVS: <CY4PR12MB11415A310E05159D9B02636BECDC0@CY4PR12MB1141.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6055026)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR12MB1141; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR12MB1141; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxMTQxOzQ6RHdrMTJWS3VoengzeW0vZ09TTDlXUEJ5a1Vt?= =?utf-8?B?Um1SejNSdXhUbFB2QkczZDV3bzkwMWpHaGwxZjh0bDlvL3h6WXlmUVI4TktO?= =?utf-8?B?Q1FHVHlyK0liRDFGSXBON0x6YVZYbDI3MCtZRFhkTXgrU0prWDhzbmk5MEQw?= =?utf-8?B?NlRQV1RtNHZYd3lud1JMZmk3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VQml5ZDhKYUo5eUhVbS9BRnB0QXRKOEJycDB1dWJRZGl4SWhaRlZJ?= =?utf-8?B?OFVOMVlIMGpDUktHck1hWlcyZGd3Q3B1bzRMUnJyNHRzblNwS3hBM0FZZVJN?= =?utf-8?B?bUhOaDloalhFK1hKbUhEQm12TElvd0dmWTJ3eERlVW5vcW5iZGFzK20rcjBo?= =?utf-8?B?SEMzelNPd09rK3JuYzJJbzNQMDA2WWUzdFhMNVVjOWlyMFJQaVo0MENhbTBa?= =?utf-8?B?RmFPTkpoNTJseW1JV1JHUmhEZUR2S0NTREdQVVpPem01Tlhxdml3Mnh0WFRH?= =?utf-8?B?SVREazFwSXBVZE1XSE1jNXYzN1h1ZTBJNW5LVW0wUU9kWENZUzcvNms4T3o2?= =?utf-8?B?WkNpdGl0aFNXN3N5WTN0M0JPYm13S29BY0JpWm5mR3pCaUViVVg0eWx6RGZt?= =?utf-8?B?eml0UDhWR1ExWlRXTnZvQkVCeUFpWTMyTm16YlFEZXN4REJTb0lsYlYrY0ZP?= =?utf-8?B?M3J4dEZHVjlPWTltNGh6eDA5VjltRE44cTZVR2haYmkyZ3U4N1pjNG1TODVN?= =?utf-8?B?ZkFXc1p2eDNsSnRwNWN2Y05TbVNLakJvS3BpUVIybmh1MkcwOGZIdDFzWE5I?= =?utf-8?Q?QZZzePQJLNrP85E5gefyrE9hUuO6eBAW945ImK?= X-Forefront-PRVS: 0351D213B3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39860400002)(39850400002)(39450400003)(39400400002)(39840400002)(6666003)(54906002)(9686003)(2950100002)(6116002)(55016002)(83506001)(110136004)(38730400002)(2906002)(54356999)(76176999)(23676002)(53936002)(8676002)(230700001)(4001350100001)(478600001)(25786009)(50986999)(3846002)(4326008)(1076002)(189998001)(81166006)(33646002)(7736002)(103116003)(42186005)(66066001)(47776003)(50466002)(72206003)(53416004)(97746001)(5660300001)(305945005)(86362001)(7416002)(7406005)(6506006)(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InffKePCAbviikW57PQliCjbcXJ6ykjp/1+CYRyd5Ybp+gnwjVBP6+3SBYOsFZaxau3yLLmCT9vEnx2zdos7NHR85FUWlJvXI= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1141; 20:uCjBIXdbt45VqxkP0bxqjqgt7rfNh7Dn/7VkOqHQbbBJvWHoeL1B73fXBKp/TBbCNETi96hXF3lANd5m9W1Zn7otjdcBSH08W7wAAca99THubLi505LF9DQL0UniEo2nuX/xBWUzmlgVNN5gCOWEisfOILTKwIePajldT84rYOIXHe6gTbdM3CFyg5HHuormkXAw77l77R7/W86tOXLNzEgZGOP4YxYc+M107N9pWaTQ9372MJpgZpFV8O6wg4kY X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 14:58:15.1897 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1141 Cc: Brijesh Singh <brijesh.singh@amd.com>, Toshimitsu Kani <toshi.kani@hpe.com>, "Michael S. Tsirkin" <mst@redhat.com>, Matt Fleming <matt@codeblueprint.co.uk>, Alexander Potapenko <glider@google.com>, "H. Peter Anvin" <hpa@zytor.com>, Boris Ostrovsky <boris.ostrovsky@oracle.com>, Jonathan Corbet <corbet@lwn.net>, Joerg Roedel <joro@8bytes.org>, Radim =?utf-8?b?S3LEjW3DocWZ?= <rkrcmar@redhat.com>, Larry Woodman <lwoodman@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>, Borislav Petkov <bp@alien8.de>, Andy Lutomirski <luto@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Dmitry Vyukov <dvyukov@google.com>, Juergen Gross <jgross@suse.com>, Paolo Bonzini <pbonzini@redhat.com> Subject: [Xen-devel] [PATCH v8 11/38] x86/mm: Add SME support for read_cr3_pa() X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/x86/include/asm/processor-flags.h b/arch/x86/include/asm/processor-flags.h index 79aa2f9..f5d3e50 100644 --- a/arch/x86/include/asm/processor-flags.h +++ b/arch/x86/include/asm/processor-flags.h @@ -2,6 +2,7 @@ #define _ASM_X86_PROCESSOR_FLAGS_H #include <uapi/asm/processor-flags.h> +#include <linux/mem_encrypt.h> #ifdef CONFIG_VM86 #define X86_VM_MASK X86_EFLAGS_VM @@ -32,8 +33,8 @@ * CR3_ADDR_MASK is the mask used by read_cr3_pa(). */ #ifdef CONFIG_X86_64 -/* Mask off the address space ID bits. */ -#define CR3_ADDR_MASK 0x7FFFFFFFFFFFF000ull +/* Mask off the address space ID and SME encryption bits. */ +#define CR3_ADDR_MASK __sme_clr(0x7FFFFFFFFFFFF000ull) #define CR3_PCID_MASK 0xFFFull #else /* diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 8010c97..ab878bd 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -240,6 +240,11 @@ static inline unsigned long read_cr3_pa(void) return __read_cr3() & CR3_ADDR_MASK; } +static inline unsigned long native_read_cr3_pa(void) +{ + return __native_read_cr3() & CR3_ADDR_MASK; +} + static inline void load_cr3(pgd_t *pgdir) { write_cr3(__sme_pa(pgdir));