Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1139255ybm; Tue, 21 May 2019 09:12:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPn+Dr7kjmHO5FPI0owI0glSKuiwqrI2jdYkkhj17EkEuYibSycauuAyLmW9rx29jtHI2y X-Received: by 2002:aa7:9356:: with SMTP id 22mr12157886pfn.188.1558455122075; Tue, 21 May 2019 09:12:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558455122; cv=none; d=google.com; s=arc-20160816; b=mejeSN2K8SWI191zftVsLfc5Zv4Bm4dniiFtbI0be/3g8zj03tE+iiyRYQap7QF/ou X6i9IJrMzZbB7FCTv1eI370hMLwTwyn3FXN3+X4QHqvq9Vccf22BqIa7l2OQtypMQjoO 4Nu9GxUDG/t0VS/sw/Dk7xdXfRblXPKBir6lajOWFAZEXiEirjRSiDnbOittszK6wwul Czkkozrz/Ce0rkqK7JRXRz47aEjKPm3g6mnhFcfii10MUhbFYwHQnAxu+Tp6YPXYnHbX HViS2i2QudHrarfLvS6Z8DuGnpxVfyU/7kPk44Fh2IL2i1qpkkVDqpsjOlUFVG7vCYv8 icrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=UysqLg9L09FEb4RHjwqA5zNnsMPoZabVE3rKqLe6hnM=; b=oYtNBDW/P36e3x+8Io6niOSFaraZ00imd1/3jRfPgt3CQ5Te1hfLHHpmZAi+rah2k5 CsMo7f8laalH5KdTenRwPLIJ7KMn2OXWcMRkLsGjCWZpTLsLGTZg+3CNyPyfxXVgjgyJ U6KOaKILbzcpkm7RstMzCbTYZ7m1Chjg4l93a44HWgcv++04c0+y1Eq/US03538yx1Vq u+mhBSYVRv/wx7IvgotRvtsyFIaL1ukLGeC+baJqmVI4pSY8qn4b0u2H9kzegepwdFg9 KyDom8wSBEbgKEN7MzQsMi1JK48W0FbGx88+1fhUAujAa7KX4PtblaaMQxxcAWmL04e/ TJ7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8si8986753plr.184.2019.05.21.09.11.45; Tue, 21 May 2019 09:12:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728533AbfEUQKT (ORCPT + 99 others); Tue, 21 May 2019 12:10:19 -0400 Received: from ns.iliad.fr ([212.27.33.1]:54762 "EHLO ns.iliad.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727817AbfEUQKT (ORCPT ); Tue, 21 May 2019 12:10:19 -0400 Received: from ns.iliad.fr (localhost [127.0.0.1]) by ns.iliad.fr (Postfix) with ESMTP id 67CFD20814; Tue, 21 May 2019 18:10:17 +0200 (CEST) Received: from [192.168.108.49] (freebox.vlq16.iliad.fr [213.36.7.13]) by ns.iliad.fr (Postfix) with ESMTP id 505B620348; Tue, 21 May 2019 18:10:17 +0200 (CEST) Subject: Re: [PATCH v2 7/9] arm64: dts: qcom: msm8998: Add PSCI cpuidle low power states From: Marc Gonzalez To: Amit Kucheria Cc: MSM , LKML , Bjorn Andersson , Daniel Lezcano , Andy Gross , Jeffrey Hugo References: <49cf5d94beb9af9ef4e78d4c52f3b0ad20b7c63f.1558430617.git.amit.kucheria@linaro.org> Message-ID: <9dfe47bc-9f37-e494-271b-b343205c8073@free.fr> Date: Tue, 21 May 2019 18:10:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP ; ns.iliad.fr ; Tue May 21 18:10:17 2019 +0200 (CEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/05/2019 14:03, Marc Gonzalez wrote: > the system starts to boot, hangs a few seconds, then silently reboots Using extremely high-tech debugging tools (i.e. spraying printk left and right) I traced this one down to: psci_cpu_suspend_enter: 435 psci_cpu_suspend: 171 psci_cpu_suspend: __invoke_psci_fn_smc c4000001 __invoke_psci_fn_smc: id=c4000001 3 0 0 /*** we never return from arm_smccc_smc() ***/ The following dmesg log caught my eye, and might be relevant: ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware If I revert your patch, psci_cpu_suspend_enter() is never called, so we don't tickle the arm_smccc_smc() monster. Could it be that my FW doesn't support PSCI? Regards.