Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1426200AbdD1PIb (ORCPT ); Fri, 28 Apr 2017 11:08:31 -0400 Received: from bastet.se.axis.com ([195.60.68.11]:39962 "EHLO bastet.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752889AbdD1PIV (ORCPT ); Fri, 28 Apr 2017 11:08:21 -0400 From: Niklas Cassel Subject: [REGRESSION] boot regression in next-20170428 To: , CC: Message-ID: <8138a4bf-30b6-944d-083d-dcee05ce68ba@axis.com> Date: Fri, 28 Apr 2017 17:08:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.0.5.60] X-ClientProxiedBy: XBOX04.axis.com (10.0.5.18) To XBOX02.axis.com (10.0.5.16) X-TM-AS-GCONF: 00 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1409 Lines: 47 Hello Since next-20170428 the ARTPEC-6 SoC (MACH_ARTPEC6) does no longer boot. It works fine with next-20170427. I've bisected it to the following commit: 6d684e54690caef45cf14051ddeb7c71beeb681b is the first bad commit commit 6d684e54690caef45cf14051ddeb7c71beeb681b Author: Herbert Xu Date: Thu Apr 27 13:44:51 2017 +0800 rhashtable: Cap total number of entries to 2^31 When max_size is not set or if it set to a sufficiently large value, the nelems counter can overflow. This would cause havoc with the automatic shrinking as it would then attempt to fit a huge number of entries into a tiny hash table. This patch fixes this by adding max_elems to struct rhashtable to cap the number of elements. This is set to 2^31 as nelems is not a precise count. This is sufficiently smaller than UINT_MAX that it should be safe. When max_size is set max_elems will be lowered to at most twice max_size as is the status quo. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller Enabling earlyprintk does not give any more info, it simply hangs after: JUMP dest=0x2000000 dtb=0x2900000 machine=0x1399 initrd=0x02a00000/0x0021b193 cmdline="earlyprintk debug initcall_debug=1" Uncompressing Linux... done, booting the kernel. Regards, Niklas