Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp507219pxb; Thu, 23 Sep 2021 05:09:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsy7pMIrTS7i60vMszuu9H3NDHDy0/rdX/TOgeQdPnc21FG4TgMfOFeGeFIDW0NUxxDhAo X-Received: by 2002:a05:6512:22c3:: with SMTP id g3mr3819877lfu.577.1632398944753; Thu, 23 Sep 2021 05:09:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632398944; cv=none; d=google.com; s=arc-20160816; b=vZL0JAMM1Xs1pjOCwpT8DXXDzj1AQQ0Gtd6G3p4+KVsl/JbMQoE87JoILM9sSZkVgy 9iSSyb+2IODdBSBH0oVwJxUU/ZS1Nmds6tJnV1ARBc7rCaIHU+2hGAvrI5xI9PLbPhrS yO1NMuNJPKGwzhIn9Rxyn7a0FiVWqNZylXY2y8grurRbVd/gLtMdQqd/hlQyyDMzVfoV +Q62InVb9zoFG1ts1JGmssAJ8LU/2yLXMaULSilG4UhEoP/6ayMU7Qa1HHOKBfodt/UB DOG1wljS0FrUgJmkNohGkIX1zUsI2Z4tDIQZ5gsfL2vhCifNwPRs+Frdf+kx31O/sJGO 02jA== 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=f51bokcPvrJ7B7RBzYE1DzNEFRNIokzGIMxHjYpgizU=; b=QBg8XdKbMPrQHd/aXJkO70C3yDZahm6S1bvxFrW9gT170vexRO9iD0aojoTwxxmDfs DSuWLm9QNUA5V0ZZkKSN0coMYhmkec6nosmEaCiZ9Ms+r/L4Y0opF3/BjUaHV1jnMpOr GE1nM2NjLQ5HhSNM8u76M3jhTDa5cKyajXoNLR2qJ3zjirzMoY4sPb2fIqmgwbmSf4LY X67by7C5buoIR+SBnxHmiBzm6qxaBoJCThwlbnEvtzJvbqG2lEbD1fLJDqp0Nl8raaW8 9wNg8xvAAv9p7NxYiwOMJ6mOQ92RjIouNgcwumI5HIVxTnzjaN/2of6lnqfuqTwiSI0P bpSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i+VYDUeF; 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 nb38si5788005ejc.126.2021.09.23.05.08.41; Thu, 23 Sep 2021 05:09:04 -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=i+VYDUeF; 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 S240762AbhIWMHq (ORCPT + 99 others); Thu, 23 Sep 2021 08:07:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:38302 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240812AbhIWMHO (ORCPT ); Thu, 23 Sep 2021 08:07:14 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 15D6E610A0 for ; Thu, 23 Sep 2021 12:05:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632398743; bh=Sj7Dgzd3HnFxGEbIJASFCGbiMmx0KyzlYpvgK/xgBew=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=i+VYDUeFD2tivbwhGzk8BxI4akTP3N2zEYmcYAARd5o8+mEN11O3pPb3nA6cuzdIP l2Efc9Cd4iC282ldMogs86+MGxis40AZu7kTVZhONDK2M7+jsQ0gOv+dh/aJP1DRGr vypIK10OrcWx9fMyWOdNLO+jgl7VJ+DSRqDn0xOuVLL47Qr2f5vha5TMfLxHlOAhkb Ze4kaJuTy4ydrZnzb7tle/pouUomuTL5sHIVAd/a4AySMrMt83MRh4p5bQn8zM6/zx 2hCLD9xbIWZTYascVMxOXG7idgHhgoOHDA+R34LJX+a8ywFKCy43vRhjQ/6ULquaoi 256nO7SOxM/Cg== Received: by mail-vs1-f49.google.com with SMTP id l19so6222634vst.7 for ; Thu, 23 Sep 2021 05:05:43 -0700 (PDT) X-Gm-Message-State: AOAM532x6wwse6K2bOuOec2Hz4flkuA5TSVHI1GCHzSIU7g/5Uf2VoVM B7jtDqrgeYFW/CkdkQrNJAI4ziZ9QBy4LkItLy8= X-Received: by 2002:a67:f9da:: with SMTP id c26mr3568812vsq.50.1632398742315; Thu, 23 Sep 2021 05:05:42 -0700 (PDT) MIME-Version: 1.0 References: <20210923072716.913826-1-guoren@kernel.org> <6d7b1668c1f562a5ef426bb2519f9784@mailhost.ics.forth.gr> <0861cc74d3886e685e9aa5d13ddcd781@mailhost.ics.forth.gr> <16de95480d279b086cf0c612461e4235@mailhost.ics.forth.gr> <88696248a0c19a5dff660354b837514d@mailhost.ics.forth.gr> In-Reply-To: <88696248a0c19a5dff660354b837514d@mailhost.ics.forth.gr> From: Guo Ren Date: Thu, 23 Sep 2021 20:05:28 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] riscv: Add RISC-V svpbmt extension To: Nick Kossifidis Cc: Philipp Tomsich , Anup Patel , Anup Patel , Atish Patra , Palmer Dabbelt , =?UTF-8?Q?Christoph_M=C3=BCllner?= , Christoph Hellwig , liush , wefu@redhat.com, =?UTF-8?B?V2VpIFd1ICjlkLTkvJ8p?= , Drew Fustini , linux-riscv , "linux-kernel@vger.kernel.org List" , taiten.peng@canonical.com, aniket.ponkshe@canonical.com, Heinrich Schuchardt , gordan.markus@canonical.com, Guo Ren , Arnd Bergmann , Chen-Yu Tsai , Maxime Ripard , Daniel Lustig , Greg Favor , Andrea Mondelli , Jonathan Behrens , Xinhaoqu , Bill Huffman , 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 On Thu, Sep 23, 2021 at 6:09 PM Nick Kossifidis wrote: > > =CE=A3=CF=84=CE=B9=CF=82 2021-09-23 13:04, Philipp Tomsich =CE=AD=CE=B3= =CF=81=CE=B1=CF=88=CE=B5: > > > > How if we expand this to a mmu subnode in cpu@x and add a booleans for > > adornments like svnapot and svpbmt? > > The older mmu-type could then treated to indicate a mmu w/o any > > adornments specified. I am aware that this generates an additional > > parsing-path that will be maintained, but it will allow future > > properties to be grouped. > > > > cpu@0 { > > ... > > mmu { > > type =3D "riscv,sv39"; > > supports-svpbmt; > > } > > ... > > } > > I was about to propose the same thing, we can do this now without > breaking backwards compatibility, we don't really use mmu-type property > at this point, we are either sv39 or nommu. It should be another patch. --=20 Best Regards Guo Ren ML: https://lore.kernel.org/linux-csky/