Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5073446ybh; Tue, 6 Aug 2019 23:57:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2YNnkKH5FHJY0paTYJyAxi2K4wlLIFLifbQ+Auaol5SF/V+CThzh/HTMQfkp2eeywAsQv X-Received: by 2002:a17:90a:1ae1:: with SMTP id p88mr6709773pjp.26.1565161045879; Tue, 06 Aug 2019 23:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565161045; cv=none; d=google.com; s=arc-20160816; b=wG/9GM52jpatz0v3mlOT5lHukPgLHNYfI/RTHFacpNtZi//LPQW41fGGc83fb9amey I8+XTzmCPz4r7XHuoRxUKbQFX5b8Elk3qoVqIim76RXtxoaKc4Wqs4fY6nboXkeE9Fdm 3cPPTbr58lBviI6kAWswS1irMtRuGYtV2sqfa1z/5bVQBof9DjgPxQ27DChUYjhVT4s9 0j22whNRp9i+yLIhjXk0TuZdOlV7RGYWmgJBnwDz1bPBU1HoJ8KPctZT9pRBxO+LCJsZ 8j8ch7EO5b1+P6GKUImbvZFJcTlfS1pBK24uKpEWcI91t7Ob179UAxaNIaihOjVOnuzz 5sXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=jCoErHiPNvk13SPfCcqBT6IJoVO0gBMNBIOMvhTHKu4=; b=buifg/eV3v16+trw8aZueRevi4dlsRSrE0TfyVyUk/99tIXz/NCPjakNxKCMQuCYTn 8SkhJiJGEOzHSipmSDjfvBgq7ofnqTK5pgXPykqKw8p6D7vL1MdvP+Y6YtnJtgcUGi0/ Uee5SCgxDxEYAkt9rfBRq4Bp0B5a2KQieObFOQSNBebdaJyhQsQnj3kGeNsvy9c7gm+R jN5+wozCRbd/AqLPzE9zrivoWhlc9Nt0GjT10R982RQhZhoavzdbOpUomkXfbe+qoIMi Skz97H6DvmqcsvTnSl0pamJxyEOSlY9NfMz2cg4N1QEfJ6vtUPYoZBVLNQ+cBRTKNkgg SxsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=qpivKekg; 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 p13si43486102plo.33.2019.08.06.23.57.10; Tue, 06 Aug 2019 23:57:25 -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=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=qpivKekg; 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 S1728772AbfHGGzv (ORCPT + 99 others); Wed, 7 Aug 2019 02:55:51 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:35973 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728492AbfHGGzt (ORCPT ); Wed, 7 Aug 2019 02:55:49 -0400 Received: by mail-wr1-f65.google.com with SMTP id n4so90253965wrs.3 for ; Tue, 06 Aug 2019 23:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jCoErHiPNvk13SPfCcqBT6IJoVO0gBMNBIOMvhTHKu4=; b=qpivKekgVXwq+eNUFaaCyUsDmoXANXQ23A0g0oz148wDbeLPXCDJoHF/oqUYv4UXMe 0Qyl1XUojpebWB5JVei1yVMMKylhDlmpCUqGKaTNLroELwyxawmAOY3QfQg/YB2/R7yx HY9b93Nx5E4Vnig6g5s/bpQZ15IyFDRJi6l0rJjrH8mp/RikSPmlOqIL3byNr5ma94Nt SnxR+ehNzzlt2riihmWQBn7DQrKxBEDDzkxP9z/JPv1m2nLkMamUtSTD5VTmDkfQ8iJH EkB6Mm1YFtAazfks1fuZT3aLcs2r0CLZHyZmVJFHuq+tGggHTvvkFany5maEqYXv+GGK 4VKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jCoErHiPNvk13SPfCcqBT6IJoVO0gBMNBIOMvhTHKu4=; b=nob68upvPnGzuCwddh+Y3Qmg/itBUqWmwKHfLgMl5jkDqJaJrYdGde90Pljpq6iNC2 M+933kKMa50CCNWvfL4fm7AKolmITmpDcjGfTDhbkkWho+eqRS0EaIcQS4wPjE6AJ4xe qbkc1Wx7jfeMeOcDXpmD6IEwigt/e78vQjn8clGgrDObNeZd6hnzEIDCImsGUuPckfbr ErBSzLfUMHHHCmVX9y5UFM5Sw7j6Lk68TvtQC7mexbcnpRKRhN38hO/qmHV4AG+G6JsT tJCJxmEc4KAzaou5cLGJ3/9MYFLwxbmwhn2tj1pqj0R798n4n289MOby7THjC2x41eIn 11+A== X-Gm-Message-State: APjAAAVwrGIzr5d08QPKFGxKrlpdp0y0/moykC0aurEHgsFv4+Mwjsbs bTEux0SPdzi4BOkjyTY+pQ4O2EzyUNt/vr2OW5NQrw== X-Received: by 2002:adf:b1cb:: with SMTP id r11mr8284877wra.328.1565160946973; Tue, 06 Aug 2019 23:55:46 -0700 (PDT) MIME-Version: 1.0 References: <20190803042723.7163-1-atish.patra@wdc.com> <20190803042723.7163-3-atish.patra@wdc.com> <20190807065119.GA7825@infradead.org> In-Reply-To: <20190807065119.GA7825@infradead.org> From: Anup Patel Date: Wed, 7 Aug 2019 12:25:35 +0530 Message-ID: Subject: Re: [PATCH v4 2/4] RISC-V: Add riscv_isa reprensenting ISA features common across CPUs To: Christoph Hellwig Cc: Atish Patra , "linux-kernel@vger.kernel.org List" , 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 , Enrico Weigelt , Thomas Gleixner Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 7, 2019 at 12:21 PM Christoph Hellwig wrote: > > 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. Sure, I will include this patch in KVM series. Regards, Anup