Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753053AbcKQOc2 (ORCPT ); Thu, 17 Nov 2016 09:32:28 -0500 Received: from foss.arm.com ([217.140.101.70]:52420 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751059AbcKQOcV (ORCPT ); Thu, 17 Nov 2016 09:32:21 -0500 Date: Thu, 17 Nov 2016 14:25:29 +0000 From: Will Deacon To: Robert Richter Cc: Robert Richter , Mark Rutland , Ard Biesheuvel , Catalin Marinas , David Daney , Hanjun Guo , "linux-arm-kernel@lists.infradead.org" , "linux-efi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] arm64: mm: Fix memmap to be initialized for the entire section Message-ID: <20161117142528.GJ22855@arm.com> References: <1475747527-32387-1-git-send-email-rrichter@cavium.com> <20161006161114.GH22012@rric.localdomain> <20161017185801.GT25086@rric.localdomain> <20161027160136.GD24290@arm.com> <20161028091905.GM22012@rric.localdomain> <20161107210514.GP20591@arm.com> <20161109195132.GZ22012@rric.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161109195132.GZ22012@rric.localdomain> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 527 Lines: 11 On Wed, Nov 09, 2016 at 08:51:32PM +0100, Robert Richter wrote: > Thus, I don't see where my patch breaks code. Even acpi_os_ioremap() > keeps the same behaviour as before since it still uses memblock_is_ > memory(). Could you more describe your concerns why do you think this > patch breaks the kernel and moves the problem somewhere else? I > believe it fixes the problem at all. acpi_os_ioremap always ends up in __ioremap_caller, regardless of memblock_is_memory(). __ioremap_caller then fails if pfn_valid is true. Will