Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp160088lqo; Wed, 27 Mar 2024 09:26:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXdmUgpN/UoTvDFVia6SQBkglI2WWC6SsUNWAD+7m1AiQsDB5hDYG7Qp36JT7Wi+8Kmo/BKGcLH6WeDz38W5uEGeZgfH/MgPEO3je9eLA== X-Google-Smtp-Source: AGHT+IERqvndLWimoPpXa4nfnLSXZc8qiv9OvsAtZgeggm5HuR62/NrMbmp+KRftLoFr0vi1B6P3 X-Received: by 2002:a17:90b:3886:b0:29c:570d:7f5d with SMTP id mu6-20020a17090b388600b0029c570d7f5dmr144058pjb.9.1711556772247; Wed, 27 Mar 2024 09:26:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711556772; cv=pass; d=google.com; s=arc-20160816; b=0jKfybmpZKqY8rnRSxVzcPyLgV/cUe1cFTmmR97zWnxmDmb7C7Rq++EnsySI0sXmcK /1oZ2mc9JFUiYa31PHWimHi/KzMoVdxycLlQr+equ/R9IpFKGhaeb3H6HNpnF8AAeNNQ U9rKghCaAqqaOmAQfIGBvf/wyzwkHcm3emAcUzA1t6h16zhGf/GrzkCVAZJtE9bVVHGe aBLhOZYzVWELf+9JS/fPu8pOzUgiVHFQX6oBAo5/e1iUEhYI2r6vPWnwdIc1LwXk4y6v c2WWX3Zj3kDV/l3xTEjCsvQV2DI+Lghgiluxaq+pSs/4g2x3jORncALFfKoR+dTHZ1pb 2TDA== 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:message-id:subject:to:from:date :dkim-signature; bh=PHMrHu8uWxtzfgM1jJfxrKu8rAzcvm35ynlD6pAc2so=; fh=i2FLBlhg1jBfI+0LjVomMpD7OrBd9rmfOaiY5CUrpb4=; b=Nklv1et3QDWYZc/1w0iX5S1JECU/i1GR9YgixlQuVV4IxDVE3lJ/LkFu6Mgk+NPTra 8pzIb4OTXp3u8K7anjh89s2X/cCUlhRvrc1h5OfHLf9Mp0uuAIqJMgkox9yriQYZHy6B Kj/9qmPV7R56k9QnkIr2TJqyCFXe3CimWcc0EzpW1L3BSzl6nwRdCKs+aYTLshDvDXn9 iuq9GECm+XdI3fsuLor+z+T4x+KGbL/QvAQgSlYVDMXZWEcQRg3aVivJFyglR4EstFFf BbQ3BxL2sUaMWZxLZmE+yezRByD/UzY+KLh4SklFDLvpPOIWsaIuAb2pRJgLpc0ga/gb Q7wg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bo77l+r0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-121474-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121474-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id ot16-20020a17090b3b5000b002a0351cb938si1867392pjb.16.2024.03.27.09.26.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 09:26:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121474-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bo77l+r0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-121474-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121474-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 60A87B2E71D for ; Wed, 27 Mar 2024 15:20:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29D4513172E; Wed, 27 Mar 2024 15:01:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bo77l+r0" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 4A93112DD8C; Wed, 27 Mar 2024 15:01:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711551681; cv=none; b=bUQFzOFVW4PjbkZPEMkCNB+9ASelrGEAjQryuB87FbcJsDUY5MsbZ3wjX5kEmBYOuIodgSyGrUD/4Pxt6H+o6OdTVwVe6xjRM4ALN9fr3clhpc+P7UMydQ0TkRXenBo9z3/6Yl6UarBQ3BO9FAXYJiwlmaI+xI0rhN+A80eOHOo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711551681; c=relaxed/simple; bh=J1IG8WkI6niRQrYbH+CydZSlvMPIcnN9NC49WgCaKEw=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=sIENnrYZbudch08Y6YLDYKVOAHrEdE7DFHUnMPI8REgiaq0aTTgSdBeu3OBVpvvF0MrJdYWOasiedwPGGzdHEW0xy/mV6rZJXL54SFta1xsvK28D526fO0nHqHs9us7IE35EP2JzRQ+F3qr1B8pRwgbMhIOEFg2YgeBUhlcgT30= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bo77l+r0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D73B7C433C7; Wed, 27 Mar 2024 15:01:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711551681; bh=J1IG8WkI6niRQrYbH+CydZSlvMPIcnN9NC49WgCaKEw=; h=Date:From:To:Subject:In-Reply-To:From; b=bo77l+r08VyDZusL1lvJnpzTbDKMRv9t4X1x1fCDXF46NEQyN+IYLIMUCNyueHvI5 MJzQOpz592+f8p7AkgJHyedVolLcSTVW1rlbd4c2xdqkLN/1hUPNgz5k6E31J4f0dR 3wA0Ikqadfq/CFtSAKlsj0vVrJ1Znhs+8aP07qRJNhpBG8mQYhlxtZbCdX2WMOHDU1 dLObMKbsv8ZHgqdgncISiemEknX8SLgv59zuxPyt7SzZh3dr2VvC/eIB669gge5i4G mmSkX67k0fqpWC46zqBAtBYftCYEfgLhyblyADWKH+IjTwDNeUfUUFiokFyjZUib/R anoC4aWasDf5A== Date: Wed, 27 Mar 2024 10:01:19 -0500 From: Bjorn Helgaas To: linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, edmund.raile@proton.me Subject: Re: [PATCH v2] PCI: Mark LSI FW643 to avoid bus reset Message-ID: <20240327150119.GA1502858@bhelgaas> 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: <20240326131858.GA140624@workstation.local> On Tue, Mar 26, 2024 at 10:18:58PM +0900, Takashi Sakamoto wrote: > On Mon, Mar 25, 2024 at 09:41:49AM -0500, Bjorn Helgaas wrote: > > So even without this patch, you are able to pass the FW643 to a VM > > with VFIO, and you don't see any issues caused by VFIO resetting the > > device? > > Absolutely yes, at least in my VM, for recent years to maintain Linux > FireWire subsystem and ALSA firewire stack. So there must be something different between your system and Edmund's. Maybe we can refine the quirk so it avoids the SBR on Edmund's system but not yours. Can you both collect the output of "sudo lspci -vvv" so we can try to figure out the difference? Also a complete dmesg log would be helpful and would contain DMI information that we might need if this is firmware dependent. > > Can you collect the output of: > > > > $ find /sys/devices -name reset_method | xargs grep . Edmund, could you run this command, too? Thanks, Bjorn