On 08/16/2013 03:57 AM, Dai Yan wrote:
sorry about that I didn't express explicity. what I wrote is cp15 c15 regsiter . And I found that it cannont be written on my adndale board .
Those would be implementation defined registers which I don't have much experience with. My only suggestions would be to check for hypervisor traps and read and re-read the chip-specific and architecture documentation.
Christopher
2013/8/16 Dai Yan <kanshuzhi@gmail.com mailto:kanshuzhi@gmail.com>
Could someone help me with that? Previously i always do writing the register from kernel modules but always failed. 2013/8/16 Dai Yan <kanshuzhi@gmail.com <mailto:kanshuzhi@gmail.com>> it seems that the all of cp15 registers cannot be written, I try write it from kernel space(module). Best Regards 2013/8/15 Christopher Covington <cov@codeaurora.org <mailto:cov@codeaurora.org>> Hi Dai, On 08/15/2013 08:15 AM, Dai Yan wrote: > Hello, > > Maybe it's a stupid question. > > I want to modify cp15 register. Which register? > but I found that the register cannont be written,it can ony be read. Is this from user space or kernel space? > Could someone help me with that? > > distribute version: ubnuntu linaro 13.07 arndale board > > kernel:3.10.2+ Christopher