Re: UCSI:CCG: AMD Platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On 2/14/2020 7:58 PM, Shah, Nehal-bakulchandra wrote:
> Hi
>
> On 2/13/2020 5:35 PM, Heikki Krogerus wrote:
>> On Thu, Feb 13, 2020 at 02:00:14PM +0200, Heikki Krogerus wrote:
>>>> I am using CCG based UCSI driver without any
>>>> modification.For I2C part i have written custom
>>>> driver.
>>>>
>>>> I have attached the trace out and dmesg crash log.
>>>>
>>>> Please have a look
>>> Thanks for the logs. Can you test the attached diff?
>> Actually, don't try that one. Try this one instead.
> Sure i will update on this on Monday.
>
>
> thanks
>
> Nehal

Patch is not solving the issue. I have attached both trace and dmesg output.

Thanks

Nehal


# tracer: nop
#
# entries-in-buffer/entries-written: 7/7   #P:8
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
     kworker/3:2-268   [003] ....   334.360355: ucsi_register_port: port0 status: change=0000, opmode=0, connected=0, sourcing=0, partner_flags=0, partner_type=0, request_data_obj=00000000, BC status=0
     kworker/3:2-268   [003] ....   334.410534: ucsi_register_port: port1 status: change=0000, opmode=0, connected=0, sourcing=0, partner_flags=0, partner_type=0, request_data_obj=00000000, BC status=0
     kworker/0:4-2368  [000] ....   344.162496: ucsi_connector_change: port0 status: change=4800, opmode=5, connected=1, sourcing=1, partner_flags=1, partner_type=2, request_data_obj=00000000, BC status=0
     kworker/0:4-2368  [000] ....   344.185817: ucsi_connector_change: port0 status: change=0040, opmode=3, connected=1, sourcing=1, partner_flags=1, partner_type=2, request_data_obj=1201685a, BC status=0
     kworker/0:4-2368  [000] ....   345.180458: ucsi_connector_change: port0 status: change=0100, opmode=3, connected=1, sourcing=1, partner_flags=1, partner_type=2, request_data_obj=1201685a, BC status=0
     kworker/0:4-2368  [000] ....   345.263533: ucsi_register_altmode: partner alt mode: svid ff01, mode 1 vdo 1405
     kworker/0:4-2368  [000] ....   345.281688: ucsi_connector_change: port0 status: change=0800, opmode=3, connected=1, sourcing=1, partner_flags=2, partner_type=2, request_data_obj=1201685a, BC status=0
20614] FS:  0000000000000000(0000) GS:ffff8c6c38640000(0000) knlGS:0000000000000000
[  362.320616] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  362.320617] CR2: 0000000000000080 CR3: 00000001979d2000 CR4: 00000000003406e0
[  362.320618] Call Trace:
[  362.320622]  ucsi_unregister_altmodes+0x6c/0x89 [typec_ucsi]
[  362.320625]  ucsi_unregister_partner.part.0+0x17/0x2b [typec_ucsi]
[  362.320629]  ucsi_handle_connector_change.cold+0x62/0x6e [typec_ucsi]
[  362.320631]  process_one_work+0x1e9/0x3a0
[  362.320633]  worker_thread+0x4d/0x400
[  362.320636]  kthread+0x104/0x140
[  362.320638]  ? process_one_work+0x3a0/0x3a0
[  362.320640]  ? kthread_park+0x90/0x90
[  362.320642]  ret_from_fork+0x22/0x40
[  362.320644] Modules linked in: typec_displayport ucsi_ccg ucsi_pci_amd(OE) typec_ucsi typec nls_iso8859_1 amdgpu snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio input_leds snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_hda_codec edac_mce_amd snd_hda_core kvm_amd snd_hwdep kvm gpu_sched snd_pcm ttm snd_seq_midi snd_seq_midi_event snd_rawmidi drm_kms_helper snd_seq drm snd_seq_device irqbypass snd_timer crct10dif_pclmul mac_hid snd crc32_pclmul i2c_algo_bit ghash_clmulni_intel fb_sys_fops aesni_intel syscopyarea crypto_simd soundcore sysfillrect sysimgblt wmi_bmof k10temp cryptd ccp glue_helper sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid hid tg3 sdhci_pci i2c_piix4 ptp cqhci ahci sdhci pps_core libahci wmi video gpio_amdpt gpio_generic
[  362.320679] CR2: 0000000000000080
[  362.320681] ---[ end trace ad3ed17854ca5182 ]---
[  362.320685] RIP: 0010:ucsi_displayport_remove_partner+0xe/0x20 [typec_ucsi]
[  362.320688] Code: 38 00 c7 43 28 00 00 00 00 48 83 c7 10 e8 0a fe b3 c7 5b 5d c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 48 85 ff 74 0f <48> 8b 47 78 48 c7 00 00 00 00 00 c6 40 3d 00 5d c3 90 0f 1f 44 00
[  362.320689] RSP: 0018:ffffac3c42aabdb8 EFLAGS: 00010202
[  362.320691] RAX: 0000000000000008 RBX: ffff8c6bf1526970 RCX: ffffac3c4006d000
[  362.320692] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008
[  362.320693] RBP: ffffac3c42aabdb8 R08: 0000000000000000 R09: 0000000000000038
[  362.320694] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
[  362.320696] R13: 0000000000000001 R14: ffff8c6bf1526970 R15: ffff8c6bf1526800
[  362.320697] FS:  0000000000000000(0000) GS:ffff8c6c38640000(0000) knlGS:0000000000000000
[  362.320699] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  362.320700] CR2: 0000000000000080 CR3: 00000001979d2000 CR4: 00000000003406e0

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux