Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4055031yba; Mon, 29 Apr 2019 12:59:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqyoOwL3JmKNiGukQSO5L+Uu1QckE33S2tqKgQrxpQclhfoyq331VjtwNTygLdNwCKyMELc3 X-Received: by 2002:a63:374b:: with SMTP id g11mr61818917pgn.421.1556567982086; Mon, 29 Apr 2019 12:59:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556567982; cv=none; d=google.com; s=arc-20160816; b=r5upQio1i04OgQMcZEbojh0hUmaHMHCNlhIGSQkJaZXMs3XKHcMl3kYkr4Vn2BPxwL IS7WfY8To0ZflMoMYN9EmybZl7dyasMVOdk+zuWy/dCputkgne2nx++e1PXpJ5buBWW9 R4FwpUKmMM/x+J1yp4r7y8BozC/97YysgpQXrSXmSnQuz6UP6zJdbWX1K9IqB5+zjsxf ko3duy0n4Z0Lu/zz3vDKXJaJRhfAgjYCkh7bSu7Qzxbr72fEku1I88riXJoqnFVxc6+P Xuxb1rqSlkJS9IZYpfVaR2ArH7NzSTg1J8TyEwKxEFLUAUhn1ZXOK3s1gQVDWb3adELx UwLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr:ironport-sdr :dkim-signature; bh=B1S+o5pkxucri00vofKbhqbok6gkpM/yJKrsE3JmzaM=; b=G9DQWMeMhvGZmHitrLUClwZu2BWJwyHa5LQolPYJp7tb3e5EXlqj6zxqOSnIrvcAjz YTFGQbebjgZlDOfjpcs5lg1Xhn9c6h87L8nEWF/ky7YyhcmEQsrbAPrPfi09knuKrWSf GLc0aZgpBJK13EHQ3mv9SZHTq6Ce7G2Wtkxy2fFPVXRKCEFS2b0TDgG2eryFZw81itw7 fAuHLSzo93NwKWn6XOamPZNCJSKxdJdnJN85YljxEuJyL/umEH1BwmFvF+FqulJFu4dY QeUUItWLT/mJJm6BbUuF15K6l6+M41u6ZUepq0ooEgWB2p8Xa/2YmrY0QFv1OPGI9yan Yzkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=pw+544LY; 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4si34437310plc.424.2019.04.29.12.59.23; Mon, 29 Apr 2019 12:59:42 -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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=pw+544LY; 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729229AbfD2TwU (ORCPT + 99 others); Mon, 29 Apr 2019 15:52:20 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:28230 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728928AbfD2TwU (ORCPT ); Mon, 29 Apr 2019 15:52:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1556567540; x=1588103540; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=iGR4Zs5nDuCr/SyO0IMhqYsZGxQL5/GTdmx0tD7WxoM=; b=pw+544LYKC28PsL/Z2N+0ID6D3bMTQ1G0ikp8/rI05eIYXW/gA3Gs0GH nEcSpgEskWzwGHOjImvTsdPGfs6vugv1RwFtF46ejff6obROGl5hJayCp F0WvRGxpZem1Ov0uWVqN2ROjv46pW9QsODbgwU2e3w2RGsNts5PMveKWc wW5VopU/kIzfkentNIijZ82tRSAQVTd43pVl4Z/f8/FKZ/GAWiFF+tdtH iQHVo4HsyWB9OkXuy2KMXNtv2bxV5kRpH5la4RI8E+yY6bX7QV/FpyLs9 DysfIyGZahMn6VGNRPDf5FNImrkI++v2fxWdRzyTgT00vWzeHAZh0w9Yj g==; X-IronPort-AV: E=Sophos;i="5.60,410,1549900800"; d="scan'208";a="108822905" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 30 Apr 2019 03:52:20 +0800 IronPort-SDR: skcBvZEAFKBWIz+0eofpg9whoUpuVYdGMYTU255UvfGAUlR3y4sfsH6XovlLbDS4jMlM6tBQKc m1uQNqu2r2TXG4xL1+f5D2bBJYZepYaD/0nw2MwLN+TXXkAYMwLlxLhfTk60NYnzw1BT9vWtM/ 7FdSEgHE9B70ksycQdLsCzDZd3Z9g6vIcuFhWOtfWw26D2dL2rFJ2QAQrmZQc85XlPs7DZyhtH pIf+36hORR2JoVKxC4X0p55gw4ZB/0Z9z2t6vvM78utWIK81zUyfIyzkRHz5t8KkaE3JAPeJ4A yhPVDnPBEQ56kqPAtgmt38Li Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP; 29 Apr 2019 12:28:42 -0700 IronPort-SDR: WCTsEeq+jdWM9wWQFiffEKgZ2ajy+EgpnirMSVaJ0tEi4A8l36v+D7tfZ6G59yMlywONSSNZ1X n22P6upFjfVXOl7H4ZV47RVT7HgJAmFl2r5v64s4HTUvhSoe+XA4fqmcU6Y83wdC4eiadY8KCS 1d1eUj5vmaac3eO0xjOVEiBdeFfClh/74oFrnoWCsCYXMaVdHGe+okInPBRTabZUbl23ghneos t+80OXpBGVIK59DaOffRqEzqU6jFoJlH/VbDehXFTeycX4DbkaXGACaVIIDJpLyKEZcrdMCTyM iS8= Received: from c02v91rdhtd5.sdcorp.global.sandisk.com (HELO [10.111.66.167]) ([10.111.66.167]) by uls-op-cesaip01.wdc.com with ESMTP; 29 Apr 2019 12:52:20 -0700 Subject: Re: [1/3] x86: Update DEBUG_TLBFLUSH options description. To: Borislav Petkov Cc: Christoph Hellwig , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Albert Ou , Anup Patel , Palmer Dabbelt , "linux-kernel@vger.kernel.org" , Ingo Molnar , Gary Guo , "H. Peter Anvin" , "linux-riscv@lists.infradead.org" , Thomas Gleixner , Luc Van Oostenryck References: <20190410224449.10877-1-atish.patra@wdc.com> <20190410224449.10877-2-atish.patra@wdc.com> <20190411065617.GA29422@infradead.org> <580d95d1-224f-a372-c656-1d2cbb19d868@wdc.com> <20190414142709.GA569@zn.tnic> From: Atish Patra Message-ID: <956163a3-9a9f-ac12-b429-eb592bce815b@wdc.com> Date: Mon, 29 Apr 2019 12:52:18 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190414142709.GA569@zn.tnic> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/14/19 7:29 AM, Borislav Petkov wrote: > On Fri, Apr 12, 2019 at 01:14:54PM -0700, Atish Patra wrote: >> On 4/10/19 11:56 PM, Christoph Hellwig wrote: >>> Given that this option enables generic code (which you reuse for RISC-V >>> later in this series) please also move the config option to >>> mm/Kconfig, proabbly keyed off another ARCH_HAVE_DEBUG_TLBFLUSH >>> symbol that the architecture can select. >>> >> >> Sure. > > And when you do that, instead of deleting the help text, make it > generic. Otherwise, there's no explanation anymore, how that option is > supposed to be used through tlb_flushall_shift. > Not sure I am following you. tlb_flushall_shift knob was removed by commit e9f4e0a9fe27 ("x86/mm: Rip out complicated, out-of-date, buggy TLB flushing") Regards, Atish