Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5840578ybh; Wed, 7 Aug 2019 12:20:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjATpaO3DtBeiPuc7aRu6IUWkTee2ybRZBzyNu8QZlbpew4v09pRvu1jMgXRbdmsiWlNpe X-Received: by 2002:aa7:84d4:: with SMTP id x20mr10915703pfn.60.1565205611502; Wed, 07 Aug 2019 12:20:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565205611; cv=none; d=google.com; s=arc-20160816; b=vUyrcEmkNgma1u1jZvPpbPr355lAsW5puYs9PHb2/G9LIwti1XssS9GbCAwoHfDRN+ g4ICgFW+VRc401xcv/nb1z5OYWNcgEtwjqBIFGvf0k/B1MH5pe46CGo9qkVdOXAJgWkj G8dw0eDBaFLGrXmSWFN95e0266a27wzKb9z9uK2WjxZEz9PImcnvqrSP+QJiR2SNt3m5 +0C30TrXfdt+NkvyePPvJfz5sxd3OnWCFfX+dgw4adTPS2a+JVolbJNUCI9qTq8yldwo 0ONdRL+BmYtAc8GVaapXITy3ylhaIYkNg2kwLtNPqXvo0j6+rJQbJLXIFbsXTbTFwqzr n2ZA== 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=/uiebD3btGZbv4vhWYrLmVJnJacov4IOPhmk60kkajg=; b=OjfWskLlj06CWICE/kUqXGPpX+uvcw05wmg3cnSUyjFsSo/yjwXQbsvMvhApSOdBXh OVHhqlR4wVPRMoIiwhCgnD/OTT6Lvg3k7juNKm9MLrqwBPkXD2ryhs9iMstTLFlZBIAB r82i4Cn9r9sXOlebSh0+qZKb+8C0vMluxg4/yXihPQAig1j8X+pNDAIsVrchLlnhP2td NRlhrCRA1hfxPUHnaWZ/TNyuH0y3fxLt3r6Gz7LASMALnHpmF53jaKm1u1DkZZbReyEb 9suYErm0mqpAWgzrk8jU9UdSC239zGDtcr3Mm5En2XlIdlaA42tU9aX8OgV4hl+XZfyf NRbg== 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 a19si53916745pgw.234.2019.08.07.12.19.55; Wed, 07 Aug 2019 12:20:11 -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 S2389212AbfHGRmc (ORCPT + 99 others); Wed, 7 Aug 2019 13:42:32 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:36702 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388363AbfHGRmc (ORCPT ); Wed, 7 Aug 2019 13:42:32 -0400 Received: by mail-pl1-f194.google.com with SMTP id k8so41877311plt.3 for ; Wed, 07 Aug 2019 10:42:31 -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=/uiebD3btGZbv4vhWYrLmVJnJacov4IOPhmk60kkajg=; b=HNcBAXnJzE6uUB8tIAUYgqvuEp7OTTfPSHB8SoTsSj6TdMtwzvLu6bF8L1r/I1gEhw PWb2b7yxTVPfJVq+rS+uQK5zsO9WyKeBxjQdTp9SwMZwnR5yGKd/r/RnMiEPaGGFC+b6 WQizhkiuM9fEcEe13nigY5hBl9/ThWE3hi41FeycrwJya/FujyAUKhkIdjFb8uDrCsmO 6lo+s0+P+6dqdS3xRO8/cVA4Mina6J6ULuE869rGnqjw1aMnjGB8B+6g4PyiE6GXuAaC Cn7o4VVpZAEGqmxHdE+XP4qHy+qrwEktYkEbxgFwb3y7HBV0nKIdYpRMpZzB+OGrq/oD M+Xg== X-Gm-Message-State: APjAAAViB37ApGBWruUSZrjJ9bINiRvBW8OlCzcWuow6REdUjb/GFtD0 EwyG41o9ugcSpAk11YS4PG26czuhRQmtvw== X-Received: by 2002:a17:90a:2190:: with SMTP id q16mr989287pjc.23.1565199750802; Wed, 07 Aug 2019 10:42:30 -0700 (PDT) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id p187sm146508645pfg.89.2019.08.07.10.42.30 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 07 Aug 2019 10:42:30 -0700 (PDT) Date: Wed, 07 Aug 2019 10:42:30 -0700 (PDT) X-Google-Original-Date: Wed, 07 Aug 2019 10:42:28 PDT (-0700) Subject: Re: [PATCH v3 3/5] RISC-V: Fix unsupported isa string info. In-Reply-To: CC: Paul Walmsley , 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, johan@kernel.org, robh+dt@kernel.org, Greg KH , tiny.windzz@gmail.com, gary@garyguo.net, linux-riscv@lists.infradead.org From: Palmer Dabbelt To: Atish Patra 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 Wed, 07 Aug 2019 10:31:51 PDT (-0700), Atish Patra wrote: > On Tue, 2019-08-06 at 18:26 -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. >> >> > > 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 am sending the patch right now. We can remove the 'S' mode check as > palmer have already sent the QEMU patch as well, . Looks like I missed the boat for 4.1, though. > > Regards, > Atish >> I'll also send a patch to drop CONFIG_RISCV_ISA_C. >> >> >> - Paul >