Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933405AbbFJTNN (ORCPT ); Wed, 10 Jun 2015 15:13:13 -0400 Received: from mail-pd0-f195.google.com ([209.85.192.195]:34401 "EHLO mail-pd0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751948AbbFJTNF (ORCPT ); Wed, 10 Jun 2015 15:13:05 -0400 From: Min-Hua Chen To: linux@arm.linux.org.uk Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Min-Hua Chen Subject: [PATCHv3 0/2] creating non-section aligned lowmem mappings Date: Thu, 11 Jun 2015 02:59:31 +0800 Message-Id: <1433962773-8402-1-git-send-email-orca.chen@gmail.com> X-Mailer: git-send-email 1.7.10.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 911 Lines: 28 Hi, I found problems when I reserved non-section aligned memory blocks by the device tree. The problem is that the memblock_set_current_limit() point to the first section aligned memblock in the first place (sanity_check_meminfo), but the memblock may be split into non-section aligned memblocks because the memblock_reserve() calls in arm_memblock_init(). *** BLURB HERE *** Min-Hua Chen (2): arm: fix non-section-aligned low memory mapping arm: use max_lowmem_limit in find_limit() arch/arm/mm/init.c | 2 +- arch/arm/mm/mmu.c | 48 ++++++++++++++---------------------------------- 2 files changed, 15 insertions(+), 35 deletions(-) -- 1.7.10.4 -- 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/