From patchwork Mon Dec 11 07:50:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mylene JOSSERAND X-Patchwork-Id: 10104371 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A2623602D8 for ; Mon, 11 Dec 2017 07:51:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E0C72943E for ; Mon, 11 Dec 2017 07:51:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72BAA29450; Mon, 11 Dec 2017 07:51:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 526362943E for ; Mon, 11 Dec 2017 07:51:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=C6txn4kckWgX0vnGt0g5XHdIb4nf1MyjxA2Z6RlScF0=; b=L/EoxDIpXqWo68 YYim6XbKCwzKyiyI6n4b8O8d1Z/uuakdNVCZMFzmtN6kA3wgcfZb1nmjz3XtR0vnX0Zce69kVGTa/ uiMc310udJJwAcfVDsYVfqQaR64ysb1lPMLhZ4/oOi+GFWLYpFMmPrrm+eK5YqwGyPpqCy9AtMuCL TukihkYwAzpLR0dMjP17h0B6HzyEK1LgreUBRNItz61xGz8uKLGg7MBqN7S3v1ptfdLV90MA4f7Yk TNUiz/kFyApnkCIArusT9hdqiIwb34hf7YfPI6Q+0l6VUiUKxTLZd9aXLD34FsSjyhHPtkxUwQlUg i10dzcFaMQTI6Pe6WAcw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eOIsB-0000My-Q5; Mon, 11 Dec 2017 07:51:36 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eOIrB-0007uP-08 for linux-arm-kernel@lists.infradead.org; Mon, 11 Dec 2017 07:50:37 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id E28EF20732; Mon, 11 Dec 2017 08:50:13 +0100 (CET) Received: from dell-desktop.lan (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 9EFC220390; Mon, 11 Dec 2017 08:50:13 +0100 (CET) From: =?UTF-8?q?Myl=C3=A8ne=20Josserand?= To: maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH 4/4] arm: dts: sun8i: a83t: Set timer node to use phy timer Date: Mon, 11 Dec 2017 08:50:01 +0100 Message-Id: <20171211075001.6100-5-mylene.josserand@free-electrons.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171211075001.6100-1-mylene.josserand@free-electrons.com> References: <20171211075001.6100-1-mylene.josserand@free-electrons.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171210_235033_416389_17C85F67 X-CRM114-Status: UNSURE ( 9.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thomas.petazzoni@free-electrons.com, devicetree@vger.kernel.org, mylene.josserand@free-electrons.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP By default, virtual timers are used. These timers need an offset that must be set by firmware, for example. In case of SMP support, after a reset, this offset is in "unknown" state and produced a hang of the kernel. Use "arm,cpu-registers-not-fw-configured" property allows to use physical timers instead of virtual ones. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a83t.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 3e2aad537972..0fe4b9e5dee1 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -121,6 +121,7 @@ , , ; + arm,cpu-registers-not-fw-configured; }; clocks {