From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752811AbcD2D4v (ORCPT ); Thu, 28 Apr 2016 23:56:51 -0400 Received: from ozlabs.org ([103.22.144.67]:48192 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751907AbcD2D4t (ORCPT ); Thu, 28 Apr 2016 23:56:49 -0400 Date: Fri, 29 Apr 2016 13:56:45 +1000 From: Stephen Rothwell To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Catalin Marinas Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Matt Fleming , Ard Biesheuvel , Arnd Bergmann , Will Deacon Subject: linux-next: manual merge of the tip tree with the arm64 tree Message-ID: <20160429135645.20e288dd@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Today's linux-next merge of the tip tree got a conflict in: drivers/firmware/efi/arm-init.c between commits: 500899c2cc3e ("efi: ARM/arm64: ignore DT memory nodes instead of removing them") 7464b6e3a5fb ("efi: ARM: avoid warning about phys_addr_t cast") from the arm64 tree and commits: 78ce248faa3c ("efi: Iterate over efi.memmap in for_each_efi_memory_desc()") 884f4f66ffd6 ("efi: Remove global 'memmap' EFI memory map") from the tip tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. -- Cheers, Stephen Rothwell diff --cc drivers/firmware/efi/arm-init.c index fac567c3b66a,ef90f0c4b70a..000000000000 --- a/drivers/firmware/efi/arm-init.c +++ b/drivers/firmware/efi/arm-init.c @@@ -143,15 -178,7 +178,15 @@@ static __init void reserve_regions(void if (efi_enabled(EFI_DBG)) pr_info("Processing EFI memory map:\n"); + /* + * Discard memblocks discovered so far: if there are any at this + * point, they originate from memory nodes in the DT, and UEFI + * uses its own memory map instead. + */ + memblock_dump_all(); + memblock_remove(0, (phys_addr_t)ULLONG_MAX); + - for_each_efi_memory_desc(&memmap, md) { + for_each_efi_memory_desc(md) { paddr = md->phys_addr; npages = md->num_pages;