i inserted a printk in asm/io.h in the __readb function to get some data about mmio transfer. I am able to compile the kernel properly but donno why it crashes at boot time.Can anyone help me with this. what can be the reason for this
crash.this is what i have done.
static __always_inline __u32 __readl(const volatile void __iomem *addr)
{
printk("r bytes 4 addr %p \n",addr);
return *(__force volatile __u32 *)addr;
}
thanks
devvrat