From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 742F9C433EF for ; Thu, 28 Oct 2021 15:05:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5BA9B61039 for ; Thu, 28 Oct 2021 15:05:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231359AbhJ1PHk (ORCPT ); Thu, 28 Oct 2021 11:07:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231251AbhJ1PHg (ORCPT ); Thu, 28 Oct 2021 11:07:36 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 110C5C061570 for ; Thu, 28 Oct 2021 08:05:08 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id y14-20020a17090a2b4e00b001a5824f4918so1356146pjc.4 for ; Thu, 28 Oct 2021 08:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=4gMtHi9lx++3HO8vHpSr1p/5SUEC9v5TgkpF9eatiFk=; b=K+NZNuK0NEy7CWaSV4JOiMoT1ySYl6N3psbfIWxFVz1dNkttxp8v1yfcGJYuRN1wQ2 qTBQdAU/viqVKYgueJn3+kUsPZyTErYkXStWjxkMnERO/TJ7TAIEJkb9uJ3NnyvedF15 KGXi3XJTzqFVc2DL7LV6IEeYXkcEGk137v0IxMTPxmToOcUxs0S5AlHrLaWddDVEjYZN Jh/93FheIbHdWy7RcEmassxL63YQ3P5YuPUqPH0uH9S4lqAI/kG1X7xn2cGnopL49tnN rqfwiTUqrN3qQ2VpvNF30j5y/hBy9Ziey8OVbNXJ+fv/M51074tMETY59y+ZI7cllj7a nEDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=4gMtHi9lx++3HO8vHpSr1p/5SUEC9v5TgkpF9eatiFk=; b=RcSfboAQoLt3e6YqoEu7m8XV47srqoA7ketsc8kIYyP3bckmCZNcLcbBrhhor41Vgu 3lx5+CRn46KtkAlGDtCflIwrgoHd5awIF4P2yIG0DU49YchfPbrUUoxOiKLa3RjNZdPX VliVBFJO9TjoX3IhX9d8NECEPUeRUWdQWPpXlyNTK+W4iDxn8CWpyq/hRfNsBWj8iU/P arYumo0ZqMQdlMHxtN8E37/a91afUOd+DLOSZfI8s7TvpmDodXDuCMN2i7wqeAecH//W Z7ASbv38946w0g7gaOPkUCHNF5zpEEMauEv1PwQZmFdAoBk6TjLD6egU0sNHJlpGKI0t 5hiQ== X-Gm-Message-State: AOAM530Yz+bgHUsn4UmnFgvDV02Nm3srgOX7rNVp+/a69UbE7c2bB3B4 qOwVO2u5YIlUNwjdTtTlijFrxA== X-Google-Smtp-Source: ABdhPJxjB/bUKH1oax3ewBcarZQQHiVnAU8V8Q1ZM8DOQgZjlVjFf7NuLsk1V8PGZf2QWwCTX3AR1g== X-Received: by 2002:a17:902:ab50:b0:13f:4c70:9322 with SMTP id ij16-20020a170902ab5000b0013f4c709322mr4222731plb.89.1635433507260; Thu, 28 Oct 2021 08:05:07 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id o22sm4215280pfu.50.2021.10.28.08.05.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 08:05:06 -0700 (PDT) Date: Thu, 28 Oct 2021 08:05:06 -0700 (PDT) X-Google-Original-Date: Thu, 28 Oct 2021 08:05:03 PDT (-0700) Subject: Re: [PATCH 0/3] RISC-V: KVM: Few assorted changes In-Reply-To: <62fe1c8e-abe0-5de9-5c00-3549faae1dba@redhat.com> CC: Anup Patel , Paul Walmsley , aou@eecs.berkeley.edu, Atish Patra , anup@brainfault.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org From: Palmer Dabbelt To: pbonzini@redhat.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 28 Oct 2021 07:07:33 PDT (-0700), pbonzini@redhat.com wrote: > On 26/10/21 19:01, Anup Patel wrote: >> I had a few assorted KVM RISC-V changes which I wanted to sent after >> KVM RISC-V was merged hence this series. >> >> These patches can also be found in riscv_kvm_assorted_v1 branch at: >> https://github.com/avpatel/linux.git >> >> Anup Patel (3): >> RISC-V: Enable KVM in RV64 and RV32 defconfigs as a module >> RISC-V: KVM: Factor-out FP virtualization into separate sources >> RISC-V: KVM: Fix GPA passed to __kvm_riscv_hfence_gvma_xyz() functions >> >> arch/riscv/configs/defconfig | 15 ++- >> arch/riscv/configs/rv32_defconfig | 8 +- >> arch/riscv/include/asm/kvm_host.h | 10 +- >> arch/riscv/include/asm/kvm_vcpu_fp.h | 59 +++++++++ >> arch/riscv/kvm/Makefile | 1 + >> arch/riscv/kvm/tlb.S | 4 +- >> arch/riscv/kvm/vcpu.c | 172 --------------------------- >> arch/riscv/kvm/vcpu_fp.c | 167 ++++++++++++++++++++++++++ >> 8 files changed, 244 insertions(+), 192 deletions(-) >> create mode 100644 arch/riscv/include/asm/kvm_vcpu_fp.h >> create mode 100644 arch/riscv/kvm/vcpu_fp.c >> > > Queued 2+3, thanks. Thanks. I'll pick up 1, as per the thread.