Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4021146ybb; Mon, 6 Apr 2020 22:15:40 -0700 (PDT) X-Google-Smtp-Source: APiQypLofGDuk1HONNMQdhKyifdatc2Ar/N/XL0qNwpFJMRPZhfsAXI+6mCtIVHRD3Fz/VF7y18Q X-Received: by 2002:a05:6830:10a:: with SMTP id i10mr218095otp.190.1586236540282; Mon, 06 Apr 2020 22:15:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586236540; cv=none; d=google.com; s=arc-20160816; b=I/1zPwmHdaDmdCG1iGzxHe4KvJ3NNYXKZ7L9hUzzYUWFibTOHz5gzkRU7yRSwDxPDs EDaCe2iVTXe1/Iu8YLv/AcqdWNZLLvAZbvsNozBiPAwi68M9SyGEFi4g+fVOCiNZ98WM 2Bx9HVnA2FOXoi/b004hKFAEA0WB3pXckcNLyM5gsNwkHAOJ6Knovc3cOn5MSom7cZ6x HdvKNnTFLdqR+gOfmc9wuIgK/JLnIsXblyhV+31NArO+8hPYo7qJwjoXXExBK5Rk8By4 SteRGOe1ZgljcxemuL611xvv/X7D41CW51VDoqtRv+nQe7eGWDYc+dePVrqCqRG4EFoV DhAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:subject:from; bh=wlODluTxJI5l1UBkKpwNJ1Glya2gsisdDLBl5J6DP6M=; b=wrv97McMuguJJVmcWDgp2975Yir/WizxUvQnNtsmYOND7+yUf/Cpq4Ex1X2SuH61DN YIqvHO8dsEzyBFxFUliPZg+5bxtPoXn9sWGy1TNjGqbW5ATFJoRjzIdVYDmGbxdIgXBR C1ZIAkLzLeihldL5CCiPM9G/CFqqsdHbDf159hVL250yLc19IndxFCLO8D1IyWdOOma5 0J4dJYk4ElSP+Z6/E9dmW0Fw4VCfGzhTn7PNF4o4gVkE/IFMlxbSJVzlavr+NUGAixM9 nS8EPHgJluy7p8ID1ZC1XfZ93f6hkOInbXr+WRNMM4vE7XryriaNN0gRNjlo+5BZ2YwR hcWw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e24si799420otq.2.2020.04.06.22.15.27; Mon, 06 Apr 2020 22:15:40 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726795AbgDGFO4 (ORCPT + 99 others); Tue, 7 Apr 2020 01:14:56 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:1559 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726232AbgDGFO4 (ORCPT ); Tue, 7 Apr 2020 01:14:56 -0400 X-Originating-IP: 2.7.45.25 Received: from [192.168.1.101] (lfbn-lyo-1-453-25.w2-7.abo.wanadoo.fr [2.7.45.25]) (Authenticated sender: alex@ghiti.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 4E2CF240006; Tue, 7 Apr 2020 05:14:53 +0000 (UTC) From: Alex Ghiti Subject: Re: [RFC PATCH 6/7] dt-bindings: riscv: Remove "riscv,svXX" property from device-tree To: Palmer Dabbelt Cc: Paul Walmsley , zong.li@sifive.com, anup@brainfault.org, Christoph Hellwig , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org References: Message-ID: <56690fc1-fdc3-67d9-5a39-e92d0ec6810c@ghiti.fr> Date: Tue, 7 Apr 2020 01:14:52 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/3/20 11:53 AM, Palmer Dabbelt wrote: > On Sun, 22 Mar 2020 04:00:27 PDT (-0700), alex@ghiti.fr wrote: >> This property can not be used before virtual memory is set up >> and then the  distinction between sv39 and sv48 is done at runtime >> using SATP csr property: this property is now useless, so remove it. >> >> Signed-off-by: Alexandre Ghiti >> --- >>  Documentation/devicetree/bindings/riscv/cpus.yaml | 13 ------------- >>  1 file changed, 13 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml >> b/Documentation/devicetree/bindings/riscv/cpus.yaml >> index 04819ad379c2..12baabbac213 100644 >> --- a/Documentation/devicetree/bindings/riscv/cpus.yaml >> +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml >> @@ -39,19 +39,6 @@ properties: >>        Identifies that the hart uses the RISC-V instruction set >>        and identifies the type of the hart. >> >> -  mmu-type: >> -    allOf: >> -      - $ref: "/schemas/types.yaml#/definitions/string" >> -      - enum: >> -          - riscv,sv32 >> -          - riscv,sv39 >> -          - riscv,sv48 >> -    description: >> -      Identifies the MMU address translation mode used on this >> -      hart.  These values originate from the RISC-V Privileged >> -      Specification document, available from >> -      https://riscv.org/specifications/ >> - >>    riscv,isa: >>      allOf: >>        - $ref: "/schemas/types.yaml#/definitions/string" > > I'd prefer if we continue to define this in the schema: while Linux > won't use > it, it's still useful for other programs that want to statically > determine the > available VA widths. Sure, I'll remove that in next version. Thanks, Alex