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,URIBL_BLOCKED,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 266EAECE58C for ; Fri, 11 Oct 2019 13:03:04 +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 E46B62089F for ; Fri, 11 Oct 2019 13:03:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BuzXP68n"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="i7IIIgkC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E46B62089F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.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:References:In-Reply-To:MIME-Version: Date:Message-ID:From:To:Subject:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AVywp38EEKil5pKg4pxx1SJPin6IlXG7fTkaJ719iUk=; b=BuzXP68nOSTPQu vvcKuvIDvHslZYb4Kt0cS5vXizadLLGoyZLrWZGXw3lRUoJexUGUPQcSNf/1M4azu+C81XuNqriGM Zv3EUc6Gw+nll5vqqpjlnZJf5aw+Y36gymw9w1FjV1ZuGGbNHxIS1g2WRsQlCsXb5Hpp4cAChDuZn svst4RAkNNTkQjuC8le7BV0PLlAw6BkMa47ukW+Fyz9lgwNw4C0YVM9CbUQv2ArqpGDnJUR0dFLwv D343cNpS21p6BzS5OxNjLhloU2eDVsnN1/VjbOCClym3Rtl+lO89KGZvlJUXq9skH/WaHEX7LLxu8 EIIxre1h60h2TKbhblnA==; 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 1iIuZL-0006qN-C7; Fri, 11 Oct 2019 13:02:55 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iIuZB-0006gZ-Sw for linux-arm-kernel@lists.infradead.org; Fri, 11 Oct 2019 13:02:47 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20191011130243euoutp01a0ecde83c9ed2808946412c96bd5564b~MmVXJ3Kt51592115921euoutp01Z for ; Fri, 11 Oct 2019 13:02:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20191011130243euoutp01a0ecde83c9ed2808946412c96bd5564b~MmVXJ3Kt51592115921euoutp01Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1570798963; bh=ujOuHV2I7e1/ftmXN0TUj4a9vime0ZmRbCOCqf92Nlg=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=i7IIIgkCglwjq3mzllF72/U++ucDj+yZRtzk2+B5QNZZSSFeCh4Gp222s3YNTr01U FmxzwJNjSUBZfUmB+wkE6OFHcwkAx/G5TmcrzMMHZczmBRJZdlYeZV20uum6bKK/1P uk1W1JkJoo8cQmZfDH067hPwBnIAI260hcKxzKAE= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20191011130243eucas1p23abcef4906deba93a3b8f2f4a5a3b51d~MmVWzd2ef1983719837eucas1p2x; Fri, 11 Oct 2019 13:02:43 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 77.3D.04309.37D70AD5; Fri, 11 Oct 2019 14:02:43 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20191011130243eucas1p22f49283594e3fcd41f2698ad1e2a488b~MmVWfzY_g2901229012eucas1p2n; Fri, 11 Oct 2019 13:02:43 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20191011130243eusmtrp1a03d80ed86fa74cdc0cc927cf6a83172~MmVWfN0s92561125611eusmtrp1I; Fri, 11 Oct 2019 13:02:43 +0000 (GMT) X-AuditID: cbfec7f4-afbff700000010d5-a5-5da07d731c21 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 78.7A.04166.27D70AD5; Fri, 11 Oct 2019 14:02:43 +0100 (BST) Received: from [106.120.51.15] (unknown [106.120.51.15]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20191011130242eusmtip11519c806a6ec418747196238ff692393~MmVWAYhdh2469024690eusmtip1o; Fri, 11 Oct 2019 13:02:42 +0000 (GMT) Subject: Re: ARM Juno r1 + CONFIG_PROVE_LOCKING=y => boot failure To: James Morse , Sudeep Holla From: Marek Szyprowski Message-ID: <2bf88cd2-9c4f-11dc-4b70-f717de891cff@samsung.com> Date: Fri, 11 Oct 2019 15:02:42 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <7655fb41-cd13-0bc4-e656-040e0875bab8@arm.com> Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFKsWRmVeSWpSXmKPExsWy7djPc7rFtQtiDS7+FbR4v6yH0eL+vuVM FpseX2O1uLxrDpvFgaXtLBZvfr9gt1h+ageLRcsdUwcOjzXz1jB6bFrVyeaxeUm9x+dNcgEs UVw2Kak5mWWpRfp2CVwZa299ZSrYKFCx4eoD1gbGZbxdjJwcEgImEvMm97KB2EICKxglvs7I 7mLkArK/MEq0PPvJBOF8ZpRYcGIbK0zHlp9P2CESyxklWruvQFW9ZZT4/G8xWJWwgKNEw/Rb zCC2iICXxIIHvxhBipgF3jNKPGk9wg6SYBMwlOh62wW2nFfATmLTnitgDSwCqhJtP+Yygtii ArES934cZ4aoEZQ4OfMJC4jNKWAtsfTQQbBlzALyEtvfzmGGsMUlbj2ZD3aRhMAmdolVm5ZB 3e0i8fVHOwuELSzx6vgWdghbRuL05B4WiIZmRomH59ayQzg9jBKXm2YwQlRZSxw+fhFoEgfQ Ck2J9bv0IcKOEnMPnmACCUsI8EnceCsIcQSfxKRt05khwrwSHW1CENVqErOOr4Nbe/DCJeYJ jEqzkLw2C8k7s5C8Mwth7wJGllWM4qmlxbnpqcVGeanlesWJucWleel6yfm5mxiBKej0v+Nf djDu+pN0iFGAg1GJh3eG/PxYIdbEsuLK3EOMEhzMSiK8i2bNiRXiTUmsrEotyo8vKs1JLT7E KM3BoiTOW83wIFpIID2xJDU7NbUgtQgmy8TBKdXAGPEh7rbKH2HBKf41b+vmOhjbOUXcOJu4 +8MC2akOmQJXW/vTdPZEePWukdZYeSl5qdmkGi/FE0c3vOhabXjQQJ9hZ69MqKubvHmQWdqh uTxb/h2L+jaldVGJ3rYK0TtuET93M8x3nPRJMOVwSMtb4S3LLFm9F89JUT5moz+jfK51zypO 7aZYJZbijERDLeai4kQAIa889T0DAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFIsWRmVeSWpSXmKPExsVy+t/xu7rFtQtiDbpSLd4v62G0uL9vOZPF psfXWC0u75rDZnFgaTuLxZvfL9gtlp/awWLRcsfUgcNjzbw1jB6bVnWyeWxeUu/xeZNcAEuU nk1RfmlJqkJGfnGJrVK0oYWRnqGlhZ6RiaWeobF5rJWRqZK+nU1Kak5mWWqRvl2CXsbaW1+Z CjYKVGy4+oC1gXEZbxcjJ4eEgInElp9P2EFsIYGljBLbr9tAxGUkTk5rYIWwhSX+XOti62Lk Aqp5zSixfOpuJpCEsICjRMP0W8wgtoiAl8SCB78YQYqYBd4zSmw8+o4JouMho8T8/plsIFVs AoYSXW+7wGxeATuJTXuugHWzCKhKtP2YC9TNwSEqECuxaa8ZRImgxMmZT1hAbE4Ba4mlhw6C XcQsYCYxb/NDZghbXmL72zlQtrjErSfzmSYwCs1C0j4LScssJC2zkLQsYGRZxSiSWlqcm55b bKhXnJhbXJqXrpecn7uJERhv24793LyD8dLG4EOMAhyMSjy8HxTnxwqxJpYVV+YeYpTgYFYS 4V00a06sEG9KYmVValF+fFFpTmrxIUZToN8mMkuJJucDU0FeSbyhqaG5haWhubG5sZmFkjhv h8DBGCGB9MSS1OzU1ILUIpg+Jg5OqQZGjokRax6HlU29mS/n8fCuz7mJT8NuXsqwLrPld7t1 8dO+FSE9ga3Xjuu/vP5a8b1VWZU6S5rgrRVfG1beDjv4/5DyO6lZV16oLE6+q5l8xaza63Hy 51IB2Sehr5hZXTr+qt3Rmfx8zhHFQPunUw6uP39xu+bbpTMClkaayjDIz31QLOC+KWJ1txJL cUaioRZzUXEiANgB2wXNAgAA X-CMS-MailID: 20191011130243eucas1p22f49283594e3fcd41f2698ad1e2a488b X-Msg-Generator: CA X-RootMTR: 20191011092604eucas1p1ca11ab9c4c7508776914b0eb4f35e69b X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20191011092604eucas1p1ca11ab9c4c7508776914b0eb4f35e69b References: <33a83dce-e9f0-7814-923b-763d33e70257@samsung.com> <20191011100521.GA5122@bogus> <7655fb41-cd13-0bc4-e656-040e0875bab8@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191011_060246_149768_267E2057 X-CRM114-Status: GOOD ( 17.06 ) 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: Lorenzo Pieralisi , Catalin Marinas , Liviu Dudau , LKML , 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 Hi James, On 11.10.2019 12:38, James Morse wrote: > Hi guys, > > On 11/10/2019 11:05, Sudeep Holla wrote: >> On Fri, Oct 11, 2019 at 11:26:04AM +0200, Marek Szyprowski wrote: >>> Recently I've got access to ARM Juno R1 board and did some tests with >>> current mainline kernel on it. I'm a bit surprised that enabling >>> CONFIG_PROVE_LOCKING causes a boot failure on this board. After enabling >>> this Kconfig option, I get no single message from the kernel, although I >>> have earlycon enabled. >> I don't have Juno R1 but I tried defconfig + CONFIG_PROVE_LOCKING and >> it boots fine. > I just tried this on my r1, v5.4-rc1 with this configuration worked just fine. > > My cmdline is: > | root=/dev/sda6 loglevel=9 earlycon=pl011,0x7ff80000 hugepagesz=2M hugepages=512 > | crashkernel=1G console=ttyAMA0 resume=/dev/sda2 no_console_suspend efi=debug > That is a bit strange. Here is a boot log from v5.4-rc1 with pure defconfig: https://paste.debian.net/1105851/ The bisect lead me to the commit c3bc8fd637a9623f5c507bd18f9677effbddf584 ("tracing: Centralize preemptirq tracepoints and unify their usage"), which appeared in v4.19-rc1. It cannot be easily reverted, but kernel built from earlier versions boots fine here with PROVE_LOCKING enabled. I wonder what I do in a different way than You... >>> I've did my test with default defconfig and current linux-next, >>> v5.4-rc1, v5.3 and v4.19. In all cases the result is the same. I'm >>> booting kernel using a precompiled uboot from Linaro release and TFTP >>> download. >> OK, I use UEFI+GRUB but I don't think that should cause any issue. > ... same ... this uboot binary looks like the main difference. > Is it using u-boots UEFI support? Is it possible to turn that off? > > It may that lockdep is just perturbing the size of the binary. It adds an extra 4MB for me. The size of the kernel binary doesn't matter. I've successfully booted larger images, than the once compiled with PROVE_LOCKING enabled. Best regards -- Marek Szyprowski, PhD Samsung R&D Institute Poland _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel