From patchwork Fri Sep 13 12:49:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 20047 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 97AC328EA1 for ; Fri, 13 Sep 2013 12:50:07 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id u18sf1170773qcx.10 for ; Fri, 13 Sep 2013 05:50:07 -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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=uoKLhHk07OgeNMfAikQvZ2CWxFal6ZpVdiWPpxwhQHk=; b=GzMQfBcG1KuP4VqIUaPzuUiMiC1gTH99UAB0tVB3JZBN/gWIUyCOeWRHj/c0wwcGaT kp1gQh6JAEdzMQ+YvylyRjh/QG7hyF8JFLEHLbV0MReRm3jwarSMXPL/oDMbFW0/37tu YFNQbK8QDZ9kf3ttZFjE6DZ6wAXiiOXn58DqHwfzfyIm6DKGDeMbtvpjEuIL8jsFufcR x7rYyxkssRnagMrvcyJ19d9EcY0qyl5JkANMgzVS29k14n5KPEREqoKeqUAfCI8Q1GDt IoKky4A7QBj8HgPm4aeJ2u9RRQpCqmr4d9jf1BuJlGGpRfeMtOmrxfi+KGbOeLa13DkD lzTg== X-Gm-Message-State: ALoCoQnTGIuW4GW81WR6IK2Y2xTi+cMq9Kn8DjVCKyOI4XR9Y5sTAf2vvPaMaAGYKi8ieIuE89FT X-Received: by 10.236.216.17 with SMTP id f17mr324390yhp.18.1379076607344; Fri, 13 Sep 2013 05:50:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.99.106 with SMTP id ep10ls1115177qeb.59.gmail; Fri, 13 Sep 2013 05:50:07 -0700 (PDT) X-Received: by 10.52.98.66 with SMTP id eg2mr9983781vdb.24.1379076607116; Fri, 13 Sep 2013 05:50:07 -0700 (PDT) Received: from mail-vb0-f50.google.com (mail-vb0-f50.google.com [209.85.212.50]) by mx.google.com with ESMTPS id j3si3069245vcf.114.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 05:50:07 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.50 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.50; Received: by mail-vb0-f50.google.com with SMTP id x14so852912vbb.37 for ; Fri, 13 Sep 2013 05:50:07 -0700 (PDT) X-Received: by 10.58.196.132 with SMTP id im4mr963831vec.28.1379076607037; Fri, 13 Sep 2013 05:50:07 -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 u4csp78795vcz; Fri, 13 Sep 2013 05:50:06 -0700 (PDT) X-Received: by 10.15.32.136 with SMTP id a8mr2763183eev.71.1379076605931; Fri, 13 Sep 2013 05:50:05 -0700 (PDT) Received: from mail-ea0-f172.google.com (mail-ea0-f172.google.com [209.85.215.172]) by mx.google.com with ESMTPS id 7si3774507eeo.319.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 05:50:05 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.172 is neither permitted nor denied by best guess record for domain of julien.grall@linaro.org) client-ip=209.85.215.172; Received: by mail-ea0-f172.google.com with SMTP id r16so559897ead.31 for ; Fri, 13 Sep 2013 05:50:05 -0700 (PDT) X-Received: by 10.14.199.3 with SMTP id w3mr18080348een.33.1379076605287; Fri, 13 Sep 2013 05:50:05 -0700 (PDT) Received: from belegaer.uk.xensource.com. ([185.25.64.249]) by mx.google.com with ESMTPSA id p5sm14678420eeg.5.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 05:50:04 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Cc: stefano.stabellini@eu.citrix.com, ian.campbell@citrix.com, patches@linaro.org, andre.przywara@linaro.org, Julien Grall Subject: [PATCH v4 22/27] xen/arm: exynos5: Blacklist MCT device Date: Fri, 13 Sep 2013 13:49:29 +0100 Message-Id: <1379076574-28316-23-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1379076574-28316-1-git-send-email-julien.grall@linaro.org> References: <1379076574-28316-1-git-send-email-julien.grall@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: julien.grall@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.50 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 Multi Core Timer (MCT) is a Samsung specific device. This device tries to route IRQ in non-boot CPU which is not yet handled by Xen. The user will see randomly dom0 hang, but I'm not sure that is the real reason. Signed-off-by: Julien Grall Acked-by: Ian Campbell --- xen/arch/arm/platforms/exynos5.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/xen/arch/arm/platforms/exynos5.c b/xen/arch/arm/platforms/exynos5.c index 262ded8..d9eedc8 100644 --- a/xen/arch/arm/platforms/exynos5.c +++ b/xen/arch/arm/platforms/exynos5.c @@ -92,12 +92,23 @@ static const char * const exynos5_dt_compat[] __initdata = NULL }; +static const struct dt_device_match exynos5_blacklist_dev[] __initconst = +{ + /* Multi core Timer + * TODO: this device set up IRQ to CPU 1 which is not yet handled by Xen. + * This is result to random freeze. + */ + DT_MATCH_COMPATIBLE("samsung,exynos4210-mct"), + { /* sentinel */ }, +}; + PLATFORM_START(exynos5, "SAMSUNG EXYNOS5") .compatible = exynos5_dt_compat, .init_time = exynos5_init_time, .specific_mapping = exynos5_specific_mapping, .reset = exynos5_reset, .quirks = exynos5_quirks, + .blacklist_dev = exynos5_blacklist_dev, PLATFORM_END /*