[ARM_LINUX] ioremap() allowing to map system memory...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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,
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux