kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* [ARM_LINUX] ioremap() allowing to map system memory...
@ 2013-03-01 11:18 sandeep kumar
  2013-03-01 11:28 ` Prabhu nath
  2013-03-01 17:29 ` Valdis.Kletnieks at vt.edu
  0 siblings, 2 replies; 9+ messages in thread
From: sandeep kumar @ 2013-03-01 11:18 UTC (permalink / raw)
  To: kernelnewbies

Hi All
I am using ARM based board.
In mine,
i did the following...

 void __iomem *tcpm_base = ioremap_nocache(0x03B00000, 10*SZ_3MB);

Actually i didnt reserve the 30MB memory @ 0x3B00000. But still the call is
succesful and i am able to read the memory.

In the logs it is just showing a warning, to fix my driver as i am calling
ioremap() on system memory.

However if i try to write something on that memory, then  only it is
calling panic()..

Don't you think it should throw panic()while calling the ioremap() itself.
Because this sounds like a serious violation...

What say?
-- 
With regards,
Sandeep Kumar Anantapalli,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130301/47ae0267/attachment.html 

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

end of thread, other threads:[~2013-03-04  9:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-01 11:18 [ARM_LINUX] ioremap() allowing to map system memory sandeep kumar
2013-03-01 11:28 ` Prabhu nath
2013-03-01 12:27   ` sandeep kumar
2013-03-02 11:22     ` Prabhu nath
2013-03-02 17:18       ` sandeep kumar
2013-03-04  8:02         ` buyitian
2013-03-04  9:48           ` sandeep kumar
2013-03-01 17:29 ` Valdis.Kletnieks at vt.edu
2013-03-01 17:56   ` Arlie Stephens

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).