Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp627728ybi; Fri, 26 Jul 2019 16:18:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6h4HwZ9eiJquyIHbYJbZ+nVLCllOtT8mU8XINQa7oO1pmIZOhVsmjQWvb30rS1dT0q1ud X-Received: by 2002:a17:902:9f8e:: with SMTP id g14mr52934121plq.67.1564183112550; Fri, 26 Jul 2019 16:18:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564183112; cv=none; d=google.com; s=arc-20160816; b=rpnn+/qjX9/hqdN34qtNCkeWywWp5Qz66SjuCVxJPWBrZGndpg/P4KH55JH4ZuSfDy cTc1InZZE05/FTa/4XIhKBuSeYn4bfXWGqztI9c8nrlvMKXjJxzZappaubPQKKGXh9Aq SmZzgDRDI3bUJb+sNqPjH3eSG0pHsgP9RZmnzbGoudrTd6ELIqqgC2FtROmRiJm94A3t bf9rwpwGOz1BurA8XPnf0/2QXpNZl065zBduemoHuVETDV2WfCrqRKYy0NEuEUbSsffC aIczNHynM1v+w9y7/fjZMVXINzhZ8OJyObJvIIXebJyMizHge9Z6u7GynX1VAqrBlaTO QUjA== 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:from:references:cc:to:subject:ironport-sdr:ironport-sdr :ironport-sdr:dkim-signature; bh=WGGyYoDjmCxLKUW4Q9cD95nS0VEGaCeLFz1C0G6NtCM=; b=WmB9vvI3xv2nj5EaKZd8KZTB3maXgfaz+NBtOqRu2go/H6nCqjGft4kOw42gAGP814 sVYyK1mpW+03maGpwVtnO/HUJzwvaB/o8/ixoSQVtx4sBmMTa8R4Iq0uTYZR7xQrddQq sr1VbLwtcFyX7e1EdGlcapIJSvH6QTj47ndni10O35dPm14Oz6KKpGQX6ujKemmBT6t9 FUYjboXK1xeaEONUrEFIH/Gd6BluA2U1MSq8gZOdokjApdeKnZDgw/Z8Gp3IBWTRVmWn Jv+2sY992Fkjm583139nZhnwNgMpFWvqKx2EzcAojvjJEBlrjHIBQYGI8iAPNQ2iXodX Mc/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=o0ksJZo1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z13si21780922pfr.86.2019.07.26.16.18.17; Fri, 26 Jul 2019 16:18:32 -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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=o0ksJZo1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728290AbfGZWUw (ORCPT + 99 others); Fri, 26 Jul 2019 18:20:52 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:3258 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727111AbfGZWUw (ORCPT ); Fri, 26 Jul 2019 18:20:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1564179652; x=1595715652; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=2Pp7soz5T65+2MFGSxtLJF8/y1h3Zy8XLJbl/hXcT98=; b=o0ksJZo1sM6luBzgCLZAfElThu65wZwN8YDmCfu8f3STdFI2WhMnvZm5 MHihwJHAzktZhg/zw2TQQWmib0k15XHcTn/h8PLcRrzjbdgTTRakchZO/ fiuuBVsbHfAGoUem1YJFV/46pq2Ota64XPE0JrPx1cs5raE8i7uAOFbqh H6Rxt2YBROEKL5twAI9/hVdwsYOX60Z1OaP8bcDu5xKGskL0kV6EQ+/JZ z8OFklzqZKxN78bEo6/kdEG30jPQPZKh4ttf79hu7faPu92Zp7rid7CC3 ziU8GFzLTRFoawvKlPEY71idUvnPXR6C480kiJYTMcokuKOSXY1r5cEnH g==; IronPort-SDR: HLP3a60RI6UP05q2IlxNOgWElva8c0VkfRegoCaNRJMekx0X+YngvFsGmfjeOi8Vx0zkdxXQqW FM0JjFZ9LWqyophf/8LiH+WDkQzHMkDPZhECmkhdxBBec51Sl51n9jEy5eEZAaZoDUfqdzI9+u 48srHOXizI7Q/5sXnA5rZ+zM7QuswJeDOJXrAyOF1uLNHNurdvUfKKjre6nks3+QmCiYJ4dfHX rz6NLiZsUxkgEfsizM+t8w3RgQSVqL5ffe8kneH6B0Lz2FM8BpzhjnMvLwM75TJfjp2E0EpBg5 PUw= X-IronPort-AV: E=Sophos;i="5.64,312,1559491200"; d="scan'208";a="115280748" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 27 Jul 2019 06:20:52 +0800 IronPort-SDR: 0vsAFPFKckuK6EENiuX1YZ9bRL1GwUYij56pPsYA/Q8LsRkVQUMqeW6taj0Oqi+3zeNUwunsDQ YeoIV/pO/aOnUes1i+ybWMkPLnVccmVRVt7clzB988iuKiwaIkZhzx7P7vFCP1h7Jr/VzT0Lsd XPpr4ROqa42g5DHO3aOVtE40ZAymRZls9Q6qIwywMuq+VYVbEcvdJZ+uRf7MVGXnY3s26KNGiL rc0rLoCWe2P5tkTlwpWMdZnCdH2vhHisdpMc8PtWGYaWkoE4R1MqN396BBx9Y/5RAcXv632t23 zyZS1aGL1wapxJKjTb9k3kre Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP; 26 Jul 2019 15:19:00 -0700 IronPort-SDR: DTvqt9Mfx3sEEJcaEIx2FzJIgmQZ2mIv8hWErAdPzRFMdP8MEQzAeRV/QyvsCeRPRd2OXjP7h1 R5ZcVL7wgYNM/8gkkzOacIbRzpp/FRBnOST3Ily25tSBf7loEKaXkgRK7T23DqAwMooO0TxvoO xrb6+4c0kBv5ZzD9Uv4ZSosSoW8ld/+z3IlmYo2nc57WLNikT60H/TKXaM/9x701mObj1g1bgA nNwGP5ZN4ut/H4GcPqBuphfvr2IjI2GJsS9+xBio/aHuG804X+YShuM6HmLZALhiSQgEklZGG2 yw0= Received: from unknown (HELO [10.225.104.231]) ([10.225.104.231]) by uls-op-cesaip01.wdc.com with ESMTP; 26 Jul 2019 15:20:51 -0700 Subject: Re: [PATCH 3/4] RISC-V: Support case insensitive ISA string parsing. To: Paul Walmsley Cc: "linux-kernel@vger.kernel.org" , Alan Kao , Albert Ou , Allison Randal , Anup Patel , Daniel Lezcano , Greg Kroah-Hartman , Johan Hovold , "linux-riscv@lists.infradead.org" , Palmer Dabbelt , Thomas Gleixner References: <20190726194638.8068-1-atish.patra@wdc.com> <20190726194638.8068-3-atish.patra@wdc.com> From: Atish Patra Message-ID: Date: Fri, 26 Jul 2019 15:20:47 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/26/19 1:47 PM, Paul Walmsley wrote: > On Fri, 26 Jul 2019, Atish Patra wrote: > >> As per riscv specification, ISA naming strings are >> case insensitive. However, currently only lower case >> strings are parsed during cpu procfs. >> >> Support parsing of upper case letters as well. >> >> Signed-off-by: Atish Patra > > Is there a use case that's driving this, or Currently, we use all lower case isa string in kvmtool. But somebody can have uppercase letters in future as spec allows it. can we just say, "use > lowercase letters" and leave it at that? > In that case, it will not comply with RISC-V spec. Is that okay ? > > - Paul > -- Regards, Atish