Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2442284ybl; Thu, 9 Jan 2020 12:51:40 -0800 (PST) X-Google-Smtp-Source: APXvYqxyJPeNH09oROIclc42FG4fCL3vNlI7WzZR1ZkK1498YTomKnqgr717L+UA9CnasA0Z6cOM X-Received: by 2002:a05:6808:244:: with SMTP id m4mr4764345oie.125.1578603100441; Thu, 09 Jan 2020 12:51:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578603100; cv=none; d=google.com; s=arc-20160816; b=cQ4uPO9aN+PNjQqZ8G/J3tHSn6Aop8rUiNLGDEGX/M3SVuU6AHY3fNiNAi05MaJzwc iSlWHH6B5Z29mqugRVQf+Gnvi+XlrScuc2eGIl/TTWr7SplLdhEeG2D1mlKgszDIcdsd 7iPhtgccGIIfj8x7+MwW2NQhaH7uHhXLGNHHG5tWQ9YzidG0r2dsW7SiXDIo/uaWeBrl cmyvfA+5nKfPPlAOjT24dzYpNPmEtE3CbjPomLCublu/i87XiRSIWDQflYsTkjWjDaSv IqDnA32MtyoA52SYXwifoVYkh6sCGZ6SoDGZkt39O2Kzf/N+4iJX9pGYCwbEfJbvub5E zIPw== 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=tOr15WETxbkLw/hVhIIJI77xVs+gy+a9H8+1jFpIRfc=; b=0/uReR60X/KkG0JYbs6WO1zlgTR6eSBef5oLZklTnqvboKTKqQiVqSfK2sI3FDP1oC nkfW/3toIFEAteu3eiFf+D27Iu4IFbtLexCZDiA59xmQT384vavRNOBAmQog6DetW+q6 LvdR2elqO3b7pU1dNXgzpgxX+mmEFlghQCpVrSzvkvHHEzUlHEooNai2NIlNKmuaFVFR xjw67dHwSDb+LlxnmwNjm0YygCLMFPphK4spzBQEs9UrrJAI4e74I6r8luXGSJu0Qm52 A4f49r8U/81EAhotPds5u4EA5nG3R4NGvvVeHDsmoyE2MYpxCIzU20o9+0KWR0zggFCI cAAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=cG0QOwda; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12si4624155otl.74.2020.01.09.12.51.28; Thu, 09 Jan 2020 12:51:40 -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=@google.com header.s=20161025 header.b=cG0QOwda; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732207AbgAITrr (ORCPT + 99 others); Thu, 9 Jan 2020 14:47:47 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:36154 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728567AbgAITrq (ORCPT ); Thu, 9 Jan 2020 14:47:46 -0500 Received: by mail-pg1-f193.google.com with SMTP id k3so3710517pgc.3 for ; Thu, 09 Jan 2020 11:47:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tOr15WETxbkLw/hVhIIJI77xVs+gy+a9H8+1jFpIRfc=; b=cG0QOwda3n2lMKGGwl2gvG+FY0g5k14CGaWhbv4nmRcoT2JX4qtut3O08AYJiZSsJ1 cr8cRqsI97d5/bOkzP8tKl3Tt9qtR5JvXtPKrWUCiPl4DV38hUy0eNUJDkm8kHbJEuBE yaFZx1vNucRxrssnQpATjd86jpNCMGp+2Uyc8U06zuHuUL2AoQcrnZJ+y884oRxt8t+n VRC8uxlGUAtadaiER22t+8Zb5vtrFxei+x4QHt8BHfVM01jX4dRRdZl9Mv3Dje2YTVYW tV4Ihp6XBYA3izk3Ms3j7QY4sBnbwek7lIwiWDhHQ5xPFFbll2klVlmKSmR8wUaYCyZ9 y5qQ== 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=tOr15WETxbkLw/hVhIIJI77xVs+gy+a9H8+1jFpIRfc=; b=S44YWvMugifui/4gEWh1iGBYL1XLQDUtvtmDwkxaUpdvAQ01yMk8sh1dzTMV4sLcAx OdHv9DFDBjr2ctGr6bGSf7q3B9HVLwbNKBy6b5ilVpUcwAeIAX3xPafqq4NVqrHWGYsQ EYmcQsXX2IOLlcXcDDXvERU0WcdSiH0gDtQCkZSmkVjFfCNDsNY2fjk4cGHWa20QKlFz 5+xSBFAr9ZzgWqQBJkmeehxUVdX4jWE4EHTxsMbs2w+tAeoEOLVgX1RH0PQTQ7QzQ77m KJ+maN56M8F+i8Ev3Xy3JyF5LZifvKbFVorWyWh4ODBYlRjZ82/xUkTp0Op/ZOvn7zPq XC9g== X-Gm-Message-State: APjAAAUHD3CoGAwtuwT0+5fBtf3edR9iM+zyMhOjwXlQBen557rawStK 9UKtO+6ZEBP5ZBLTYtrGOaUbtw== X-Received: by 2002:a62:e30f:: with SMTP id g15mr235672pfh.124.1578599265739; Thu, 09 Jan 2020 11:47:45 -0800 (PST) Received: from gnomeregan01.cam.corp.google.com ([2620:15c:6:14:50b7:ffca:29c4:6488]) by smtp.googlemail.com with ESMTPSA id z130sm8572761pgz.6.2020.01.09.11.47.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jan 2020 11:47:44 -0800 (PST) Subject: Re: [PATCH 00/14] KVM: x86/mmu: Huge page fixes, cleanup, and DAX To: Sean Christopherson , Paolo Bonzini 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: Barret Rhoden Message-ID: Date: Thu, 9 Jan 2020 14:47:41 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20200108202448.9669-1-sean.j.christopherson@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.). Thanks, Barret