From patchwork Fri Aug 16 21:05:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 19270 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f69.google.com (mail-vb0-f69.google.com [209.85.212.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3570D25E5D for ; Fri, 16 Aug 2013 21:06:42 +0000 (UTC) Received: by mail-vb0-f69.google.com with SMTP id e13sf2762504vbg.4 for ; Fri, 16 Aug 2013 14:06:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; 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=3aeTu+oAot/0v2HzZTbofK90qD+8QiFyPKN9Gr0CMTw=; b=YIdcuFIlXe3pdseEcuAKGXVDsz2sckLpgosVBenM5jwGHSA0xN0sAID4fNw9sXyNuQ hHqfmv9VLEGQUXDnbBE59F0q0HPDBN12XO6x8tYtC6oBxiHuhO1kJJO0Oy2eQse8V29P 6ySVSxr9OgkYMn4H5sqopmLJmAJxzc8V+7/DVVdc8W91fAhtnSuDXIrS4eO4Fd+ty8RI t7mhZdbBV3DUL5ck7FA6Doj2PiyO5v5ldEyj987Ts9acjJbWm+9v9n5gjhFmqBozzDa3 03QZZvnLk4y7X04EP7cQbIsh+4EUGrJikdfuzmJXso2cYqMeN7IpNYX7fJMldDyxtfkz EnZw== X-Received: by 10.236.54.68 with SMTP id h44mr1261890yhc.21.1376687201734; Fri, 16 Aug 2013 14:06:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.5.197 with SMTP id u5ls1033879qeu.84.gmail; Fri, 16 Aug 2013 14:06:41 -0700 (PDT) X-Received: by 10.220.91.78 with SMTP id l14mr15702vcm.39.1376687201622; Fri, 16 Aug 2013 14:06:41 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id s17si785993vcu.14.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Aug 2013 14:06:41 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id ia10so1775741vcb.6 for ; Fri, 16 Aug 2013 14:06:41 -0700 (PDT) X-Gm-Message-State: ALoCoQlZrGKPAIPujFSgn4zQwe1ozIqNw2SSjuqKk/70W0vNiEx3IH2CjY86z+ADvWQj4xjKPnJt X-Received: by 10.58.230.135 with SMTP id sy7mr15772vec.42.1376687201556; Fri, 16 Aug 2013 14:06:41 -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 u4csp89471vcz; Fri, 16 Aug 2013 14:06:40 -0700 (PDT) X-Received: by 10.194.240.197 with SMTP id wc5mr2631284wjc.23.1376687200374; Fri, 16 Aug 2013 14:06:40 -0700 (PDT) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by mx.google.com with ESMTPS id vt5si1286607wjc.113.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Aug 2013 14:06:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.175 is neither permitted nor denied by best guess record for domain of julien.grall@linaro.org) client-ip=209.85.212.175; Received: by mail-wi0-f175.google.com with SMTP id hq12so1297327wib.8 for ; Fri, 16 Aug 2013 14:06:40 -0700 (PDT) X-Received: by 10.180.183.51 with SMTP id ej19mr523745wic.60.1376687199954; Fri, 16 Aug 2013 14:06:39 -0700 (PDT) Received: from belegaer.uk.xensource.com. ([185.25.64.249]) by mx.google.com with ESMTPSA id b13sm797327wic.9.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Aug 2013 14:06:39 -0700 (PDT) From: Julien Grall To: stefano.stabellini@eu.citrix.com, ian.campbell@citrix.com Cc: patches@linaro.org, andre.przywara@linaro.org, xen-devel@lists.xen.org, Julien Grall Subject: [RFC 22/24] xen/arm: exynos5: Blacklist MCT device Date: Fri, 16 Aug 2013 22:05:54 +0100 Message-Id: <1376687156-6737-23-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1376687156-6737-1-git-send-email-julien.grall@linaro.org> References: <1376687156-6737-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.220.175 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 --- 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 1368a04..036281c 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 /*