Re: [PATCH RESEND 2/3] mm, x86: Remove region_is_ram() call from ioremap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]