Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1034389ybi; Sat, 27 Jul 2019 01:21:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBsimOyicWQCGn+ltAsxrBlr/7IyRowTRyhgqk8mwaaxl77h/zNRUWkQ8bYe8GaPn4sZ27 X-Received: by 2002:a63:494d:: with SMTP id y13mr96770679pgk.109.1564215676762; Sat, 27 Jul 2019 01:21:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564215676; cv=none; d=google.com; s=arc-20160816; b=YxQLyPcp5f+ojZyLIAOdMrGza7Kmious81HCXCeuMv94Swz63RAUmWiYjb4wVf+hLP gP9dKBcLeyUosytDRITbiUiRoGUl6gM4ly6O30noeCja4W4dWR9AgekBEtWRj9CcZqNw JsXcKlqpKM/ECdbgR0MyRZCa+WBCuvDtiC9o+crqFVtyH4dE4XSKz8BfiJj0+OaE5VgQ LJ7KierdWzT7k37mSpuYC2ak8QlymJNpW87boBmcyCy+U0dWhbdL1UADPlA8sWcpb+y2 43t0m3zwozakjqd0Z6Hgh218uNvbBgsZpoaEkFRcY9KmpHt9CfYNZCChsINAJwABGF6+ W6AA== 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=GqXvr0YJl2rBiC4sDBh/Naqmgvh+22fz1v/WVxyKO8Q=; b=iemeFPdGFr7Q2prVQKXd85It6VrIMDvWY92gU91gKaNOdFnkl1uoEMR0zJwma5pMx2 69vX7xsowWZJlI8rcffhiCoAXjsrKFv5uFFR498GZtyAaPPPi8kHW21/Ob7zEsHOjS6J F6Y/D2ZxjwCjOAlk0p+O+1gi5IcKk5KT5Akika9ka+Bbfm9ViU5QgE3JfCzma0oFUQVv 2yk46jfiqsm+2j7wEwfeqKYAlURUBoRvwcSdy8MQWUoJj6IS3vJ7cyu5+doyoO/NavQu ilwiN2nsouAZLwHVRKz4Z/Par2vhmKiEpbgaensOPPj54gJAtRMBiDZTVtv5C4EpI6Pg rMtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=gfW+j1g6; 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 d7si22183323pgv.86.2019.07.27.01.20.49; Sat, 27 Jul 2019 01:21: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=gfW+j1g6; 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 S1728246AbfG0IQQ (ORCPT + 99 others); Sat, 27 Jul 2019 04:16:16 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:45961 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726197AbfG0IQP (ORCPT ); Sat, 27 Jul 2019 04:16:15 -0400 Received: by mail-io1-f68.google.com with SMTP id g20so109600231ioc.12 for ; Sat, 27 Jul 2019 01:16:15 -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=GqXvr0YJl2rBiC4sDBh/Naqmgvh+22fz1v/WVxyKO8Q=; b=gfW+j1g6IacoC5Ik0W7a2UYx4s7aGeOHrCvJbQGmUPqYge3B6Sc1txqFo+8b5MMhm/ O5lhaKX2aC0KVc/syCF5b/U8jT3a2uneniChY/9H64jh8CMYGFI43iUIlbaWMEL1O3AU Q4Wge+YRXbNKeKQJSkh6n7Qsg1bBGoYZdWG2x/ylDWGyQgoXyVPEGEJVceDLg+BzbMqn DOuiJ7bEhFbXyMqhRWNXckKLUoV8bS4AEeGkPXzEdlwQ1jJndhDQG3FiWtzmemBPqTwB 9P0mT+nlpWdRGlakHqeFUDnroqX1Tk/V/vWE4pwxLqrLPZbpUR3qzxaec7kpir3sb7A1 UcnQ== 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=GqXvr0YJl2rBiC4sDBh/Naqmgvh+22fz1v/WVxyKO8Q=; b=bkfy+DQr2jWLqS+Bvskpwg8WmLMmamhtcpg8VGAZHW2yGetWXk/Sr1I7qOVoP/btyN qWZ/ztQ3WmcEq7gtPMy1N0rggeova2ZkZ9xFxScckm3Kpu0+JvLr2Jb26b0addLYfbRd CvgVealhh+BxoDq9gRO9G108hDaeXSzQ7h/SUmJ1vrt2C04gMQBFDYfwsIIOe1bub5Cl usW3qv7RqP7cxZ1WS2L8Ywx6K5jN58Kq3sg8KDOIQolY/hkoCjeHurkDvZqbbTWyY7Dj n8Aeceu386b9qAV3nTKbnkRaredftgeLMIVDp4Z4e++aWXMRnuYc3mgkcwSdA9Zn1JYk f51g== X-Gm-Message-State: APjAAAW4y/nhcM+riwTSUItaMqU4rYX8qjbqyTuk+PumnrLmOO1PT3fC 75RlXQa08BVrKTQIYQhLM4tG9A== X-Received: by 2002:a5e:c241:: with SMTP id w1mr86156837iop.58.1564215374902; Sat, 27 Jul 2019 01:16:14 -0700 (PDT) Received: from localhost ([65.152.59.42]) by smtp.gmail.com with ESMTPSA id y20sm45173594ion.77.2019.07.27.01.16.14 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 27 Jul 2019 01:16:14 -0700 (PDT) Date: Sat, 27 Jul 2019 01:16: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: > 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. > The YMAL schema should not enforce any artificial restriction which is > theoretically allowed in the RISC-V spec. Unless someone can come up with a compelling reason for why restricting the DT ISA strings to all lowercase letters and numbers is insufficient to express the full range of options in the spec, the additional complexity to add mixed-case parsing, both in this patch and in the other patches in this series, seems pointless. - Paul