Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3983620pxb; Tue, 2 Nov 2021 01:54:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9VdeN7n53m8Dcsb0VLz6uEnmXiqSQifJvNf25I9YpQWRu/tj02STv466aUiNtvEV0C6Yi X-Received: by 2002:a17:907:1693:: with SMTP id hc19mr14221810ejc.396.1635843243755; Tue, 02 Nov 2021 01:54:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635843243; cv=none; d=google.com; s=arc-20160816; b=lVE+s2Mgzx75QeeiRc1x6leHKmjdDUUXUfrhgYatTwXueKMXWN5sE+LxT6gRV9cVPr FHEQzbAZ9l2CAd9H82wicKwL84udXN1vFPNyiystqj9jbr3P8IMMlEpsMRWQl68VMYoL qFBcfGyqrl5QuNjfd4jBtcd/BHQjKJhYV8vaL+yxabUT0zuZhd9OVVrvJ1CCDLorTSg7 ECzBhCg663cnc2JLvuApaYHX+EGNaaFONbZmIImIMVDcJSnFHXjhaBIpHYz7ZIGQ02gz 0bZfr/8Zn9n36PO5sLpo32KAofCF+ZE3ZIlfpDw0Z9MizBnyqp+hZWLf9Zmr1D9YnlPl ZapQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=vYmUEXJEqnnD2ouRvzazG2Buo6jQNz5wEICGyRoQ8cQ=; b=0bEsHfY2E35Hte/W9PsrS0Tm74AYOILPm66ldD7ddKXuu9JKqk3q/D+RDqkwbJFgtS bF1Haa5iThhTTCqHhbfBQzThBBb6CGCu1nZMX94Tp27ALOxFcLHZHsvY2VdzreOYIovc CaPJe3xLXMn5ol33W1VtHMQQ90gK5lBGLUlYZSXE1cKbAmBhuO8xxb6OdqROEtOt8jXD mAgS6H3sdfHL+rFLYhGxUBZkbFNQWk0zMumIfAGWj8Xnrnb9a/gc6w3b6cxzn4+97hBF jhbjYk4bf0eZ8N64C19QZsiJMT/oTZOkuzCy6EM6EdY5vAj8dqIvDqNVh7xxmY2wYR5C Mcvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fftVrso7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rh9si25799656ejb.634.2021.11.02.01.53.37; Tue, 02 Nov 2021 01:54:03 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fftVrso7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229770AbhKBIyP (ORCPT + 99 others); Tue, 2 Nov 2021 04:54:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:38802 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbhKBIyK (ORCPT ); Tue, 2 Nov 2021 04:54:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CEF7360E98 for ; Tue, 2 Nov 2021 08:51:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635843095; bh=YPf6/M2ebb35G16XuM5VQwFjUhWRcpJIy1yYwPnDS7k=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=fftVrso7Ja5UMZ/cbC8pu8j060xZaMp+R9hjaMQX/jKNo14P80ODhhm5+xz0UFVA/ 7UipisfN12J1h8YB2OOwWUhmwqtipcxsG6nKRQRkq06YlmdQ7ONJz08r7ipTfYfhor WG3DLzoZ/J9MPfm7es/RvjCPGXo9JUNyBAtoeCGOC3MP/6IzBmQNs+WyFoVUjIb8du Xj/ftxfJ/+4IeS4rPi9F/Ban684Wqg3hUD3tfCn49e+JAw97UhIfi/Kpi9TyqVjr2W ofeAGDV6u2wjiZYT4WET+AjIvA4ErmybIBRzB9BnMm29wPJZRjvXjtEWxNAwz0QK8X OuIubCCa8omkg== Received: by mail-vk1-f178.google.com with SMTP id n201so9223528vkn.12 for ; Tue, 02 Nov 2021 01:51:35 -0700 (PDT) X-Gm-Message-State: AOAM531I/ukEkRv4xbZJpq5R4sjQwr3qflY4fUrcIOcaBjzLf537eyfs eyCHBi1fogOgTU7en4seuh8Mcm7KBeDM91M8p3M= X-Received: by 2002:a05:6122:1682:: with SMTP id 2mr36158634vkl.22.1635843094957; Tue, 02 Nov 2021 01:51:34 -0700 (PDT) MIME-Version: 1.0 References: <20211025040607.92786-1-wefu@redhat.com> <20211102055857.GB26925@lst.de> In-Reply-To: <20211102055857.GB26925@lst.de> From: Guo Ren Date: Tue, 2 Nov 2021 16:51:23 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RESEND PATCH V3 0/2] riscv: add RISC-V Svpbmt Standard Extension supports To: Christoph Hellwig Cc: Palmer Dabbelt , Wei Fu , Anup Patel , Atish Patra , =?UTF-8?Q?Christoph_M=C3=BCllner?= , Philipp Tomsich , liush , =?UTF-8?B?V2VpIFd1ICjlkLTkvJ8p?= , 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thx Christoph, On Tue, Nov 2, 2021 at 1:59 PM Christoph Hellwig wrote: > > 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. Okay -- Best Regards Guo Ren ML: https://lore.kernel.org/linux-csky/