Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2911967imm; Mon, 13 Aug 2018 02:42:19 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxyh3kOJ38XJcDl3Sweeny8IcCPhLUjyhOFjH/emGpHEG/h0f8c/SrvtoOW7K3tliGcAF2i X-Received: by 2002:a17:902:4906:: with SMTP id u6-v6mr15955429pld.44.1534153339776; Mon, 13 Aug 2018 02:42:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534153339; cv=none; d=google.com; s=arc-20160816; b=XBI0I0jEUoq7il3GsW2qdpWDmN3hc5OwFD1U9y7sf4rI9BbeRrJGniRHgrciWS5PJo hptsl4AzWP22c0lsr8qf+P81G53fm5VlOgftZ1y02mkEPNmjJPwuRVvycZSnng00prPW NEjmJvUnCVHok6/cYOqVjz6LyfES8lqST/ffqPEvgUv1p25hD6C8iig5I80mSM4g/tQE 8ju0OeiYqJTzgWWwQ6FksmchYzvSAObIpYbDgmab+z+kG5PFcbfp8luxFgHsW/+BTq+4 dAfmXraKmY++wTVqYRovJBajl6ymAi/4L943fjDO8Kneu7/gMIi24s66bKpXO+bngpy7 wu3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=OV54s+MxR0gjVrxWtk+iBCmkl6jiNZ4ddJSFSpoKOMw=; b=JC7qp+VU1yNqBeBmfTNx7TsdGHDNshvdfkVk61147kqYz15OpSoUcAfKpxAJdlXUGJ aIIDIiauMt2NLgOJb8OnP7yuT8zUh810+Vo0hMxCiC1Ei/W9VBk2YCf2jlp83MWlyjks VTmFbAlj549CiiSD8vpC9vzki56bQVLFXxra4yvoDZtcJjWJkcrNI1LRNIS9q0zW+sqp UgwsdbJ2ziKM0wsE7wwSfYh5NtXLJ4xmBYotbx6tCOau9evZVZLKtcDaC13MX9f5mbk4 uTDn3w4f1VBxBJ5JawWqYt/rZDkkQy2xL0NHvSzhCT6KUH2TjuJwYULAPoWdp5Ko45Do gMWA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u24-v6si16355682pgk.72.2018.08.13.02.42.05; Mon, 13 Aug 2018 02:42:19 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728971AbeHMMWh (ORCPT + 99 others); Mon, 13 Aug 2018 08:22:37 -0400 Received: from foss.arm.com ([217.140.101.70]:56028 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728055AbeHMMWh (ORCPT ); Mon, 13 Aug 2018 08:22:37 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A49EF7A9; Mon, 13 Aug 2018 02:41:09 -0700 (PDT) Received: from localhost (e105922-lin.emea.arm.com [10.4.13.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 24C233F73C; Mon, 13 Aug 2018 02:41:09 -0700 (PDT) From: Punit Agrawal To: kvmarm@lists.cs.columbia.edu Cc: Punit Agrawal , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, suzuki.poulose@arm.com, marc.zyngier@arm.com, christoffer.dall@arm.com Subject: [PATCH v2 0/2] KVM: Fix refaulting due to page table update Date: Mon, 13 Aug 2018 10:40:47 +0100 Message-Id: <20180813094049.3726-1-punit.agrawal@arm.com> X-Mailer: git-send-email 2.18.0 X-ARM-No-Footer: FoSSMail Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Here's a couple of patches to fix an issue when multiple vcpus fault on a page table entry[0]. The issue was reported by a user when testing PUD hugepage support[1] but also exists for PMD and PTE updates though with a lower probability. In this version - * the fix has been split for PMD hugepage and PTE update * refactored the PMD fix * applied fixes tag and cc'ing to stable Thanks, Punit [0] https://lkml.org/lkml/2018/8/10/256 [1] https://lkml.org/lkml/2018/7/16/482 Punit Agrawal (2): KVM: arm/arm64: Skip updating PMD entry if no change KVM: arm/arm64: Skip updating PTE entry if no change virt/kvm/arm/mmu.c | 45 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 34 insertions(+), 11 deletions(-) -- 2.18.0