Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3203200rwb; Mon, 5 Sep 2022 07:59:15 -0700 (PDT) X-Google-Smtp-Source: AA6agR6rNIZtqGyQQ95uynPfWdpbDZJs02l9eH34SArrTnYWkEETIHMlW4krPby5Qam6aO67Fdc6 X-Received: by 2002:a17:902:ebcb:b0:168:e3ba:4b5a with SMTP id p11-20020a170902ebcb00b00168e3ba4b5amr49306802plg.11.1662389955465; Mon, 05 Sep 2022 07:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662389955; cv=none; d=google.com; s=arc-20160816; b=skVneASnzA1hkFR3CrvxwPAIVQNBiXoKeZc7gfpZAouumxYCwzoRfAl5t5wOsJrkIw Rxa52wVDadDpjMLFL/lY9H4eyitzGYtK3Vl38lEqtFZk2lv1NpuR+IqVchiSkMG+h5Lu OSBFoA4rf75OwtUIz/aZzgYrjEJqydo/h/CeSugf8xLs5v19B9IUA4T0jC24w0ACRr75 1XBfNKcF7bvst0H2vJU/mgi2YRUGcDVnnbKFWPcRmvRilGdsXlx2HQM9Sww5RnU2gb2S RLeg+Pioz54TGOMtQRx+yce+ZG5zZXZ11VPwIsMFDrIf/v5Dt/SFg5nubno5jp+DceMF QS6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EWYn0J7WPavaTgTTHsAJLPPLXm3IrDBQA3Am2N9LKbc=; b=I5f1xxAlYKzylyn7SgkErTNCsOBqgykTMmS262iP3ycCmg8661ONnuLo+CcIVrmduJ x2Fw4b1SxoSLGY7++RM+KUjcAPa3SqouQIuZ2dtvYNywdGCpInCKubxB4JCxfKJSbprQ 783YPj+p02k3ONY9l6CcGVxItpUyUy6stYwYrlBuQ80nEJCippLO3sUft5YOQCtcLkeq NItO62Hiv4Dmb5NBlHeCSzj4gLn1g69ETK8NdyPTZLNebA3WD9C+mazaiEcY936wnpzn LnFWGjtIW3F0/p5mQrGVViTMT+Y7qX7lvhjhZGR6Nso7wzmmn7KA/TgVXAk8wQ1MzkPf z4wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=RREVlJgo; 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 j27-20020a637a5b000000b0042c75258f69si10237896pgn.483.2022.09.05.07.59.03; Mon, 05 Sep 2022 07:59:15 -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=@ventanamicro.com header.s=google header.b=RREVlJgo; 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 S237692AbiIEOF0 (ORCPT + 99 others); Mon, 5 Sep 2022 10:05:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229984AbiIEOFY (ORCPT ); Mon, 5 Sep 2022 10:05:24 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A0FA1CB23 for ; Mon, 5 Sep 2022 07:05:23 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id bp20so11048584wrb.9 for ; Mon, 05 Sep 2022 07:05:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=EWYn0J7WPavaTgTTHsAJLPPLXm3IrDBQA3Am2N9LKbc=; b=RREVlJgowp20xJl611CUIlXXcHWKHX81piHaUH+iNRrbmdAxBqM+mRvPyqsTrJOVm5 rAEBj0DBvmLHM0bCNrTXZMo1uFl03j6iM4LnXnn/M+xhk3cP/UP5xBjm5bmyvy75ka2z VN2iC1WjhEHAfV5axu40Bp1qqpewT5iQOrVTQK6JP9NxOsg23/IffVgW7Zwky3zHWhs7 MN4FqO632/rzrmpMcZXWux2L19LA5YhViqB+L+sObj3ICsQWSezoGIO9QW7zuzR9dy/H tdSjzdfubmcwkvrSKY5dtDY+6LMhlw4RXXjrExSJOKqkzvxboDsV3tt/mmZLrXe0Bp1U GA0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=EWYn0J7WPavaTgTTHsAJLPPLXm3IrDBQA3Am2N9LKbc=; b=seF2WE1vOXogRtHF7lp5rHtAowp5wbSAUx8VzxMp3PoV2GoV+9dnUtW7PmU2RtLkSK CNnSsDutWh1hVZMHKf8QZ0DqmlgOQEI4kVoDNM4NwxB6bp19HOHZsqOGsOhLhVAfTarz Ugd1crtV9gc0T54lTNUqswDfyBb9ks3BSKqbUgJbTior3TlEpcAoXgYgBgtSeSNX/Ffx ZsbYjHpWIrrWRvy7uoBnoZuXQJrHluLbcKEPKwIRo7mY3kbH23Kqm0fY5tbQbP/EACq8 h0Hwm4Gm7YgpEyArNkZJTYsM7Xsp3o43WItLFbzcOwkwITc8KFrxmjAX5yk+9M3bqYID tuBw== X-Gm-Message-State: ACgBeo1tviBEIMevxnI+YE/l6kVYsTII3fRAtHHqLbOPVI6RS24qhqBx lk/EQ4rhgEy1ixizwI7TjnxEKA== X-Received: by 2002:a05:6000:1d81:b0:226:fa3a:8721 with SMTP id bk1-20020a0560001d8100b00226fa3a8721mr11351511wrb.475.1662386721837; Mon, 05 Sep 2022 07:05:21 -0700 (PDT) Received: from localhost (cst2-173-61.cust.vodafone.cz. [31.30.173.61]) by smtp.gmail.com with ESMTPSA id i8-20020a5d5588000000b002258956f373sm9021634wrv.95.2022.09.05.07.05.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 07:05:21 -0700 (PDT) Date: Mon, 5 Sep 2022 16:05:20 +0200 From: Andrew Jones To: Anup Patel Cc: Paolo Bonzini , Atish Patra , Palmer Dabbelt , Paul Walmsley , Anup Patel , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] Svinval support for KVM RISC-V Message-ID: <20220905140520.dmpbbh5fkk634leg@kamzik> References: <20220902170131.32334-1-apatel@ventanamicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220902170131.32334-1-apatel@ventanamicro.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 02, 2022 at 10:31:28PM +0530, 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 > > 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 For the series, Reviewed-by: Andrew Jones