Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2437767imu; Thu, 10 Jan 2019 14:20:35 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Vh3niCLJO/3nhVMbcpq+ohPrw1L02KWqDDY64kw1YV6/HVAkNOVMuwBbFrr9XMoGq0goh X-Received: by 2002:a65:4784:: with SMTP id e4mr10844473pgs.12.1547158835708; Thu, 10 Jan 2019 14:20:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547158835; cv=none; d=google.com; s=arc-20160816; b=0snMH+hNcDYFPiLcRgTZ4vrvfm3QGIaMY9Kh6cLu57M8oUNspnqRYepvoFxjvh+6Mo iGDWcVp5/9fR/b6VIoMbr6cNnIHfhRK/0dZ6MGX01+K5xWUwhqHwSTw5rdmYx3T7JPyh stG9281ZdIXeoTzVqP93VcrtbMzBWNKKFPdlUN6j7BsLghfvPuZpvwvuhcxw9UmH9TH9 X4eh7kzm9lF7Ma8gqp66wzAZzQH9QVFkySSn5/ousyVlA3+V+TMR1T6fWYpxxNlZcOGn phMazh3njMNjA77iiRGJ5u8flKbvtSqrsFnnNJlK817xIQxOcxEd8Iwc5K6c6S+DSalz Xj0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=ITuJGkHuoeGKL34egilMfjzHnu/+zEjA/OLuEGH8zXk=; b=wBVWuBrJoVmgObQ+sL0UV8xOizxwV1Wk33OCZlaYIgNaprKryRiPAkvUVJ8vytP3Lr 6yUzmbEMSoMFPYN1hXo1TCTRYmUVSvCtF8jEcOuvsUg2NqYnyF1uW4n1IznBiRZPJEcB j+l0tCS7UshVYomImmQ7eIw5wrIT17nca1aFnhq0STiTZgEPS4JlAcqXSQ0jplCTgENv ybBvpDRxE1cYjqDW48c7PmEsz7lH9p2vhMY8bSqpkCPfpJlGl2SanvJFehb18HPEavzj MHiw24YUh9lDOfwPbfefdnfX78wdhNO4ar/nf6O5AyivjidDlCSifh6UZYlVs4Dgqspz WRKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=hp+DbLY+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65si2894367pgf.521.2019.01.10.14.20.20; Thu, 10 Jan 2019 14:20:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=hp+DbLY+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728189AbfAJSeO (ORCPT + 99 others); Thu, 10 Jan 2019 13:34:14 -0500 Received: from mail-eopbgr770040.outbound.protection.outlook.com ([40.107.77.40]:32304 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727737AbfAJSeO (ORCPT ); Thu, 10 Jan 2019 13:34:14 -0500 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:X-MS-Exchange-SenderADCheck; bh=ITuJGkHuoeGKL34egilMfjzHnu/+zEjA/OLuEGH8zXk=; b=hp+DbLY+2xVlccepRhE5ZD3uow6wCjZzN2w+mDN9bFQdFkco4Jz7pWe7dCVKEHMqEf1b2jza+Fc2UHHFjnskQqhUhE2abnRCcZOQlM+48wt2+7P943fbJ/EZVyPdZHuP/PTwje+W/a7xjb/xdEbMBYvlMhSpGYSE3Gb+8NpLGLk= Received: from MN2PR12MB3631.namprd12.prod.outlook.com (20.178.243.19) by MN2PR12MB3167.namprd12.prod.outlook.com (20.179.81.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.15; Thu, 10 Jan 2019 18:34:09 +0000 Received: from MN2PR12MB3631.namprd12.prod.outlook.com ([fe80::1da6:b950:a28e:dae2]) by MN2PR12MB3631.namprd12.prod.outlook.com ([fe80::1da6:b950:a28e:dae2%5]) with mapi id 15.20.1495.011; Thu, 10 Jan 2019 18:34:09 +0000 From: "Lendacky, Thomas" To: Paul Menzel , Borislav Petkov CC: Thomas Gleixner , Jiri Kosina , "x86@kernel.org" , LKML , Tim Chen Subject: Re: General protection fault in `switch_mm_irqs_off()` Thread-Topic: General protection fault in `switch_mm_irqs_off()` Thread-Index: AQHUo629ixN4vswCO0W5h+67CHfr8qWfUYmAgAeOigCAABODAIAABY6AgAAPAYCAAAFhgIAAHCYAgAAFRYCAAE1cAIABGT4AgAAibgCAAA2MgIAAHUOA Date: Thu, 10 Jan 2019 18:34:09 +0000 Message-ID: <3a35722f-969b-e720-1f3f-c60be7818ed1@amd.com> References: <5c38f377-f088-5684-91a5-c2cc2d64dbbd@molgen.mpg.de> <206f4322-c15e-6f0b-733d-fd19cd9c24a7@molgen.mpg.de> <98ed83c0-3077-848b-9de4-add70e9b417a@amd.com> <9bca3e26-1dfc-6e86-cf28-90cadd983ff4@molgen.mpg.de> <20190109211104.GG15665@zn.tnic> <9bbcbaa7-b164-fcef-0588-7c5f25aa2440@molgen.mpg.de> <20190110160054.GD17621@zn.tnic> <4de0b458-6028-3ab1-fef6-04c7fc440277@molgen.mpg.de> In-Reply-To: <4de0b458-6028-3ab1-fef6-04c7fc440277@molgen.mpg.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR05CA0020.namprd05.prod.outlook.com (2603:10b6:805:de::33) To MN2PR12MB3631.namprd12.prod.outlook.com (2603:10b6:208:cc::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.78.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MN2PR12MB3167;20:bODxWl69KU2N303nObPS/HCORe3ILClSP9v8gvXDsbAJmUEow0wBrEl3bDqTsokUMQ2AgVIAfmiGz+iqv6nZmYX3KUUGCwJAA/NTWCOT85KkhUZl/AL/enlq4HW+8yEmtl2F69GRYF3TRpu1+mZ7DxSkrF7A6xP2dVQXIXOyzBzcAkX4A8IrOsV3dX1rvrxKfpT9ZJAO20TL4CY3JTendxw9mf+irc+mbrBmwIPSdOBG0MdErKFtV8X9e6lz/rka x-ms-office365-filtering-correlation-id: 20188653-5cf6-4247-d849-08d6772a35a5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:MN2PR12MB3167; x-ms-traffictypediagnostic: MN2PR12MB3167: x-microsoft-antispam-prvs: x-forefront-prvs: 0913EA1D60 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(366004)(39860400002)(136003)(396003)(346002)(189003)(199004)(2616005)(256004)(5024004)(5660300001)(105586002)(102836004)(99286004)(52116002)(81166006)(71200400001)(31696002)(66066001)(81156014)(71190400001)(76176011)(8676002)(36756003)(6506007)(3846002)(229853002)(26005)(386003)(186003)(11346002)(86362001)(575784001)(53546011)(8936002)(6116002)(476003)(446003)(6436002)(486006)(413944005)(93886005)(478600001)(6486002)(2906002)(6512007)(316002)(110136005)(53936002)(567974002)(72206003)(54906003)(25786009)(31686004)(305945005)(7736002)(106356001)(4326008)(14454004)(6246003)(97736004)(68736007)(81973001);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR12MB3167;H:MN2PR12MB3631.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: r16tlhQobV1xaAVpm78SI8aRb9JJCKxBY0a+mvkByUJeQm/VIufuMfS9N+X/IznXilc12Ppf5VLxwKo12JuNqdYNoyedqyRdGXz8blLr5cgoks3PyB591EEDpLRJtYBZdsYVyNyevBJOv8qk3fD4UAqdcNGxTmuT61SBCNa8eN1Yiqp1VVjoorHNfVCwjUoA6Q2c/ntmrIp6AzW504E5WGAgzUS+uA6+lrzr/fAvlyx/CBTRZvKB2RR/yZdHLAyO3iZsWVIXPxF+6XLMQViuw9TH8Ib//lE+mYTCSD8muNM9a/DFOUmj+q9CwBU6NllL spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <1566C6D0F9788345AAE1C8C095C0B64F@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 20188653-5cf6-4247-d849-08d6772a35a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jan 2019 18:34:09.5909 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3167 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMS8xMC8xOSAxMDo0OSBBTSwgUGF1bCBNZW56ZWwgd3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