From patchwork Fri Nov 2 10:03:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 1687721 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 68F943FD2B for ; Fri, 2 Nov 2012 10:03:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762070Ab2KBKDk (ORCPT ); Fri, 2 Nov 2012 06:03:40 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:33632 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761943Ab2KBKDi (ORCPT ); Fri, 2 Nov 2012 06:03:38 -0400 Received: by mail-bk0-f46.google.com with SMTP id jk13so1310415bkc.19 for ; Fri, 02 Nov 2012 03:03:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=3TywKken1CCMRpF4gidmb45/ANSTs3oV5CCR+FQR6j0=; b=iI3fJxXEWc0+22svsl+JrHyOztL4/0xNl4ZV7aQCP/nha2reMUFekuD/WgWI1GumR2 fiStmtobltc1K8RH/UWkvPPer0jaIL4PF6C7+wP/810F3AwDUyzBK6t6Je7ck3Jg/x97 UCZP3/XvYfSeUA+Byd8oOXRMcd/4WDzCrMhaaXbIFO2zXrsiSw2QbjSMlwN47ouxjUOd q8GN+6o+DKusEbViuwOpq5iZCt7aWWIG2uAk1uJXNmVa0oZusv5vz3/DaCTGZMZv7zSq IEsPCc5sDl5bWoDR+p6WZK9tp7DMScw9EROhL/a/AZt+EGrvFIDo+TnSpHP5Hj4WAn9k 8j6w== Received: by 10.204.152.2 with SMTP id e2mr229077bkw.92.1351850617922; Fri, 02 Nov 2012 03:03:37 -0700 (PDT) Received: from localhost.localdomain ([91.224.175.20]) by mx.google.com with ESMTPS id z22sm6155655bkw.2.2012.11.02.03.03.35 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 02 Nov 2012 03:03:37 -0700 (PDT) From: Christoffer Dall To: kvmarm@lists.cs.columbia.edu Cc: kvm@vger.kernel.org, Christoffer Dall Subject: [RFC PATCH 1/4] KVM: ARM: Report support of mmu notifiers to user space Date: Fri, 2 Nov 2012 11:03:19 +0100 Message-Id: <1351850602-4781-2-git-send-email-c.dall@virtualopensystems.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1351850602-4781-1-git-send-email-c.dall@virtualopensystems.com> References: <1351850602-4781-1-git-send-email-c.dall@virtualopensystems.com> X-Gm-Message-State: ALoCoQn9AeJloNEEj7sNT48e4Ljz628k8aHPNSRVqnCsIMrtYiBJ6l/eYXlcV9V5FTjWAvHA4rbC Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org This should have been added a long time ago, and is at least required for user space to take advantage of hugetlbfs. Signed-off-by: Christoffer Dall --- arch/arm/kvm/arm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index 69bec17..9a7d2d6 100644 --- a/arch/arm/kvm/arm.c +++ b/arch/arm/kvm/arm.c @@ -199,6 +199,7 @@ int kvm_dev_ioctl_check_extension(long ext) break; #endif case KVM_CAP_USER_MEMORY: + case KVM_CAP_SYNC_MMU: case KVM_CAP_DESTROY_MEMORY_REGION_WORKS: case KVM_CAP_ONE_REG: r = 1;