Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1404669pxj; Fri, 21 May 2021 13:26:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwo2xck/KkbRj3QzYy6Yi6Pafi++M5Qr+YiCupWDmRppoGkwsu4iFqFVR3Btrhm4E3ZbFdq X-Received: by 2002:a6b:d918:: with SMTP id r24mr622610ioc.25.1621628801354; Fri, 21 May 2021 13:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621628801; cv=none; d=google.com; s=arc-20160816; b=HeD92h1egmv1N+XxrhEPZCQadkZ0le9bV7D/QC/MMYKSR8vCZpvALiqieHminlE3TU AWw9k4Q1Tf8nyUJNOR86i7bFsrQVUGMhykiK0gDjF9TNfGsQuByvSrdketZp5bc3qAfy 2obmd80UIhNfYY91kOfwoJRlhk3eTO6KZhHX6FylWdt4YMiPB7djessWjdAU5rCVjb5G atrIn0or1jJBG7LlrtFReS/92//BkfV+6wmXO8uL4Ap7Ope7TdYFqYD5JMO3bstDrebI vUiSjOt7j4S2AjPkgY5I0ps9TSjbETfd5be0031FTzzpfBie52hRNx8AJ49Lb+kH8Yf1 ZTwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=5U6SWI6tKwJQxiyyyLqjT1i8tYx3isO7hjR5W5+1Jeo=; b=qVBes+Bu/T0gVhugpOxqWxQRxHS1cA9s3bb6hc6hrBO3mq9s6sZpARngdHArlL0KjY l3goPyIoCZIWSsCYcCnJbF8Oq6PIt1XB4HHDYQmESCeoVol/vtHQdIVxlEMADPZbP+Yd LuOjI9DIeEPn1OMIjBWjWM8MO9DDMp8yDtj2K6DARRNjjRAuH9YIfIWBV4EiujLtMHi+ XGNJUSkjIC6F2tMv3W/W8y7SjubWXas2mCSeEhzyS5d6eXtc3nPw7li58phsp474p1Tb +f++04gfgdZNTOx/1rUIrkTMBmCuEIr6OIEoeXfjpVrO0H7xUx58gLQpbJ3GUVfCC8Gz ORgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=vtTnyRah; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j11si7053450jat.42.2021.05.21.13.26.28; Fri, 21 May 2021 13:26:41 -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=@google.com header.s=20161025 header.b=vtTnyRah; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238543AbhEUSJk (ORCPT + 99 others); Fri, 21 May 2021 14:09:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231365AbhEUSJj (ORCPT ); Fri, 21 May 2021 14:09:39 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A77B4C0613CE for ; Fri, 21 May 2021 11:08:16 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id 69so11403547plc.5 for ; Fri, 21 May 2021 11:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=5U6SWI6tKwJQxiyyyLqjT1i8tYx3isO7hjR5W5+1Jeo=; b=vtTnyRah2kvhTAvKkgyp5rIri/BGQNchS7lXj3oCYhV5McFBbxGTr4EjYc6mvyOinn 3AfMgA6VhS3u8947Z/3CuaEcMpm7wash5s4UhzpQ/gq2UOH/pXd1P8HP6LXs2AX2ghZ7 WTvvt1/yfLL8GYTjA6616yKQHybiIg2wPemKZer7/tMyrMrTs7n6j06sv5XO10p5HCbh yLcC8WefzjiIY7amtnohfd+oXEAboa4fIZAxuILISPaizFwPRbUSghFsEjTIIQvrWCKL mLont745Oggstxjw6092u9UjqC0L3W/ZSGD2MiRRew69QhYXK6txzd/ZBpU4jI6Eu+y6 cfSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=5U6SWI6tKwJQxiyyyLqjT1i8tYx3isO7hjR5W5+1Jeo=; b=K8zywtF/Yp5lH3nZ37jBQ642iM3/xB5MWaR3YqW2H06HBRhjPbjXWp8Xy1MIszHAqT 8pS/xx4ZbEPf4oHW9t32q2sGZfXU7R4hMDv8Ludx+4douoOPHWGe8sKYAsDQIfnxFDDF nAGj+oXk7hPR5/spmk2q1D8YzDskoWIKyBYYcyga1MMZ1XoyzZlHSLNUMZHBDdh7GOdE FvohVPeqwpGmPD83hnfaoWagxR+21/Wa8pleutZoXkgdQrXDJCIYaBM13b5rHDHOD8Vc IvPy+eyMmeUemzLOgjBeWsr6H4KUXA0AaGQnTdz9Uy/aP6W/cyfyJLWKGS/Nk0Rvhdbj oS7Q== X-Gm-Message-State: AOAM530Dqy4tbDEqXESqwuXqaOfqXbCLCSGmNqZlYXYbZHjv2jYZhR6b AzqEYsEFJlHcgjwPzugxBzqcNQ== X-Received: by 2002:a17:902:f543:b029:f3:bfca:21b4 with SMTP id h3-20020a170902f543b02900f3bfca21b4mr13333335plf.6.1621620495939; Fri, 21 May 2021 11:08:15 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id r11sm4812600pgl.34.2021.05.21.11.08.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 11:08:15 -0700 (PDT) Date: Fri, 21 May 2021 11:08:15 -0700 (PDT) X-Google-Original-Date: Fri, 21 May 2021 11:08:12 PDT (-0700) Subject: Re: [PATCH v18 00/18] KVM RISC-V Support In-Reply-To: CC: pbonzini@redhat.com, anup@brainfault.org, Anup Patel , Paul Walmsley , aou@eecs.berkeley.edu, corbet@lwn.net, graf@amazon.com, Atish Patra , Alistair Francis , Damien Le Moal , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev From: Palmer Dabbelt To: Greg KH 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 Fri, 21 May 2021 10:47:51 PDT (-0700), Greg KH wrote: > On Fri, May 21, 2021 at 07:21:12PM +0200, Paolo Bonzini wrote: >> On 21/05/21 19:13, Palmer Dabbelt wrote: >> > > >> > >> > I don't view this code as being in a state where it can be >> > maintained, at least to the standards we generally set within the >> > kernel. The ISA extension in question is still subject to change, it >> > says so right at the top of the H extension >> > >> > {\bf Warning! This draft specification may change before being >> > accepted as standard by the RISC-V Foundation.} >> >> To give a complete picture, the last three relevant changes have been in >> August 2019, November 2019 and May 2020. It seems pretty frozen to me. >> >> In any case, I think it's clear from the experience with Android that >> the acceptance policy cannot succeed. The only thing that such a policy >> guarantees, is that vendors will use more out-of-tree code. Keeping a >> fully-developed feature out-of-tree for years is not how Linux is run. >> >> > I'm not sure where exactly the line for real hardware is, but for >> > something like this it would at least involve some chip that is >> > widely availiable and needs the H extension to be useful >> >> Anup said that "quite a few people have already implemented RISC-V >> H-extension in hardware as well and KVM RISC-V works on real HW as well". >> Those people would benefit from having KVM in the Linus tree. > > Great, but is this really true? If so, what hardware has this? I have > a new RISC-V device right here next to me, what would I need to do to > see if this is supported in it or not? You can probe the misa register, it should have the H bit set if it supports the H extension. > If this isn't in any hardware that anyone outside of > internal-to-company-prototypes, then let's wait until it really is in a > device that people can test this code on. > > What's the rush to get this merged now if no one can use it? > > thanks, > > greg k-h