Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3796054ybl; Tue, 21 Jan 2020 07:11:56 -0800 (PST) X-Google-Smtp-Source: APXvYqwU4wmJRjAgbAKGMpQceCI5BIV7qGw9FCqMhCznXa4IrgUHyiO5R4Dke3zImdOG1xjzJLs1 X-Received: by 2002:aca:c7cb:: with SMTP id x194mr3281375oif.157.1579619516314; Tue, 21 Jan 2020 07:11:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579619516; cv=none; d=google.com; s=arc-20160816; b=rW3wMY32hMCFCA0u4mvGo4lF6WsTv2Z82WijBmKHsc3e4zv34O4CGxN6ARmTzbp7Xp T8NV/gMgU7HtG+TnM4SZYirrpvZHywtdycoT8H4dDjf0ioxqaTgss6TrGTqIEGu9uuXK YiD/buEwRrhty7om+3Gs0l3NkRt0d15L7YIzGEKDGZJScpFxE1O1dxLx+V0ZOBCnoOWH Iv/7RTKZWSrCQLPIfIiRYH4R5osZVdCLwU4cAHjJSQngCkKrjJsvIMbzgIWFooMCweN7 dvFwZff2Ce/DV2EdJOKrMlFZj/ENCaRXL8zp/B31FvRqVN+0JP8M7OoNArivWxhEJLA2 QoyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=dLNqv137Ty3zBX/5Bsp+2Ypr44jpbB2i9ogizbwLSF8=; b=uT/oSOvckWrZmZBHFLL6SPAxkikgCoUB3arVWAdn22KXRATOueLoB1tQ83o5ELGhzJ tPR7WdlDXMlXH/HOVwEfufiQTyDpE8a0fBX1Q8C0qYp4q4FhfD405Inf1LGi/emtRA78 E5DgJqQuTXpkp0muIKjYsy5TJ8NH5/wPzKdRs2Giu+o/2aWOiJtLtTNxjQPyUHPsVgxU jo5R1Mwi8I9jHN4RNf/QygurJkLJgcPMx7+346xpFu2rijEOTxi4xnXWUOY93AfZU5Ly UAygkiIrnzmjI8KbMr7+tUGIOwdS3MFl63rruy7L8Hx5mbNwaY+fLPEcFXPzHXVSA5T3 13EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TMp2OwuS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c19si24100959oto.129.2020.01.21.07.11.44; Tue, 21 Jan 2020 07:11:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TMp2OwuS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1729096AbgAUPKg (ORCPT + 99 others); Tue, 21 Jan 2020 10:10:36 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:57351 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727255AbgAUPKg (ORCPT ); Tue, 21 Jan 2020 10:10:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579619435; 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=dLNqv137Ty3zBX/5Bsp+2Ypr44jpbB2i9ogizbwLSF8=; b=TMp2OwuSvAYOg/tnDm2ccl7Ypp0CIiMMcIiWT9xmq7CFUUy3rMVgG8H1JsNxMQg/Ku5zAv FI0FwCBuQ8/QwcKMJKbORIFcaP25ZB+JsOo1e1m8mKZURmQvtgNbDYz/Y3R1aBBCttcZO9 WhaekUcbiM3dPQEh0yXHQL43V+z8pwQ= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-175-52uRSYRTMdaJ3r8S4HN-LA-1; Tue, 21 Jan 2020 10:10:33 -0500 X-MC-Unique: 52uRSYRTMdaJ3r8S4HN-LA-1 Received: by mail-wm1-f70.google.com with SMTP id p5so469053wmc.4 for ; Tue, 21 Jan 2020 07:10:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=dLNqv137Ty3zBX/5Bsp+2Ypr44jpbB2i9ogizbwLSF8=; b=ljQ/8NH2Q5A+3PHbAZ+0QPVxFhgc+PVbpaA+4KW1I/g99+E4x5P/jw5hbjAGIfiO0b b9y0BZVe/6VLJhcgC3UNg/kseyFfOI4knQJRSJ4ImkYAbfbWnI5pElYgdBt0o+n4mqtG mL7wc6934GrqrfqROzyqaYuHDM+4m2yZmYWNn8b+77AiA2w2IPNGUrWQqpUjcQ0gzQSA KBIQnCCKObsHDxPOXFcL6ddTFiUriCOueAWeJFg5gnAvh4Gv6ciErZkWvfCWJjJJHcNo Xnw29g3T1mH+LSe6A5BOoV+WD8EJ06FvK4kwpyXSBtc6s/0T9nIqF65LlICXxi8DrdkL aMiw== X-Gm-Message-State: APjAAAURL/niG2NjOBig0AbPUUnZIKWLhaLvt7m3cY4NerZwpaYnO+nX iXRibeqxNmZC+yhtAiREXCRO2DJuQsR+9EPuJepc0NC5fRVqANWrQkQ0b9nYmkGC428qiFZqXOn Dh7YOQxH2tR1QJ6bQ/me3s56C X-Received: by 2002:a5d:484d:: with SMTP id n13mr5658181wrs.420.1579619431916; Tue, 21 Jan 2020 07:10:31 -0800 (PST) X-Received: by 2002:a5d:484d:: with SMTP id n13mr5658133wrs.420.1579619431579; Tue, 21 Jan 2020 07:10:31 -0800 (PST) Received: from ?IPv6:2001:b07:6468:f312:b509:fc01:ee8a:ca8a? ([2001:b07:6468:f312:b509:fc01:ee8a:ca8a]) by smtp.gmail.com with ESMTPSA id h2sm53828069wrv.66.2020.01.21.07.10.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jan 2020 07:10:31 -0800 (PST) Subject: Re: [PATCH 00/14] KVM: x86/mmu: Huge page fixes, cleanup, and DAX To: Barret Rhoden , Sean Christopherson Cc: Paul Mackerras , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Andrew Morton , Marc Zyngier , James Morse , Julien Thierry , Suzuki K Poulose , kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, syzbot+c9d1fb51ac9d0d10c39d@syzkaller.appspotmail.com, Andrea Arcangeli , Dan Williams , David Hildenbrand , Jason Zeng , Dave Jiang , Liran Alon , linux-nvdimm References: <20200108202448.9669-1-sean.j.christopherson@intel.com> From: Paolo Bonzini Message-ID: Date: Tue, 21 Jan 2020 16:10:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/01/20 20:47, Barret Rhoden wrote: > Hi - > > On 1/8/20 3:24 PM, Sean Christopherson wrote: >> This series is a mix of bug fixes, cleanup and new support in KVM's >> handling of huge pages.  The series initially stemmed from a syzkaller >> bug report[1], which is fixed by patch 02, "mm: thp: KVM: Explicitly >> check for THP when populating secondary MMU". >> >> While investigating options for fixing the syzkaller bug, I realized KVM >> could reuse the approach from Barret's series to enable huge pages for >> DAX >> mappings in KVM[2] for all types of huge mappings, i.e. walk the host >> page >> tables instead of querying metadata (patches 05 - 09). > > Thanks, Sean.  I tested this patch series out, and it works for me. > (Huge KVM mappings of a DAX file, etc.). Queued, thanks. Paolo