From patchwork Fri Apr 24 05:27:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 47514 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 475F420553 for ; Fri, 24 Apr 2015 05:32:17 +0000 (UTC) Received: by laat2 with SMTP id t2sf9434941laa.2 for ; Thu, 23 Apr 2015 22:32: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:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=1qasHfQvQv9oO0OotjVzGSGMbZ+ZTojeeotSxQfxjpw=; b=IuE7M9N+QxFO85acxUDN4C7ftyuK4mwCClnjhCVrJv1VJnpDf3ZD/kmzEq8w944tjB dDlF5fsu0XfMKE0tSZgMqcbRQnCfFS9Kbkyz6j6UWteis0gUIZWkit28KG+YPyGcbdXZ 7YPDM3jf22+Jh+zBSISlTd/j1Yww5FgSYYZrTOnbtmBuN/j/hjA0XhfdnwAou9hRjc3j jA8eMQKGuwz/wSW6moBYRy/Y1Ap0VGFlORqjJk43V98KapNlDCxVSXrFw5eLYritOtpw 9vv0nrXFCUqeR4bg5FsSBftFQXafo5pSHHvkrkLm+gh+B3ThqUGhF7bY0paVgaRm5Yo2 rsxw== X-Gm-Message-State: ALoCoQmxBVPIFJn6kDUcVj+RbsY7UdHRb5SID6YbrRtOrk0eQlwMW9Q1RuDU9GfKA3apbvgHedai X-Received: by 10.152.37.101 with SMTP id x5mr3203617laj.5.1429853536235; Thu, 23 Apr 2015 22:32:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.6.35 with SMTP id cr3ls372236lad.47.gmail; Thu, 23 Apr 2015 22:32:16 -0700 (PDT) X-Received: by 10.112.159.9 with SMTP id wy9mr5294412lbb.120.1429853536096; Thu, 23 Apr 2015 22:32:16 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id dy9si7474038lac.58.2015.04.23.22.32.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Apr 2015 22:32:16 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by lbbzk7 with SMTP id zk7so28611808lbb.0 for ; Thu, 23 Apr 2015 22:32:16 -0700 (PDT) X-Received: by 10.112.140.231 with SMTP id rj7mr5314704lbb.76.1429853535997; Thu, 23 Apr 2015 22:32:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp977938lbt; Thu, 23 Apr 2015 22:32:15 -0700 (PDT) X-Received: by 10.66.120.196 with SMTP id le4mr11710545pab.53.1429853534306; Thu, 23 Apr 2015 22:32:14 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bd10si15800741pdb.178.2015.04.23.22.32.13; Thu, 23 Apr 2015 22:32:14 -0700 (PDT) Received-SPF: none (google.com: stable-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754536AbbDXFcN (ORCPT + 2 others); Fri, 24 Apr 2015 01:32:13 -0400 Received: from mail-oi0-f54.google.com ([209.85.218.54]:34525 "EHLO mail-oi0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754537AbbDXFcM (ORCPT ); Fri, 24 Apr 2015 01:32:12 -0400 Received: by oiko83 with SMTP id o83so32481711oik.1 for ; Thu, 23 Apr 2015 22:32:11 -0700 (PDT) X-Received: by 10.182.56.161 with SMTP id b1mr5719097obq.22.1429853531872; Thu, 23 Apr 2015 22:32:11 -0700 (PDT) Received: from localhost ([167.160.116.36]) by mx.google.com with ESMTPSA id mp4sm6010312oeb.10.2015.04.23.22.32.10 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 23 Apr 2015 22:32:11 -0700 (PDT) From: shannon.zhao@linaro.org To: stable@vger.kernel.org Cc: jslaby@suse.cz, christoffer.dall@linaro.org, shannon.zhao@linaro.org, Will Deacon , Marc Zyngier Subject: [PATCH for 3.12.y stable 29/63] ARM: KVM: disable KVM in Kconfig on big-endian systems Date: Fri, 24 Apr 2015 13:27:27 +0800 Message-Id: <1429853281-6136-30-git-send-email-shannon.zhao@linaro.org> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1429853281-6136-1-git-send-email-shannon.zhao@linaro.org> References: <1429853281-6136-1-git-send-email-shannon.zhao@linaro.org> Sender: stable-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: stable@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: shannon.zhao@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Will Deacon commit 4e4468fac4381b92eb333d94256e7fb8350f3de3 upstream. 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 Signed-off-by: Shannon Zhao --- 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.