Re: [PATCH v2] PCI: Mark LSI FW643 to avoid bus reset
Brought to you by:
aeb,
bencollins
From: Takashi S. <o-t...@sa...> - 2024-03-29 08:05:32
|
Hi, On Thu, Mar 28, 2024 at 06:35:29PM +0000, edmund.raile wrote: > So instead I ran this: > ``` > su -c 'echo 1 > /sys/devices/pci0000\:00/0000\:00\:1c.1/0000\:03\:00.0/reset' > ``` > Playback stopped immediately and could not be resumed. > > Then I received this trace: > > INFO: task alsa-sink-Firef:4110 blocked for more than 245 seconds. > Tainted: G W OE 6.6.10-1-MANJARO #1 > task:alsa-sink-Firef state:D stack:0 pid:4110 ppid:2657 flags:0x00000002 > Call Trace: > <TASK> > __schedule+0x3e7/0x1410 > ? tlb_batch_pages_flush+0x3d/0x70 > schedule+0x5e/0xd0 > schedule_timeout+0x151/0x160 > wait_for_completion+0x8a/0x160 > fw_run_transaction+0xe5/0x120 [firewire_core d9ff4eaf1ffb23a203d413e851f405323b49fec7] > ? __pfx_split_transaction_timeout_callback+0x10/0x10 [firewire_core d9ff4eaf1ffb23a203d413e851f405323b49fec7] > ? __pfx_transmit_complete_callback+0x10/0x10 [firewire_core d9ff4eaf1ffb23a203d413e851f405323b49fec7] > ? __pfx_transaction_callback+0x10/0x10 [firewire_core d9ff4eaf1ffb23a203d413e851f405323b49fec7] > snd_fw_transaction+0x70/0x110 [snd_firewire_lib 30b43a591db389bbc6be51459cb243ba1fe1e662] > ff800_finish_session+0x43/0x70 [snd_fireface 5f7f3f556960f4838886792be8e9c18aa5089b0a] > snd_ff_stream_stop_duplex+0x39/0x70 [snd_fireface 5f7f3f556960f4838886792be8e9c18aa5089b0a] > pcm_hw_free+0x3c/0x50 [snd_fireface 5f7f3f556960f4838886792be8e9c18aa5089b0a] > snd_pcm_common_ioctl+0xe28/0x12b0 [snd_pcm 24933227879438b755ef98bc4844113025f38cdf] > ? __seccomp_filter+0x32c/0x510 > ? __vm_munmap+0xbb/0x150 > snd_pcm_ioctl+0x2e/0x50 [snd_pcm 24933227879438b755ef98bc4844113025f38cdf] > __x64_sys_ioctl+0x94/0xd0 > do_syscall_64+0x5d/0x90 > ? syscall_exit_to_user_mode+0x2b/0x40 > ? do_syscall_64+0x6c/0x90 > ? do_syscall_64+0x6c/0x90 > entry_SYSCALL_64_after_hwframe+0x6e/0xd8 Please mind that current software stack to operate your device does not support this kind of operation, as I've already sent to you several times. Users should cancel any type of communication on IEEE 1394 bus, then unplug devices from the bus (or power them off), finally operate suspending. By the way, it is apart from PCI subsystem. Your change is now going to be reverted for v6.9. Regards Takashi Sakamoto |