Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1623093pxb; Thu, 28 Oct 2021 07:10:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpLOHujKf0gYbVoETRzrFNFxc4f3VcSK9XvC69MTja0pDhQC/evEDJNswtZ/X+1AZedH+F X-Received: by 2002:a63:e24b:: with SMTP id y11mr3337594pgj.452.1635430201361; Thu, 28 Oct 2021 07:10:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635430201; cv=none; d=google.com; s=arc-20160816; b=kh1JmCDETbyk9X832FM/qWSktXgaetzskIAy9kg8mgiNLrgJA2QcXFrXgM2d+47xwx Cq385mS6GcZ3wLls0ZcrGK9CVRnCZW1NehHcbcE4aQVqp8alxaREMpjng+hQAQ2fQnyq VlI3AOtPVXb1FWjfDTuikmqlCRnqaerRnHzehtXYwJ9JPR2L86cAGJrm1Y+tCLzKDmSQ ATymYV7GkYhVihG8WqiPY1CBRTL+PpgXqrAi099Wce5YLSD7+E3qFfKz9dZsHYzzuASF POFFEEeofvtXpGMl/TpgdaQdkGZvaBbYIHniMzQWyXCwhpZPpcSXWQxdOWV8P5D+hknf dtPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=w/6u/2V3kbwOw+vCIQ7D9V9KhEUDROrBvfNcLoT9zUQ=; b=NSFCmfUiKsLZlW7c8gO72Oqcg+jt82HiRhXBp06ziA+0JIz4lh8RLZG0CRzKkFvR6V REJt7E66hJPwqhvdr1cQpDMQ1XJydyATqGsG7y/X6uaWW16EZQVRFlt5wgCCMaE0cQC7 2XPxtlr48ti8HwcrUSkYBttZtHhwDxqnFKEVNdceqhDiyOI5+rPd5QYsKgLvQVRKfJZF tDxBNwosLewOtH9LUELiP8S2YWIT9Ek5Fc+ZeYBcPeACOgxq9whvwyky/KdcYUvmiK5t uStrAeDU9WNyvR12qbBK6QqcHUJigpkIqaSaNJ3qaQAW2kD1CE7d0N5mEH9AvIKZQ0y1 JB+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UTsa6i+w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u13si4440014pfg.134.2021.10.28.07.09.27; Thu, 28 Oct 2021 07:10:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UTsa6i+w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230445AbhJ1OKJ (ORCPT + 99 others); Thu, 28 Oct 2021 10:10:09 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:43933 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230265AbhJ1OKI (ORCPT ); Thu, 28 Oct 2021 10:10:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635430061; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w/6u/2V3kbwOw+vCIQ7D9V9KhEUDROrBvfNcLoT9zUQ=; b=UTsa6i+wGl7hbT5TLvHPl+zcKKTc+NS1wd+63cInIpoxNn9IoC6uELtsDj5F4yS1quD0xA EOCDqHtxy1BHDQqd4d6ZoqUkIoeagcHr58jbyxx5kkTGR2HQquX94di3W1BXnQQdKJYiaV JYOpJ6lHCMhJTW60jA/A13vaVrnIeWs= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-62-sWIUlx0ZPU6mHd356W8J6Q-1; Thu, 28 Oct 2021 10:07:39 -0400 X-MC-Unique: sWIUlx0ZPU6mHd356W8J6Q-1 Received: by mail-ed1-f71.google.com with SMTP id t1-20020a056402524100b003dd9a419eb5so5737878edd.4 for ; Thu, 28 Oct 2021 07:07:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=w/6u/2V3kbwOw+vCIQ7D9V9KhEUDROrBvfNcLoT9zUQ=; b=XpHZhGf4fC2JWJO6Ogb8oN7U8YalpyeXlft0Lo0GK/NWt9fxF8C/sHgbKmizn2Fcgd zcHpOPznQPPEPulGYq++Mrd7cEreDn1u+KHDxssU2F/dsP0HKhSjAt57sSxxCLySDrXl 5+FRUPGzMjcDaqg/9acH25eXlQHO8T4vBHOEI7KO32h3tL7IPB2GQZND6uFuWTCMpbGp c37m0ge8h8XAVTvfqmWvpOWB71NyF4brUpCtvdmYyKvxlqf0bY0XVBqaRosozCmwiazE VADCErQVOXSGYEfwzVAiPxppf3/bPAmHuigukVFKZdITLa0Gixpwax9mBnqbIU7bSoUt SypQ== X-Gm-Message-State: AOAM5338H5xFo0kBmSqacynunDW66e9B9RqdVoXhZbToEaj70ZpGaZHD 5PU6j3cF7fUIyMqX8KsXt4/FQyMVVT1wCtERB94xLNMt1EiVQrx6+fCZVY7JY043S0oMEVJ7iOi GK4L2mG8ZYqMkV6b5wtO7PAyq X-Received: by 2002:a17:906:7b42:: with SMTP id n2mr5716169ejo.428.1635430058053; Thu, 28 Oct 2021 07:07:38 -0700 (PDT) X-Received: by 2002:a17:906:7b42:: with SMTP id n2mr5716144ejo.428.1635430057860; Thu, 28 Oct 2021 07:07:37 -0700 (PDT) Received: from ?IPV6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id gt36sm1448349ejc.13.2021.10.28.07.07.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Oct 2021 07:07:37 -0700 (PDT) Message-ID: <62fe1c8e-abe0-5de9-5c00-3549faae1dba@redhat.com> Date: Thu, 28 Oct 2021 16:07:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [PATCH 0/3] RISC-V: KVM: Few assorted changes Content-Language: en-US To: Anup Patel , Palmer Dabbelt , Palmer Dabbelt , Paul Walmsley , Albert Ou Cc: Atish Patra , Anup Patel , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org References: <20211026170136.2147619-1-anup.patel@wdc.com> From: Paolo Bonzini In-Reply-To: <20211026170136.2147619-1-anup.patel@wdc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Paolo