Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752099AbdFGTOA (ORCPT ); Wed, 7 Jun 2017 15:14:00 -0400 Received: from mail-sn1nam02on0044.outbound.protection.outlook.com ([104.47.36.44]:2496 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751792AbdFGTNi (ORCPT ); Wed, 7 Jun 2017 15:13:38 -0400 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=amd.com; From: Tom Lendacky Subject: [PATCH v6 02/34] 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, linux-mm@kvack.org, iommu@lists.linux-foundation.org Cc: Rik van Riel , Radim =?utf-8?b?S3LEjW3DocWZ?= , Toshimitsu Kani , Arnd Bergmann , Jonathan Corbet , Matt Fleming , "Michael S. Tsirkin" , Joerg Roedel , Konrad Rzeszutek Wilk , Paolo Bonzini , Larry Woodman , Brijesh Singh , Ingo Molnar , Borislav Petkov , Andy Lutomirski , "H. Peter Anvin" , Andrey Ryabinin , Alexander Potapenko , Dave Young , Thomas Gleixner , Dmitry Vyukov Date: Wed, 07 Jun 2017 14:13:33 -0500 Message-ID: <20170607191333.28645.95909.stgit@tlendack-t1.amdoffice.net> In-Reply-To: <20170607191309.28645.15241.stgit@tlendack-t1.amdoffice.net> References: <20170607191309.28645.15241.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: DM5PR16CA0044.namprd16.prod.outlook.com (10.172.42.158) To DM5PR12MB1147.namprd12.prod.outlook.com (10.168.236.142) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR12MB1147: X-MS-Office365-Filtering-Correlation-Id: bb1cbc7c-a1f3-4525-6f11-08d4add94c1b X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(48565401081)(201703131423075)(201703031133081);SRVR:DM5PR12MB1147; X-Microsoft-Exchange-Diagnostics: 1;DM5PR12MB1147;3:q0XBqSupdLN6IlLhL3MEMcQUN+7E1qn+9hYnhibHyKsEhoTH6Flf1Vpi4KOjyzDC78cyYa2fg9OB5Eb2JjamiM334Gaqw4CbE1oUNeiu2ZfOXVI8yxyigmOZaKFQEOMz0eQYOwM0a3lZCRk7EEbg/Ow8nftZmbi5I508vR/Nfw2sqMkBS3D1B9XvcjY66JOuzJUwenqxHR56i9sWk5RwgdajO+Rb5I0yd328+lCcJfLC7dahlHQ6lMKuvGBQvOL7RExg2DDD9hCmutAQBdIdeUbVmpdJbdqgCtvQWj3NPXVDVSEC5LBhv7zLKY4htxmMS0122a9mM0VsDHFA+h5NvPE4KwNGlumAnMAOMRmjJPw=;25:UZeykWfnM3s3al72ri9stV7+ZUR6vSFCEcmyJoe6tq3qRfJ17XFeBgPKhvp47rqT0BIPWL1U+P4WmEsLBGrPbyNaanS8PE1CNppJ0rWDJuDj9YaHg3hgBnBA+R5tIo0s44aSlU6HKIMTwPvE/jp10QG8/9hPu/3GmqWq1LZdCJsiPvXe/IgyUzUKBDJvrY9cZWdFKaghDon/CgmZQrlsHQ4aaOsKagxvP3ROD1e+YSbbqr72vewNI/nDwvnYOcRU71Fs5Ii6dXxU5UeAV9tpvC2isgEZQHIHvpYA56Fk838OmlrIGUFLjvzpK08JxnBdI7nJnBTGCQsVKttls2ugX/UDkFaIQTPEumaiYSZtxEJSn++bJIkVT0+JRoudtVc05iicyy7KFKqAVty7t8glgHbukiVz8wgVqteZGQ05KZO69hwI2QaSCFbsQ5CA0xgWXbeQeiQ+/sobmtOeqLd640Hte/Z657eozkia6Rducuc= X-Microsoft-Exchange-Diagnostics: 1;DM5PR12MB1147;31:7uPmzAyJapgsHlNZsicH37a+5EYze3r7rwgyImPpq+o0MGl0f0Ab7OkNtCETAm1z8aISRaKc7bFt6cEu9F15jpPC43WGbeqiVfv8oJbH47i2yCHC5QPLevDsIrGeZYa4ZyJGypbGzBDIN3PC+6OpbzNblIcFNvBPcEan+mSrjs9lW+2DHhISHOYYjvzNYKqCqe2FBe0pyDMg4yWDo5F8PKNDnKyPk+8o7tVQVPdPs3k=;20:S4sJKHjXhDkP2Amo/rzfkQa6ZZOHufpqa/FgbjTcGkbg7zOrdlwxMOB5GAMrKgk5LXqDB+xT19ux06e13R2Pe0gMaawNX9e6AfiTADBCcjz6uzYtdzF9OAq35s+bpoeLlpbAoPB/PlX+f1HDk0ghjrvkIhZrkrfttDDpaiJ+MwLiDrr6DyWcn90lZX95I0MLZLguZjsSUsDZArr+Vc/Hs6x0a2Gi3zbYxaO7SmErVpqFREujpuZHA7iDgFD+tSaCJEmKUG8HgJZ/PrIWTeK1S3RpRUivryDlyNTRc0AkcoVnvxHidj6OLs+kKQVdGAtFYYCYM9Ek/dybiSBfQlqNg19+tFYHexxd38rKar9Rjn+jSW/s0uoQg4mXmA04R1nSfiLubOU4oPrOnNMEwllCKxMYkXEM2c/7szxZzspkLXlGuueN9tre5eAQwnt8cSakyVfqaXQt6DoctT1mBBbyFNjPXWjni9b0iMubnliNvB6FapQYdmZ2iDSETjahet0S X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(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)(3002001)(93006095)(93001095)(6055026)(6041248)(20161123555025)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DM5PR12MB1147;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DM5PR12MB1147; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTVQUjEyTUIxMTQ3OzQ6Z1YxMTNuV3VJaTBLMGRlSnBSY1dQTnVlSWJi?= =?utf-8?B?d2Z0cjc2SXRHdGNGQUVSajBsd3hXOW4zUHZrQlJJTFVVVUxTOUxKMDhCY1FF?= =?utf-8?B?RGVTVFFDaUZ0VmVVQUltVjJDbzlBZHpSVi9DSXhJcHNLQmFnT283dlhQdFRi?= =?utf-8?B?OHBaazJ6Z0ZjcDJZU0JBVUJEYkc0VWdTTmxpUmNLSHBOK0d2dUE0L0NFQmt0?= =?utf-8?B?MCtyTmpheU8zaTIwZVZJaWFRQjNhUkF3NVhtRDNyUE8zOVFHYmFWaldrL2hU?= =?utf-8?B?dWl0ZXFaZG1QcGN0RFh2ZlF4VWpjOUpXTXNCRGYrT3EzZ25Ia2Z0cm5KMHZa?= =?utf-8?B?R0FrNlcrWXVxZUJ5MlhXR0Vha281NEtVZ0xwNndlcjViM2JiZThEWUczZDFz?= =?utf-8?B?T2xQdTBKZ2FmbDVrbUdndkFIWjNjK1BOZ0VwMFFHUGRvZlBUQUx2aWlMRmFB?= =?utf-8?B?ak1GNmtHNnFGM285S0tvZlFnaTIrcVd1OUFEQWdVNlUzQnlwQ2lSKytDZkxT?= =?utf-8?B?RmN2VzlEQ0FPYU1TQ1puSW85TjJHa2dWUGY0d2JEUmt0WWhpRFhZa1VsMXh4?= =?utf-8?B?ZHgxRDZFTGZQWjNXcms1RWJDK29zZzRQeVo0VTdCanM3Q3cxRVhZVER3bjVz?= =?utf-8?B?SnVnTHNKSHI4Y2ZxdUhnRGtKdm5Pb0tlV0Z5MXhNUXIzOW9HYWVvbWg2cWRx?= =?utf-8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YmZEMTZaWXFpNEtaYmpzZTQ0eVd6?= =?utf-8?Q?wGhf/Jh5aaclpBAFuww?= X-Forefront-PRVS: 03319F6FEF X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39860400002)(39450400003)(39840400002)(39850400002)(39400400002)(39410400002)(110136004)(478600001)(2906002)(8676002)(81166006)(103116003)(7416002)(7406005)(53936002)(50986999)(5660300001)(2950100002)(54906002)(3846002)(76176999)(86362001)(305945005)(7736002)(97746001)(55016002)(47776003)(6116002)(23676002)(9686003)(4326008)(66066001)(50466002)(230700001)(1076002)(6506006)(54356999)(33646002)(38730400002)(42186005)(25786009)(72206003)(83506001)(53416004)(189998001)(4001350100001)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1147;H:tlendack-t1.amdoffice.net;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTVQUjEyTUIxMTQ3OzIzOmF0VHJ1TkgrU2FYeHpHOExFWThSeE1Yc2lW?= =?utf-8?B?ZzJlSU1BL3lSQ3ZHOE4zdjNXdVExS3JkbnhEUHRzYUpYQ3QvdnhnQ3dlVkFX?= =?utf-8?B?cnQyS1ZUVmhGc3FvaVlWR2F6R0ZKNGJNcWVrZ0RtOHgzNHNTYlYvZ1IybEdT?= =?utf-8?B?NEpnWlhocVhNUGd3cDRrR2tFQ0svQXUyblhTa1JwUWFab2FFMVV1QlBWZFBv?= =?utf-8?B?OWN6akV6b05iQllKaTJWOHRoTkdOblpGRS9JM2p1M2UxbWZLWGdwTEttbXhj?= =?utf-8?B?TFkwc3hoeitidHpFWGgvMGxGenE3LzR0RVJ3c0ZiUGIyT3p5K1k5TW1yTXhX?= =?utf-8?B?SFhzUC9ZRXdHNHpIbERBTGFuRWhvNjJ2Q2Y2TEtuY3J5bjVBa3ZCUWZWK0Zo?= =?utf-8?B?NnYzbk9sYXByN0pqTFpGQUFLQTJ6N0RldXJ4eXQ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Y/5L67+93ZOS3e5OWTTyc4PdmL37DcoZxvEOO4rloGQCTaYyzof+5pFvITdIUbyfU+UU+kNmmzA1OfLdBcwsq100MKQw1S4Kdg3Y9Mq47P77XmdeBaTUTLK1tySa7+plMNMf4qX20oRt/fUpPb55FntwKV6cqIDPvDyy3+iACq0Y+o/HdXVz9x+PDKGi5H+1mCDrcubPieiWbNoMJBA3flBHOWlmG+QdJqIyBiSsnaOURhyhQEhOnpuGId62kEKzi1ftBr1kie0VaZVxsZN6cHE1FGpF7WngimiMwyRV250BXtCJcs5BW/niJQugR6G6m7TH32PODgi8o4KremsV39MY3g+4h++9myDWAqzdL97m7DD31ngxBmgJJVK9cOno5ftDm5ptrHGunB27l2PvE+R1blODTkamg5JXgLerQPUM1K2vfi45rEmhYUK+gjg0gf1ieQtAsTKRZDQ2I0hpYVC6keiowMFiXeacCfJYI1Fr432;24:H8wNuOKzOx7rM0dn4Psy26QxvxiUYFyud8+D+MTS+VnOWp5OvAsRFu+aXqym/cQvZDcPgvR0EKzadp/TmfcnG2xaozuSkrn6bloJzlZhah8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DM5PR12MB1147;7:6TkMoxZjHZpvHde47M1Ymhj5gP+Co5ux1VPF+Ui7AhI81MKBFVAePLBjX5nklehETBogUCiXC23c9mCw0g1IzolCZ6A2Iv6848AowIU/8anC5oU9OULv15nlrHT8rbqUrnYCFYoGmRVvhsu+ovLJiIlnjOfU91NAgg8E0Hx2swngUXseHDpU10xjfxzQhbSItpNSe8UiQkxktBr//mZLJwSgYaQNwLMTZrC4gSPrB2+kY/I9mpf2rprZjga85eWI7QVGUdW4yVUtMTS9Qq4K2K9rKKsoEtQyqqsoiIa9UgzBl+YO/QBWuk/AL/KolKjjAs8zbsS5dszlczEtUXMnig==;20:0ellaXHfI6qiGZgi8VOuxfh0rrIaW1teoToRthdENUFhvi501VpRUMxziEYez0mRw4K7iSFPjEKHw71Lyvj8GUqQEdtWZtD19Ig0GLgmttYaNG1xC+m37f54AitLmzkA3kQOgsLmmLpsLm/DaDuMGXG685vxeciYjr5uUcNJ0utjgPFUfehNYWtFZhyi2vzTaXtn+oIVS85rJgH7WiTCfu/hQQ2OefVtP0oG3gZIeXTIaru3K1oN8LcuMIn6Ydoa X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2017 19:13:35.5071 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1147 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1586 Lines: 40 For processors that support PAT, set the write-protect cache mode (_PAGE_CACHE_MODE_WP) entry to the actual write-protect value (x05). Acked-by: Borislav Petkov Signed-off-by: Tom Lendacky --- arch/x86/mm/pat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/mm/pat.c b/arch/x86/mm/pat.c index 9b78685..6753d9c 100644 --- a/arch/x86/mm/pat.c +++ b/arch/x86/mm/pat.c @@ -295,7 +295,7 @@ static 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 @@ -356,7 +356,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 * @@ -364,7 +364,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) {