Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp930331lqh; Fri, 29 Mar 2024 01:13:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUkZ6XobVEPUXRpNY9zgNt22V26J99/8z0wBH6lzL657fm9Xy6PCQc8GqWHQdAJYeEa6KnaWwl1+jzWq/Jhl+LhlE6Wa0MKrFDXqY6aHQ== X-Google-Smtp-Source: AGHT+IF6NLjttfYtvrDk0lFfX/ZFtTGxE1urBLa+7uf1GmQSP+1LxGYvq9USUgpua7tJA7mPheuw X-Received: by 2002:a05:6a20:3d94:b0:1a3:aa06:38c1 with SMTP id s20-20020a056a203d9400b001a3aa0638c1mr1598957pzi.13.1711700025814; Fri, 29 Mar 2024 01:13:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711700025; cv=pass; d=google.com; s=arc-20160816; b=tN3cr0TkON7WS05ultQyRALZvlwmQLdPZ0KNEshLFzWa4PFiefWBojCVBdxCB5hksi JLQ3xEs9+ooQ1nxKlQRJoKJR3hmWxR+qCBEgKaZqTnIc7X0CbVT0czsmM9Em4zfU9pDU 5cSBdBQ3MPReBq7XI4DLcIvmBGW2CdD1NHDqW7NlJppb0ZdQ6RKbSuFGDgTfgCUNb5aO TNzQYIMwJkirWWQXn26NJIeLvYpehSx5lKYoSlLa87iWg7N3wZl/fJ9HXOGflsaJgm9P PD0tFTmsw3zQS8uvgLHW8InWWPsJKYnK2Tx6FgeA+gjMm6yRLWuKi6bV1PsVzpdsnTr+ 6Bmg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:mail-followup-to :message-id:subject:cc:to:from:date:feedback-id:dkim-signature :dkim-signature; bh=aKqCS9RJnx7MtsbbEZJJesa57vTOLC1+PYxUbAXMVZs=; fh=994F2tbqTWV7Yj/itZ7Op09cTxmB+jbCaucZ0fsDsvw=; b=TiE4nPw4JYJ9/YI/WvxuRMIjSzTnMH6G77ppH47daG98zjNSOvHt8IBenH8jls1BKS Etq3P579HIcMOHLKbCJUCyChZEzTp3PqSCaTsggriI1VWWb2p8biss2Hw0YVd313bG1R 1Tdq6YCAoqLqvRBvNIAhvJyf7D3YslXHOVeugg9pv3nFK+lfrQlP6/iwNVp5ofTn4Flw zCGmfrUiHcqI5GBVRJn+VSvPsPKlicyK7mJaLCEDc9oayIMLQawzzn7C6+mnP9Vmgf8k YdWxfSdNtZ/IK8GFgr/5g15XyDiEVpdvfqXj3bhz4unooPjaYWU5Ly1HAiICvioCs0mN TNTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm2 header.b=jf6EHeuD; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=xlPP9nEd; arc=pass (i=1 spf=pass spfdomain=sakamocchi.jp dkim=pass dkdomain=sakamocchi.jp dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=sakamocchi.jp); spf=pass (google.com: domain of linux-kernel+bounces-124276-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sakamocchi.jp Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b17-20020a170902e95100b001e0b5ece460si3278558pll.145.2024.03.29.01.13.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 01:13:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124276-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm2 header.b=jf6EHeuD; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=xlPP9nEd; arc=pass (i=1 spf=pass spfdomain=sakamocchi.jp dkim=pass dkdomain=sakamocchi.jp dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=sakamocchi.jp); spf=pass (google.com: domain of linux-kernel+bounces-124276-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sakamocchi.jp Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 933E92891D0 for ; Fri, 29 Mar 2024 08:05:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E8D645BEA; Fri, 29 Mar 2024 08:05:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="jf6EHeuD"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="xlPP9nEd" Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CBDC542079; Fri, 29 Mar 2024 08:05:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.25 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711699527; cv=none; b=W1erBZvRh1Dh/AiN4xBb64j/sFjRFdzmFd9bbp/RUWpvPFVLYCsXWTz7IcYSJ7wzOWe4YzdW8AmCa8sc5ePpMYH6JCvCiCDvkxABjn1YhiTg9dW8E8icXSv+LWi1c7kVFyr6S47iTXBz2iXx+Pn2bbkWEMerSVgaSHJq2Kuw6ps= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711699527; c=relaxed/simple; bh=eYtxuEbsiza1jWjD8sK8LFfazqJBSKLzQPw4+NsDBGg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BiZMxYvGGxXu3Y8mty2mZyBuuP/L946JsMGb0NaJbgeLMSKXjwk7JIEujL7yQbIVp/wPJcJodj1J4GUMeNrFaKswnXcO6dTpo7gJyZeekqX9JuW9foFZM2sggQsuAKrHQy9DmxWUVv1g/VaBpidbxBJitf2gCfDAt3yhCswkPcU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sakamocchi.jp; spf=pass smtp.mailfrom=sakamocchi.jp; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b=jf6EHeuD; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=xlPP9nEd; arc=none smtp.client-ip=64.147.123.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sakamocchi.jp Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sakamocchi.jp Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 9444932009FD; Fri, 29 Mar 2024 04:05:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 29 Mar 2024 04:05:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1711699524; x= 1711785924; bh=aKqCS9RJnx7MtsbbEZJJesa57vTOLC1+PYxUbAXMVZs=; b=j f6EHeuDErAZ4ZHulFf9KjXpvNXD9RjFm+NedskzdHwz3158mqE33iIbo+PRPPGe9 aon329whOHCFBLOrJyqVTqX4V1JJxPBkHSN+JNwCHRXglCNiS9VucXMugBFz7B4p Hnl/mU7gVYQDxhu3b8sbOQoVZBcD5xmDLrKAErogxLzfjoSJPckVozto3EEOQSF6 Z3rohS4bWwvNt349Emf5rwXX6mTpkSixZL2Ez8KWdzh9uXkWMrJZJgI3HLZn4xkC FnwGcoa9/wqjFKkrtBzhluZQFrYUKRkNXnUFxDjATQrF8dm+4vaLbitCNFGJ07nP SE0Rm/zYudyjhbXOMItnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1711699524; x=1711785924; bh=aKqCS9RJnx7MtsbbEZJJesa57vTO LC1+PYxUbAXMVZs=; b=xlPP9nEdFDBrfgDB7WhHaVVzrhuCXHEIqVxzUbRLi/Qe MVoSfZRnrNJB6RNqp5Ar5rTq7I2sCc3Jrrt0AartLl1PzP11u8zyj1qnd3eMojCo SgBe8adup1TtfvPHK3610g5cobS3Lm2m6wGoW1Q9IKlxtfHHdbBSnFgaQepQDJDP dHU8ixw9v9kmBohYug49IvBqMgHam4W3UfJVTsHXWIkvST4UPQytP8eMi/zOBQ6B yGJSXdEELD0VT296NOH4s5V41A+x0XijoINEhuGEhd0wtHqhSvwELusbC/jqIKHp GJHrOb8LiDwtLyNFprxgFjKBeGBYJispNhOEJAs4+g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledruddvtddgieefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefukfhfgggtuggjsehttd ertddttddvnecuhfhrohhmpefvrghkrghshhhiucfurghkrghmohhtohcuoehoqdhtrghk rghshhhisehsrghkrghmohgttghhihdrjhhpqeenucggtffrrghtthgvrhhnpeehhffhte etgfekvdeiueffveevueeftdelhfejieeitedvleeftdfgfeeuudekueenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehoqdhtrghkrghshhhise hsrghkrghmohgttghhihdrjhhp X-ME-Proxy: Feedback-ID: ie8e14432:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 29 Mar 2024 04:05:22 -0400 (EDT) Date: Fri, 29 Mar 2024 17:05:20 +0900 From: Takashi Sakamoto To: "edmund.raile" Cc: helgaas@kernel.org, linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH v2] PCI: Mark LSI FW643 to avoid bus reset Message-ID: <20240329080520.GB231329@workstation.local> Mail-Followup-To: "edmund.raile" , helgaas@kernel.org, linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org References: <20240325012135.36861-1-o-takashi@sakamocchi.jp> <20240325144149.GA1432902@bhelgaas> <20240326131858.GA140624@workstation.local> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: > > __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