Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1343100yba; Sun, 14 Apr 2019 07:31:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNerRu6U90yV6tpx1M6fXgP+YdsqpEv5y+MNMYcOgG/Zn9QelVExE4ThK31SAOjJGvW7kI X-Received: by 2002:a63:ce50:: with SMTP id r16mr62942737pgi.89.1555252264117; Sun, 14 Apr 2019 07:31:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555252264; cv=none; d=google.com; s=arc-20160816; b=JiZToKf1PAFgffktTOkNmOut2kH9qUHjn2GdLncpdTyuhTVQPv+PLpufnPtXFHIOZ1 zOveEPudeyIH+nuKhZlJ/hre3ppZy6s2uxvEENRCp8KBjpvCwMkRTbDZI89QA1mt4o4j qS1pcAv4M2zYAGbqrCn5FhUsOAxV8uxSGcf6l/OjONvU2AsR8Z2PABGUdqMQIIEYRDcp t/NULnp7vCjy7qTJw/Js3K0XvfnfAvHlE87pSF2GM3EiMZnu354jqX3NFTUxHZ3cp5zz ZRHLtR3dmrTEfbmgV31T/MxRK2ojItXn5r4mpcVXZQgBY06UttTdSH9OvISBMu/xQ3BM eccA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0tP6hoqtQENoly861EN4P78bPYJcM/3W36gOx1YTfWw=; b=fTED+ATJU3VDVj9T+1P3soHA5R74StUxernWLKlKvqcJk5NXGqvuoyA2C8Bnr9SF4Z 9c6c9oU7K+s5ddQfVM7HM4mnM4t/sFNIS488/DcR9PuGiYj02Qkend47CkJX5VVw0o7Z mjQuNoDsXmbZWZi2yr+CAq89t2x/AkkHDPIMWb4Che1IzcDK/Ko+hFImDExMq47jcRiv /5oy59xMavc2MI4xlkIqZiNqeX/GR1pTJPBRvGnCldtcDUaROZ1slgpzvHXlFW6OHYH8 bnL7Z8vlR6qyPgH7CRIWhOpM+/HAZRQB+Rx64PIgZ2Jcghp1XeIlQQbH54f96atbtdFO 2jIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=Ai6QHIky; 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=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n80si6894638pfb.169.2019.04.14.07.30.33; Sun, 14 Apr 2019 07:31:04 -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=@alien8.de header.s=dkim header.b=Ai6QHIky; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726313AbfDNO3b (ORCPT + 99 others); Sun, 14 Apr 2019 10:29:31 -0400 Received: from mail.skyhub.de ([5.9.137.197]:33084 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbfDNO3b (ORCPT ); Sun, 14 Apr 2019 10:29:31 -0400 Received: from zn.tnic (p4FED3D80.dip0.t-ipconnect.de [79.237.61.128]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 63AA31EC0104; Sun, 14 Apr 2019 16:29:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1555252169; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=0tP6hoqtQENoly861EN4P78bPYJcM/3W36gOx1YTfWw=; b=Ai6QHIkyw2+/p1QNjJ0JSEz5HX+07Bkj/1NoSgV8QMZclo819VtGsPRNCr9/nRJejMd12r jlod7Ujap5RMfGuMyu0ATt4c7LJodVRyjOmaYD6czyFJv0xYsl/mQWwq2/nCKynWzcv7hI VKyuCuGiLsz/5jx9wTrWhbH8DpgCQj0= Date: Sun, 14 Apr 2019 16:27:09 +0200 From: Borislav Petkov To: Atish Patra 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 Subject: Re: [1/3] x86: Update DEBUG_TLBFLUSH options description. Message-ID: <20190414142709.GA569@zn.tnic> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <580d95d1-224f-a372-c656-1d2cbb19d868@wdc.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.