Message ID | 20170627150110.15908.65796.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 3051560351 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:03:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B8DE27FAD for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:03:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FC1928111; Tue, 27 Jun 2017 15:03:51 +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 B037D2818A for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:03:50 +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 1dPrzY-000635-N4; Tue, 27 Jun 2017 15:01:24 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <Thomas.Lendacky@amd.com>) id 1dPrzX-000621-Dw for xen-devel@lists.xen.org; Tue, 27 Jun 2017 15:01:23 +0000 Received: from [85.158.139.211] by server-13.bemta-5.messagelabs.com id 5F/5F-01709-24372595; Tue, 27 Jun 2017 15:01:22 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA1VSe0hTcRTe7768mquf0+q4XmsVmaRpYIVQFGL YH8oqaj2IutbVLfby3iXrj1DKaklWlBkbarZUelBS9JAKM0NK0YpC81FCaVLaitIyste9u+v1 3/ed73znOwcOS2rcjJblXU5esHEWPRNGmebplsQtE1etT7h6d9yiyg+nqaUorfHmKGFAG2izL dPu2kKbHv4cZBzVk1zdnvNUPvo+oRCFsRQuIGG0uhrJBOFjCC48PUrKRIP3EXA138MUolCWwX Oh3T9MyDgSG6DzXX4AR+EKAl6WYNlAYj8DdQ9aAgYCT4YKXxUpYwrPglttxwMGNU6Dg0WHQ2Q cilfAof76QI9GqhfdGQrUx+OpcPZJAa30R0CTp48qRKwUMAdqbsyTyySeBtf9pQErYB1cHxlh FOxGcLNklzJyJniHHoUo9SnQ2FpKKTgdbnf0hMgjAc+A5oIMeX3AVQR4eltJhRQxUF5ZHTTEw om3pYQivAyBS90v6CChwTd8DCnkGgXPWnqDO1mgrK8/mL0Rvt07HHS00HD/xzCjED+GstoT9B EU5/3nVu/fW73/3FqByHMoRuSFXF6Im58UnymYs01OK2e2xCUmJMVbeVHksnkLlynGb7VbLyP pLfJUKlSLbuzPaEDRLKEfrz4Pq9Zrxmbat+00caJps7DDwosNaDbLYl/j7tVayma38XpQn8yR 2iIEPpt3ZZkt0pv97gQ2XB+lbndIslp0cFbRnK1IzWi6dqJakH1YFkw7bH9svx/0MZqijVQjl UqlCXfwgtXs/F8fQBNZpI9UM3ZpSrjZ5vwzfUAKJqRgqtwgBzu5v5I2H9GkBtE5a43J42qz0k tSupI/L6RSzN9PpebV1GelfuSNhpUrv74yFfuM7ovMyKS2iMJirum9n3zDf+lMc3WcbioYs2Z vsQG7e3q8V3YfNMbo2re/3uQ7cqAu91PaucEHeR1dOYeM05c7Fju6LpRHp25b67tS4n6uW7dn ATpTk+LRU6KJS4wlBZH7BTXBeuibAwAA X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-13.tower-206.messagelabs.com!1498575679!89809162!1 X-Originating-IP: [104.47.32.62] 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 25252 invoked from network); 27 Jun 2017 15:01:20 -0000 Received: from mail-sn1nam01on0062.outbound.protection.outlook.com (HELO NAM01-SN1-obe.outbound.protection.outlook.com) (104.47.32.62) by server-13.tower-206.messagelabs.com with AES256-SHA256 encrypted SMTP; 27 Jun 2017 15:01:20 -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=4DOXkgUc1obxFJZSb6702sCTgp5HBw0fw+opWnQ/DBA=; b=HqTJuq5yvDgSjZPFpuJ5npAgj9m+67uoOOLvpnW1K+5R/DvxuwXP2RyD7iQOmyJEDq6N7OfcNWBg3HInOPzLu/6NfKaEgeRm5Yhj72Qd+e47izG1YXZrKCrKIkKNCwABgdRh+yGD61PNRESdlIsnbBBWyfvq5S5h98X2QqCfnGs= Received: from tlendack-t1.amdoffice.net (165.204.77.1) by BN6PR12MB1140.namprd12.prod.outlook.com (10.168.226.142) 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:01:13 +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 10:01:10 -0500 Message-ID: <20170627150110.15908.65796.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: DM5PR17CA0039.namprd17.prod.outlook.com (10.173.128.153) To BN6PR12MB1140.namprd12.prod.outlook.com (10.168.226.142) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: faafc72e-bf28-4d11-c166-08d4bd6d5bab 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:BN6PR12MB1140; X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1140; 3:mlTheO1x2APkcjy6Wb6drto2n0Rn/90KLTirZ51vvdMjtKO2WWfYBIvSVOG13bv23SfM7LhtEN0KxzOviGhu/vsyx6Fu95bDPMzJkS4VTXY1tpRbvLa2IguRelqOKGY5F0Qr/n0aFbLgAWQlcbUuapjkQKN/KwDUZe5gPZVlylN5DEMz3aA36OpDXOLBl5KBFE6JUdUbCO+pSU4qfylOwFMVf8TwmT8n2gu3lQdHwE418CWwQXP1RZKZ/uJwFgKNMgiMsTrgi74sZndKOMaBRPlhb+1TP8wJUVNMevYeByyTuvxFva06ueWsGW3hSRAPXTEn3eeEgE9Yl6Vwq4LB5Hct5vb5hKw60S0nQbihAHF3L4Fhu8FOmIGiJerW7K8BaBv5LP+fAIxrwXxOt0WqgVgPWmwYfq+Um35YOiCIRK3iKI7uEGwPzeFXrd9mywKNAbb2P0zv7aqfnSn1dLwsqZtVoJM1vX0XGBSWHuWed5Cf6UJlbWw57DhpxDJ8mP/cpEGar2QO73hQYXPMpvd4GlBgiHDsQkW560wXdZfUS5/qaHeQoPyGnnh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9VRjBNteq8i48C4SE7bBp6XT3hJfy2cuywPhyJywQGLcHPZOq0SrZ6WzF2S73xl4h93LGYK8QxeMpIliZaw2qKQGu57CJd+P/JrGkX8g1VtE7vI7k9X4/VPhKOp69lRWmNu2saMAlNj1xvvlN7LVKDIrZjz59zx3Tf+RwjseA/tFj+XtXAQrQ21IInhJYBsnwm96PGucUT7iEIcKYt/fwZy9DoJBWsbyrsHMPzCis5Mdru0VAqL79ehJvAbrLBohQm7pRTuoZiUg3JZPvjkMmWBydKVS X-Microsoft-Antispam-PRVS: <BN6PR12MB114019CB8A957FA1AE6801DDECDC0@BN6PR12MB1140.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)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(100000703101)(100105400095)(6055026)(6041248)(20161123558100)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR12MB1140; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR12MB1140; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjZQUjEyTUIxMTQwOzQ6cjhENVd1aFN5bzdGQ1BJNTdmRDF5dExiTGFD?= =?utf-8?B?eTRwbk1MSE9Fb2RFeFREOTRSUkNLeWJXOFBIWHhoVjM5NFJPU25xMkhaRjdq?= =?utf-8?B?S0ZwcUNGZUkvNmI5SHZmbzNPR0V3cUhNTURWdEJZV3ZyTVQxeU55UnlkWGlw?= =?utf-8?B?aG9WNElGVHpWU3JUeVR3Y3JmekJBSlBTNUlrV09qaDduWVd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NzODN1S3J1Z1NwWEllRnFxN0hu?= =?utf-8?B?TXNzV3BYVVcxV2hRbElnK1dEWTlBRXpLOUVmeWtEYjJlOTNRaDliVnJNeXcx?= =?utf-8?B?VW40RzdDenRhTi9UMkxpdXFXZjI5aHAyK0xpSVBsVGUzNm00d3FFNTM5cDh4?= =?utf-8?B?eDhLK2tCcnlOQ3dEMG5YVFhyUXpieVIyUVpDVzdWbjI1RktxZXFVKzgvNktL?= =?utf-8?B?a0VBbFhBTXZtT1k0UzhSY3Y0dnVRTDdWWjFDK09scytRWHh0K2xreDZVaDVi?= =?utf-8?B?M3Z4Z3ZMRE1VZFc3RGZQeXRTZGQwUld4b3BzR2lueFo1NXQ4aSt1QW81UUc1?= =?utf-8?B?MFZvSEkwTjR2bTNQbDA3WGwvclRMclBNNWswOEVaMzBBa0N2dEF5MU9iT2dU?= =?utf-8?B?VHpuVmc3S2lFUGo3Z25pdmtWUmRYUldmamZMTFhBNitaTEw3ekM4bFU1Y0Fr?= =?utf-8?B?RWM2MVd0M3V5YlZsb1lWUHE5RHFYTkpWeUlydHRWcHUwd0ZtamhIWTVTdlNO?= =?utf-8?B?aXptWUNkSzIwNkZNaHdsY1FYWDNsVHo4QTdLR2xld1ZpNlBtSzBadVZjSjJM?= =?utf-8?Q?2PadGOQckNpRugJFLbEQz+akR9PaqrgDX5Ko40?= X-Forefront-PRVS: 0351D213B3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39400400002)(39450400003)(39850400002)(39860400002)(39410400002)(39840400002)(72206003)(50466002)(54906002)(53416004)(2950100002)(55016002)(9686003)(83506001)(42186005)(53936002)(4326008)(50986999)(54356999)(76176999)(6506006)(189998001)(4001350100001)(25786009)(478600001)(33646002)(86362001)(305945005)(3846002)(97746001)(6116002)(7736002)(2906002)(8676002)(103116003)(110136004)(38730400002)(47776003)(1076002)(7406005)(66066001)(5660300001)(81166006)(230700001)(7416002)(23676002)(921003)(1121003); DIR:OUT; SFP:1101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DE8Y9iPWF+tfYT4sR6d0YISLMeee8QEnasYqGLkOcpdQY3SNli8DXTy6HPNnJxA8aYy4AKtaX4gENJOdhTMbf30SYjNTk= X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1140; 20:KilsEN27U+qscyyCwd0WIW8+rOoibaCmLQhl3EU0mLyk0avUvIyVsVUUnJ1FRaTjzV1LUGg9u4bM1kzyVyHV3hYWwh6tZS+XaqbBew/hz7dd46Hr5iWYgcTztU+tMBH1/U/OdLceL2F+00ww+DBKa9G8kl8cz6r7UJPBSjcl8msQi2EBRe0zts2ktpX2g+lyaYAnMvV+lqLsMHRFa/inLIyXtehbhGpFMEDHZM7F06t1goOKVPc4Ve8gelBMNre6 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 15:01:13.2993 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1140 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 28/38] x86, realmode: Check for memory encryption on the APs 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/realmode.h b/arch/x86/include/asm/realmode.h index 230e190..90d9152 100644 --- a/arch/x86/include/asm/realmode.h +++ b/arch/x86/include/asm/realmode.h @@ -1,6 +1,15 @@ #ifndef _ARCH_X86_REALMODE_H #define _ARCH_X86_REALMODE_H +/* + * Flag bit definitions for use with the flags field of the trampoline header + * in the CONFIG_X86_64 variant. + */ +#define TH_FLAGS_SME_ACTIVE_BIT 0 +#define TH_FLAGS_SME_ACTIVE BIT(TH_FLAGS_SME_ACTIVE_BIT) + +#ifndef __ASSEMBLY__ + #include <linux/types.h> #include <asm/io.h> @@ -38,6 +47,7 @@ struct trampoline_header { u64 start; u64 efer; u32 cr4; + u32 flags; #endif }; @@ -69,4 +79,6 @@ static inline size_t real_mode_size_needed(void) void set_real_mode_mem(phys_addr_t mem, size_t size); void reserve_real_mode(void); +#endif /* __ASSEMBLY__ */ + #endif /* _ARCH_X86_REALMODE_H */ diff --git a/arch/x86/realmode/init.c b/arch/x86/realmode/init.c index d6ddc7e..1f71980 100644 --- a/arch/x86/realmode/init.c +++ b/arch/x86/realmode/init.c @@ -108,6 +108,10 @@ static void __init setup_real_mode(void) trampoline_cr4_features = &trampoline_header->cr4; *trampoline_cr4_features = mmu_cr4_features; + trampoline_header->flags = 0; + if (sme_active()) + trampoline_header->flags |= TH_FLAGS_SME_ACTIVE; + trampoline_pgd = (u64 *) __va(real_mode_header->trampoline_pgd); trampoline_pgd[0] = trampoline_pgd_entry.pgd; trampoline_pgd[511] = init_top_pgt[511].pgd; diff --git a/arch/x86/realmode/rm/trampoline_64.S b/arch/x86/realmode/rm/trampoline_64.S index dac7b20..614fd70 100644 --- a/arch/x86/realmode/rm/trampoline_64.S +++ b/arch/x86/realmode/rm/trampoline_64.S @@ -30,6 +30,7 @@ #include <asm/msr.h> #include <asm/segment.h> #include <asm/processor-flags.h> +#include <asm/realmode.h> #include "realmode.h" .text @@ -92,6 +93,28 @@ ENTRY(startup_32) movl %edx, %fs movl %edx, %gs + /* + * Check for memory encryption support. This is a safety net in + * case BIOS hasn't done the necessary step of setting the bit in + * the MSR for this AP. If SME is active and we've gotten this far + * then it is safe for us to set the MSR bit and continue. If we + * don't we'll eventually crash trying to execute encrypted + * instructions. + */ + bt $TH_FLAGS_SME_ACTIVE_BIT, pa_tr_flags + jnc .Ldone + movl $MSR_K8_SYSCFG, %ecx + rdmsr + bts $MSR_K8_SYSCFG_MEM_ENCRYPT_BIT, %eax + jc .Ldone + + /* + * Memory encryption is enabled but the SME enable bit for this + * CPU has has not been set. It is safe to set it, so do so. + */ + wrmsr +.Ldone: + movl pa_tr_cr4, %eax movl %eax, %cr4 # Enable PAE mode @@ -147,6 +170,7 @@ GLOBAL(trampoline_header) tr_start: .space 8 GLOBAL(tr_efer) .space 8 GLOBAL(tr_cr4) .space 4 + GLOBAL(tr_flags) .space 4 END(trampoline_header) #include "trampoline_common.S"