Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755368AbbGUObt (ORCPT ); Tue, 21 Jul 2015 10:31:49 -0400 Received: from www.linutronix.de ([62.245.132.108]:33620 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753980AbbGUObs (ORCPT ); Tue, 21 Jul 2015 10:31:48 -0400 Date: Tue, 21 Jul 2015 16:31:12 +0200 (CEST) From: Thomas Gleixner To: Toshi Kani cc: mingo@redhat.com, hpa@zytor.com, akpm@linux-foundation.org, travis@sgi.com, roland@purestorage.com, dan.j.williams@intel.com, mcgrof@suse.com, x86@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Borislav Petkov Subject: Re: [PATCH RESEND 2/3] mm, x86: Remove region_is_ram() call from ioremap In-Reply-To: <1437088996-28511-3-git-send-email-toshi.kani@hp.com> Message-ID: References: <1437088996-28511-1-git-send-email-toshi.kani@hp.com> <1437088996-28511-3-git-send-email-toshi.kani@hp.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 695 Lines: 18 On Thu, 16 Jul 2015, Toshi Kani wrote: > Note, removing the call to region_is_ram() is also necessary to > fix bugs in region_is_ram(). walk_system_ram_range() requires > RAM ranges be page-aligned in the iomem_resource table to work > properly. This restriction has allowed multiple ioremaps to RAM > (setup_data) which are page-unaligned. Using fixed region_is_ram() > will cause these callers to start failing. Which callers? Thanks, tglx -- 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/