Xavier ADMA ERROR

HI,ALL:

We are in porting kdump,booting the secend kernel,ADMA error,
We suspect that the related registers are not reset.
please help me,thank you:

[ 4.797096] VDD_SDIO_3V3: disabling
[ 4.797174] VDD_CSI_1V2: disabling
[ 4.797247] VDD_5V0_HDMI_CON: disabling
[ 4.797327] ALSA device list:
[ 4.797391] No soundcards found.
[ 4.797656] Waiting for root device /dev/mmcblk0p1…
[ 4.858764] mmc1: ADMA error
[ 4.858854] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 4.858987] mmc1: sdhci: Sys addr: 0x00000000 | Version: 0x00000505
[ 4.859128] mmc1: sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000001
[ 4.859262] mmc1: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 4.859391] mmc1: sdhci: Present: 0x01fb02f6 | Host ctl: 0x00000011
[ 4.859520] mmc1: sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 4.859649] mmc1: sdhci: Wake-up: 0x00000000 | Clock: 0x00002007
[ 4.859778] mmc1: sdhci: Timeout: 0x0000000e | Int stat: 0x00000001
[ 4.859905] mmc1: sdhci: Int enab: 0x03ff000b | Sig enab: 0x03fc000b
[ 4.860036] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[ 4.860171] mmc1: sdhci: Caps: 0x3f6cd08c | Caps_1: 0x18002f73
[ 4.860477] mmc1: sdhci: Cmd: 0x0000083a | Max curr: 0x00000000
[ 4.860976] mmc1: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x03803a88
[ 4.861473] mmc1: sdhci: Resp[2]: 0x09c38000 | Resp[3]: 0x00e29000
[ 4.861981] mmc1: sdhci: Host ctl2: 0x00001008
[ 4.865458] mmc1: sdhci: ADMA Err: 0x00000006 | ADMA Ptr: 0xe6c41200
[ 4.872188] mmc1: sdhci: ============================================
[ 4.961112] SError Interrupt on CPU0, code 0xbe000000 – SError
[ 4.961116] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.2.0-rc6-00015-g249155c-dirty #9
[ 4.961117] Hardware name: NVIDIA Jetson AGX Xavier Development Kit (DT)
[ 4.961118] pstate: 60400089 (nZCv daIf +PAN -UAO)
[ 4.961119] pc : ktime_get+0x0/0xa0
[ 4.961120] lr : sdhci_reset+0x4c/0x130
[ 4.961121] sp : ffff000010003cc0
[ 4.961122] x29: ffff000010003cc0 x28: ffff8003eb67a580
[ 4.961125] x27: ffff000010065210 x26: 0000000003ff003f
[ 4.961127] x25: ffff8003eb67a7f0 x24: 0000000000000000
[ 4.961129] x23: ffff000010dad968 x22: 0000000000000002
[ 4.961132] x21: 000000000000e100 x20: ffff8003eb67a580
[ 4.961134] x19: ffff8003eb67a580 x18: ffffffffffffffff
[ 4.961136] x17: 0000000000001800 x16: 0000000000000000
[ 4.961138] x15: ffff0000112c96c8 x14: 0720072007200720
[ 4.961140] x13: 0720072007200720 x12: 073d073d073d073d
[ 4.961142] x11: 073d073d073d073d x10: 073d073d073d073d
[ 4.961144] x9 : 073d073d073d073d x8 : 073d073d073d073d
[ 4.961146] x7 : 00000000000000f4 x6 : ffff8003ed840f00
[ 4.961149] x5 : ffff0000104f09d8 x4 : ffff000013000000
[ 4.961151] x3 : 0000000000000000 x2 : ffff0000109a7718
[ 4.961153] x1 : ffff000010dad998 x0 : ffff0000134e002f
[ 4.961156] Kernel panic - not syncing: Asynchronous SError Interrupt
[ 4.961157] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.2.0-rc6-00015-g249155c-dirty #9
[ 4.961158] Hardware name: NVIDIA Jetson AGX Xavier Development Kit (DT)
[ 4.961159] Call trace:
[ 4.961160] dump_backtrace+0x0/0x150
[ 4.961161] show_stack+0x14/0x20
[ 4.961162] dump_stack+0xa4/0xcc
[ 4.961163] panic+0x13c/0x32c
[ 4.961164] nmi_panic+0x6c/0x70
[ 4.961164] arm64_serror_panic+0x74/0x80
[ 4.961165] arm64_is_fatal_ras_serror+0x48/0xb8
[ 4.961166] do_serror+0xb4/0x150
[ 4.961167] el1_error+0x84/0xf8
[ 4.961168] ktime_get+0x0/0xa0
[ 4.961169] tegra_sdhci_reset+0x2c/0x280
[ 4.961170] sdhci_do_reset+0x48/0x80
[ 4.961171] sdhci_finish_data+0x120/0x268
[ 4.961172] sdhci_irq+0x36c/0xc8c
[ 4.961173] __handle_irq_event_percpu+0xac/0x180
[ 4.961174] handle_irq_event_percpu+0x34/0x88
[ 4.961175] handle_irq_event+0x48/0x78
[ 4.961175] handle_fasteoi_irq+0xac/0x188
[ 4.961176] generic_handle_irq+0x24/0x38
[ 4.961177] __handle_domain_irq+0x5c/0xb8
[ 4.961178] gic_handle_irq+0x58/0xb0
[ 4.961179] el1_irq+0xb8/0x180
[ 4.961180] _raw_spin_unlock_irq+0x10/0x50
[ 4.961181] __schedule+0x1e8/0x4c8
[ 4.961182] schedule_idle+0x24/0x40
[ 4.961183] do_idle+0x180/0x2a8
[ 4.961184] cpu_startup_entry+0x24/0x28
[ 4.961184] rest_init+0xd4/0xe0
[ 4.961185] arch_call_rest_init+0xc/0x14
[ 4.961186] start_kernel+0x448/0x474
[ 4.961203] Kernel Offset: disabled
[ 4.961204] CPU features: 0x0002,2380aa30
[ 4.961205] Memory Limit: none

Hi keith.wang,

We can’t answer this due to no experience on kdump porting may other developers provide suggestions if can help.

Thanks

keith.wang -

Are you able to share out your patches which apply cleanly over Jetpack kernel 4.9? Or did you just use originals from Akashi Takahiro repo at Linaro?

andy