Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp5245938pxb; Sun, 7 Nov 2021 08:11:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzA9o0HBfLumb65mPPwQzr8UURhIWzQpzhtMUgIx5b9M+YZ26KT+K38aFscWkx22874MRkI X-Received: by 2002:a05:6638:2650:: with SMTP id n16mr19942387jat.72.1636301486858; Sun, 07 Nov 2021 08:11:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636301486; cv=none; d=google.com; s=arc-20160816; b=bmuZpICdZPnVDFkGDs2+sh8NuQb6Kjfidc6YTDrZ5bBxztjByIZqGr6JjtyfyIS9RQ EZhAZm/5gtuezxSfVSCNIjj8OI/OpqaApH3+AhhZSYrOKBlRZOpmN92AOM7Vum0o1ZcZ nL0bNFyo4hKIw4W91yuPH31xUGw1WE/ITqJlwmZkmpJ7NNTPPklJuftheg/qmcwO1J0X 93Hlq4hx1Ik8S9hk84aS0vhirgtfxoF1y+eIoWN9a84IqlhwjCvhHIoBr5JwIZWRo2pP AeM0xHd+AzhndgH7ghliPPR8DyKepv7MvgPtWBHLXqSUZVc6ycDxSxqRoZ35JT5ftGUG 1Nkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=vDFK4DQn9aozfzSTpRLPEP7Y2pv1h7xDJpMzzU0xL2E=; b=QWVf7zVRSA5I40WR/6QCkeXPIFK5KQsoe2kO+DkcgEl+U4eem+1rXrrUz9Um2RkoBY lqBRh6e1iADRJlkyrjiD02PEjmzAztnrNHCV2SQ1V4EVukz62b/Uvoy/58AckhW+LJu0 JC1vFa55WTgqgmE2S4E0JYs1m0drfItSlWI6wrAOjVf2OIUspaLvitsKGTRElfqOHF3r KZdibOS/+Tsk7Q3l6thmir4HIS2TAlr5Ieuln5xkVqhVCEcl+/1ny0yoesuZwPOk4p38 lumMx+/iLJJI2jar3OfL5TZa5PdAwG0zSOuURh1vgxKPCYtKLCp2SCKZTNJGgBAZrf/x a2AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TgQu85TF; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p6si22927240jag.18.2021.11.07.08.11.14; Sun, 07 Nov 2021 08:11:26 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=TgQu85TF; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232540AbhKGHPt (ORCPT + 99 others); Sun, 7 Nov 2021 02:15:49 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:50876 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbhKGHPs (ORCPT ); Sun, 7 Nov 2021 02:15:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636269186; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vDFK4DQn9aozfzSTpRLPEP7Y2pv1h7xDJpMzzU0xL2E=; b=TgQu85TFFcI1GYi145daH/C24VV6KH51tbJ4QSk824iIOVVM3z/FOFqhelYBShnnQgeIB2 zzEkIEF4M5Mgwur5NeYfG/TkxkGHk8D1cKzbpnVwCpJb5yaas4sDiecXROJ6njB6NcpMvp X+x7PE1UPvUrLjphlckC5ppW9GrvyZI= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-496-oyQSy7qBOJClXAtQeBT1tQ-1; Sun, 07 Nov 2021 02:13:03 -0500 X-MC-Unique: oyQSy7qBOJClXAtQeBT1tQ-1 Received: by mail-ed1-f69.google.com with SMTP id s6-20020a056402520600b003e2dea4f9b4so9297403edd.12 for ; Sun, 07 Nov 2021 00:13:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=vDFK4DQn9aozfzSTpRLPEP7Y2pv1h7xDJpMzzU0xL2E=; b=rDDEATHgIMINGRIm7T+Ep1rgWkqzTiDlPJuQkUz3JyMTKkdUmfUIWjLYcTt49OSUkx lnWqS4OYQ9RimUl7MWb0tNG3HIpDiOFvEVzOVwnkriDh10MamrNQBSpgkiIkMDq8QwL8 FZjdtM6F5NuNcj7kSZHFnCNEy8l7OaWshW9GH89P4wYp91AnmBFizOfnpJGTVg53b/FH H5oB6/bwVYWfiOnnrF3rjeFJgigPriL17TSSdPtRswnOO1cIH2jD+r5qzoZJ3OxM+4/q DQrQvfhpPmOxq2vrF1cGCL/2zirapTCU4xjOf1Ox7alDM8TtdFnEsvIRQOfr0xebn99B fKrg== X-Gm-Message-State: AOAM533ZvidN/GBIAALRQZVexbp6fH4SGCQEL5UNzEV9YRITUVr0hKRp tygHNyUTJKURnQp1+jqPY42jrBOSiMP9GWV9xrcKAg5xuNXfchq3j5rvEf5wmQEzbvR7jH+a1Fn +cWbY2hjvTvpJOnpSS096Esryoy6cLjsWo46k/JQd X-Received: by 2002:a05:6402:50ce:: with SMTP id h14mr56552162edb.228.1636269182851; Sun, 07 Nov 2021 00:13:02 -0700 (PDT) X-Received: by 2002:a05:6402:50ce:: with SMTP id h14mr56552126edb.228.1636269182667; Sun, 07 Nov 2021 00:13:02 -0700 (PDT) MIME-Version: 1.0 References: <20211025040607.92786-1-wefu@redhat.com> <20211102055857.GB26925@lst.de> In-Reply-To: From: Wei Fu Date: Sun, 7 Nov 2021 15:12:51 +0800 Message-ID: Subject: Re: [RESEND PATCH V3 0/2] riscv: add RISC-V Svpbmt Standard Extension supports To: Guo Ren Cc: Christoph Hellwig , Palmer Dabbelt , 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" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org HI Guo=EF=BC=8C Christoph, Thanks for your suggestion. On Tue, Nov 2, 2021 at 4:51 PM Guo Ren wrote: > > 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 How about config RISCV_SVPBMT bool depends on 64BIT && MMU default y > > > -- > Best Regards > Guo Ren > > ML: https://lore.kernel.org/linux-csky/ >