Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E324C6FA82 for ; Thu, 22 Sep 2022 12:24:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231659AbiIVMYW (ORCPT ); Thu, 22 Sep 2022 08:24:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231616AbiIVMYL (ORCPT ); Thu, 22 Sep 2022 08:24:11 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D552E5130 for ; Thu, 22 Sep 2022 05:24:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663849449; 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=8e2m2BIJ4Jf3Uy1uaFM/1F4XDeTAJFxAGEpCMvvXt30=; b=YkZ438xB/1wRJDzSkCSlCKzezK2jObLqYepnHjXfb9t88a5SO2/OqRunwBZFqZViB37n0A ya3AtuT5UrA7Kur0oyy+niGI5FZU5Uv5+zNpU4ahc1C39iAgfqiyWgt+pew3nsSthTcRNT uy/flfBIBOKW9ui4OPa8+2YdZuZBn04= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-78-Q_aazddhM2CoSodf94SybA-1; Thu, 22 Sep 2022 08:24:08 -0400 X-MC-Unique: Q_aazddhM2CoSodf94SybA-1 Received: by mail-ed1-f70.google.com with SMTP id m13-20020a056402510d00b004519332f0b1so6513193edd.7 for ; Thu, 22 Sep 2022 05:24:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=8e2m2BIJ4Jf3Uy1uaFM/1F4XDeTAJFxAGEpCMvvXt30=; b=wgmmPhAl7tn2QTJU+PEmNnhhFdTv8+IPpK6t+b3FvNT9i5V5iOM1ZOwZrhRIT9hhGj y6LU5TMgn8HMeCMQEYb+PoGQs02fY43Gx0pCLfizDWzudwBqiQebtkTPBOtQYyAMIKlL R9mZc2wAyZctMHtte4qh1VLIU67xW+mRcZJusEkQwFX0HQE//oR8m3w0g5cXg8qguXR1 xM7l5m8yncwv6Qili+TCY3xI4Tmuq4U1IA27iROm3fbVNLNeJcyCvkoffuNI5MahBn0U OC2R+u6D8BzWF62gRg+kqtUa57Bu3HVM/ejpvWHEvR3B6IF+OGSEMCynSASwuziEwRxD aelg== X-Gm-Message-State: ACrzQf0U9Nr6E6eyBdUuKlvcDI8zKhXSh0ZZm4zzENQDl+5qgRK5SwiG Xk3GdyzBk0m2MxGPjxu3pFx4syS1LvrkBXyGR0NoFrQ4SsSsOWBt2WComOOaEQ+DkaC79UCQGEt s2I6bJqqnNDEy X-Received: by 2002:a17:906:9c83:b0:779:c14c:55e4 with SMTP id fj3-20020a1709069c8300b00779c14c55e4mr2511292ejc.619.1663849446757; Thu, 22 Sep 2022 05:24:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4tWYiTyufR0wbEleDRnc2xWoYUYa/ttq8hBl5FeRce4HU7msDjXoA/W9b+dN1gzhhiGgen6w== X-Received: by 2002:a17:906:9c83:b0:779:c14c:55e4 with SMTP id fj3-20020a1709069c8300b00779c14c55e4mr2511269ejc.619.1663849446511; Thu, 22 Sep 2022 05:24:06 -0700 (PDT) Received: from ?IPV6:2001:b07:6468:f312:1c09:f536:3de6:228c? ([2001:b07:6468:f312:1c09:f536:3de6:228c]) by smtp.googlemail.com with ESMTPSA id p16-20020a1709060e9000b007707ec25071sm2491540ejf.220.2022.09.22.05.24.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Sep 2022 05:24:05 -0700 (PDT) Message-ID: <2db45546-d504-d006-ce3c-65f832b5a70a@redhat.com> Date: Thu, 22 Sep 2022 14:24:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [PATCH] kvm/x86: reserve bit KVM_HINTS_PHYS_ADDRESS_SIZE_DATA_VALID To: Jim Mattson , Sean Christopherson Cc: Gerd Hoffmann , kvm@vger.kernel.org, Wanpeng Li , Vitaly Kuznetsov , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , "H. Peter Anvin" , "open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)" References: <20220908114146.473630-1-kraxel@redhat.com> <20220909050224.rzlt4x7tjrespw3k@sirius.home.kraxel.org> <20220921134246.xibospqoktp4wjie@sirius.home.kraxel.org> Content-Language: en-US From: Paolo Bonzini In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On 9/21/22 18:32, Jim Mattson wrote: >> The issue is that this "hint" effectively breaks other VMMs that already provide >> an accurate guest.MAXPHYADDR. > > Any VMM that doesn't provide an accurate guest.MAXPHYADDR is broken. > Why do we need a "hint" that the virtual processor works? I agree. Since old (and current) versions of QEMU wouldn't get the bit anyway, just fix the next one. I'll follow up on the QEMU mailing list. Paolo