From: Sreekanth Reddy <sreekanth.reddy@xxxxxxxxxxxx> Date: Tue, 3 Jul 2018 17:48:49 +0530 > Any suggestion/update over my previous mail. I am using 4.13 kernel. I think the issue is that if you are reading a 32-bit word and then interpreting it as a struct full of individual bytes, you have to order the bytes in the structure appropriately for the cpu endianness. Look at the 32-bit value read, it is identical in both the x86 and sparc cases.