Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5263911ybi; Tue, 30 Jul 2019 17:22:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzZ0XGEGSlNSzlaxstcPcrBLIMGMlQP4n2dJBEzroZ1sHERYhDMH2V0yINysCBAOIiBiRjT X-Received: by 2002:aa7:858b:: with SMTP id w11mr42586497pfn.68.1564532536253; Tue, 30 Jul 2019 17:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564532536; cv=none; d=google.com; s=arc-20160816; b=K/S7lz/T4ORzkPWHCIYtNl9wRpGDgqKstmR3rQQnHcmQjUk7mrnYhYPEOKE/7wkI5e ud5OtsNTGvu2khRz9IN/IKuZ3OgDRH1d7yhDxbVmhN5OATpmVI9euSsTDYmYr+v/gvgP xzfbDo4xFTgRHfbF6bDXdYS4/MVXQVoHKwjpI8aM/Q/9/Jx6AYGm45KxEIMFnKDoyzYC AAjX8DKXneL5/L/mAD1oklg1PKcKBdOegXP9BNtu/twALNULdlZKkgdIOWbdXl5vqnyF i2dhAjnp8p0FDZzDi1+k2I+d/0tp+Ja+3wk7uZWkFV7W8SV4AsI7kbvOhmFyjQPOM2a7 2Sxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=KRfm4hy/MFFKWXNiJL6XJ0vTMvcV92W3VJ5w2T3yK6g=; b=MoJcWyGxi3F2x91L7jVjZGQgo0kLL2rcPsIdAFQem7XGFklLjv44Q1Xh+VAZeGToG3 GJkKDY5mEZBGHH8d/cIwHJHWZXALIdzD8IsUrwyne+wdiVQCGXt7AJAaDdcC/mc41k2b S+ZTaQgdNf4kPQkjmAWSL2QygeFDVo21kaZRuhlK6ZL7Becs8QrUjTxtkcmvAE2Q+h5+ DMBwLren2Xd4GQuDP12XAvUIwNf6ou53lsJITyZbTphB4/fMyDV+fuJPqG15lsXT3ryG 8dAFGbUCyuI7Uurlz2lgqOQB63tf2LfSuwg9kkubpwS8PNQ1avF00vCkpwFnh6YJskVm YHtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=L0KSw+K5; 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 z61si27864245plb.19.2019.07.30.17.22.01; Tue, 30 Jul 2019 17:22:16 -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; dkim=pass header.i=@sifive.com header.s=google header.b=L0KSw+K5; 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 S1726806AbfG3W6S (ORCPT + 99 others); Tue, 30 Jul 2019 18:58:18 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:34747 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726704AbfG3W6S (ORCPT ); Tue, 30 Jul 2019 18:58:18 -0400 Received: by mail-oi1-f196.google.com with SMTP id l12so49191919oil.1 for ; Tue, 30 Jul 2019 15:58:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=KRfm4hy/MFFKWXNiJL6XJ0vTMvcV92W3VJ5w2T3yK6g=; b=L0KSw+K5lAXwUtfMvGFW5PkwM8L11L2y2HxjIx8uYFJhZLKHIBlKDAf4psYNcAGptC gXLfJVKL1zNxuKUm06qIPL4NOwBw3rloNIKDInPPfSLNYAljCfQr3UHzq3yxzsdbRCek V7f6gH93h7HkZFYo/FmnRzaaHRLNlz73DVfXhHFr7Zs9FanPepkowJ6YfynVUNrbWXy9 d5nkiHQYL/FSrdx7IQZRm6xx+RefyEDTQQvxR5dXyKZEVsmCFUTRAtPvNHN9VPkIyTUP jElCnqkx23aAjsutHRY3h47swJFOeOIrarkF3xA1LqlZZmWJt7TrAExruQIM4oIqX3hz CPMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=KRfm4hy/MFFKWXNiJL6XJ0vTMvcV92W3VJ5w2T3yK6g=; b=ka1nQcn7M1FGWob17w9ziqTPv+V3UNp03kO5KO4+IbvjtEF9uovQpA1o9fbCRkTM9B UpnEij3GUTHSYpM60oEN3F267WydNZU7ugY/9ZTtVY23WuhVB07/6A9UJyt64l5Xtzc4 ySmYHBWp+f9xIjbNS26XUNa1HxPO+pygry9vkEXUu6tqPwNDfLJ99vPxaPJKe8gibFUR m7/5jyKysTrUkJ903eOMooK1G/sTwkHAzW3LNDga4QRE5tUO1OezsbCnkh+A298saHA8 eIuYq9fLoumU2d8LsidI/qi51zd1tC1gEvP1outlH6XSuYiI6Ct1E94kdmK9LlvPWnxU 33dw== X-Gm-Message-State: APjAAAWj17ZyTNHGklvhOzCVHey+7QqRt9p9yGPEYJTj52RC14gvleq3 rlsGx6W2fMY1tWF2J7XLdxYowJMAsP0= X-Received: by 2002:aca:b208:: with SMTP id b8mr36981187oif.98.1564527497206; Tue, 30 Jul 2019 15:58:17 -0700 (PDT) Received: from localhost ([2600:100e:b005:6ca0:a8bb:e820:e6d3:8809]) by smtp.gmail.com with ESMTPSA id b21sm23167935otp.80.2019.07.30.15.58.14 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 30 Jul 2019 15:58:16 -0700 (PDT) Date: Tue, 30 Jul 2019 15:58:13 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Anup Patel cc: Anup Patel , Albert Ou , Alan Kao , Greg Kroah-Hartman , Daniel Lezcano , "linux-kernel@vger.kernel.org" , Johan Hovold , Atish Patra , Palmer Dabbelt , "linux-riscv@lists.infradead.org" , Thomas Gleixner , Allison Randal Subject: Re: [PATCH 3/4] RISC-V: Support case insensitive ISA string parsing. In-Reply-To: Message-ID: References: <20190726194638.8068-1-atish.patra@wdc.com> <20190726194638.8068-3-atish.patra@wdc.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 27 Jul 2019, Anup Patel wrote: > On Sat, Jul 27, 2019 at 1:46 PM Paul Walmsley wrote: > > > > On Sat, 27 Jul 2019, Anup Patel wrote: > > > > > If your only objection is uppercase letter not agreeing with YMAL > > > schema then why not fix the YMAL schema to have regex for RISC-V ISA > > > string? > > > > I don't agree with you that the specification compels software to > > accept arbitrary case combinations in the riscv,isa DT string. > > DT describes HW and HW follows RISC-V spec. The RISC-V specification doesn't specify anything about how the DT data is to describe the hardware. > Enforcing software choices in DT YMAL schema is not correct approach. That's the point of the DT YAML schemas. - Paul