Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp37851ybg; Fri, 25 Oct 2019 16:13:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwWPWt2kQu04ygP2UNeJwdvnkwfA5dmEcy/XIslVOw5vKkdlKq6dFGhuEbrXm+A8Gzp1pN0 X-Received: by 2002:aa7:c6cf:: with SMTP id b15mr6765683eds.215.1572045194042; Fri, 25 Oct 2019 16:13:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572045194; cv=none; d=google.com; s=arc-20160816; b=Qmh1OGDGKGqWBW8E0NXw8xf25V8fIdNwzXhIZSsPPkcW2ftZDXzefKooq347SyOhhf ut7VF3uZlT8tteiAtdlWMe3gPph3sByROOyWIsvrYrEmS8sjZfUGggdrDuCjTYpwDe1p NGKgFyvrfxONYkaIIvR5P/uQ7DM0gB4tlROam9zFv6VNCG3YgOxZ44bwaMz/BQ7OLuIh otYHl68dGXYiJCC6yuVtbwPi3y00jvUU5HHlQ2/79sVn4E3iPhN+aXLuPRmPe5p2v8tu 6XBVqR4JxhVARDhuQTmlkNCX/RGWmzGpW/9Tqt+YHe9tgOSs70daE+VIGQwkTxL+mUSW KE9g== 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:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=Nw2n9QTFh5kHjw8cqYYhuXZ+PymsFnyOpi7WiO2JCuo=; b=F6bVaEbMNTX1R8PfS7Ekxke2nqzvY1stUDlRKob1pSFiQt+PjaBzHPpuwOib4ngvsh nV6EgapoB8hK/xeIzkk50HMxWak+OL7S6ew19mnt1cTtd6OHDfIUCEhgCcggyjZc+tO6 2DzR2YMZJ7C5kHwE5xXMDR1yPvsyD0gX1wdCfUVKDtPOGE/4JIxdjEesIfY+PyHHWtVM ipcdmfBgQBC3UxBYTOzYKSBAPIUokaRFbl9zYnuiazDDq7RwHdIBW+hhaR/9F6jIwzEQ 6yjwQINRWg796oqUmMOBGozg1VC47CmWiyvYTdBNecJK93h0VOs6HQte620OXWi824Kv AOKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b="C5PVodu/"; 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 ob24si2130537ejb.295.2019.10.25.16.12.34; Fri, 25 Oct 2019 16:13:14 -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; dkim=pass header.i=@sifive.com header.s=google header.b="C5PVodu/"; 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 S1726410AbfJYXKs (ORCPT + 99 others); Fri, 25 Oct 2019 19:10:48 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:34242 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725847AbfJYXKr (ORCPT ); Fri, 25 Oct 2019 19:10:47 -0400 Received: by mail-io1-f68.google.com with SMTP id q1so4261812ion.1 for ; Fri, 25 Oct 2019 16:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=Nw2n9QTFh5kHjw8cqYYhuXZ+PymsFnyOpi7WiO2JCuo=; b=C5PVodu/0MW6W82UHHNT1HEG10+OYbI9GS0eNEymZeA/7BqJWFvlAA+UABDMo1KlR7 KhrSi65xovCBcBeJjja/4QdhiHUONlY1lP5QkiN5o2J5GQJLPXD1Oj8JVraZcMrbAQLv wu4tYpl70lY6bVa7lvDZWBovLJFZXAWMu+lz218bMd5r2muD8k7oU6RF4Ygne7oUa/hE /OTFHWPbXIDiGNKGAfEGzW/G6C/rLKsx5BqsoUAUA4yCcwN6oB4M6Brf8BPXkuzPaMa8 wgjcMQIqLnZEygzWAlhI/9oc3jcADO8k2c3cJHeawEqzK+d58qwFyAGx4sN/tXklxQ+1 qlQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=Nw2n9QTFh5kHjw8cqYYhuXZ+PymsFnyOpi7WiO2JCuo=; b=gCGAix13ppNYGLJwvY/qURAPvT3b9kPVi5z0Az9Fl9APW37HYTxfKg4O18ByWIz4UA jN5yGMKtkGr35cdTvGM2wrxAPSfntFL5XpY1INIfhX8R8k8pOWDBm60C2GCEs23Nliln vq+MBn8isfUfl/mLRnXJRN3XNvHsNiLkrlAADvNbh4bFkmrLJQK52Ukq4oe2WhbHa8mq FGoNjGfkzYCoNVyO/TjJ/Zt+Kl6mJq7M6S3Naznyusv3pPJAtQUgaQp8XvgtYG9pMqZ8 h3GL2uOGtPPLEDn8UHNYlTPclb4j2ehstNBgQqdl6cTydkzHmtgSQGT0TWk4OTj0zuIP AdHg== X-Gm-Message-State: APjAAAXBCNvM70dppdIogTHNsfH9x7BzTRA+Orn/0j6hB+zGRzUGodrA dUAVMO3nMFHQUSsz9WgbMcdGLw== X-Received: by 2002:a5d:9dce:: with SMTP id 14mr2147247ioo.166.1572045045576; Fri, 25 Oct 2019 16:10:45 -0700 (PDT) Received: from localhost ([64.62.168.194]) by smtp.gmail.com with ESMTPSA id j22sm375958iok.42.2019.10.25.16.10.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2019 16:10:44 -0700 (PDT) Date: Fri, 25 Oct 2019 16:10:42 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Anup Patel cc: Palmer Dabbelt , Paolo Bonzini , Radim K , Daniel Lezcano , Thomas Gleixner , Alexander Graf , Atish Patra , Alistair Francis , Damien Le Moal , Christoph Hellwig , Anup Patel , "kvm@vger.kernel.org" , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v9 00/22] KVM RISC-V Support In-Reply-To: <20191016160649.24622-1-anup.patel@wdc.com> Message-ID: References: <20191016160649.24622-1-anup.patel@wdc.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Anup, On Wed, 16 Oct 2019, Anup Patel wrote: > This series adds initial KVM RISC-V support. Currently, we are able to boot > RISC-V 64bit Linux Guests with multiple VCPUs. > > Few key aspects of KVM RISC-V added by this series are: > 1. Minimal possible KVM world-switch which touches only GPRs and few CSRs. > 2. Full Guest/VM switch is done via vcpu_get/vcpu_put infrastructure. > 3. KVM ONE_REG interface for VCPU register access from user-space. > 4. PLIC emulation is done in user-space. > 5. Timer and IPI emuation is done in-kernel. > 6. MMU notifiers supported. > 7. FP lazy save/restore supported. > 8. SBI v0.1 emulation for KVM Guest available. > 9. Forward unhandled SBI calls to KVM userspace. > 10. Hugepage support for Guest/VM Several patches in this series cause 'checkpatch.pl --strict' to flag issues. When you respin this series, could you fix those, please? thanks, - Paul