linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* arm64 ioremap question
@ 2013-10-15 15:20 Mark Salter
  2013-10-15 15:52 ` Russell King - ARM Linux
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Salter @ 2013-10-15 15:20 UTC (permalink / raw)
  To: linux-arm-kernel

ioremap() has a test to prevent RAM from being remapped:

	/*
	 * Don't allow RAM to be mapped.
	 */
	if (WARN_ON(pfn_valid(__phys_to_pfn(phys_addr))))
		return NULL;


Is this really necessary even for reserved pages which are not being
used for anything else?

--Mark

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-15 16:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-15 15:20 arm64 ioremap question Mark Salter
2013-10-15 15:52 ` Russell King - ARM Linux
2013-10-15 15:55   ` Catalin Marinas
2013-10-15 16:14   ` Lucas Stach
2013-10-15 16:53     ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).