ioremap returns abnormal virtual address

203 views Asked by At

I used ioremap to map a register's physical address 0xf4000000, while it returned a very strange and small virtual address 0x0f690dd5, which caused kernel panic when I executed ioread32(virtual address) next. Ioremap can be executed, but why it return such a strange virtual address?

The experiment runs on aws ec2, bare mental, aarch64. I wonder why this is happening and how can I read this register?

0

There are 0 answers