Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5613069ybh; Wed, 7 Aug 2019 08:41:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqgdyg9Bn75h6TDzGA/x3enzw643Ykh7k9IYUTKq71kTn0pS+3Ee3x1WV/NBNblz9+46cU X-Received: by 2002:a65:62d7:: with SMTP id m23mr8257263pgv.358.1565192467263; Wed, 07 Aug 2019 08:41:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565192467; cv=none; d=google.com; s=arc-20160816; b=ZXHwfaHzaDYc3nGC1KPeBAfiTGN9GOrD6Sj0LJVsdB6W8/jp+JoJgmIe3qYX4NSWCN IfgCEXTz6/pjCi61WHy43aWXiAlTQkVO6b4E3r5xiblTLbb6M1azs1M7lipJS10/Y5bZ eWcb16+jXgRQXRLUB+e5jMEosLce5nW7XAUzN1GQ6hOeHwmGfQCKYcYVYmoehFNJNa7V 8PKQ9YK2t3S0avq5ZN/3Kvo/zu85xQuawQsEqFsU2afjK8sR8q6sot7du6ofmBDXGTB+ n3uCDs7JunC7fBeC/oadm+GCFEzuQ7eiF06gbXb3XgzBVHAqjKqJPUH7gWvPsKJA03WD 4EPQ== 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:mime-version :message-id:to:from:cc:in-reply-to:subject:date; bh=SbXighRqPCoPZWVDEmqUD9WiXHWD2WoHQaBKm2NnUQ0=; b=NVBTY7FPkRJmaOSb70GEVUllG5X0XYo5nFQDvzdZ7XZQm385MCmN6TJAjLY7xS3zET xvvZpEj7JwweYgMY6vGxIGVuODnkHxfNUqE9014EtUJkkBKc+nKycKclMaig0q4xe50v Anu3NMKaaVpu6KIA0didY4/LWLCWrxlUgudi2qsN3G+oOOdCoHh9KaRK+6FdYA1RYP7k MAhxVFvKHEDtMiHCxRSDfFGwbhUFryIHelzNupgEZvyUi5DjQ8SaKEpQ+gnHu117VaB0 TIC6TBtOnheHCUIWVFmVywraVs1jcBOjSQgfF4IdxqYOCuwa8YKcISantSC857PsZ9Y5 vCIQ== ARC-Authentication-Results: i=1; mx.google.com; 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 i8si14788316pgm.179.2019.08.07.08.40.50; Wed, 07 Aug 2019 08:41:07 -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; 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 S2388695AbfHGPhv (ORCPT + 99 others); Wed, 7 Aug 2019 11:37:51 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:43389 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387827AbfHGPhu (ORCPT ); Wed, 7 Aug 2019 11:37:50 -0400 Received: by mail-pl1-f195.google.com with SMTP id 4so34377505pld.10 for ; Wed, 07 Aug 2019 08:37:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=SbXighRqPCoPZWVDEmqUD9WiXHWD2WoHQaBKm2NnUQ0=; b=TLfgH3DoYq3Oa17B7acmQxuWyl1NQ1d2B9DrMw9ZzVvVK/HALUi2NT4XDE43cRhwCq 1bEGGYbk/ige/PGSGgtK+VXGSv2DkIPk2JQ/F9mHFmRM28HlSmkUWaZwow8qNV1fX5qS JLOSlAg8xbg2hYQIjYnTh3ZtkiS8Pq+HUJAuAyyFEw+F9HzghPNQVlbHggDU/VLaWdQq 1ERW0ke4JbziPYAtQcLS3LodzHozqxncCpZ2YEvOeVL74Tyzxk2soj64gqT6v0YmfKqv 9kpAxFWHUuXx3PWtPfTnfgGvHdaSYL4phrY41lYCUjNLuNcROIqCH45Jon3/IBW+bOu6 v/7A== X-Gm-Message-State: APjAAAUH5JeEt7M/CskBWqDqB3mxlU/jzpZ60DcyT3Uv9uY9ltbrAmZ+ /bH+zS9uYHQCbuCi/gMawhunSg== X-Received: by 2002:a17:90a:5288:: with SMTP id w8mr512178pjh.61.1565192269545; Wed, 07 Aug 2019 08:37:49 -0700 (PDT) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id 125sm127468985pfg.23.2019.08.07.08.37.48 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 07 Aug 2019 08:37:48 -0700 (PDT) Date: Wed, 07 Aug 2019 08:37:48 -0700 (PDT) X-Google-Original-Date: Wed, 07 Aug 2019 08:21:35 PDT (-0700) Subject: Re: [PATCH v3 3/5] RISC-V: Fix unsupported isa string info. In-Reply-To: CC: Atish Patra , info@metux.net, allison@lohutok.net, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, tglx@linutronix.de, daniel.lezcano@linaro.org, Anup Patel , mark.rutland@arm.com, robh+dt@kernel.org, johan@kernel.org, tiny.windzz@gmail.com, Greg KH , gary@garyguo.net, linux-riscv@lists.infradead.org From: Palmer Dabbelt To: Paul Walmsley Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 06 Aug 2019 18:26:08 PDT (-0700), Paul Walmsley wrote: > On Wed, 7 Aug 2019, Atish Patra wrote: > >> On Tue, 2019-08-06 at 16:27 -0700, Paul Walmsley wrote: >> >> > Seems like the "su" should be dropped from mandatory_ext. What do you >> > think? >> > >> >> Yup. As DT binding only mention imafdc, mandatory extensions should >> contain only that and just consider "su" extensions are considered as >> implicit as we are running Linux. > > Discussing this with Andrew and Palmer, it looks like "su" is currently > non-compliant. Section 22.6 of the user-level specification states that > the "s" character indicates that a longer standard supervisor extension > name will follow. So far I don't think any of these have been defined. > >> Do you think QEMU DT should be updated to reflect that ? > > Yes. https://lists.nongnu.org/archive/html/qemu-riscv/2019-08/msg00141.html > >> > There's no Kconfig option by this name, and we're requiring >> > compressed >> >> Sorry. This was a typo. It should have been CONFIG_RISCV_ISA_C. >> >> > instruction support as part of the RISC-V Linux baseline. Could you >> > share the rationale behind this? >> >> I think I added this check at the config file. Looking at the Kconfig, >> RISCV_ISA_C is always enabled. So we can drop this. > > OK great. Do you want to resend an updated patch, or would you like me to > fix it up here? > > I'll also send a patch to drop CONFIG_RISCV_ISA_C. > > > - Paul