From: jszhang@marvell.com (Jisheng Zhang)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] arm64: mm: use pgprot_device for device in phys_mem_access_prot
Date: Thu, 21 Jul 2016 15:13:44 +0800 [thread overview]
Message-ID: <20160721151344.36e29858@xhacker> (raw)
Hi all,
Normally, in arm64, kernel driver maps register space as device nGnRE. But
if we access the register space via. /dev/mem, then the mapping is
device nGnRnE, is there a mismatch here?
the fix is s/pgprot_noncached/pgprot_device in phys_mem_access_prot().
>From armv8 ARM, this mismatch seems not the so called mismatched memory
attributes?
Thanks,
Jisheng
next reply other threads:[~2016-07-21 7:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-21 7:13 Jisheng Zhang [this message]
2016-07-21 16:03 ` [RFC] arm64: mm: use pgprot_device for device in phys_mem_access_prot Catalin Marinas
2016-07-22 6:58 ` Jisheng Zhang
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=20160721151344.36e29858@xhacker \
--to=jszhang@marvell.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 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).