From patchwork Wed Apr 30 11:15:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 4092821 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6C8DA9F485 for ; Wed, 30 Apr 2014 11:19:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2129820268 for ; Wed, 30 Apr 2014 11:19:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3855020265 for ; Wed, 30 Apr 2014 11:19:30 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WfSVL-0004lk-54; Wed, 30 Apr 2014 11:16:47 +0000 Received: from mail-la0-f48.google.com ([209.85.215.48]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WfSVD-0004eT-BL for linux-arm-kernel@lists.infradead.org; Wed, 30 Apr 2014 11:16:40 +0000 Received: by mail-la0-f48.google.com with SMTP id gf5so1087228lab.7 for ; Wed, 30 Apr 2014 04:16:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=H/XFXcGpi9kDJile+E2JOvQ+9AN/LiaiFfQ0JBRHxPk=; b=BcwKkChEvwYfBSQKKatA9toswSTT/iWE7wKmjDRI3LOaNjQ2f6ysKHWV/DuzQb51QB C8qKJ6+QCRhp/dNLtEs3UsrSwZ+ChwaCND9dcNNINXbC8tbcGgIhMN6CE4zZ0P+m72cZ jkK5oy/IUK+/4v+naCT1FCvP7UUYo8Fl+7DsashssMvF5fJPbsp2AUSXGOMurkBd2OvV DvgqFKnx5FoIVhNpQMkjVQrXw1WEmAFIf7FNAZBNSKIzCK1jqpG5PkY4emCw8JQ7aUfF Bbse9pg5WwcdNRAqn//zztxVv/f7q/Ir397+SJ2+WQ2mVlv/0HFB77k5G4EqOAReMWZ4 FSkw== X-Gm-Message-State: ALoCoQn28aKFhVNjAnWo/+dvEoEVECM4uQsAIPIB8MLvVB77kz8kxBV3p1VjugJHh1+J4N3xVxOR X-Received: by 10.152.27.1 with SMTP id p1mr1047079lag.40.1398856576498; Wed, 30 Apr 2014 04:16:16 -0700 (PDT) Received: from localhost.localdomain (87-51-169-189-static.dk.customer.tdc.net. [87.51.169.189]) by mx.google.com with ESMTPSA id rd5sm25972812lbb.0.2014.04.30.04.16.15 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Apr 2014 04:16:15 -0700 (PDT) From: Christoffer Dall To: Paolo Bonzini , Gleb Natapov Subject: [PATCH 1/5] ARM: KVM: disable KVM in Kconfig on big-endian systems Date: Wed, 30 Apr 2014 04:15:52 -0700 Message-Id: <1398856556-13199-2-git-send-email-christoffer.dall@linaro.org> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1398856556-13199-1-git-send-email-christoffer.dall@linaro.org> References: <1398856556-13199-1-git-send-email-christoffer.dall@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140430_041639_585033_63B75FC9 X-CRM114-Status: GOOD ( 11.05 ) X-Spam-Score: -0.7 (/) Cc: kvm@vger.kernel.org, Marc Zyngier , Will Deacon , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, Christoffer Dall X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Will Deacon KVM currently crashes and burns on big-endian hosts, so don't allow it to be selected until we've got that fixed. Cc: Marc Zyngier Signed-off-by: Will Deacon Signed-off-by: Christoffer Dall --- arch/arm/kvm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/kvm/Kconfig b/arch/arm/kvm/Kconfig index 466bd29..4be5bb1 100644 --- a/arch/arm/kvm/Kconfig +++ b/arch/arm/kvm/Kconfig @@ -23,7 +23,7 @@ config KVM select HAVE_KVM_CPU_RELAX_INTERCEPT select KVM_MMIO select KVM_ARM_HOST - depends on ARM_VIRT_EXT && ARM_LPAE + depends on ARM_VIRT_EXT && ARM_LPAE && !CPU_BIG_ENDIAN ---help--- Support hosting virtualized guest machines. You will also need to select one or more of the processor modules below.