From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6AA1DC43603 for ; Wed, 4 Dec 2019 14:28:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 33B4720675 for ; Wed, 4 Dec 2019 14:28:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lF8Mrxxa" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 33B4720675 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5p5Trerb5i+1WkFphPWV3gnQIquULolOLadVdZL7tug=; b=lF8MrxxaLNfNBy R7MTnHe4hgtDQ4R4EtBMw+ohH952Is12Arbh2V5LdLok1gwW/cp9itXji7LS8ggJ0e2ctRT/MCkSC Gfatr2pLGDi3nJC+qkOd+DbIXyrO58m0NoYgNGzpW9dlXOkwsHGDreozaY/Q0b7dICkUpYggZ3Xeg +yK9xTABqCgsR4/mVYcUr489zhxjt21gFPuFOQRSO1KSS7mbJgegKiAuFm0zCu79Zr1Vy1nofjDyR 3M+7ss2lnyOYcyZJtAopbOd+u4c2ToqRpqJAsBOhoLS/Om6lnMpJ2lFKkKkaFScupn2LdKRCLLUrf wRaL0c/sECpOAGVx1KLQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1icVdn-0004r2-Ht; Wed, 04 Dec 2019 14:28:31 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1icVdk-0004qj-HQ for linux-arm-kernel@lists.infradead.org; Wed, 04 Dec 2019 14:28:29 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 822D41FB; Wed, 4 Dec 2019 06:28:27 -0800 (PST) Received: from arrakis.emea.arm.com (arrakis.cambridge.arm.com [10.1.197.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D1F343F68E; Wed, 4 Dec 2019 06:28:26 -0800 (PST) Date: Wed, 4 Dec 2019 14:28:24 +0000 From: Catalin Marinas To: Jerome Forissier Subject: Re: Kernel v5.2+ on HiKey960? Message-ID: <20191204142824.GB26730@arrakis.emea.arm.com> References: <20191204101851.GC13081@arrakis.emea.arm.com> <1c5e497f-4be0-e1f3-4d6d-fed9470d0406@forissier.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1c5e497f-4be0-e1f3-4d6d-fed9470d0406@forissier.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191204_062828_621998_5FD20661 X-CRM114-Status: GOOD ( 18.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vincenzo Frascino , Will Deacon , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Dec 04, 2019 at 02:15:48PM +0100, Jerome Forissier wrote: > On 12/4/19 11:18 AM, Catalin Marinas wrote: > > On Tue, Dec 03, 2019 at 04:43:22PM +0100, Jerome Forissier wrote: > >> Has anyone successfully run kernel v5.2 or later on a HiKey960 board? > >> > >> For some reason, anything past v5.1 doesn't work for me and I could not > >> figure out why. The symptom is it never gets to the login prompt. The > >> root FS is a Buildroot-generated one, and prior to reaching the kernel > >> the board runs TF-A, OP-TEE, UEFI (edk2) and Grub. > >> > >> I tried replacing /init with a shell, in which case I can type a command > >> but whatever it is (even a simple "ls"), the command hangs on exit and I > >> never get back to the prompt. > >> > >> Then I started bisecting, that was quite painful but I found several > >> problematic commits. I ended up reverting the following (in this order) > >> to be able to boot v5.4: [...] > 75a19a0202db is the first bad commit. Its parent: commit 2f1d4e24d91b > ("firmware: arm_sdei: Prohibit probing in '_sdei_handler'") boots fine > [2]. Since reverting 75a19a0202db in v5.2 does not work, I suspect we're > dealing with multiple problems. As I said, the set of reverts above is > the best I could figure out, and believe me I spent several days trying > to troubleshoot this :-/ (that being said, I know nothing about the VDSO > or the arch timer so I could not try anything meaningful other than > reverting some commits). Thanks. There could as well be multiple issues. Since commit 75a19a0202db is cc stable, could you please apply it on top of 5.1 and see if it fails? I don't have a HiKey960 at hand to try this. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel