Message ID | 20170707133827.29711.32805.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 6EDE360352 for <patchwork-kvm@patchwork.kernel.org>; Fri, 7 Jul 2017 13:38:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6210628696 for <patchwork-kvm@patchwork.kernel.org>; Fri, 7 Jul 2017 13:38:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5372F28683; Fri, 7 Jul 2017 13:38:49 +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 9751328683 for <patchwork-kvm@patchwork.kernel.org>; Fri, 7 Jul 2017 13:38:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752407AbdGGNik (ORCPT <rfc822;patchwork-kvm@patchwork.kernel.org>); Fri, 7 Jul 2017 09:38:40 -0400 Received: from mail-by2nam01on0084.outbound.protection.outlook.com ([104.47.34.84]:21728 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752305AbdGGNid (ORCPT <rfc822;kvm@vger.kernel.org>); Fri, 7 Jul 2017 09:38:33 -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=KZQXNQEh++IgY6Lz3KhWRGOGb3N435hyXpFgDWR7O2o=; b=FsNdmU5vYOKJS68rmYU1f8jv1FIuVAX8IzS0B6O0LK1Ed95R84AUBWqRoNZ3zJRSedM8odGoZb7L7laxb2tXkD18p7+JZ7khfv0Vk+Rcqgkztn+V4IhWv9d8XMg1rXLLwcSApy2ub/RpvxkkcPkEMpBkwqzk/r+IWQ+tkChVZN8= 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 CY4PR12MB1144.namprd12.prod.outlook.com (10.168.164.136) 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:38:29 +0000 From: Tom Lendacky <thomas.lendacky@amd.com> Subject: [PATCH v9 02/38] x86/mm/pat: Set write-protect cache mode for full PAT support 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:38:27 -0500 Message-ID: <20170707133827.29711.32805.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: DM5PR12CA0050.namprd12.prod.outlook.com (10.175.83.140) To CY4PR12MB1144.namprd12.prod.outlook.com (10.168.164.136) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b3d45281-d525-4884-5198-08d4c53d74ad 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:CY4PR12MB1144; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1144; 3:qrL+4Yi3qfpPGIHfH7LiqWxh7RnrT9q778SvzQWGYVgp2fiLlVtvqRvoHQtGa915eHdRaDK3YUweoVRw61cXyC+4vNq99VqBgcaoq3LW92vlCAlEejWJdC3oUkWZhyhms2vK/EzUaZ+5D4mTdr2YMWSHDVinTuT6zs2PXPJcaioeDRMMTdw4SFqQhj4nvkwgveXzFRGi6ckhQA59fYGWR2rXFP0/QcuBmz0VBtobbFeULl/6vty5dfMXAw9ph2G+p82MybmIxoOAg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NIhbg7STiF7cSzkZ2XnYdqF2dJGGUZqDMbv/Lsq3j4oMpSsuER4MVoRPUQtyJU7nrWz15fAK+EepOTVZf3ARtjskqrdoxU0JxEE/OvPz4KuMtS9sxoMY0H/mufUR0= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1144; 20:aHSPSvHg4PbsBro1LNjshTcRULopjcwQlywK6EmhoD+X8kFSrmF9NNXWaCNMD0K3qlNtmSEFwFN9wrgDVGmanBxnwLcvOihsfCI6fq9eLgd7ZwNFYtwG7cacsYlKnd0HJaggOJrmJsetlvw+JIYm/opNDohbY3j9lrL5m/ce10/8S8+yDpCpv0qXHe2k2W/MY8DDadHqT5oOt0ub7atci3g6Nu7/qmqOdtwel840gFIttVYT0JIIbTXGju3ruaGkj04DlgsXN7bbcWFtCNaseX8LIMiyM172KYKoTPK/CGSs0ChUZvxOlmX31WsgsSi4YdJCdKmacyOsnSnNTnH+1ccMHuniAEb0htukxxTsreWJanEBnQvHIE3nusHpUgyPktB4eDqaDm1J0fNs5LkYh07/kxTVfHQpomLVFluzjcZJd5ORpgC3qcJzA+5MdZefiUbUIbYmIzzDiSrl3I+o9rt1DB41oz7Hp6KYkisXW9OKt+n9sDcXr3C9UyPBqZhZ X-Microsoft-Antispam-PRVS: <CY4PR12MB11443DD993B1C4922FA05E9FECAA0@CY4PR12MB1144.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)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(3002001)(6055026)(6041248)(20161123555025)(20161123560025)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR12MB1144; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR12MB1144; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxMTQ0OzQ6dytqTEE5cGVQVlNjQ0ViQzJFVEQzcFcrb01T?= =?utf-8?B?SDJDMEFoVlFsODZRWjdSSG9iblZPNExxVmtISHlVQmI0V3l3M3VMV3BvakRM?= =?utf-8?B?SzZ0dDNmdUpXbkR1aHVsbmE5a2ZVU3ZoTHFGVTJKd2pVM2lTY0VSOXZ0TjRM?= =?utf-8?B?NWpJV3FyVUlSOXkzN3VWRlQ4QU5hZUJVdEtKdHB3bWlHY2QyUzZRUkVGUWhZ?= =?utf-8?B?NXdHOWVvT29oNThZdVlPWGdkNlJCN3hNQUFXUmpkTlYweFdnVzhsbHlISmQ2?= =?utf-8?B?dWNueWlTbnMxbHdRUms5SVQ4L1FPUmVZNEt1b0tWN3drN1Y3eDB2ajRCMjNM?= =?utf-8?B?R0lPMVhTcFdpSVdJdGxpMlVoSWxWMUFrbHdFaU85ejhNSTJycHkxL1FwK0pU?= =?utf-8?B?alA2SGZYeHBxUnJXMXdka01KTThmbE10SjBVTWswbjlhbHBnQXVNYTVMNXda?= =?utf-8?B?dURkTEVqUCtkcXowYjhuSnpWTnluNlUzZHZ1NTZRSkJiUmliMGJqMGxsM2Ux?= =?utf-8?B?L28ramZYZnVsWGpPaHN0LzJiOGZnYXh3SzB3SCtGKzR4UkYrOEpTdUwwaDVj?= =?utf-8?B?Z1VDN3YzSHdrY3BNaEw0TTc3RndqaVRHYW1mSWZzMWdteTFEd3Z6NDFpRXdJ?= =?utf-8?B?NkNyS1NmQXpoUzAwNTVXU0Jwc2JKRHhOWU9oS3VtS3NFNm1SZHFSeW96Mzky?= =?utf-8?B?eWR2b2l0am9RK3Z0WDcwK2szWGU1MExFbnd6cCtWY3dGd0pjdWw2TGZSeXFj?= =?utf-8?B?ZzN6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utf-8?Q?nnEsox9qlg9+hTYXwwKkG2doTtuVhJjnbcnjDa?= X-Forefront-PRVS: 0361212EA8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39400400002)(39410400002)(39850400002)(39860400002)(39840400002)(25786009)(6116002)(7416002)(53936002)(23676002)(9686003)(83506001)(5660300001)(8676002)(7736002)(54906002)(103116003)(55016002)(305945005)(86362001)(3846002)(2906002)(1076002)(33646002)(38730400002)(110136004)(81166006)(478600001)(189998001)(72206003)(7406005)(6506006)(66066001)(4326008)(50466002)(97746001)(54356999)(42186005)(230700001)(53416004)(50986999)(47776003)(2950100002)(76176999)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR12MB1144; H:tlendack-t1.amdoffice.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxMTQ0OzIzOjhBcC9lR2JpMXNOL2I5VnlVQW0yVlhsS0p1?= =?utf-8?B?ODFpMVBHZllnRlQ2ZWZGU3NxTVZSSmwyMEtLTldnN2orOWJiNmcwSE5YRVdF?= =?utf-8?B?eFU3cXE1YStlWENROExCVDIzRVRhVEc0SFNkb2tFUkRBODJoN2p1YjVqRmhs?= =?utf-8?B?N1hKdGdxL1BFMzVQYVFLaWxGbHdqV01Yb3A1aFBIRiszVjUyKzJ4WTY2d2Z4?= =?utf-8?B?Ykg2QjEvNnNZQzEyYWpLa0hyUFFtMDdrMlcyeFhKWHZ5K0F3cjE5aE82Zk9x?= =?utf-8?B?UlZvKzVGMDZIcmp5RHRvL2dtUzk2MHl5V3B2MXFmcHhsVS9NclRtcitYR2NU?= =?utf-8?B?Z1NZWWZEcnlFUzBKVkllL2dhNEcvZjVPTEhWUmxqVm1TUDFNZllGQ3VtWkhx?= =?utf-8?B?UmovdTBRcmF2RVFqczdSWEl6WW5lMXlyV0RpeWZTcGtCVnNtUkk3ak05blNm?= =?utf-8?B?NG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35mHwtZOd6iLtNHFVte1M1eTobssbD44PqRBHv2/PhxDDt/RzQEMrcxfpcTe60G65j516Gc74eKExd2KNVXed/pquzvTmWanjG6kr+KSspSgvrkagPjTprhhx1Neg2D18hjbqUSuUMW0RNH7nUOXdrLHAySc71iwmZoIlGtew5h5ZTxPZVp2RKfoIV+lhUKAYcvS+tslATffgmM/VXG1sSERezvSrlvecX6CX6IhVM2CSVJNEvsD3CvIPjo+W/DqrQNvmIlgk8VVpkMtQG+hWP4e2CeMmSc3aPQmIcCX9CSkFiLmumt2YqR/rxaBh61mG3sjqdKsKsNpAEbrXfapuSFu8U9O1RRLTjj5LReZmLYkrRoeZ96S4= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1144; 20:OadRV6JzG1RT5cE0R+Xc0hzSYNxgYCfUPS9YoGs5E/5n5jBUcWNI8mVe57O+nVBktfvpHe4B1cCYvwAbsp7JtLFveoaFGMlF63k9dU9NeN5JOH4RBgbCraCwu6LgWE1edBP6olMYnLFVMfKhBPrK3JMd+PMlD0bWd756C4sHq9Ab5ykGElZszhHkpxOjZMCrUuCklzOCr4jAGTuQ7B5xdE7KcYyMmFRZUdEfmhw13cEE+ZGuFMrIBRCLSufzMab8 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2017 13:38:29.3993 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1144 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/arch/x86/mm/pat.c b/arch/x86/mm/pat.c index 4597950..88990ab 100644 --- a/arch/x86/mm/pat.c +++ b/arch/x86/mm/pat.c @@ -293,7 +293,7 @@ void init_cache_modes(void) * pat_init - Initialize PAT MSR and PAT table * * This function initializes PAT MSR and PAT table with an OS-defined value - * to enable additional cache attributes, WC and WT. + * to enable additional cache attributes, WC, WT and WP. * * This function must be called on all CPUs using the specific sequence of * operations defined in Intel SDM. mtrr_rendezvous_handler() provides this @@ -352,7 +352,7 @@ void pat_init(void) * 010 2 UC-: _PAGE_CACHE_MODE_UC_MINUS * 011 3 UC : _PAGE_CACHE_MODE_UC * 100 4 WB : Reserved - * 101 5 WC : Reserved + * 101 5 WP : _PAGE_CACHE_MODE_WP * 110 6 UC-: Reserved * 111 7 WT : _PAGE_CACHE_MODE_WT * @@ -360,7 +360,7 @@ void pat_init(void) * corresponding types in the presence of PAT errata. */ pat = PAT(0, WB) | PAT(1, WC) | PAT(2, UC_MINUS) | PAT(3, UC) | - PAT(4, WB) | PAT(5, WC) | PAT(6, UC_MINUS) | PAT(7, WT); + PAT(4, WB) | PAT(5, WP) | PAT(6, UC_MINUS) | PAT(7, WT); } if (!boot_cpu_done) {