Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp15946imm; Wed, 29 Aug 2018 12:38:35 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdadt4AZp9TqZij1RsPT7oxAyiEJWX0WjsoZPClPzyGE6ITQ9vH9rWDZEHL6ql/Y69fTOLKU X-Received: by 2002:a63:67c3:: with SMTP id b186-v6mr6745655pgc.5.1535571515649; Wed, 29 Aug 2018 12:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535571515; cv=none; d=google.com; s=arc-20160816; b=TvobnIY5AIsnaNDvEBBpJLLUMli/ZI3xhroArlAmkwpaIxj1TAObVuwrC7y/RHY7Hp F8OMKEd6IsjfE2Zcz3bvUW/hZcOJJP+D7+hphjhDlZo+XaAOPYsfhgVw6qcnqnwdS0CL p+48WZjC+U5K5o+5JRMInDQcnukLoA73XCmJnNnJhSJu/sbMMBLM/+BO/L4bOJj6DPJt LXl3+qzdN+BzbATjO3XiRyQ1+k/2fNX2Mrpj8lbXl15zotQAfJDliKrekMUXXJt36VNg WCzKFvOWPCY7WOu+wFCrMD4kpbsBGyi3S+KCeTSpk65QgHV/oaDQ8xqTQyALBFcq1JzS 6zWg== 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:bcl :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=WqTrkh2iPA6FzghHQsQzD7u4EG1NXT8k6jlN+wIRlgM=; b=QWEA7X9muNBSMf1LcY0xdbIWPOob6pE/ksLq2f9QPuNlfavlZzh8dNGx0sNQWhfoiW jV+aKo7xiMeJK9iPIwh+cIAjtVZMvw2S65H+esoAU736KnR24gq3hIjcRj9NXJdwVDGp /ilTrn6Ogl6n6uYIAN9WZH18aJOV3aHsyXxZqBxQPB6WgIfqQxkNLjh7ITg39ohRNe36 TLCuwOx08z5mzL6GP4I/2NVQOmJIVulcoSpQGrWYbOjcGhPq2br9bMGXFkT/RaG0TT0c ZwN1MpA3Hf8ar0elXrh5bLvopV61ZarvMNvZ/rPInrtZDxvdMz+iI1vhEKEGKsCe0Ndl UcwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vmware.com header.s=selector1 header.b=CMKqNPEu; 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=NONE 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 k15-v6si4688198pgi.62.2018.08.29.12.38.18; Wed, 29 Aug 2018 12:38:35 -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=selector1 header.b=CMKqNPEu; 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=NONE sp=NONE dis=NONE) header.from=vmware.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728551AbeH2Xer (ORCPT + 99 others); Wed, 29 Aug 2018 19:34:47 -0400 Received: from mail-by2nam03on0045.outbound.protection.outlook.com ([104.47.42.45]:4640 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727399AbeH2Xer (ORCPT ); Wed, 29 Aug 2018 19:34:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WqTrkh2iPA6FzghHQsQzD7u4EG1NXT8k6jlN+wIRlgM=; b=CMKqNPEuA/6kwkeyoTISicpOGaInYQNw5QAWffTFCU0eogI8/s6D+AVUtRNJXW8t88h4O8nkJTPzy6vnxo/Mg0L2FZwu1AVgu5/qqHWC96Vfr70iC8qpho4Sn+A7LNRdJjl5YysECqm2pTINrLmyVH0ERhRXG4GbmcjglcMQ9jg= Received: from BYAPR05MB4776.namprd05.prod.outlook.com (52.135.233.146) by BYAPR05MB3960.namprd05.prod.outlook.com (52.135.196.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.12; Wed, 29 Aug 2018 19:36:22 +0000 Received: from BYAPR05MB4776.namprd05.prod.outlook.com ([fe80::911b:395c:ce8a:38c3]) by BYAPR05MB4776.namprd05.prod.outlook.com ([fe80::911b:395c:ce8a:38c3%3]) with mapi id 15.20.1101.007; Wed, 29 Aug 2018 19:36:22 +0000 From: Nadav Amit To: Masami Hiramatsu CC: Thomas Gleixner , LKML , Ingo Molnar , X86 ML , Arnd Bergmann , linux-arch , Andy Lutomirski , Kees Cook Subject: Re: [RFC PATCH 1/6] x86/alternative: assert text_mutex is taken Thread-Topic: [RFC PATCH 1/6] x86/alternative: assert text_mutex is taken Thread-Index: AQHUP3AveUOJQxVhiEqJKH9IYmSgsaTWblgAgACJiICAAChdgA== Date: Wed, 29 Aug 2018 19:36:22 +0000 Message-ID: <2694AE6F-2212-46C6-A570-6BAF265364FB@vmware.com> References: <20180829081147.184610-1-namit@vmware.com> <20180829081147.184610-2-namit@vmware.com> <20180829175936.fb27b3bf13da819a9a971f07@kernel.org> <1F547CEE-B5D9-42A0-8093-2C5555BACE26@vmware.com> In-Reply-To: <1F547CEE-B5D9-42A0-8093-2C5555BACE26@vmware.com> 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: [66.170.99.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BYAPR05MB3960;20:UHzUM5qEeZhWlGqmGZZDSgjNaj0mo4uLMhGLZwqpNfjkckTeNxRVBv9DPCMm2IfmiqX2dN/R2gqsADaeATY4cHQJBZnIjBOgBNPmn/dXWolxZI0XPSc0Q3DPfT/ZM6H6c82arkODuEwEEyEwVGfWoJ2WfASFOhal6OvYAoFvPBc= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: b916362c-e49f-4020-60ca-08d60de6b37a x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(5600074)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);SRVR:BYAPR05MB3960; x-ms-traffictypediagnostic: BYAPR05MB3960: bcl: 0 x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(61668805478150); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231311)(944501410)(52105095)(93006095)(93001095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699016);SRVR:BYAPR05MB3960;BCL:0;PCL:0;RULEID:;SRVR:BYAPR05MB3960; x-forefront-prvs: 077929D941 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(136003)(346002)(396003)(376002)(39860400002)(199004)(189003)(14444005)(2906002)(54906003)(2900100001)(229853002)(99286004)(76176011)(6436002)(6486002)(2616005)(6246003)(305945005)(446003)(7736002)(25786009)(4326008)(5250100002)(486006)(8676002)(81156014)(68736007)(83716003)(93886005)(82746002)(81166006)(8936002)(11346002)(6916009)(476003)(6512007)(5660300001)(53936002)(97736004)(26005)(186003)(102836004)(106356001)(316002)(105586002)(6116002)(3846002)(33656002)(6506007)(14454004)(256004)(217873002)(36756003)(86362001)(66066001)(478600001);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR05MB3960;H:BYAPR05MB4776.namprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: +ChtVGe5Xx2qVPwUHQFA7BpSpbHDL+B8bFHKH7woS8rT/kasLpkIIi7lUGvp9da9lMGOAAxjfAoEceOfz+gXevhUsl19omywvrq1guaYkTpyM5PxLZI4yN/Wkxe7q8Ac4dCGIBEZrOfnTuUUNqVcntsHI9IO51lIVf2m+j3alAViAZ7RT7PFJxBWRlT+XAYeLMjGXKQyRpLHHurXEPODAoM27/OGSwIBSCz7GabXwm2dGweUwamFdH/UdovKVBF2gvillYYFYZK03TOmA96UhuG+yUJZX6Cv30XHM1AwRDiCmWY8CJJ6oQqoXaWJLglOSz9DDXoDKVOTFgVn1/hkqGlfVLgi91wLQ52D2LuUs5U= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <5EB384EFAAD5E143B8B5DF9F349AB8AB@namprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: b916362c-e49f-4020-60ca-08d60de6b37a X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Aug 2018 19:36:22.3034 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB3960 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org YXQgMTA6MTEgQU0sIE5hZGF2IEFtaXQgPG5hbWl0QHZtd2FyZS5jb20+IHdyb3RlOg0KDQo+IGF0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