From patchwork Tue Jan 13 20:07:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 43085 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f69.google.com (mail-ee0-f69.google.com [74.125.83.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6F14420DE8 for ; Tue, 13 Jan 2015 20:10:41 +0000 (UTC) Received: by mail-ee0-f69.google.com with SMTP id d49sf3029455eek.0 for ; Tue, 13 Jan 2015 12:10:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:cc:subject :precedence:list-id:list-unsubscribe:list-post:list-help :list-subscribe:mime-version:content-type:content-transfer-encoding :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:list-archive; bh=3l/FRKS2dMkrB1sT/57XYqRRbXXnWasF9fJi56W7ejg=; b=ZENvrXBjLaTnyER7TrtYEbVj/FnQq1cytESCIRFFUVPKgcYNiJBa24ohu1YOSPP6VW 8pV+3FoPRBi+KtvLVdemZTCqE1EcZAVRwrLjy/UDIeVj1WyaTKvhP8TLtMchDVBzspUq b18t7WVcAyMZedWYyDt6V/2mws+8ocmyFuQUI+l9PWHO2RQZUTm0I3X38M883Oj7YM8H CbI8qJnWL17K3sbquhh4idlK6tGvqCAurKEUj8DPEdUFIyFboL5F6Xv+iIeDPBjos/CB GwFCipPBIdMEVnXkdWR7vy2iK2Fa86niJsuKpQ/eU7SQAtt2fEKQyPzFTYcGG0dIeBqp wMig== X-Gm-Message-State: ALoCoQktG+ReUS+CfcAmaSnkRqjSSUpw1wamyyQo14cUUMdN+TckR/6Bz9rwr19nGwHxMMcg05ot X-Received: by 10.180.85.230 with SMTP id k6mr2664033wiz.1.1421179840580; Tue, 13 Jan 2015 12:10:40 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.97 with SMTP id r1ls39341lar.81.gmail; Tue, 13 Jan 2015 12:10:40 -0800 (PST) X-Received: by 10.112.198.1 with SMTP id iy1mr142444lbc.13.1421179840422; Tue, 13 Jan 2015 12:10:40 -0800 (PST) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id u1si3838342lau.102.2015.01.13.12.10.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 Jan 2015 12:10:40 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by mail-la0-f47.google.com with SMTP id hz20so4638300lab.6 for ; Tue, 13 Jan 2015 12:10:40 -0800 (PST) X-Received: by 10.152.87.100 with SMTP id w4mr75325laz.71.1421179840255; Tue, 13 Jan 2015 12:10:40 -0800 (PST) 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.9.200 with SMTP id c8csp1487961lbb; Tue, 13 Jan 2015 12:10:39 -0800 (PST) X-Received: by 10.140.108.9 with SMTP id i9mr148516qgf.73.1421179838888; Tue, 13 Jan 2015 12:10:38 -0800 (PST) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id z110si28192470qgd.73.2015.01.13.12.10.37 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 13 Jan 2015 12:10:38 -0800 (PST) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YB7lN-0001bo-O3; Tue, 13 Jan 2015 20:08:29 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YB7lM-0001bf-7T for xen-devel@lists.xenproject.org; Tue, 13 Jan 2015 20:08:28 +0000 Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id FB/7C-25714-A3B75B45; Tue, 13 Jan 2015 20:08:26 +0000 X-Env-Sender: julien.grall@linaro.org X-Msg-Ref: server-3.tower-206.messagelabs.com!1421179706!10269334!1 X-Originating-IP: [209.85.212.173] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.12.5; banners=-,-,- X-VirusChecked: Checked Received: (qmail 9039 invoked from network); 13 Jan 2015 20:08:26 -0000 Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com) (209.85.212.173) by server-3.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 13 Jan 2015 20:08:26 -0000 Received: by mail-wi0-f173.google.com with SMTP id hi2so962896wib.0 for ; Tue, 13 Jan 2015 12:08:26 -0800 (PST) X-Received: by 10.194.94.227 with SMTP id df3mr420513wjb.34.1421179706011; Tue, 13 Jan 2015 12:08:26 -0800 (PST) Received: from chilopoda.uk.xensource.com. ([185.25.64.249]) by mx.google.com with ESMTPSA id ud4sm15646545wib.0.2015.01.13.12.08.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Jan 2015 12:08:24 -0800 (PST) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Tue, 13 Jan 2015 20:07:53 +0000 Message-Id: <1421179673-30754-1-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 2.1.4 Cc: stefano.stabellini@citrix.com, Julien Grall , tim@xen.org, ian.campbell@citrix.com Subject: [Xen-devel] [PATCH] xen/arm: Blacklist the memory mapped timer (armv7-timer-mem) X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: julien.grall@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.215.47 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-Archive: Some platform (such as the VFP Base AEMv8 model) has a memory mapped timer. We don't want DOM0 use this timer rather than the generic ARM timer. So blacklist it for all platforms. Signed-off-by: Julien Grall --- This patch is candidate to backport for Xen 4.5 and Xen 4.4. It may not apply correctly for Xen 4.4. --- xen/arch/arm/domain_build.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index bf8dc78..16ce248 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/arm/domain_build.c @@ -1047,6 +1047,7 @@ static int handle_node(struct domain *d, struct kernel_info *kinfo, DT_MATCH_COMPATIBLE("arm,psci"), DT_MATCH_PATH("/cpus"), DT_MATCH_TYPE("memory"), + DT_MATCH_COMPATIBLE("arm,armv7-timer-mem"), { /* sentinel */ }, }; static const struct dt_device_match gic_matches[] __initconst =