Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5070417ybh; Tue, 6 Aug 2019 23:53:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxn65BUnPvjDXZwj9nTRg8I2ekrazjI+da4SImOa4HwglipfqcZTS3s1Xgtlt5rYXU5lmvD X-Received: by 2002:a63:3ec7:: with SMTP id l190mr6598692pga.334.1565160826954; Tue, 06 Aug 2019 23:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565160826; cv=none; d=google.com; s=arc-20160816; b=GhjJUvtGKHoEh2yRbixkDLie2dbn8v/sMPIS3aJXTk5a3hD6KZLB6/c25n1/r9R1dA k9WgLH9bf/8nxcLnzVIRRk7neljZkqpr2us0Uh+f/szJEXd/gWZVZYEmB4gU+oYXmZCQ 17adD0TjJuRoXX/hpTsLpwn4bYjqx1102XBPwZL/wwGHwE2IRRvslompmHhjwkjkQmcA Cq3QAcYFj6Sf9NtVUtKRdeSgWO//fJKypFggVGGcNyJAR78m3NgR1aysQsSB4XLUQ9HH Sifb6bgQ2l0w/f6aMDBIZ+HjxW1OfQrzLbVzFkLHxaBRDgkMzmw+MdcLGW9MlbYXaTDS CrFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Qd4/AdtNUI7cbAZE/FUvXQ3ioTcAsFiO76sg1gler2A=; b=Eikm3NwYGCsbOBK/LARXUN7JmmtMzueVZRCcxtufwoNZLdwosDd/NnjbGpYvB3+wj9 2uIHaYwjNay2T76MEY2dhzMKZbefD/wpBwz3zRdbCdIepHbfjwGKD/500Wn+g7FslioO 9wjD6QyHErAMq1BmnbGJQvMh7GGcq3uc+qgLcZS8RhWLPKEsSJUMKS08xjBff4Zp4fUG VTXZmifpXzyetiA2BfKotbXgXNOiYAEeI/oTPktOybbDfSDiwROi2/QuGPSn4HsTon0S ktSAbpSW5p9rRuGchOm8FKR4b03a68TL6KihR5HmT8Uauv6vkRr9RbGTwYepTVSpw4kt VlWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=l243GXzH; 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 a8si50580780pfc.176.2019.08.06.23.53.31; Tue, 06 Aug 2019 23:53:46 -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=@infradead.org header.s=bombadil.20170209 header.b=l243GXzH; 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 S1727275AbfHGGvU (ORCPT + 99 others); Wed, 7 Aug 2019 02:51:20 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:39734 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727173AbfHGGvU (ORCPT ); Wed, 7 Aug 2019 02:51:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Qd4/AdtNUI7cbAZE/FUvXQ3ioTcAsFiO76sg1gler2A=; b=l243GXzHr/c7gKuu7GBJ0VpvX uZZVn3OdCqjioHlawxkUeIjySIm7dyJmI66hYv2H3JlXpIzn5ISMGUS9PjdiV1oFhNTpGlQXWKVDX DDGwTva4Cb3GYv3enbI3ECTEZ5JCio1PsomsgaSAiE4xa8hQdjlT1F4HW2tPgonGm5EaGDVyvzwzb cpBxxQSb0gi3j/SG2b1RlHYJ2RBwt9vcWPM2s4XudCXtDGeMaoETLFnQRkIHXmsitcLZUzUCIi4xa 0OGf9/2kxWzdeeKG4N5loNPBTkSJKA2DY0kA7miJCd3lrHmHZZqJ4GxCr8DQJn/gVYTEboVjafVXR th3YqXtCw==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1hvFn5-0003Gj-MH; Wed, 07 Aug 2019 06:51:19 +0000 Date: Tue, 6 Aug 2019 23:51:19 -0700 From: Christoph Hellwig To: Atish Patra Cc: linux-kernel@vger.kernel.org, Mark Rutland , devicetree@vger.kernel.org, Albert Ou , Daniel Lezcano , Alan Kao , Greg Kroah-Hartman , Anup Patel , Johan Hovold , Rob Herring , Palmer Dabbelt , Paul Walmsley , linux-riscv@lists.infradead.org, Enrico Weigelt , Thomas Gleixner Subject: Re: [PATCH v4 2/4] RISC-V: Add riscv_isa reprensenting ISA features common across CPUs Message-ID: <20190807065119.GA7825@infradead.org> References: <20190803042723.7163-1-atish.patra@wdc.com> <20190803042723.7163-3-atish.patra@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190803042723.7163-3-atish.patra@wdc.com> User-Agent: Mutt/1.11.4 (2019-03-13) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 02, 2019 at 09:27:21PM -0700, Atish Patra wrote: > From: Anup Patel > > This patch adds riscv_isa integer to represent ISA features common > across all CPUs. The riscv_isa is not same as elf_hwcap because > elf_hwcap will only have ISA features relevant for user-space apps > whereas riscv_isa will have ISA features relevant to both kernel > and user-space apps. > > One of the use case is KVM hypervisor where riscv_isa will be used > to do following operations: Please add this to the kvm series. Right now this is just dead code.