[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.9999.1907270108420.26998@viisi.sifive.com>
Date: Sat, 27 Jul 2019 01:16:13 -0700 (PDT)
From: Paul Walmsley <paul.walmsley@...ive.com>
To: Anup Patel <anup@...infault.org>
cc: Anup Patel <Anup.Patel@....com>, Albert Ou <aou@...s.berkeley.edu>,
Alan Kao <alankao@...estech.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Johan Hovold <johan@...nel.org>,
Atish Patra <Atish.Patra@....com>,
Palmer Dabbelt <palmer@...ive.com>,
"linux-riscv@...ts.infradead.org" <linux-riscv@...ts.infradead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Allison Randal <allison@...utok.net>
Subject: Re: [PATCH 3/4] RISC-V: Support case insensitive ISA string
parsing.
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
Powered by blists - more mailing lists