Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1183011iob; Wed, 4 May 2022 16:50:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzi9EdtmO0kPmpAmxpK3ZWzBBKq3wgw+DmkThjZ/7s9Jo+dE2+uZyhM9Z24L+FWMQpxMLpF X-Received: by 2002:a17:907:94d2:b0:6f4:b5f9:6f3a with SMTP id dn18-20020a17090794d200b006f4b5f96f3amr6215453ejc.313.1651708232419; Wed, 04 May 2022 16:50:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651708232; cv=none; d=google.com; s=arc-20160816; b=ya/dqABQ5IkmbE+AGXgfSE0UBhSkCuuqkr2EbCe5orSAycUwGMhVE3joGaPBhTRK27 DaMMtUY9KKYOfKkQ7ADA+jXo4GwwRVh4te4BNw2DiCZMBTX/Ii8NGyPOG4/gw3Hd5UHA yASEp9b+TlEeqye/TEzfYgAttL/CX9XmIYw0O3nivNx+ALCuVU+UMWmvpPqQV6LILg9i ugfNkw2lF6/uJfxhzh5KJzayIfoW85D7YHMzDGqOScoeI1eFqq8jzoZfWx5wm81uctk3 OHh0h5py08sT76maKTo+yFGmfb55tc5Ndh9mYExyuTDKKR5f/Oekkw0sI5eBPB3ZOmSz +EBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Hd3MPPhfZEFzLVMyRypDkVk2xJ4qChQYAeQatJK81b8=; b=bIyvDAxQdQapRAfmlsjUApQFNnfYZ7aIQySa0M4BjudZG7QrZvuvmgBBFz9bd+WJyo lH/iTXzcHqo8FUcP35PB415R1kY2bvH6xwDuKOu0SgGzl/ajmzY4nBMZrpoxUhrh5u2L MCHlNV9W8ZW5IUExui8xrHtkcat/PoNZQBiL38LL9UL4yWj57mIdgKALj/Rw40bpsWaL WptzFoSii54YBL6fWwpV1Ful0TTklGejYDzrIOC/n1tI6BBW8dpUmkXydrIbO/eNfCli XVkbXP+B0Rv1ejzt+cNdumIdGG9h9I8VFEQHuTJnRdC/tPTwrUOXJlEImJJeSV+vmoi/ pwNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=U1wVnVFG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc11-20020a1709071c0b00b006e7f255f245si616514ejc.36.2022.05.04.16.50.09; Wed, 04 May 2022 16:50:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=U1wVnVFG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356066AbiEDTPn (ORCPT + 99 others); Wed, 4 May 2022 15:15:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350503AbiEDTPk (ORCPT ); Wed, 4 May 2022 15:15:40 -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 274C6488AA for ; Wed, 4 May 2022 12:12:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651691519; 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=Hd3MPPhfZEFzLVMyRypDkVk2xJ4qChQYAeQatJK81b8=; b=U1wVnVFGyGRuf1kI2SSHzIjyOaiO2y4wbXnYC/pKvyq0gYTUHcJad91+Rs4z6SO9aD0/Gt xlVcdGTm/OIJ4hiHMd+jBOtvlh0XM5try7DGULkMpx6Mz9VdLJgs0eRglW6O6hXH7iDX21 bSx7aAF0bXmI1C6z/iAwhL4MKC4XmLo= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-646-uThk9O5tNlG021_ezq5p8w-1; Wed, 04 May 2022 15:11:57 -0400 X-MC-Unique: uThk9O5tNlG021_ezq5p8w-1 Received: by mail-ej1-f69.google.com with SMTP id sa1-20020a1709076d0100b006f40d1bfb99so1345626ejc.19 for ; Wed, 04 May 2022 12:11:57 -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=Hd3MPPhfZEFzLVMyRypDkVk2xJ4qChQYAeQatJK81b8=; b=Uk7YLAbDBHzzgK/gr0td2HFZ9E/2OClNIKUUZPzqI0C7N6kIR3Qxe0xISyYCpsm2OP J3cNrEP5pAfr8rO0TwddrGcYOBzggCvuFP/1pNduv7TU7Fj/9TwY6dudZD9dqr3VNqac y7il/2gBBcUcdMp3iQY8lYB9jEiJwsNctYwX2ViGazpVPTx5wW3twInvrRxCT1Ddj0XN lhIk4XqHUK232RDjop76bjWgwTCO6BOcyyMqC/21n2j2QtCEuiEkYdWFypcxTFOnnJ71 kW5UOAn5UQq/wvAxSy2/noesF2o/eS8Dlrm7+QdWsFwon0INppkNdzoZt5ncuTA/UnwG wqaw== X-Gm-Message-State: AOAM531ZWljomI1wlWE+sYyA/4fUZAcIPqcsWpnmwgCTcFq6OHAraS0L 4Yh5O6WOTe2IkAYNrFUbbwVQ8LeFh/uPrreVByvytJCo5//aYZH9CWOnwd9AyQmAwcFEZ9WUglw zrp2CTQMPJ5YZqO7HWwoGCfZp X-Received: by 2002:a17:907:728d:b0:6f4:5a83:a616 with SMTP id dt13-20020a170907728d00b006f45a83a616mr14064181ejc.297.1651691516001; Wed, 04 May 2022 12:11:56 -0700 (PDT) X-Received: by 2002:a17:907:728d:b0:6f4:5a83:a616 with SMTP id dt13-20020a170907728d00b006f45a83a616mr14064160ejc.297.1651691515824; Wed, 04 May 2022 12:11:55 -0700 (PDT) Received: from ?IPV6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.googlemail.com with ESMTPSA id qz24-20020a170907681800b006f4c82c2b12sm930211ejc.19.2022.05.04.12.11.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 May 2022 12:11:55 -0700 (PDT) Message-ID: <0ba0b879-cc46-1f60-539a-5bb7e407c01f@redhat.com> Date: Wed, 4 May 2022 21:11:52 +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: Maxim Levitsky , Sean Christopherson Cc: Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Ben Gardon , David Matlack References: <82d1a5364f1cc479da3762b046d22f136db167e3.camel@redhat.com> <42e9431ec2c716f1066fc282ebd97a7a24cbac72.camel@redhat.com> From: Paolo Bonzini In-Reply-To: <42e9431ec2c716f1066fc282ebd97a7a24cbac72.camel@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/4/22 14:08, Maxim Levitsky wrote: > Nope, still reproduces. > > I'll think on how to trace this, maybe that will give me some ideas. > Anything useful to dump from the mmu pages that are still not freed at that point? Perhaps you can dump the gpa and TSC of the allocation, and also print the TSC right before destroy_workqueue? Paolo