From patchwork Fri Aug 9 14:30:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 18918 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f71.google.com (mail-qa0-f71.google.com [209.85.216.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 877FD2391D for ; Fri, 9 Aug 2013 14:30:26 +0000 (UTC) Received: by mail-qa0-f71.google.com with SMTP id bq6sf1035749qab.10 for ; Fri, 09 Aug 2013 07:30:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=xEsybTndmj//ZXezCKc8SjvIAQ7MquyQ7mPH5OjoBYk=; b=CUE8rNcja3ULMRc2z71rAkTg142lplZ9KIefIQDjsdTx/6bosxuZVQBq/O+azxMLcG tODe6O5DKh2s2NmBEpAbQkvbe7QAhEHhiGwvcKhdMqUHI+BF/byGHaW8m0VJ/Ce0bQPR T/1/CEtnKT7gBy6O0ZDH0VOG9I2h6WyqQKT64EM97Sy1sJztAI9FTTFAJNl74a34wdme pw9OoZkSQvjF83HcisAHl4znPxYYRdB56oM4dS6Du6DIGVdZOG6IVEzj103JNHOsP8bV YqRyZI7dLrXlKAxABqOv1GrhzgrjSWBzlTKs+xP3y78bg9TB3ImeYi7DWq/ojxm7m9+J xB9Q== X-Received: by 10.52.176.102 with SMTP id ch6mr982139vdc.3.1376058625840; Fri, 09 Aug 2013 07:30:25 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.29.229 with SMTP id n5ls1399446qeh.73.gmail; Fri, 09 Aug 2013 07:30:25 -0700 (PDT) X-Received: by 10.220.109.197 with SMTP id k5mr6846979vcp.54.1376058625714; Fri, 09 Aug 2013 07:30:25 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id x7si4688623vdo.113.2013.08.09.07.30.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Aug 2013 07:30:25 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id d10so3992110vea.19 for ; Fri, 09 Aug 2013 07:30:25 -0700 (PDT) X-Gm-Message-State: ALoCoQlOIzuC4nFM3oen3k8gNwL2XJXTdf6wnnd3VeperO/gqzgBnHdLxXvEVKv8CZfH1Nb2d2JU X-Received: by 10.52.180.229 with SMTP id dr5mr5072263vdc.20.1376058625604; Fri, 09 Aug 2013 07:30:25 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp76596vcz; Fri, 9 Aug 2013 07:30:25 -0700 (PDT) X-Received: by 10.66.136.237 with SMTP id qd13mr925020pab.74.1376058624218; Fri, 09 Aug 2013 07:30:24 -0700 (PDT) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by mx.google.com with ESMTPS id dw1si12434007pbc.276.2013.08.09.07.30.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Aug 2013 07:30:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.45 is neither permitted nor denied by best guess record for domain of christoffer.dall@linaro.org) client-ip=209.85.220.45; Received: by mail-pa0-f45.google.com with SMTP id bg4so4978751pad.18 for ; Fri, 09 Aug 2013 07:30:23 -0700 (PDT) X-Received: by 10.68.13.132 with SMTP id h4mr11670565pbc.99.1376058623671; Fri, 09 Aug 2013 07:30:23 -0700 (PDT) Received: from localhost.localdomain (c-67-169-183-77.hsd1.ca.comcast.net. [67.169.183.77]) by mx.google.com with ESMTPSA id x8sm20420682pbb.39.2013.08.09.07.30.21 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Aug 2013 07:30:22 -0700 (PDT) From: Christoffer Dall To: kvmarm@lists.cs.columbia.edu Cc: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, patches@linaro.org, Christoffer Dall Subject: [PATCH 2/3] KVM: ARM: Get rid of KVM_HPAGE_ defines Date: Fri, 9 Aug 2013 07:30:13 -0700 Message-Id: <1376058613-26400-1-git-send-email-christoffer.dall@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1376021239-10532-1-git-send-email-christoffer.dall@linaro.org> References: <1376021239-10532-1-git-send-email-christoffer.dall@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: christoffer.dall@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The KVM_HPAGE_DEFINES are a little artificial on ARM, since the huge page size is statically defined at compile time and there is only a single huge page size. Now when the main kvm code relying on these defines has been moved to the x86 specific part of the world, we can get rid of these. Signed-off-by: Christoffer Dall --- [Resending this because the KVM list filter caught the subject of the previous message due to the letter X] arch/arm/include/asm/kvm_host.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/include/asm/kvm_host.h b/arch/arm/include/asm/kvm_host.h index 7d22517..e45a74b 100644 --- a/arch/arm/include/asm/kvm_host.h +++ b/arch/arm/include/asm/kvm_host.h @@ -38,11 +38,6 @@ #define KVM_VCPU_MAX_FEATURES 1 -/* We don't currently support large pages. */ -#define KVM_HPAGE_GFN_SHIFT(x) 0 -#define KVM_NR_PAGE_SIZES 1 -#define KVM_PAGES_PER_HPAGE(x) (1UL<<31) - #include struct kvm_vcpu;