System reboot if trigger suspend with HDMI enabled

Hi Nvidia,

Set system to suspend will cause device reboot on BSP 35.4.1 with HDMI design.
$ sudo systemctl suspend

We found this may be caused by HDMI hpd .

Here is our testing result :
(a)System Suspend successfully
Module : 0004 (production module)
Carrier : customer board (display = HDMI )
Image : pure nvidia release image (default display : DP)
Linux_for_Tegra modify :
set cvb_eeprom_read_size = <0x0>;

(b)System Suspend will reboot
Module : 0004 (production module)
Carrier : customer board (display = HDMI )
Image : default nvidia release image + dtb update with HDMI dcb used and os_gpio_hotplug_a include.
Linux_for_Tegra modify :

set cvb_eeprom_read_size = <0x0>;

;
pinmux :
dp_aux_ch0_hdp_pm0 {
nvidia,function = “rsvd1”;
};

gpio :  gpio-input = < 
          TEGRA234_MAIN_GPIO(M, 0)

;
scr : reg@322 { /* GPIO_M_SCR_00_0 */
exclusion-info = <2>;
value = <0x38008080>;
};

Only change display from DP to HDMI , then, set system to suspend will trigger device reboot.

Do nvidia guys any idea what’s happen??

Regards

could you try to set value = <0x38009696>?

Hi WayneWWW,

sure, will let you know later.

Regards

Hi WayneWWW,

if set to <0x38009696> , suspend successfully.

But Will show gic error as BSP 35.2.1

[ 326.418065] ------------[ cut here ]------------
[ 326.418282] WARNING: CPU: 0 PID: 0 at drivers/gpio/gpio-tegra186.c:937 tegra186_gpio_irq+0x1ac/0x1f0
[ 326.418561] Modules linked in: nvidia_modeset(OE) fuse lzo_rle lzo_compress zram ramoops reed_solomon snd_soc_tegra186_asrc snd_soc_tegra186_dspk snd_soc_tegra210_iqc snd_soc_tegra210_ope snd_soc_tegra186_arad snd_soc_tegra210_mvc snd_soc_tegra210_afc snd_soc_tegra210_dmic snd_soc_tegra210_admaif snd_soc_tegra210_adx snd_soc_tegra210_amx snd_soc_tegra210_i2s snd_soc_tegra210_mixer snd_soc_tegra210_sfc snd_soc_tegra_pcm aes_ce_blk crypto_simd cryptd aes_ce_cipher snd_soc_tegra210_adsp ghash_ce sha2_ce cam_cdi_tsc mttcan snd_soc_tegra_machine_driver snd_soc_tegra_utils tps6598x sha256_arm64 sha1_ce loop snd_hda_codec_hdmi sp339ctrl snd_soc_simple_card_utils snd_soc_spdif_tx typec nvadsp snd_soc_rt5640 can_dev nv_hawk_owl nct1008 snd_soc_tegra210_ahub i2c_nvvrs11 snd_hda_tegra snd_soc_rl6231 max96712 lm73 tegra_bpmp_thermal userspace_alert snd_hda_codec tegra210_adma snd_hda_core spi_tegra114 nvidia(OE) binfmt_misc ina3221 pwm_fan nvgpu nvmap ip_tables x_tables [last unloaded: mtd]
[ 326.427044] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W OE 5.10.120-dlap411.rel.1v2.0 #1
[ 326.436223] Hardware name: Unknown Jetson AGX Orin DLAP411/Jetson AGX Orin DLAP411, BIOS 4.1-33958178 08/01/2023
[ 326.446463] pstate: 20400089 (nzCv daIf +PAN -UAO -TCO BTYPE=–)
[ 326.452499] pc : tegra186_gpio_irq+0x1ac/0x1f0
[ 326.456963] lr : tegra186_gpio_irq+0x11c/0x1f0
[ 326.461421] sp : ffff800010003ef0
[ 326.464835] x29: ffff800010003ef0 x28: ffff52dd40e90660
[ 326.470347] x27: ffffc5053642cfe8 x26: 0000000000000018
[ 326.475861] x25: ffff52dd465cf880 x24: ffff52dd46635800
[ 326.481372] x23: 000000000000000c x22: 000000000000004c
[ 326.486886] x21: 00000000000000c1 x20: 0000000000000000
[ 326.492398] x19: ffffc505358cf390 x18: 0000000000000000
[ 326.497823] x17: 0000000000000000 x16: 0000000000000000
[ 326.503249] x15: 0000000000000000 x14: ffffc50536312680
[ 326.508760] x13: ffff8ddf36f61000 x12: 000000003464d91d
[ 326.514272] x11: 0000000000000040 x10: ffffc50536397b60
[ 326.519785] x9 : ffffc50536397b58 x8 : ffff52dd404b74a0
[ 326.525298] x7 : 0000000000000000 x6 : 0000000000000001
[ 326.530810] x5 : 0000000000000000 x4 : 0000000000000000
[ 326.536235] x3 : 0000000000000000 x2 : ffffc50534790d70
[ 326.541573] x1 : 000000000000004c x0 : 0000000000000000
[ 326.546911] Call trace:
[ 326.549363] tegra186_gpio_irq+0x1ac/0x1f0
[ 326.553397] generic_handle_irq+0x40/0x60
[ 326.557589] __handle_domain_irq+0x70/0xd0
[ 326.561614] gic_handle_irq+0x68/0x134
[ 326.565373] el1_irq+0xd0/0x180
[ 326.568531] cpuidle_enter_state+0xb8/0x410
[ 326.572549] cpuidle_enter+0x40/0x60
[ 326.576051] call_cpuidle+0x44/0x80
[ 326.579548] do_idle+0x208/0x270
[ 326.582961] cpu_startup_entry+0x30/0x70
[ 326.586730] rest_init+0xdc/0xe8
[ 326.590145] arch_call_rest_init+0x18/0x20
[ 326.594161] start_kernel+0x500/0x538
[ 326.597660] —[ end trace 2bf9256035dba1ff ]—

Do you have any idea how to fix this kernel dump in BSP 35.4.1 ??

Regards

tegra186_gpio_irq issue is not yet fixed.

Hi WayneWWW,

So , will 0x38009696 be currently solution for HDMI ??
Will this value update to release note??

Regards

Let me try to update release note.

Hi WayneWWW,

thank you.
We will use 0x38009696 for HDMI setting.
and waiting Nvidia team to fix gic error in further release

Regards

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.