Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp682278ybb; Fri, 3 Apr 2020 09:53:09 -0700 (PDT) X-Google-Smtp-Source: APiQypJnSmYSHvgeysVw6v1CeP3G6CbxNBribUk7Du1GkNiqJdW0bUUDBHTetA4K5P7jnNRQ6Tys X-Received: by 2002:a05:6830:1382:: with SMTP id d2mr6847730otq.214.1585932789724; Fri, 03 Apr 2020 09:53:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1585932789; cv=pass; d=google.com; s=arc-20160816; b=uQ/jdTbZXoDXSldUBxaI5jUtzjTyGugv42U5qDJ39P6KOLLqxaTWKaqnbg7KfXKmOE q/ut2kF7mTQTi7m4kw5QhRmjNXamg3I+vZy3F9AIi+QRR5i0RZyAtUvxhP4zobixxCLW oJDF+Y6tc6J13LxFku/eWhsWrlMNV0SY/JIFy1QfUTD3SwLtfUaGzgvom2U34es0IEgr 36lYcGUZgZgPVajZxK40mQdUnEV5D2zm+1ZA9UKZgRnZQE3hf6bwd4MtgATshQkJegi6 tQm8qA+gEe5TBk76G12A21LzpkZM4zmX8LtKcBaZ4141Vu9h9ADBoqwNZ2xJI/oj5YDs Y5aw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=Y4rAZrJ1cZK3xCdo8NLdl5FJ4GiS7fh1ZCOvkqbTQ8w=; b=Ccx0lcn7nGRsApkWhKYoKQmVVOn28vX6j3VYePQa/1MBzjj5JdFOulgho537t4P/bY tqwB/IwvL3f2GgPnc+MxWiI8KGKb0PTTmcv+42FjbKNzaigoaxzmAZxAFrttXRa4LJWr 5LG1gY/MEDeSYh9t76qM3j4KpKgemDuFj/qttDmcTlX90Ll6D7rLR4Fm9i3jo0uRtNE4 hSslQ2WyblBwlztT0PhefjYZCdwRanhMtZkHgGPNJY23DQuVFrpLZAZNYwSqSnk6B/fJ Waw1P+M0rCTcb+QorSBN9mAB9CG4o6jPS1TtqTST0ZA7rzDZ46KgNy1YxcZaTgKANxZA 2QRg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vmware.com header.s=selector2 header.b=daN7DD5A; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.com); 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=vmware.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r71si3932157oie.265.2020.04.03.09.52.56; Fri, 03 Apr 2020 09:53:09 -0700 (PDT) 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=@vmware.com header.s=selector2 header.b=daN7DD5A; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.com); 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=vmware.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403915AbgDCQso (ORCPT + 99 others); Fri, 3 Apr 2020 12:48:44 -0400 Received: from mail-dm6nam11on2074.outbound.protection.outlook.com ([40.107.223.74]:20827 "EHLO NAM11-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728095AbgDCQso (ORCPT ); Fri, 3 Apr 2020 12:48:44 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PmiCaj7LC6mSGvTa7HUfAY+xudGxMuPyQlejH6U0G1NoGmXgxg1YSw6XPxWB45LZ/yUxhjGf4CSNioyy2YicEUb21g4+hJCcJM3PUkT9IVN4FR9SRxkLzE2/QZlKM6/bt/cQWd17kLS3S/BepQhj4SFWTO5YL3O0gF2AF8e97sUIjl8Jev3bip32psARUT66B3J2h+/HwD5yevGX2gPBP5Ve5kysXDsub8M4SQEfwFcpaeQnoD9SllmG6IqxiayJuNPIq9VoJbSkZpO0s51B/6pNEJ4GttMmAoi5MyYs+wKZ/DCPVgz3S8/RMXrgspevqzq6gvdSbXmnBtHf1EZmdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y4rAZrJ1cZK3xCdo8NLdl5FJ4GiS7fh1ZCOvkqbTQ8w=; b=DouUkK1WrvYtyK4eHrmGetcJebneBYXeKtk00yrt9MZOrts+TLgudFZ2UhW+lCs3nSO24zVmKGHRU48+X2ggPeDulRsjggcePoyc+MQ06qvHbIMAq1OPevcF0yJhk6jTBjbaMZWxqMc/PXk8ehQyklvkRUYbiVTK/dmsHIjTRdfiQbLLdV3v+M3/adby5iiCMlP6GczRHTcN/l7ZCoiBJo99Utfc1RBfQNImH8/O3GMa9yJaaVGTNoZsTaoNuLCM5ZyYYs2Jx7cbgk0hKuxwZDAa/+iEfPzFHrfz3eIH3OlUa42isjLJJSWPL9wYVMjWI1oNiV1ZfiGc92Jh+WqTTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vmware.com; dmarc=pass action=none header.from=vmware.com; dkim=pass header.d=vmware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y4rAZrJ1cZK3xCdo8NLdl5FJ4GiS7fh1ZCOvkqbTQ8w=; b=daN7DD5Aj6BLT7vvUtLDk7fPaI8WYj9bP5+y/OYuvoZTEGjrBWKir9WT9UfT2YVFDwCPRAhAd6BlrLucri+Zab7i0Q5DQTkFpyKk9tU/gvwiox5ZinsQGQDxZDUNZ7OjdAFQsSkBuykFdEX+/i8B15ceSsAeobC4nN2FV3LBLD8= Received: from BYAPR05MB4776.namprd05.prod.outlook.com (2603:10b6:a03:4a::18) by BYAPR05MB4149.namprd05.prod.outlook.com (2603:10b6:a02:92::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.13; Fri, 3 Apr 2020 16:48:35 +0000 Received: from BYAPR05MB4776.namprd05.prod.outlook.com ([fe80::7c65:25af:faf7:5331]) by BYAPR05MB4776.namprd05.prod.outlook.com ([fe80::7c65:25af:faf7:5331%2]) with mapi id 15.20.2878.014; Fri, 3 Apr 2020 16:48:35 +0000 From: Nadav Amit To: Peter Zijlstra CC: Sean Christopherson , Jessica Yu , Rasmus Villemoes , Thomas Gleixner , LKML , x86 , "Kenneth R. Crudup" , Paolo Bonzini , Fenghua Yu , Xiaoyao Li , Thomas Hellstrom , Tony Luck , Steven Rostedt , Greg Kroah-Hartman , "jannh@google.com" , "keescook@chromium.org" Subject: Re: [patch 1/2] x86,module: Detect VMX modules and disable Split-Lock-Detect Thread-Topic: [patch 1/2] x86,module: Detect VMX modules and disable Split-Lock-Detect Thread-Index: AQHWCO7USTPzjZYgiU62wH3ltW4496hmfuWAgAD5WQCAAA0fAIAACysAgAAC1oCAAAPdgIAABDQAgAACIAA= Date: Fri, 3 Apr 2020 16:48:35 +0000 Message-ID: References: <20200402123258.895628824@linutronix.de> <20200402124205.242674296@linutronix.de> <20200403143459.GA30424@linux-8ccs> <20200403152158.GR20730@hirez.programming.kicks-ass.net> <20200403160156.GA2701@linux.intel.com> <20200403161205.GT20730@hirez.programming.kicks-ass.net> <20200403162555.GB2701@linux.intel.com> <20200403164058.GX20730@hirez.programming.kicks-ass.net> In-Reply-To: <20200403164058.GX20730@hirez.programming.kicks-ass.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=namit@vmware.com; x-originating-ip: [2601:647:4700:9b2:4cb3:3701:a401:9c] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f84f1cf7-aa75-4edb-3c75-08d7d7eed9e9 x-ms-traffictypediagnostic: BYAPR05MB4149:|BYAPR05MB4149: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:612; x-forefront-prvs: 0362BF9FDB x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR05MB4776.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10009020)(4636009)(396003)(136003)(376002)(39860400002)(346002)(366004)(7416002)(81166006)(8676002)(478600001)(316002)(36756003)(86362001)(6512007)(81156014)(8936002)(2616005)(54906003)(6506007)(2906002)(53546011)(4326008)(66946007)(186003)(6916009)(66446008)(6486002)(71200400001)(33656002)(5660300002)(66476007)(76116006)(66556008)(64756008);DIR:OUT;SFP:1101; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: lp0PZGwzo5iwfliScncRAFZACMj1aNuz7qt+kpanu0l6jjHpmnDiHgwjdG+6prBk/KYkjef4wcQ0lCJSqCbzOllVwQh9DVz86jFIr7whxgNabKb8PiytKKLw43gTueUd9JT1pWuzOOshn45KmG1R5maV2ZHvsL/1pd7PHjH5KhlsmyP1YC0CRHa3jry65aJGngGvZq72FIc8f2xupUCfRSZjMYrl4YA093xenn+8xMzNUdvO4X45SNzCX0BYYwYXuj57yZUWtL0lTP9F6kyw4QIYBkQYuzHrHfV5YSzT80FPJDjmgbLa5TlTu51SCEGMg8dS8Zxdw2oH5tubA/xMZOzsQKXylVMBpb5IMduhDBHb0fTdDRiHipH2qPFqVgWiXZOlZAWsLcRp5U1uh2KFHjD5wdxcqTkYcRe6B9Cn7n1uLS5R0wtjp2SvS2Ptvp3F x-ms-exchange-antispam-messagedata: xwoNGRCdiU2fFt5NyhmhyfHz5DXFuZ1FqG9TGdkJENYzDWVY+uzrNWbQTcasFml/onVQ3CgT1A1VZto2CTWi5N48t7yw0YejcKJr0m5nj5/ogcfrhGHwOedEHmtuUcDcf9YOkR4yKDoagnkH/HL9bEkHEHpMLJQvhfi1MzWwK5LxYFRvI/yCG1jmvATfdA1um1C4lNxxoe/AsAVRTQFlfQ== Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: f84f1cf7-aa75-4edb-3c75-08d7d7eed9e9 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Apr 2020 16:48:35.2275 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +k1Y5q3X0BIaW8FL4skOPnth/8fRU6l4MhVtJcsQDapEJIRcBr/Vkm9LfM3rwdIEJWyqfgVYXb/SPsnpAyZMUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB4149 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBPbiBBcHIgMywgMjAyMCwgYXQgOTo0MCBBTSwgUGV0ZXIgWmlqbHN0cmEgPHBldGVyekBpbmZy YWRlYWQub3JnPiB3cm90ZToNCj4gDQo+IE9uIEZyaSwgQXByIDAzLCAyMDIwIGF0IDA5O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