From patchwork Tue Jul 19 11:29:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9236771 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 A88206075D for ; Tue, 19 Jul 2016 11:29:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99AEE1FFD6 for ; Tue, 19 Jul 2016 11:29:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E471205AD; Tue, 19 Jul 2016 11:29:50 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E283F1FFD6 for ; Tue, 19 Jul 2016 11:29:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753155AbcGSL3t (ORCPT ); Tue, 19 Jul 2016 07:29:49 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:48732 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752965AbcGSL3s (ORCPT ); Tue, 19 Jul 2016 07:29:48 -0400 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OAK0027I7XLWWA0@mailout4.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 19 Jul 2016 12:29:45 +0100 (BST) X-AuditID: cbfec7f5-f792a6d000001302-c7-578e0f294e33 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 4B.16.04866.92F0E875; Tue, 19 Jul 2016 12:29:45 +0100 (BST) Content-transfer-encoding: 8BIT Received: from [106.120.53.17] by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OAK00IXG7XLP140@eusync2.samsung.com>; Tue, 19 Jul 2016 12:29:45 +0100 (BST) Subject: Re: Odroid U2 Kernel 4.7rc7+ Hang on reboot To: nicolas@ndufresne.ca, Tobias Jakobi , "linux-samsung-soc@vger.kernel.org" References: <1468525055.4843.4.camel@ndufresne.ca> <1468525558.4843.6.camel@ndufresne.ca> <5787EF8E.2010401@math.uni-bielefeld.de> <1468528408.4843.9.camel@ndufresne.ca> <578896DB.7060708@samsung.com> <5788CA67.5090200@samsung.com> <5788E1EB.4030003@math.uni-bielefeld.de> <5788E31D.6010606@samsung.com> <5788E3CB.5080103@math.uni-bielefeld.de> <5788E457.6060202@samsung.com> <5788F449.6060202@math.uni-bielefeld.de> <1468598213.3819.2.camel@ndufresne.ca> Cc: Javier Martinez Canillas From: Krzysztof Kozlowski Message-id: <578E0F28.6010600@samsung.com> Date: Tue, 19 Jul 2016 13:29:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 In-reply-to: <1468598213.3819.2.camel@ndufresne.ca> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLLMWRmVeSWpSXmKPExsVy+t/xK7qa/H3hBj39shZv3q5hsnj9wtBi xvl9TBafTu1ktmhb/YHVgdXj3zF2j80vupk9tvTfZffo27KK0ePzJrkA1igum5TUnMyy1CJ9 uwSujHXHTzEWbOKrONvRy9LAuISri5GTQ0LAROLwi15GCFtM4sK99WxdjFwcQgJLGSV6Lk5j BUnwCghK/Jh8j6WLkYODWUBe4silbAhTXWLKlFyI8meMElM6r7OAlAsDzVx8bAMjSEJEYBKj xIz2b0wQVVeZJV5NXckGUsUsYCrx+O56sA42AWOJzcuXsEEs05JY1trJBrKBRUBVYu1hMZCw qECExKztP5hAbE6g8hNr7zNPYBSYheS8WQjnzUI4bwEj8ypG0dTS5ILipPRcI73ixNzi0rx0 veT83E2MkED+uoNx6TGrQ4wCHIxKPLwJbL3hQqyJZcWVuYcYJTiYlUR4w9j7woV4UxIrq1KL 8uOLSnNSiw8xSnOwKInzztz1PkRIID2xJDU7NbUgtQgmy8TBKdXAqF15cPPLrQ3C2z7F7Z0i HvH0o7hsPNPWkuNTf10MsZy2re9Y5IV4xxDeO53scas5RPkezv4v/1CyrSX138eX5w3s5K/v vXbr4D7+S2kp+jWTOqdI20x/1qPzOb5/Qg63i/YkQ88D66vf3GS0CZoQsbfyaW+kzI2Md6Xr OJlyJvrlGfctvXdNXYmlOCPRUIu5qDgRALeAOB5gAgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On 07/15/2016 05:56 PM, Nicolas Dufresne wrote: > Le vendredi 15 juillet 2016 à 16:33 +0200, Tobias Jakobi a écrit : >> I can confirm that this indeed doesn't work. >> >> chidori ~ # echo 1 > /proc/sys/kernel/sysrq >> chidori ~ # echo s > /proc/sysrq-trigger >> chidori ~ # echo u > /proc/sysrq-trigger >> chidori ~ # echo b > /proc/sysrq-trigger >> >> >> I guess Nicolas is seeing a different or another problem here though. > > Well for me both method hangs. On an extra note, reset inside Uboot > works, but reboot in Linux hang. I tried adding a trace > in syscon_restart_handle(), but the trace is never displayed. I'm > wondering if that handler is ever called, or if it's just that the > serial console was shut down already. > > Any idea what else should I trace ? This is weird... reboot should work. Just to confirm it - can you test following patch in both scenarios (this should fix both of them... at least on Odroid U3 but your board might have different SPL/BL1): -- >8 -- --- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index 58ad48e7b8f7..7d963d36e96d 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -423,7 +423,8 @@ buck2_reg: BUCK2 { regulator-name = "vdd_arm"; - regulator-min-microvolt = <900000>; + //regulator-min-microvolt = <900000>; + regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1350000>; regulator-always-on; regulator-boot-on;