Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3864093pxb; Mon, 1 Nov 2021 23:05:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywLlonnh0Q40iexbV7SKDUhW8LGFas1MnPuvIJ9Ff2P8TE2IwamAawUm+MqN1P0sGLOrm5 X-Received: by 2002:a05:6402:2920:: with SMTP id ee32mr23449323edb.136.1635833159002; Mon, 01 Nov 2021 23:05:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635833158; cv=none; d=google.com; s=arc-20160816; b=TQHv2m+OIOgiZ9NHkAcCogaZ7snbpsENyfeDhaY2TA+sL2kRbkXXLT90gh09bgH8MJ 2jNnMEq90emRO0bzBJIx+sAxcm/Sfw3xStNPoeGyCDlDsp8m7IdEi4oSqiSSsXH2Ah17 nAJwT9DQBkIWKKUSz1PlAuE88XaXODeLae9LeWk8/7PKiGlCZ1vsZzv/muu5k/w6KdgT /ycO60ZVz7wFOVoP644BpBZ3AIgZeK5sOan2YD2C1tqeIuHur/w5W0JvOLWiUltdEHPP xoZKIXJ2TgEaADK2tvkVAAZofx1dbFgQi+M5Tf9AOTzxnwPLxgDPZ0RjVMGgf63nS/6R IlAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=zZrMOSYchLbH+X256bMcIBlK49GyVUwX5lRRRuWxf7c=; b=DYsI6TuQEt1IC4EuIDyfKj5u8Ra9WDQOEcwn2Pm5akIi50LZZsbnm4Ne9cQ6a+I36Z F3S2exITo7Busa9d+ix3s7M0zG/hzdhJfOF0cM4Wg/xxkHqnHYLGE8zVDyNanbcO2mjd JqkPpoVoGDlwYTGBM4hntVMOUaZf5Mz9xyYxhuHAhu8UrD1/+iY8+n3dVIzcMvUcNgu5 YzIFgxLDtIVPXCDTP2IJ9aHGJCDsqnFmfmvWugz61boEA1TtERdA6hN+4KbUQHWDOETe 2BaDVr0Dc+Jrh3UuKeKzwCSzKYpB21c+O+65C6OSaiOmHpAzpk8T7hxDY447tRJaxF2X YK3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id he39si31837078ejc.410.2021.11.01.23.05.35; Mon, 01 Nov 2021 23:05:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229526AbhKBGBh (ORCPT + 99 others); Tue, 2 Nov 2021 02:01:37 -0400 Received: from verein.lst.de ([213.95.11.211]:54483 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbhKBGBg (ORCPT ); Tue, 2 Nov 2021 02:01:36 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 270BB68AA6; Tue, 2 Nov 2021 06:58:58 +0100 (CET) Date: Tue, 2 Nov 2021 06:58:57 +0100 From: Christoph Hellwig To: Guo Ren Cc: Palmer Dabbelt , Wei Fu , Anup Patel , Atish Patra , Christoph =?iso-8859-1?Q?M=FCllner?= , Philipp Tomsich , Christoph Hellwig , liush , Wei Wu =?utf-8?B?KOWQtOS8nyk=?= , Drew Fustini , linux-riscv , Linux Kernel Mailing List , taiten.peng@canonical.com, Aniket Ponkshe , Heinrich Schuchardt , Gordan Markus , Guo Ren , Arnd Bergmann , Chen-Yu Tsai , Maxime Ripard , Daniel Lustig , Greg Favor , Andrea Mondelli , Jonathan Behrens , "Xinhaoqu (Freddie)" , Bill Huffman , Nick Kossifidis , Allen Baum , Josh Scheid , Richard Trauben Subject: Re: [RESEND PATCH V3 0/2] riscv: add RISC-V Svpbmt Standard Extension supports Message-ID: <20211102055857.GB26925@lst.de> References: <20211025040607.92786-1-wefu@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 02, 2021 at 10:07:58AM +0800, Guo Ren wrote: > > To separate MMU & no-MMU clearly, I suggest fuwei add > #if defined(CONFIG_64BIT) && defined(CONFIG_MMU) Actually - for documentation purposes a new CONFIG_RISCV_SVPBMT that depends on 64BIT && MMU would probably much better as it clearly documents the intent here.