Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
CE:

------------------------------------------------------------
root@xilinx-vc-p-a2197-00-reva-x-prc-01:~# echo 0x2600600 > address
root@xilinx-vc-p-a2197-00-reva-x-prc-01:~# echo 0 > inject_ce
root@xilinx-vc-p-a2197-00-reva-x-prc-01:~# devmem 0x2006000 32 0x12345
root@xilinx-vc-p-a2197-00-reva-x-prc-01:~# devmem 0x2006000
[  176.110595] EDAC MC0: 1 CE Error type:CE MC ID: 0 Addr at 2600600 Burst Pos: 0
[  176.110595]  on mc#0csrow#0channel#0 (csrow:0 channel:0 page:0x0 offset:0x0 grain:1 syndrome:0x0)
0x00012345

For the bit position is also reported 
dmesg | grep "calculate_ce_bit_value" | tail -1
dmesg | grep "calculate_ce_bit_value" | tail -1
[   29.155904] EDAC DEBUG: calculate_ce_bit_value: bit found is  0x00000000
 
UE:
-------------------------------------------------------------

root@xilinx-vc-p-a2197-00-reva-x-prc-01:~# echo 0x2600600 > address
root@xilinx-vc-p-a2197-00-reva-x-prc-01:~#echo "1,2" > inject_ue
root@xilinx-vc-p-a2197-00-reva-x-prc-01:~# devmem 0x2006000 32 0x12345
root@xilinx-vc-p-a2197-00-reva-x-prc-01:~# devmem 0x2006000
345735.933]PMC EAM ERR1: 0xC2000
[345736.112]Received EAM error. ErrorNodeId: 0x28100000, Register Mask: 0x2000. The corresponding Error ID: 0xD
 195.796797]  on mc#0csrow#0channel#0 (csrow:0 channel:0 page:0x0 offset:0x0 grain:[345760.208]PMC EAM ERR1: 0xC2000
Bus error

...