From: msalter@redhat.com (Mark Salter)
To: linux-arm-kernel@lists.infradead.org
Subject: arm64 ioremap question
Date: Tue, 15 Oct 2013 11:20:04 -0400 [thread overview]
Message-ID: <1381850404.27955.9.camel@deneb.redhat.com> (raw)
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
next reply other threads:[~2013-10-15 15:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-15 15:20 Mark Salter [this message]
2013-10-15 15:52 ` arm64 ioremap question 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1381850404.27955.9.camel@deneb.redhat.com \
--to=msalter@redhat.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.