[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1437491241.3214.211.camel@hp.com>
Date: Tue, 21 Jul 2015 09:07:21 -0600
From: Toshi Kani <toshi.kani@...com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: mingo@...hat.com, hpa@...or.com, akpm@...ux-foundation.org,
travis@....com, roland@...estorage.com, dan.j.williams@...el.com,
mcgrof@...e.com, x86@...nel.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, Borislav Petkov <bp@...en8.de>
Subject: Re: [PATCH RESEND 2/3] mm, x86: Remove region_is_ram() call from
ioremap
On Tue, 2015-07-21 at 16:31 +0200, Thomas Gleixner wrote:
> 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?
They are the callers I noticed.
- Multiple ioremap calls from arch/x86/kernel/kdebugfs.c.
- Multiple ioremap calls from arch/x86/kernel/ksysfs.c.
- pcibios_add_device()
Thanks,
-Toshi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists