Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1047469lqe; Sun, 7 Apr 2024 16:51:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXq15ue1E9XiJDPEMrz+MTi3NxVTPKD7PexsiVHmDLc6aeaMWny5lmM4QQz3tjE9WSp1Y/ciFTlPvYFmRMNTk7dTStvpc3Seqhvn2QhNQ== X-Google-Smtp-Source: AGHT+IGkMGNEtUDBv0ZuSMaY+fR3Luum795Zb9XvFyc5Y7gXYvVASPNfMPQESXzMF7cEDdoDS8Zc X-Received: by 2002:a05:6a21:4982:b0:1a3:e2c6:6ea6 with SMTP id ax2-20020a056a21498200b001a3e2c66ea6mr5703785pzc.23.1712533916092; Sun, 07 Apr 2024 16:51:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712533916; cv=pass; d=google.com; s=arc-20160816; b=igBrW5BDKCQmI8BFE23rxJrAJzvszi0QN2dkmlrhdLbosmkepcV8wzajZ1yaWkw2FJ MmDvFhGuAZN8DlCOIU5QH83B3W2kPsuPS0gmlGHlqYbiJkIukJ5rvxjPYjmGGuLgVd5B 2WxVdexxOnS7IIHXFLD3ND8siNbKUWqecN7Lf8fyEMp+NxY1uumbPTb23NGb5aKHRJwK lBzIFLiRK/LhLlUP4s8AD7OGgFO+JDC/4/2wsRXjKk9XMfOp/6Of+aIZVlEGCi73mBm6 KjdDdz4WMydE9LCBx+VqqKo+CxQPxPHgk5P8gIlVutY5A330rAezvd8L0zwXfexxjFEg RWBQ== 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:message-id:subject:cc :to:from:date:dkim-signature; bh=Kef363EYXfDYihOaqf6sCRcNFe1o/jzmYF82QpuU9/A=; fh=FC1bNz/OlmBAeF5DmByUSaecAddE1oikMZmzYpMXwfM=; b=URxWZyYLJh2cgLJQ7lHRdzlePCaO18v20qepbpJFyT4fIoLpTInpXWQvNMMQCitok3 NqeU2ctjXq4dy7i9gHDyPBBBNdQus1gsElxJ/Kf2zosuhf51osSDPXR7CKUa/h5zC94k TrWcadzWtppYEvOueEP2XaJk9fQ/hjWZYvq5diiKzHtmpjII3Hevgd5LrieVGZDPR5Mx oVF87aBsUK5nhAUSBmqjMQGy8AqfALr31I4MY/QHTFKmXCNbWQ1wky5NeCehjVDmhtxf whaE7I1zm4fUYleIgtJUU1mQ+jelNbz0/r8vJ81BZoIoUkqigHgx2jYxiFk5JjrUe7zy O0GA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EIReazuM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-134673-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134673-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a24-20020aa78658000000b006ea809f7f49si5124772pfo.145.2024.04.07.16.51.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 16:51:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134673-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EIReazuM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-134673-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134673-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BE92D283297 for ; Sun, 7 Apr 2024 23:51:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19CAE44C85; Sun, 7 Apr 2024 23:51:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EIReazuM" 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 39FC547F48; Sun, 7 Apr 2024 23:51:47 +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=1712533908; cv=none; b=IkiHc6xR3kHhwzB+fKtVPSSmLzUb3xJuxVEglYbTyNmOAZy1zJAnFdTq3ohJNlbOrmLL2Iqthk60sSOggyw7WHAFfUDItHyRZBkMZESMJnMqioH71QVBL3ORmO4jHxa56FaLIObYunccdCZffaW7wkgJib8P11SnR4LVhQVBDdo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712533908; c=relaxed/simple; bh=c9AV06zEDRUY+STVK91qqsfok0ys+fFnMj1b/OQ26rM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AQHWIfoTbt2Jt3XH2BqLy7SRv4SaxB3y7PhohP0L6laUGZGJlqyQAs+Reriawzg6Ux9MuX99Z4zhz2DtFOfLCdoIBQ8V6Mw4MjrtkbuP+PBRrSkZZSk7iLmWNc2UAnKuO4FuiTYDW7XYSMr2GycGLDJAuossvFT44a5hirrcOlo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EIReazuM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8822EC433C7; Sun, 7 Apr 2024 23:51:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712533907; bh=c9AV06zEDRUY+STVK91qqsfok0ys+fFnMj1b/OQ26rM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EIReazuMf6MdO3iR1+tKwywe+60c9OzkvrxOUMH6dPKrnbHe5g1lCdir4dO9DRjAE nK3LX6TE1p5p9tUSPZ8Yb0BmO3q/fkmYw0B9N23mplDdLU8qYq/GTR/ncrNG2pM64e pZWVH9DNCxJ0Sgz80B79fChTNAHE8PwtYNqzgBwWJzGmHJv8OMJ2QmHyJp/29IM8I6 rkiWfKFVjwMbtef5Is1CyBpyH+Uq8F+mkN+maRHScF8hPH9wD+b9FEyGwwHc+KWvHB nPS+0EfWSGzhyBVD+ygmfO23/Zlfs4x1uVUf40iX0N8o4Y4smc0NuhMrwYw8QNvoHC jmm/NXqGyrCxA== Date: Sun, 7 Apr 2024 19:51:47 -0400 From: Sasha Levin To: Bjorn Helgaas Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Edmund Raile , Bjorn Helgaas , linux-pci@vger.kernel.org Subject: Re: [PATCH AUTOSEL 6.6 52/75] PCI: Mark LSI FW643 to avoid bus reset Message-ID: References: <20240329124330.3089520-52-sashal@kernel.org> <20240329151702.GA1643117@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; format=flowed Content-Disposition: inline In-Reply-To: <20240329151702.GA1643117@bhelgaas> On Fri, Mar 29, 2024 at 10:17:02AM -0500, Bjorn Helgaas wrote: >On Fri, Mar 29, 2024 at 08:42:33AM -0400, Sasha Levin wrote: >> From: Edmund Raile >> >> [ Upstream commit 29a43dc130ce65d365a8ea9e1cc4bc51005a353e ] >> >> Apparently the LSI / Agere FW643 can't recover after a Secondary Bus Reset >> and requires a power-off or suspend/resume and rescan. >> >> VFIO resets a device before assigning it to a VM, and the FW643 doesn't >> support any other reset methods, so this problem prevented assignment of >> FW643 to VMs. >> >> Prevent use of Secondary Bus Reset for this device. >> >> With this change, the FW643 can be assigned to VMs with VFIO. Note that it >> will not be reset, resulting in leaking state between VMs and host. >> >> Link: https://lore.kernel.org/r/20240227131401.17913-1-edmund.raile@proton.me >> Signed-off-by: Edmund Raile >> [bhelgaas: commit log, comment] >> Signed-off-by: Bjorn Helgaas >> Signed-off-by: Sasha Levin > >We're about to revert this upstream, so I wouldn't backport this to >any stable trees: > >https://lore.kernel.org/r/20240328212302.1582483-1-helgaas@kernel.org I'll drop it, thanks! -- Thanks, Sasha