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 X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0EC8AC47076 for ; Fri, 21 May 2021 17:21:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D677661175 for ; Fri, 21 May 2021 17:21:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230430AbhEURWm (ORCPT ); Fri, 21 May 2021 13:22:42 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:41071 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230301AbhEURWl (ORCPT ); Fri, 21 May 2021 13:22:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621617678; 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=qwR/0GNmU1erDIzfTwdpHCjLZxYNU+OZQVJXmXfAYfM=; b=CCihWsLBld0vIX6h828dfgM5/f81LWzCA2y4ZGnswJP9BSZQEUYCfom/XO1YBZhPqG0vjh ebc7huFLriC6ALJcr/qZor1TQISZvfKTuy69k8I/9zPWVcpOt0VdmbW01yJIhl7NXSCKq3 4qZg+o9LU5pBr9+nKZEfJapZaZY+/KM= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-137-Orr8X0YkN1qvLjC6eYKdlQ-1; Fri, 21 May 2021 13:21:16 -0400 X-MC-Unique: Orr8X0YkN1qvLjC6eYKdlQ-1 Received: by mail-ej1-f69.google.com with SMTP id w13-20020a170906384db02903d9ad6b26d8so4597092ejc.0 for ; Fri, 21 May 2021 10:21:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:references:from:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qwR/0GNmU1erDIzfTwdpHCjLZxYNU+OZQVJXmXfAYfM=; b=qcGMWDI+yo1yuPphaiDg22r2+57E6IAgvKdS4r5DC1i8Dm9pwNoY6K1vYZvEQRtUT+ xvpC90CA5q2QfEydDUeH8pDQhfCRDnTjN7JOCmgWYlvYwGgtlZLktSlOm/nYp+35j3u0 dcmCo62NQAIOOGTtXkJ1jfb/r4+ZVQsToa7nYl0krPMMQQURdCNzc5aIgJvE04eQUNMX Ye+AnM6Kw8D7GoJ7FenDOESwoviB8xFqEzv3+eykizzWMgoVnlBIXJJq7+PpfOp4LVEy z1pknsDB2XdvB6OAztmt1TZpJZC90M0K7zdNjJBHFHTR7qBQ+vp4sGYPFub8Y+Inaff/ Iyfg== X-Gm-Message-State: AOAM532UBHoJoKdz5cbZFI4M/6aT9zYPSdyJWCowSPvtS5YVAvz6EY9D 54IR9CL8L3ZH32mqe5TLfrkzbMF8oNUMYqfPo0pMrPKvFxrEY8ykYC3Ow53PBWtFjP/8pHQ8pKh qpe4CZomsdhsK6UftY0Tv X-Received: by 2002:aa7:cd03:: with SMTP id b3mr12350068edw.206.1621617675166; Fri, 21 May 2021 10:21:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxs1PPEtRit2YsbPl3fyEJzFG+BMaVTPI5cJbO+TcDqnJ8UNSbmnYU1JgZsPGIv6fh/e498XA== X-Received: by 2002:aa7:cd03:: with SMTP id b3mr12350048edw.206.1621617675016; Fri, 21 May 2021 10:21:15 -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 m12sm4079494edc.40.2021.05.21.10.21.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 May 2021 10:21:14 -0700 (PDT) To: Palmer Dabbelt , Greg KH Cc: 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 References: From: Paolo Bonzini Subject: Re: [PATCH v18 00/18] KVM RISC-V Support Message-ID: Date: Fri, 21 May 2021 19:21:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org 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. Paolo