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 86DA8C433F5 for ; Fri, 29 Apr 2022 14:39:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377686AbiD2OnO (ORCPT ); Fri, 29 Apr 2022 10:43:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357842AbiD2Om7 (ORCPT ); Fri, 29 Apr 2022 10:42:59 -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 ESMTP id CA60A40A16 for ; Fri, 29 Apr 2022 07:37:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651243066; 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=AT1MEacTTcApPp8iHqUgp1S5RGZuSM7hNEU97RzSbaU=; b=QRCFKr6qL7zGM1fdXyx6xRkTfIqJJE0RQXBjM0ARc6FV6RneWn7LkB2o3MZNlJ49o02svM guYVCEnzqTH9rphdzJvg+PE320QjH2+vVAe345pAYDMJPhfb0bX6ZM+cKMyUXCGXLhyH1J Wkl1J021lLFLSoLdSSX74yOaRMvnU8w= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-416-4IIzR549Pi64ZeKNXsqX6Q-1; Fri, 29 Apr 2022 10:37:45 -0400 X-MC-Unique: 4IIzR549Pi64ZeKNXsqX6Q-1 Received: by mail-ed1-f71.google.com with SMTP id r26-20020a50aada000000b00425afa72622so4584002edc.19 for ; Fri, 29 Apr 2022 07:37:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=AT1MEacTTcApPp8iHqUgp1S5RGZuSM7hNEU97RzSbaU=; b=YcutA+CCXlSYUTnQxjGcbdHF/M0DBoGVoMjOGMBdw0GV0Rxih6/Gl8qspWct3MS/Pd 8YytpDJ+Z/b4gHkysrOo1dlJkARhQY2Z2MGaSDWRqWz/4j+70jWr0k+d/AFInR8xAIkX 2t71jL1Lqir8d3EQMW+2SYpLZleFtqSRch0kZKiOTAFYZdMVhc0NUhfbRQlyzgpg3Bnp Q5d5vbKOnu0sDoysqaWNkxjfm42XTDeMEYl9ztBmaKXZ1ysO532xcGwQ/areUiSxqhND oQiVvPT9lZEZL2qedtEft8zA6qK/jDuAvosfa2OAj/ubJGCBkxl/cKxOO3hP6kzp1nNb NdXQ== X-Gm-Message-State: AOAM531p1ALheQ6UQj2oO05tpAoBDsVWNiXIkM8zFXHr6ZcGwJB5iY3J jB/5jJd8DAsI0xZDN5Ig73Gl+4ubnAHoldvzHNmrQ9wO8rAp+LdzFcq9wMtXorz9ZlP7rpAM3Ze F79mTF0UHdA2a X-Received: by 2002:a05:6402:2741:b0:41f:69dc:9bcd with SMTP id z1-20020a056402274100b0041f69dc9bcdmr41715320edd.239.1651243063974; Fri, 29 Apr 2022 07:37:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfzw8QumCVk4MWDo2T3g06+wFXLjFwRTVrcN+UQEjLRi2Izb8gBKMMJuYOw8MLJK1HidU0zg== X-Received: by 2002:a05:6402:2741:b0:41f:69dc:9bcd with SMTP id z1-20020a056402274100b0041f69dc9bcdmr41715307edd.239.1651243063789; Fri, 29 Apr 2022 07:37:43 -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 jl13-20020a17090775cd00b006f3ef214e0csm709823ejc.114.2022.04.29.07.37.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Apr 2022 07:37:43 -0700 (PDT) Message-ID: <20e1e7b1-ece7-e9e7-9085-999f7a916ac2@redhat.com> Date: Fri, 29 Apr 2022 16:37:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH] KVM: x86/mmu: Do not create SPTEs for GFNs that exceed host.MAXPHYADDR Content-Language: en-US To: Sean Christopherson Cc: Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Maxim Levitsky , Ben Gardon , David Matlack References: <20220428233416.2446833-1-seanjc@google.com> <337332ca-835c-087c-c99b-92c35ea8dcd3@redhat.com> 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 4/29/22 16:24, Sean Christopherson wrote: > I don't love the divergent memslot behavior, but it's technically correct, so I > can't really argue. Do we want to "officially" document the memslot behavior? > I don't know what you mean by officially document, but at least I have relied on it to test KVM's MAXPHYADDR=52 cases before such hardware existed. :) Paolo