Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967212AbaFTNyR (ORCPT ); Fri, 20 Jun 2014 09:54:17 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:45871 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965260AbaFTNyP (ORCPT ); Fri, 20 Jun 2014 09:54:15 -0400 Message-ID: <53A43D04.9050105@codeaurora.org> Date: Fri, 20 Jun 2014 09:54:12 -0400 From: Christopher Covington User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: Michal Nazarewicz CC: Mark Salter , Catalin Marinas , Marek Szyprowski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, David Rientjes Subject: Re: [PATCHv2] mm: page_alloc: fix CMA area initialisation when pageblock > MAX_ORDER References: <1402522435-13884-1-git-send-email-msalter@redhat.com> <1403201524.32688.62.camel@deneb.redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/19/2014 03:53 PM, Michal Nazarewicz wrote: > With a kernel configured with ARM64_64K_PAGES && !TRANSPARENT_HUGEPAGE, > the following is triggered at early boot: > > SMP: Total of 8 processors activated. > devtmpfs: initialized > Unable to handle kernel NULL pointer dereference at virtual address 00000008 > pgd = fffffe0000050000 > [00000008] *pgd=00000043fba00003, *pmd=00000043fba00003, *pte=00e0000078010407 > Internal error: Oops: 96000006 [#1] SMP > Modules linked in: > CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.15.0-rc864k+ #44 > task: fffffe03bc040000 ti: fffffe03bc080000 task.ti: fffffe03bc080000 > PC is at __list_add+0x10/0xd4 > LR is at free_one_page+0x270/0x638 > ... > Call trace: > [] __list_add+0x10/0xd4 > [] free_one_page+0x26c/0x638 > [] __free_pages_ok.part.52+0x84/0xbc > [] __free_pages+0x74/0xbc > [] init_cma_reserved_pageblock+0xe8/0x104 > [] cma_init_reserved_areas+0x190/0x1e4 > [] do_one_initcall+0xc4/0x154 > [] kernel_init_freeable+0x204/0x2a8 > [] kernel_init+0xc/0xd4 I just ran into this. Thanks for the fix. Tested-by: Christopher Covington -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/