Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1721904rwn; Thu, 15 Sep 2022 22:50:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7u+EXKAblmQ5md/NTEXpgXmjJQ6i695rmel8bd5gZNFDJcOn2OlXq7/nCtgQiFzJc8ixit X-Received: by 2002:a17:907:74e:b0:74f:83d4:cf58 with SMTP id xc14-20020a170907074e00b0074f83d4cf58mr2455765ejb.178.1663307407103; Thu, 15 Sep 2022 22:50:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663307407; cv=none; d=google.com; s=arc-20160816; b=tXufOepoOeT4ZGSRwV1ntOPjkFiAPRCHxK13DR1c6sZLXPA4Asv3nYE57hg2Xmz0sM 4MgZUH5G3xHW3oI7aWEJFjzH6bjW7XXR2kwX4hYp1pRnEB+Xb0AHreCFfpZm3PKkgFRT pryN9qtD8svKVhUoi5iDi6cG5Lew/nVz9trvPFFIELoh3TXsGhyNqQbg0wICYzu8ruTX RAZK5vvTGTZj8KLTzA/mnyDR/DvQKNFF/EK6fuwIBxqFY1R1Jc1yNwiwjscQ4o/7BPDI NiT3AkBFfkiLhx/YlZ3GasTgw/ETFGTq9jh0CWKuTDXCB7mOBSVd6C7XZfCNmeDPCYBx lbzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=9wX0Os/v3fWWsqmWeRj6d/WnVKZOSdCwMBBhNWRxR70=; b=gB2cSTAVXIfVxmmqaS/7dYivvAUQFx3OJamfV85tXaHRVjpQMGBVjnaaUH+nSJVW8H W34kmPJVi8MQimPQZX+T8DfB7LCfL80t6/ehlw6oNONP16eedQKueniANaL2M7QrQarp 1ZGT+S8vtDbZeS/b+cPRdC8xaF1kNj1o7dcPvsl6800TPeVRrkbc6V06hBx1McKvst/u uoHYPzT19rE4As3X1mrtwT7V6borjsElzr9Nw4tNa3MDU7azX1rUHHYPjcPUTL+fNrXY LIPXv5dK8rw+lAa6fs9E/JKzOxMg/Maje1s1DGjzCTKEFR3DL/406CMnestwUQtasGyP 05sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20210112.gappssmtp.com header.s=20210112 header.b=Zsq7Sluo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c18-20020aa7df12000000b00451b381e080si1242520edy.517.2022.09.15.22.49.42; Thu, 15 Sep 2022 22:50:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@brainfault-org.20210112.gappssmtp.com header.s=20210112 header.b=Zsq7Sluo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230009AbiIPE76 (ORCPT + 99 others); Fri, 16 Sep 2022 00:59:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230053AbiIPE7c (ORCPT ); Fri, 16 Sep 2022 00:59:32 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C986A1D75 for ; Thu, 15 Sep 2022 21:59:10 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id c4so16635352iof.3 for ; Thu, 15 Sep 2022 21:59:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=9wX0Os/v3fWWsqmWeRj6d/WnVKZOSdCwMBBhNWRxR70=; b=Zsq7Sluoau0Y8EpRoGjXEFmrki9+nCAvyXbkwbUsj1GZWAINsUoO2X3jW5YQxpWD+H arWfeMPFscfb/P6b+WvdXfdmnZy9NTj0/PCTy7yijgkOUCOC/+kQB+YhfAzlfoDvbiNs 6bup61heaUz3XJgBcTW5V4ubRkY7MYkAPt1qp3EEjYNunDAXEFqZPkx3Fud/zLDhaAny hNIvmbVe8zwa7pRlMrNdQVZwsl9hzznP6piNGuhgraDCph7oKU9fmxRn//8NIsNfcLhZ at2naX0NQAeOHDTF5BCF9KgZ4GUVjSu4+sS7SdERQDePG3HScSsuBZTmxK7LD8v7t9Zb zInQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=9wX0Os/v3fWWsqmWeRj6d/WnVKZOSdCwMBBhNWRxR70=; b=A4kddFakrqMr66cGGRTADw5is0FRFJ94idSANL+FgbAHKivjCzvVLoH38L0roDf8D3 PQLvc8XUJzcb3Rz95qY0AERzN1uiQPfRTUc4Q3qrGctbu1SiMc6fW+gCT0lg6k5ecsGv lAXo2hnKQg6WjWXtbdFVtRue2qprz0qnkHYPvylfBop2gQXzhv7I/WtRue4nZ2GXBuE4 SVKWJvoYVNE5UU7s2YkNgBaL5u+iDrNexO/Nt0lY1evsfop2KIjrWkx4tmcWDWhipVs6 rz6drqe8vB4e7ItJnkqr1FrkXjLOsSiYtKCqJ9EfGWrmd1oiS4KFvk9807YZR85WT+n5 2IOw== X-Gm-Message-State: ACrzQf2o3VzApUIhMDpJbWb3lygF5DdUpPSeWD+nv+S5wBVrZ3RJImGc rvdQI0gKMLIXvAWbs+JkO9JT1+dhCwbY6nQWgJkgxA== X-Received: by 2002:a05:6638:270d:b0:35a:6246:ba76 with SMTP id m13-20020a056638270d00b0035a6246ba76mr1633632jav.263.1663304348836; Thu, 15 Sep 2022 21:59:08 -0700 (PDT) MIME-Version: 1.0 References: <20220902170131.32334-1-apatel@ventanamicro.com> In-Reply-To: <20220902170131.32334-1-apatel@ventanamicro.com> From: Anup Patel Date: Fri, 16 Sep 2022 10:28:56 +0530 Message-ID: Subject: Re: [PATCH 0/3] Svinval support for KVM RISC-V To: Anup Patel Cc: Paolo Bonzini , Atish Patra , Palmer Dabbelt , Paul Walmsley , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 2, 2022 at 10:31 PM Anup Patel wrote: > > This series adds Svinval extension support for both Host hypervisor > and Guest. > > These patches can also be found in riscv_kvm_svinval_v1 branch at: > https://github.com/avpatel/linux.git > > The corresponding KVMTOOL patches are available in riscv_svinval_v1 > branch at: https://github.com/avpatel/kvmtool.git > > Anup Patel (2): > RISC-V: KVM: Use Svinval for local TLB maintenance when available > RISC-V: KVM: Allow Guest use Svinval extension > > Mayuresh Chitale (1): > RISC-V: Probe Svinval extension form ISA string I have queued this series for 6.1 Thanks, Anup > > arch/riscv/include/asm/hwcap.h | 4 +++ > arch/riscv/include/asm/insn-def.h | 20 +++++++++++ > arch/riscv/include/uapi/asm/kvm.h | 1 + > arch/riscv/kernel/cpu.c | 1 + > arch/riscv/kernel/cpufeature.c | 1 + > arch/riscv/kvm/tlb.c | 60 ++++++++++++++++++++++++------- > arch/riscv/kvm/vcpu.c | 2 ++ > 7 files changed, 77 insertions(+), 12 deletions(-) > > -- > 2.34.1 >