Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp677247ybe; Thu, 5 Sep 2019 04:18:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwo8m9f2SrkBk12cWNulmHAXJ0hYfMPFv5aqmRoDtTGRSZ77R9mGAGvhqZfDDYJgxWZ3pjt X-Received: by 2002:a17:902:7441:: with SMTP id e1mr2832621plt.332.1567682283344; Thu, 05 Sep 2019 04:18:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567682283; cv=none; d=google.com; s=arc-20160816; b=Rl/iI1JlQJdma0OgM25k1TVg13Qw3iyHbvNhTiCGFSfE7loyKAjlDJad6mmtV/B4eG pAzQiY5KT01LYWoQ74/eqBMlM+k98jCmxAdxH9vEStXuXZ4DZ0EEGVGi/P/CpmHP7CZJ rKlxDEIFNBM5WG+GcXVf+qieUm7usdYDl36uMQ0Bl4vEQjMSf0JTvTUa/rz/S13yME4t 3mAAn36lyG4T4vwClzf5j8svI9zGgJQjNrFIC2TmPsb0nA0o/6k0BmpQFPZudiNSs9Ki q8Hz/mxac1TCIrOL9gsGh2VJU8cMXoTsUowBplExgWbX6Of8cD33EYFUskWr9gl8FRWE AsvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=3id4YS1zOTCDikIMWAUB17CRdbjUhRl/j6yUKgA/T90=; b=VDOOdMaxrvkPFNb5yXbWTgoK8yAlqHO63Ergfnj474U5GjZ/al7Wkfv3Gond2zlPMB 5WOV5zxzVDNnvYbjY//xXJC8770BWjgCOitpQy5aRp9SR7AKtGCIxR0lxo1qNSIZnWhz LFkkFVE6wKjIi4YJEV2ZcHwqdthJ55BhfaUiH8abPS0FLAwhNP60rIK+A1bnKDy+MHur BQYYIgbOMcc1XY7uItANYb+Qg/oBZYsUWKa57F8nvH/wLL1imwfPkCmdYJgbrRXkLDEd uUT75CfBpZUGaMJO9BPbKRx/z22kPNV6EplqjTqvGgU5+bmV+pul0CL94Gndmbjixwio XbCw== ARC-Authentication-Results: i=1; mx.google.com; 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 q15si1491179pgk.537.2019.09.05.04.17.46; Thu, 05 Sep 2019 04:18:03 -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; 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 S1732341AbfIEIfP (ORCPT + 99 others); Thu, 5 Sep 2019 04:35:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:48494 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730753AbfIEIfP (ORCPT ); Thu, 5 Sep 2019 04:35:15 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 894C7AC93; Thu, 5 Sep 2019 08:35:13 +0000 (UTC) From: Andreas Schwab To: Anup Patel Cc: Palmer Dabbelt , Paul Walmsley , Paolo Bonzini , Radim K , Damien Le Moal , "kvm\@vger.kernel.org" , Anup Patel , Daniel Lezcano , "linux-kernel\@vger.kernel.org" , Christoph Hellwig , Atish Patra , Alexander Graf , Alistair Francis , Thomas Gleixner , "linux-riscv\@lists.infradead.org" Subject: Re: [PATCH v7 18/21] RISC-V: KVM: Add SBI v0.1 support References: <20190904161245.111924-1-anup.patel@wdc.com> <20190904161245.111924-20-anup.patel@wdc.com> X-Yow: Now KEN is having a MENTAL CRISIS because his "R.V." PAYMENTS are OVER-DUE!! Date: Thu, 05 Sep 2019 10:35:12 +0200 In-Reply-To: <20190904161245.111924-20-anup.patel@wdc.com> (Anup Patel's message of "Wed, 4 Sep 2019 16:16:02 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sep 04 2019, Anup Patel wrote: > From: Atish Patra > > The KVM host kernel running in HS-mode needs to handle SBI calls coming > from guest kernel running in VS-mode. > > This patch adds SBI v0.1 support in KVM RISC-V. All the SBI calls are > implemented correctly except remote tlb flushes. For remote TLB flushes, > we are doing full TLB flush and this will be optimized in future. Note that this conflicts with https://patchwork.kernel.org/patch/11107221/ which removes from . You should probably include that header explicitly in arch/riscv/kvm/vcpu_sbi.c. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."