Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756136AbaJXKSt (ORCPT ); Fri, 24 Oct 2014 06:18:49 -0400 Received: from galahad.ideasonboard.com ([185.26.127.97]:44710 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751653AbaJXKSr (ORCPT ); Fri, 24 Oct 2014 06:18:47 -0400 From: Laurent Pinchart To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sh@vger.kernel.org, Marek Szyprowski , Russell King - ARM Linux , Michal Nazarewicz , Joonsoo Kim , Weijie Yang Subject: [PATCH v2 0/4] Low/high memory CMA reservation fixes Date: Fri, 24 Oct 2014 13:18:38 +0300 Message-Id: <1414145922-26042-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.0.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This patch set fixes an issue introduced by commits 95b0e655f914 ("ARM: mm: don't limit default CMA region only to low memory") and f7426b983a6a ("mm: cma: adjust address limit to avoid hitting low/high memory boundary") resulting in reserved areas crossing the low/high memory boundary. Patches 1/4 and 2/4 fix sides issues, with the bulk of the work in patch 3/4. Patch 4/4 then fixes a printk issue that got me puzzled wondering why memory reported under the lowmem limit was actually highmem. This series fixes a v3.18-rc1 regression causing Renesas Koelsch boot breakages when CMA is enabled. Changes since v1: - Use the cma count field to detect non-activated reservations - Remove the redundant limit adjustment Laurent Pinchart (4): mm: cma: Don't crash on allocation if CMA area can't be activated mm: cma: Always consider a 0 base address reservation as dynamic mm: cma: Ensure that reservations never cross the low/high mem boundary mm: cma: Use %pa to print physical addresses mm/cma.c | 68 +++++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 44 insertions(+), 24 deletions(-) -- Regards, Laurent Pinchart -- 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/