From patchwork Tue Sep 10 14:49:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 19925 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8AC33246A4 for ; Tue, 10 Sep 2013 14:49:57 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id oy12sf8075742veb.7 for ; Tue, 10 Sep 2013 07:49:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; 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=uoKLhHk07OgeNMfAikQvZ2CWxFal6ZpVdiWPpxwhQHk=; b=aSn59rvt1aAo2wwEXyxCI6b2lyM1YGcIbQCJOQS/wIAbhO55dXMm+nCDtihPiBWh/s yoMdMHil786/qd2jBTzLO0Vve1KznARQhx3pXZL5duU/nl70ySgT+sT6onjJg/9+ceJh RBo/7GD+FU7OeZIT7sRERrPCcB0YeRZ/G/j5YosAdSiFTQBzPi5oD8vM4y9/zNyCsDUm oEpB7ovYVCBFpsp9f/WoKJsqYlljC3mOMxbAGxWFLoXqb7IkgNqeD4sApQ4OcIhKJmQn wgYxZ4c7w3iZgywV09TN55wu9tWyuMtmHjjoJ/vfOzrsU0VGB8QbrGGry/1rC96ddl4T bTyw== X-Received: by 10.236.51.9 with SMTP id a9mr8652655yhc.41.1378824597409; Tue, 10 Sep 2013 07:49:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.99.72 with SMTP id eo8ls2246291qeb.41.gmail; Tue, 10 Sep 2013 07:49:57 -0700 (PDT) X-Received: by 10.58.119.233 with SMTP id kx9mr22835069veb.3.1378824597089; Tue, 10 Sep 2013 07:49:57 -0700 (PDT) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id q9si4516744ven.145.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 07:49:57 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.176 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.176; Received: by mail-ve0-f176.google.com with SMTP id jx11so4540350veb.21 for ; Tue, 10 Sep 2013 07:49:57 -0700 (PDT) X-Gm-Message-State: ALoCoQnO6Sz4bDr5PHRfLTHVI4jxH22QdhNF+400kxMU9rkJQpODDmQq/y8eB+WMxiULLJcnwH6g X-Received: by 10.58.161.116 with SMTP id xr20mr23078466veb.2.1378824596974; Tue, 10 Sep 2013 07:49:56 -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 u4csp4678vcz; Tue, 10 Sep 2013 07:49:56 -0700 (PDT) X-Received: by 10.14.224.7 with SMTP id w7mr2814383eep.82.1378824595862; Tue, 10 Sep 2013 07:49:55 -0700 (PDT) Received: from mail-ea0-f178.google.com (mail-ea0-f178.google.com [209.85.215.178]) by mx.google.com with ESMTPS id c49si15330267eeg.87.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 07:49:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.178 is neither permitted nor denied by best guess record for domain of julien.grall@linaro.org) client-ip=209.85.215.178; Received: by mail-ea0-f178.google.com with SMTP id a15so3890254eae.23 for ; Tue, 10 Sep 2013 07:49:53 -0700 (PDT) X-Received: by 10.15.54.199 with SMTP id t47mr13685416eew.46.1378824593013; Tue, 10 Sep 2013 07:49:53 -0700 (PDT) Received: from belegaer.uk.xensource.com. ([185.25.64.249]) by mx.google.com with ESMTPSA id i1sm31911644eeg.0.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 07:49:52 -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 v3 22/27] xen/arm: exynos5: Blacklist MCT device Date: Tue, 10 Sep 2013 15:49:10 +0100 Message-Id: <1378824555-16564-23-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1378824555-16564-1-git-send-email-julien.grall@linaro.org> References: <1378824555-16564-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.128.176 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 /*