From patchwork Wed Aug 28 14:47:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 19587 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f200.google.com (mail-qc0-f200.google.com [209.85.216.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0F85525E58 for ; Wed, 28 Aug 2013 14:48:46 +0000 (UTC) Received: by mail-qc0-f200.google.com with SMTP id b11sf3094710qcw.11 for ; Wed, 28 Aug 2013 07:48:45 -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=rb2AG7Rvz9PoL4SGmZxht+IX9aIRx7p9gf1jZ8W2TuY=; b=CipOrS7pOb5vuUwabFnzWE96yHLtfF7awzf0DHgt/MAKfJHMAG3GIC+LFJf4VDQEPx Xb4KiXU+HBQMwbuBNtmHEld2OMvmqO3XONFsDDxByGzwSPWTRbxbgx/IU/aodjIGq+43 ssfgT9yKcGwxw5+bionOjuElYcm1/0ciq1PhRK7DCLhMnkfvMh3qiGUfYdXMzuk3I91n 8ux6dNWLvw8xXvoCOCQrbFrt5DvgHrZMRQhdaGs3mUBC0eVkVfzvFyxeW1puLQ6lk5Aq X6S99JI7WEUu+3qMMEZFIq6Ui8vexvygundvWb7N6omXH2hS+5su/66cwa9f6OTv5Mez fRqw== X-Received: by 10.236.45.102 with SMTP id o66mr10201780yhb.47.1377701325876; Wed, 28 Aug 2013 07:48:45 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.29.102 with SMTP id j6ls174604qeh.93.gmail; Wed, 28 Aug 2013 07:48:45 -0700 (PDT) X-Received: by 10.52.103.101 with SMTP id fv5mr1101246vdb.31.1377701325773; Wed, 28 Aug 2013 07:48:45 -0700 (PDT) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by mx.google.com with ESMTPS id fw17si6608004vec.142.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 Aug 2013 07:48:45 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.53 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.53; Received: by mail-vb0-f53.google.com with SMTP id i3so4058617vbh.40 for ; Wed, 28 Aug 2013 07:48:45 -0700 (PDT) X-Gm-Message-State: ALoCoQmZuqIct3wyyELXr9soBSYf5jAuseUjP8umPLZu77iMCPCgmhnIu5SyGHTIEQiJy4CjhQZf X-Received: by 10.52.99.66 with SMTP id eo2mr10492906vdb.18.1377701325692; Wed, 28 Aug 2013 07:48:45 -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 u4csp359975vcz; Wed, 28 Aug 2013 07:48:45 -0700 (PDT) X-Received: by 10.194.23.73 with SMTP id k9mr21471777wjf.24.1377701324472; Wed, 28 Aug 2013 07:48:44 -0700 (PDT) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx.google.com with ESMTPS id vt5si9513919wjc.113.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 Aug 2013 07:48:44 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.182 is neither permitted nor denied by best guess record for domain of julien.grall@linaro.org) client-ip=209.85.212.182; Received: by mail-wi0-f182.google.com with SMTP id ey11so3293512wid.15 for ; Wed, 28 Aug 2013 07:48:43 -0700 (PDT) X-Received: by 10.194.120.68 with SMTP id la4mr12541067wjb.33.1377701323910; Wed, 28 Aug 2013 07:48:43 -0700 (PDT) Received: from belegaer.uk.xensource.com. ([185.25.64.249]) by mx.google.com with ESMTPSA id a8sm5590498wie.6.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 Aug 2013 07:48:43 -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 V1 25/29] xen/arm: exynos5: Blacklist MCT device Date: Wed, 28 Aug 2013 15:47:39 +0100 Message-Id: <1377701263-3319-26-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1377701263-3319-1-git-send-email-julien.grall@linaro.org> References: <1377701263-3319-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.53 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 /*