From patchwork Fri Jun 16 18:50:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Lendacky X-Patchwork-Id: 9793209 Return-Path: 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 31D9D60325 for ; Fri, 16 Jun 2017 18:52:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25E4A28671 for ; Fri, 16 Jun 2017 18:52:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A4C028673; Fri, 16 Jun 2017 18:52:54 +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 822A828672 for ; Fri, 16 Jun 2017 18:52:53 +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 ) id 1dLwKA-00018L-QY; Fri, 16 Jun 2017 18:50:26 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLwK9-000182-Po for xen-devel@lists.xen.org; Fri, 16 Jun 2017 18:50:25 +0000 Received: from [85.158.143.35] by server-7.bemta-6.messagelabs.com id C2/17-03620-17824495; Fri, 16 Jun 2017 18:50:25 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA1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.com!1497639022!74168669!1 X-Originating-IP: [104.47.37.76] 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 17008 invoked from network); 16 Jun 2017 18:50:23 -0000 Received: from mail-cys01nam02on0076.outbound.protection.outlook.com (HELO NAM02-CY1-obe.outbound.protection.outlook.com) (104.47.37.76) by server-8.tower-21.messagelabs.com with AES256-SHA256 encrypted SMTP; 16 Jun 2017 18:50:23 -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=ubSlu2NxDTIrqxvJaGHrfyPNFiwiO5QRKlpWrnivXmA=; b=Ev+5cuJ6ffz/lpNhB1TOcDuLoQM+KmbJxB/F2sxixepX3LIcGOCEM8DqACpju/NO5h5yI7WehjBvB+ufDyJZFT1L+G9tGu6BoX14LjUFstcavvytmAaBj642jF5xpJKKZRnAiEOW2wZUl8CPyXGv1G6dP2dTSk8H7YVC7O6VuYQ= Received: from tlendack-t1.amdoffice.net (165.204.77.1) by BN6PR12MB1137.namprd12.prod.outlook.com (10.168.226.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Fri, 16 Jun 2017 18:50:13 +0000 From: Tom Lendacky 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: Fri, 16 Jun 2017 13:50:09 -0500 Message-ID: <20170616185008.18967.91275.stgit@tlendack-t1.amdoffice.net> In-Reply-To: <20170616184947.18967.84890.stgit@tlendack-t1.amdoffice.net> References: <20170616184947.18967.84890.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: MWHPR1701CA0006.namprd17.prod.outlook.com (10.172.58.16) To BN6PR12MB1137.namprd12.prod.outlook.com (10.168.226.139) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8fe444ef-562c-4d93-6de3-08d4b4e88859 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(201703131423075)(201703031133081); SRVR:BN6PR12MB1137; X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1137; 3:uUkwwxaS55GUbNO04AJ6kn22qifvJNIHrxTPmp+xK5aPxXEe8Bj7nPJM1VtDxQ/Hggok+aV/6YZfsRYYJRVzJOqWBcRfBw7g0oMJj1BkVpJj+P8orl0mtEyL0ZIUAleTR3SKUQSrCFOBJro5MrIlzyunRIySalpU9Z+Uo3frzZTrASWKSvHPfII1FaK9WV7KkCFeJRiNJrTe3oiQlqaKtFLs3Y4PTznQOVr8tiV36sEXifnxSoTxZLBcVu8d1bRXZ3aqILIGHRcSYse2gpSocJgWHOC7FPFFxZJdN2BnaShshZoB7lPIB0wa/Ouz69MTp1OzQ1TRPs9iRwKY0yVFpes/qaZ5/z/yvJ1KDz3ksiQ=; 25:oANZbtD2ymiPMf55EqIPwGpDDIVUuCDH7aBDUOmott7hszNVksRPbaqPdBvCH1hdgUniOzyeezde8s2nMImrO4HpIYgI3F+Z7yItNp4iKVjDuzWDfN2GEk9qEljY260vUGJNYvP2Nez5SYcWFV7M+7gN++7RcY9S41sa2D0xw4ridG89u3WXuKHS3lSGVtGXSTFrh73nQIpmKJ1CnZmUnRYX4DYtCDaWmnWSL7zJNf5tsFtWP09kGK5y3Kwr4VMCT/TD3v7QfdSMEo0LASRV8LTs6nVnLazGU0mnRVafmNGA5HOkurt775nKJmid24XjOfASpd6hjzLOCi75O3JQ7c3Fv60TnczOkjTZaYYhSj4f126Ml4XnEWVajFPA5wg9/edkJRdWowIqOUsdRfSAOnG/31UB0WwtJeIUUGjFRcyiveeWR0imKf0kr5MpYmNFwaImxQE5go+98PsqUS2yu+WmzyqBtEVoVPsOAzTFd0I= X-MS-TrafficTypeDiagnostic: BN6PR12MB1137: X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1137; 31:/M3wh5dbq1ZPkxQnxLlODk6P2W2+AZydHQjb0+eFFChYo9ggVNLouyB2hXi6rWHVzixTP2IC4BUvfX0jqHXofakvlzQYLFARxEdIpNqV5vwMPJuIHiIusgovwOgcixo7c4RcRSHOWW/wcmWDsqAuMjdMEGWk9KGRAQWBaOdf+fq2zyCkPxKEcq/EVqfOrIwXwS6hcY6X8aWvYeGE7T/+Lht6rsAYS5tOJQL167+Plrg=; 20:6hIenaQUX5fs5vzTExe7e5awQqrDztJ7taAxN7cGsDPy9lMHsJjr8yN2GQQQ//DOiVQj4OnCaPufMHX/lFL5ujBlnPsWf3HiZz1nOqkUvh21HmO87C6gI7APtxBb78phP/UxGEgOpFKYwTtfgQglmlCEYTTD0GTbb1w23B4ON34kNAddVxTSNKLQYUuuJS+D6SDUdYZTAOtUE1IkenAgzytADNmqoI67JYsLeWi966VI1SNUXjfk9J4rs4LQt3CWkKJI5eNzgGkx4zUXwl09GTwMPJrYP4qXTjNLgYn64cyAC5rNp+I/6Vjr3OsqvPYs5ffUHxQXtuEwoXHVzbdUNuxs9mlXdiwEbVjFpm0sPgbJSXW9SiKJ+GGJDiO5wQ0x/RV8Zw/UGGfM/kqIivHn0UJUnv6prMNcUW03r4Qs+8L7vsN/8T6rRTcYxVeKqLF2+gUsnhCtLS2OXQgrLPfL0ymcMxBADiB0TwUaxA4k5fFfaPXSVDs512m04wN30KZx 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)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(20161123560025)(20161123562025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR12MB1137; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR12MB1137; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjZQUjEyTUIxMTM3OzQ6S2s4RkoxSUVCenFXL3hBSlhiSnZRSi92a0pX?= =?utf-8?B?by8ycURzSmJDOFNJa2xrK0p6YStkSm1SNm9uMlo5aFR3YXd6Rm4weldsMCtQ?= =?utf-8?B?Z00rMFJZVDZHNEVmMUxVa25JVG1iS1hmc1FCbU03bmtsSmpzTE9CSUtWRjJz?= =?utf-8?B?QVVaeG52WUFSVlF4RnZ6TnRibko3djhrOXVWOHFqZFdFYmIzRSthUVduOE04?= =?utf-8?B?OWRXTVdOeXVvaTFuMXdIcFdsZnp6bTc5RHAvNE1QQ211cE0xLzdLNVVmdTdu?= =?utf-8?B?ODYwTUxURzByQk5sV3d1U1lORkZtcnh4aEE3ZHZhdzN3eDZuT0hHZXZuL282?= =?utf-8?B?RjRHNFZ5emUzMk5DdWxXVWJHazBVcGdhREU2bmN4blNJYWwwTkdkM0paOVZO?= =?utf-8?B?RnUzQ3ZDMWw4YmZtb2JlcEtIeUxwTVZ4SVJ2UXlxTHEwZ3gvaytxU1dQb0NK?= =?utf-8?B?ZjEwZDgxaEZuSjRpamNnNEtpWTQzQmNhcE45Q1Y1R0FzUXJ6dVlXQk5YbjZV?= =?utf-8?B?dmV3NDJhNlhHRHlpTk1RdG1hUFpYNFFlVU45RkNsNmpZdGFIS2FQUkdaalQx?= =?utf-8?B?bW9NdFp6dTVr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= =?utf-8?B?T2NPVlpWT3JpTkhEbUltZkpIZlkwcXFCSUhVb29JTUI2cTg4TG5xYzcwVUxa?= =?utf-8?B?aVpWa0pkL2pWd1h4N1hjelZ3eXhnU0M3TDFyWTFkZDNqQTU4U3dWUFkyVjUz?= =?utf-8?Q?UnqwJGM38+vdn0Zt8Ko?= X-Forefront-PRVS: 0340850FCD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39840400002)(39860400002)(39850400002)(39400400002)(39410400002)(23676002)(38730400002)(3846002)(478600001)(7736002)(6116002)(4326008)(5660300001)(42186005)(47776003)(110136004)(66066001)(6506006)(7416002)(7406005)(1076002)(50466002)(2950100002)(72206003)(230700001)(55016002)(53936002)(6666003)(54906002)(9686003)(8676002)(81166006)(189998001)(4001350100001)(83506001)(33646002)(305945005)(76176999)(54356999)(2906002)(50986999)(25786009)(53416004)(103116003)(86362001)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR12MB1137; H:tlendack-t1.amdoffice.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjZQUjEyTUIxMTM3OzIzOkthcWcyNzJ1eEJnK0JpdGQ1TThmOFBhOUd1?= =?utf-8?B?R21LU3BPQURidWxyOWxVZVZEL1NkV3lvSmpEYzBSaHZWelRld2s1ZG9PaUZh?= =?utf-8?B?RnV4NjNuTXRGeHE5SlhSL1ZHYk5uVEk2a1NvaXd4aGord1ExOGR2b0VpRVNW?= =?utf-8?B?N3BSSzBVeEwwK0huOWpWYkk2KzBVajhkK3JlelhXUkdWZUdsSUk2QzZwTlVn?= =?utf-8?B?ZjV1dFJPbFYxaExZdjd1WFF5eTM1T1lDQUhWME1weWhMTUZyRzVPaG9rc1J0?= =?utf-8?B?TDhGN04xWit1OGRUYmpMUDd3dm4vR0tkSkwzbDlwbHVyT0pTclQrZWczeG40?= =?utf-8?B?MlVNN2Raa0tIZUNsWj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yOX26MF7Rrfp4nb2PThWty0uIN8KVrA0yhORzm31J2KmXYTdo7WT/3mgjIMcrLSYh5EKEmFGXveG7GuA/f691yMQznyb5c6rjkjD7ZZ+LdNqhFJwgxp/kqhQLt85EtMM0pn3wTMA2e+mbxhvM0REEZDklBEusBbBKYm5pjHNYFY1/hkJd2a1XljQXgSDy3WDPh4TVpgLsTB2lwcNFymB7o6SeJVorjhhaC8CxjJq5lQYMM+WfIJqRczKcvNvdKnvNO8VC+GIrf8sSeLM/+pcMcPrBelL1AyIhOIo7wPOlMD2fnRfYjdaYOsK4cNyBidobq9nJ5Cwo1WmbiXcXLsIr26n7yNHY1S6eAB1bv/NZwt0QYPjqzQ1JfzTlr/2jVN+8VhVtxd3GxNk6RhdYMiUMjXIetH4OL8CM6FbGCqWTB7MVkt8/PN01XG2ZVQEubVINPsPWXrllVaUo9KIY/3czbMHKWwXP3OLqthTNUJ7tm06VJg9BQosayerLKCUVotewq+awImgJvGqo+II9jmos1CvdN+OSYrdlSAc= X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1137; 20:j/QKPFkBI2VC+fJ0Dc4DQeUcWAnIn/2ZyOpbKYfjT3/dfMM81xL59MUTwuk8xAULl+7KlBqYcxy7cAmyR1309y3TN8qEL3ddO8dx2eo+mgPxeUYYkjxdR2vSmdWmx5au/uL86+qRT6y2mydWlvAmH3qklRolgsF5lCBpQR5g9ORohK0u9IgWdRuOoRKsg3qmHj+3QSUFdxJxfY+TjwaHxgIQz3EGdkDyTWCJPgLelH3TLns4YkZVaD0xQybVKl2L X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2017 18:50:13.3412 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1137 Cc: Brijesh Singh , Toshimitsu Kani , "Michael S. Tsirkin" , Matt Fleming , Alexander Potapenko , "H. Peter Anvin" , Boris Ostrovsky , Jonathan Corbet , Joerg Roedel , Radim =?utf-8?b?S3LEjW3DocWZ?= , Larry Woodman , Ingo Molnar , Andrey Ryabinin , Dave Young , Rik van Riel , Arnd Bergmann , Borislav Petkov , Andy Lutomirski , Thomas Gleixner , Dmitry Vyukov , Juergen Gross , Paolo Bonzini Subject: [Xen-devel] [PATCH v7 02/36] x86/mm/pat: Set write-protect cache mode for full PAT support X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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) {