arm64 ioremap question

Mark Salter msalter at redhat.com
Tue Oct 15 11:20:04 EDT 2013


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





More information about the linux-arm-kernel mailing list