From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH v4 2/4] RISC-V: Add riscv_isa reprensenting ISA features common across CPUs Date: Tue, 6 Aug 2019 23:51:19 -0700 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 Return-path: Content-Disposition: inline In-Reply-To: <20190803042723.7163-3-atish.patra@wdc.com> Sender: linux-kernel-owner@vger.kernel.org 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 List-Id: devicetree@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.