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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 688E1C433EF for ; Wed, 4 May 2022 19:12:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376260AbiEDTPo (ORCPT ); Wed, 4 May 2022 15:15:44 -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-Google-Smtp-Source: ABdhPJyg0JsD7iu2Y23r3GnlIcchSoad40wOMbWKHRukO45v+eQMegv9BK4IGGRz74EZIhhUiWnzCg== 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 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