Accessing SM registers of AON from CCPLEX
I tried to access the SM0 register 0x0C160000 of AON from the /dev/mem file to read the Tag and data fields, but an error was displayed. Is it possible to access this register from CCPLEX side?
[ 308.826088] CPU1: SError detected, daif=140, spsr=0x20000000, mpidr=80000001, esr=be000000
[ 308.826189] CPU:0, Error:AON-NOC@0xc600000,irq=479
[ 308.826192] **************************************
[ 308.826194] * For more Internal Decode Help
[ 308.826196] * http://nv/cbberr
[ 308.826197] * NVIDIA userID is required to access
[ 308.826199] **************************************
[ 308.826200] CPU:0, Error:AON-NOC
[ 308.826203] Error Logger : 0
[ 308.826214] ErrLog0 : 0x80030000
[ 308.826216] Transaction Type : RD - Read, Incrementing
[ 308.826218] Error Code : SLV
[ 308.826221] Error Source : Target
[ 308.826223] Error Description : Target error detected by CBB slave
[ 308.826225] Packet header Lock : 0
[ 308.826227] Packet header Len1 : 3
[ 308.826229] NOC protocol version : version >= 2.7
[ 308.826231] ErrLog1 : 0x502a8
[ 308.826233] ErrLog2 : 0x0
[ 308.826235] RouteId : 0x502a8
[ 308.826238] InitFlow : cbb_i/I/0
[ 308.826240] Targflow : multiport1_t/T/hsp
[ 308.826242] TargSubRange : 1
[ 308.826244] SeqId : 0
[ 308.826246] ErrLog3 : 0x0
[ 308.826248] ErrLog4 : 0x0
[ 308.826290] Address : 0xc160000 (unknown device)
[ 308.826292] ErrLog5 : 0x4fc20
[ 308.826294] Master ID : CCPLEX
[ 308.826296] Security Group(GRPSEC): 0x7e
[ 308.826299] Cache : 0x0 – Non-cacheable/Non-Bufferable)
[ 308.826302] Protection : 0x2 – Unprivileged, Non-Secure, Data Access
[ 308.826304] FALCONSEC : 0x0
[ 308.826306] Virtual Queuing Channel(VQC): 0x0
[ 308.826310] **************************************
[ 308.826418] CPU:0, Error:CBB-NOC@0x2300000,irq=477
[ 308.826420] **************************************
[ 308.826422] * For more Internal Decode Help
[ 308.826423] * http://nv/cbberr
[ 308.826425] * NVIDIA userID is required to access
[ 308.826426] **************************************
[ 308.826428] CPU:0, Error:CBB-NOC
[ 308.826430] Error Logger : 0
[ 308.826438] ErrLog0 : 0x80030000
[ 308.826440] Transaction Type : RD - Read, Incrementing
[ 308.826442] Error Code : SLV
[ 308.826444] Error Source : Target
[ 308.826446] Error Description : Target error detected by CBB slave
[ 308.826460] AXI2APB_4 bridge error: RDFIFOF - Read Response FIFO Full interrupt
[ 308.826460] Packet header Lock : 0
[ 308.826462] Packet header Len1 : 3
[ 308.826464] NOC protocol version : version >= 2.7
[ 308.826466] ErrLog1 : 0x320022
[ 308.826468] ErrLog2 : 0x0
[ 308.826470] RouteId : 0x320022
[ 308.826473] InitFlow : ccroc_p2ps/I/ccroc_p2ps
[ 308.826475] Targflow : axis_satellite_grout/T/axis_satellite_grout
[ 308.826477] TargSubRange : 0
[ 308.826479] SeqId : 0
[ 308.826481] ErrLog3 : 0xc160000
[ 308.826483] ErrLog4 : 0x0
[ 308.826490] Address : 0xc160000 (unknown device)
[ 308.826492] ErrLog5 : 0x889f850
[ 308.826494] Non-Modify : 0x1
[ 308.826496] AXI ID : 0x11
[ 308.826498] Master ID : CCPLEX
[ 308.826500] Security Group(GRPSEC): 0x7e
[ 308.826502] Cache : 0x0 – Non-cacheable/Non-Bufferable)
[ 308.826505] Protection : 0x2 – Unprivileged, Non-Secure, Data Access
[ 308.826507] FALCONSEC : 0x0
[ 308.826509] Virtual Queuing Channel(VQC): 0x0
[ 308.826512] **************************************
[ 308.826554] CPU0: SError detected, daif=140, spsr=0x60400145, mpidr=80000000, esr=be000000
[ 308.826639] ras_ccplex_serr_callback: Scanning CCPLEX Error Records for Uncorrectable Errors
[ 308.826761] **************************************
[ 308.826763] RAS Error in SCF:IOB, ERRSELR_EL1=1025:
[ 308.826765] Status = 0xf4009604
[ 308.826768] IERR = CBB Interface Error: 0x96
[ 308.826770] SERR = Assertion Failure: 0x4
[ 308.826771] Uncorrectable (this is fatal)
[ 308.826782] MISC0 = 0x40
[ 308.826784] MISC1 = 0x264a444461
[ 308.826788] ADDR = 0x800000000c160000
[ 308.826797] **************************************
[ 308.826803] ras_corecluster_serr_callback:Scanning CoreCluster Error Records for Uncorrectable Errors
[ 308.826814] **************************************
[ 308.826816] RAS Error in L2, ERRSELR_EL1=512:
[ 308.826818] Status = 0xfc006612
[ 308.826820] IERR = SCF to L2 Slave Error Read: 0x66
[ 308.826822] SERR = Error response from slave: 0x12
[ 308.826824] Overflow (there may be more errors) - Uncorrectable
[ 308.826826] Uncorrectable (this is fatal)
[ 308.826833] MISC0 = 0x80000000400000
[ 308.826835] MISC1 = 0x20240000000
[ 308.826839] ADDR = 0x800000000c160000
[ 308.826845] **************************************
[ 308.826855] ras_core_serr_callback: Scanning Core Error Records for Uncorrectable Errors
[ 308.826891] Bad mode in Error handler detected on CPU0, code 0xbe000000 – SError
[ 308.826895] Internal error: Oops - bad mode: 0 [#1] PREEMPT SMP
[ 308.826936] Modules linked in: fuse zram overlay bnep rtk_btusb btusb btrtl btbcm btintel rtl8822ce cfg80211 spidev userspace_alert nvgpu bluedroid_pm ip_tables x_tables
[ 308.826943] CPU: 0 PID: 7638 Comm: a.out Not tainted 4.9.140-tegra #6
[ 308.826946] Hardware name: NVIDIA Jetson Xavier NX Developer Kit (DT)
[ 308.826949] task: ffffffc1b4394600 task.stack: ffffffc1ddf3c000
[ 308.826953] PC is at 0x400888
[ 308.826955] LR is at 0x40087c
[ 308.826958] pc : [<0000000000400888>] lr : [<000000000040087c>] pstate: 60000000
[ 308.826960] sp : 0000007fe571ef40
[ 308.826967] x29: 0000007fe571ef40 x28: 0000000000000000
[ 308.826972] x27: 0000000000000000 x26: 0000000000000000
[ 308.826978] x25: 0000000000000000 x24: 0000000000000000
[ 308.826983] x23: 0000000000000000 x22: 0000000000000000
[ 308.826989] x21: 0000000000400670 x20: 0000000000000000
[ 308.826995] x19: 00000000004008d8 x18: 0000007fe571edfe
[ 308.827011] x17: 0000007f8cc00950 x16: 0000000000411048
[ 308.827016] x15: 000000000000000a x14: 0000000000000001
[ 308.827022] x13: 0000000000000000 x12: 0000000000000020
[ 308.827027] x11: 0000007fe571ee08 x10: 0000000000000001
[ 308.827049] x9 : 00000000fffffff6 x8 : 0000000000000040
[ 308.827055] x7 : 000000000000000a x6 : 0000000000000020
[ 308.827061] x5 : 00000000045d7287 x4 : 0000000000000000
[ 308.827067] x3 : 0000000000000000 x2 : c4c1e005f3938900
[ 308.827073] x1 : 0000000000000000 x0 : 0000000000400000
[ 308.827078] Process a.out (pid: 7638, stack limit = 0xffffffc1ddf3c000)
[ 308.827084] —[ end trace 668658194534428a ]—
[ 309.318739] ras_ccplex_serr_callback: Scanning CCPLEX Error Records for Uncorrectable Errors
[ 309.327141] ras_corecluster_serr_callback:Scanning CoreCluster Error Records for Uncorrectable Errors
[ 309.336228] ras_core_serr_callback: Scanning Core Error Records for Uncorrectable Errors