Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1313392rwd; Tue, 13 Jun 2023 07:36:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5a8Y/pxcHrO+x/oTFNS/yxGc7h8FVK1XKna2wSWX+pYUEwt4a8BJc/OcexPhV9jUzj8ENE X-Received: by 2002:a17:902:c407:b0:1ac:8837:de9 with SMTP id k7-20020a170902c40700b001ac88370de9mr10429670plk.3.1686666992675; Tue, 13 Jun 2023 07:36:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686666992; cv=none; d=google.com; s=arc-20160816; b=odE11UWo3FYvWUZ7Mrxi+yPE7wbgYSYarBMxZkG9T99uIrGHwp4UTGH3PiLJzAwvDj Ql+447wqV3AFUcM3peVAQu3b7PEYxXrQ6g7YkWvYCgzDk8L4CapXYPAkQFOxBuYrGyVx CG9BywgtjoOv6jCKWtiR5636y/S8thqqAUolMbpwg/eisa/EXJ7eJq4lItdSRo+2h1A0 b+u6FPj/dwvf+3XDLmfNsrRsxVuyzmwr32bUCKyMTvis7r+VRBeG4DsNuqM+k0Y/qvw+ TYVGxMNsaPu7bb1tpJo+Fx1IyvMCjaiLSYo0LdIBrZrSBXVCsLXUCN2bsg+qapDgizUh 70rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vdXPVhCzgX/3dkFEv1g0RO4KRoWTP0P2NYuAaRhlmY8=; b=Bbrykce6Paptbeml5Zwunk877i0LELWKuncQJmlYCDcguw+j8UlsENfejaqJsigXRs CgTWpJLuXQc3rwK8k2/Gyaq+lUTME3hZOTldqLrvywYrJFtzVY+/HbslNukIb3zbeMD0 ec1+Kb5JdD7kTjdambB9uo0zeW6FghVFBwzE70kg/U4emYwl2t29362fVYi6TJg5wUnM t9ySyue6XXnpa88JriMjWCBFSo2rsmAdlg9Zw3/o8xhN74lMkWQuMBBbTjkLsqE2gesf E5eW+UMIaYdEykCThCqVqvkPvzapk2zlBm8AfbMGMP3iXF0VZa36adY/IU8SaE4X8Lpp 7VYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=EfEg4Ftn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l17-20020a170903121100b001a6b273fef3si9242057plh.442.2023.06.13.07.36.19; Tue, 13 Jun 2023 07:36:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=EfEg4Ftn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242442AbjFMOMj (ORCPT + 99 others); Tue, 13 Jun 2023 10:12:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242476AbjFMOMh (ORCPT ); Tue, 13 Jun 2023 10:12:37 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A6171FC3; Tue, 13 Jun 2023 07:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1686665539; x=1718201539; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hfxBhUgx7NXJ6JdXeA8drLUkBlBlA9y7CgQi6V3xvlI=; b=EfEg4FtnU2mG8JkGKEDWTqrEJM0477zu4izGtRHurccl+bBA05ahCQLN k/EF/6GiNV438uLZtTKiFuv2/ZH7LxLPxxpOIPTThcN52FBu0uOkEfqAl v2RGiXoWak1sblb3kmWreTUQspSHpaBFonepm075DJLo2EvjfOWeMKq01 QF/4GGkRAlApWJP/Ia0z9OWhAk/6aqr5rYV4SbENQ6U0EI75cQvgboSoK /mUusOnskX3j/GKWaDGuxigEh6+RVZOCb6xIEoyJlFwGhdR/h4nF0EPrN vg0Ybic4hluEOGvQhs0DKAWZKPuxN/+gKQz5crXDD8ydIT2aJF9XVtlFL g==; X-IronPort-AV: E=Sophos;i="6.00,239,1681196400"; d="asc'?scan'208";a="218264434" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 Jun 2023 07:12:17 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 13 Jun 2023 07:12:16 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Tue, 13 Jun 2023 07:12:13 -0700 Date: Tue, 13 Jun 2023 15:11:47 +0100 From: Conor Dooley To: Rob Herring CC: Conor Dooley , Sean Anderson , Anup Patel , Andrew Jones , , Paul Walmsley , Krzysztof Kozlowski , Alistair Francis , Anup Patel , Atish Patra , Jessica Clarke , Rick Chen , Leo , , , , , Subject: Re: [PATCH v1] dt-bindings: riscv: deprecate riscv,isa Message-ID: <20230613-outbound-exchange-cf48ad61d31c@wendy> References: <20230518-4050231ca8dbe93c08cf9c9a@orel> <20230518-hammock-doornail-478e8ea8e6a7@wendy> <20230518-monkhood-dispersal-6749b1228b0d@spud> <20230530-duller-reset-a34ae111f207@wendy> <20230608191537.GA3233857-robh@kernel.org> <20230608-cobbler-giving-e0fac2185e11@spud> <20230612-relic-fetal-1beeae3455aa@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="X3sgJjRgCn4CtUIw" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --X3sgJjRgCn4CtUIw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 13, 2023 at 07:28:34AM -0600, Rob Herring wrote: > On Mon, Jun 12, 2023 at 3:23=E2=80=AFPM Conor Dooley w= rote: > > On Thu, Jun 08, 2023 at 08:30:28PM +0100, Conor Dooley wrote: > > > On Thu, Jun 08, 2023 at 01:15:37PM -0600, Rob Herring wrote: > > > > On Tue, May 30, 2023 at 03:12:12PM +0100, Conor Dooley wrote: > > > > > On Thu, May 18, 2023 at 10:42:34PM +0100, Conor Dooley wrote: > > > > > > On Thu, May 18, 2023 at 02:30:53PM -0400, Sean Anderson wrote: > > > > > > > > > > > > > > > > > > > Why not just have something like > > > > > > > > > > > > > > mycpu { > > > > > > > ... > > > > > > > riscv,isa { > > > > > > > i; > > > > > > > m; > > > > > > > a; > > > > > > > zicsr; > > > > > > > ... > > > > > > > > I prefer property names be globally unique. The tools are geared to= wards > > > > that too. That's largely a symptom of having 0 type information in = the > > > > DT. > > > > > > > > For example if you had an extension called 'reg', it would be a pro= blem. > > > > > > Per the current ISA rules, that'd not be valid. But then again, I do > > > have trust issues & it's not like "reg" is the only property name in = DT > > > land. > > > > ...you say "prefer" here. Is that a NAK, or a "you keep the pieces"? >=20 > Don't do the above node. Yeah, that's more helpful wording than "prefer" for sure! If that's a no-go & so are the booleans prefixed with "riscv,whatever-", since people have size concerns, I guess that leaves your string suggestion (there is a helper in Linux at least, haven't checked elsewhere yet). I guess that means something like: riscv,isa-extensions: $ref: /schemas/types.yaml#/definitions/string-array minItems: 1 description: Extensions supported by the hart. items: anyOf: - const: i description: foo - const: m description: foo - const: a description: foo - const: f description: foo - const: d description: foo - const: c description: foo - const: zifencei description: foo - etc Obviously with "foo" replaced by the existing descriptions in this patch. --X3sgJjRgCn4CtUIw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZIh5IwAKCRB4tDGHoIJi 0qHeAP4vJ0QRi7YJAoUUY9FMywRtOb4MKioKJLodiR5tQ3sA3gEA/oOKmdPiwKIP 32NtYdVYP78YjeI+omupwDOZZfgQEQw= =td6r -----END PGP SIGNATURE----- --X3sgJjRgCn4CtUIw--