Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752760AbcCGNLX (ORCPT ); Mon, 7 Mar 2016 08:11:23 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:36588 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752401AbcCGNLO (ORCPT ); Mon, 7 Mar 2016 08:11:14 -0500 MIME-Version: 1.0 In-Reply-To: <20160307130338.GI19428@n2100.arm.linux.org.uk> References: <56DD795C.9020903@suse.cz> <20160307130338.GI19428@n2100.arm.linux.org.uk> From: "Matwey V. Kornilov" Date: Mon, 7 Mar 2016 16:10:53 +0300 Message-ID: Subject: Re: 4.5.0-rc6: kernel BUG at ../mm/memory.c:1879 To: Russell King - ARM Linux Cc: Vlastimil Babka , linux-mm@kvack.org, Rusty Russell , linux-arm-kernel , LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1222 Lines: 43 2016-03-07 16:03 GMT+03:00 Russell King - ARM Linux : > On Mon, Mar 07, 2016 at 01:51:40PM +0100, Vlastimil Babka wrote: >> [+CC ARM, module maintainers/lists] >> >> On 03/07/2016 12:14 PM, Matwey V. Kornilov wrote: >> > >> >Hello, >> > >> >I see the following when try to boot 4.5.0-rc6 on ARM TI AM33xx based board. >> > >> > [ 13.907631] ------------[ cut here ]------------ >> > [ 13.912323] kernel BUG at ../mm/memory.c:1879! >> >> That's: >> BUG_ON(addr >= end); >> >> where: >> end = addr + size; >> >> All these variables are unsigned long, so they overflown? >> >> I don't know ARM much, and there's no code for decodecode, but if I get the >> calling convention correctly, and the registers didn't change, both addr is >> r1 and size is r2, i.e. both bf006000. Weird. > > A fix has been recently merged for this. Look out for > "ARM: 8544/1: set_memory_xx fixes" > Many thanks, I'll try again with -rc7. > -- > RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/ > FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up > according to speedtest.net. -- With best regards, Matwey V. Kornilov http://blog.matwey.name xmpp://0x2207@jabber.ru