From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796203289; b=lMIdRGJ5f0ABIcQHWP75JixwTCcDOfmVSWmpn7EDp61xwLKKb3BAqfteg9PQGWbjk4aA scRxgnIJ/xSyvAuS61JBBhcWL+Szp7Xo7ar3VwcRq2tZEC/O7V6Coqb7cOs58zXtH1G41 MPvY3MkZNmIy5kygfd2qxRieKLLtOMUYW2N8GM7z0cJOVk33/z72gPfZqyr3Olb0impUl FCGvQUTb5dAqpZGmeSfR/2MKgw3oTvradX4nt4diEt0H8pNLunBZKRBurbM5HlRdg5WhQ 1XiZ4XnyJl64XvlGBw3QCXHUfVG0MXI0yTi9VCFiPq9M97FwC0iHrdku1yXht+wdlrA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796203289; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=oKZ6v38FwcONaBVJfNNnwfeFraTkTIA1E/HEVCdU91Y=; b=3RdBQk/p/+C0EHQ+i5dYUNGF3NXljZvi1ixEgdP3xH0RhPFytNxcvrJI0jUzItCjWbuS C+YGfUFoOo25iarm1/c60T57Ih30GWSC1Ni7thU/FyR3ssfUTN68Y3hMBnba1cgDNO23G WC6LxecwcK7KK8bmuFRel1E7x5vNvF+dkjydwd+EFX+aD+HGFqav0OLxB+zdVTG2Mfea9 A0YJ2EByRg+uhlIXBjRF1Eu8juDq7TUADk9z8Nub8bAaghj19YTVwOuViKV3tfB+JiM2q 1I0b4+V2DOYJxuLlvkPutwJh61HBZnYnydDp3+1Cp9GbN6stom7QcHqiBnEB3wkpjKA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Pwvf3ckI; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B432A606A339; Wed, 2 Dec 2026 09:21:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Pwvf3ckI Received: by smtp.kernel.org (Postfix) with ESMTPSA id 465321F00896; Wed, 2 Dec 2026 09:21:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796203289; bh=oKZ6v38FwcONaBVJfNNnwfeFraTkTIA1E/HEVCdU91Y=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Pwvf3ckIgfyfxzC9GukS7QK5ShP8HGXwtAq8CynmNaDhu/RGVob14n32/p27oLcNx B9bZiZrPSY984DO7NjMZ80ZMkB4V+XmH1Od8hq+tIFWlLRe/rYrAaVp4D0wKOp98x4 BQ4tb1UvwZT4qQRXW6d41OSdw0M4aTN22N5xXek1X/LHp9CQkF4swYZM/1Usm9n4c7 yq46jzxJWew6QCZwBrXL5T0NxS788N+kr4hX2hL2T1HK6z/E/Hrq1w5FVlIKdMb4jb JUPfoVXGoJKqZRixAmzdHiiV9Sk+/b0oJb2KcEQDm2RyQolNwXMLWsdEJzqqFFionq 3bEnc8K522hIQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 1/2] vfio/pci: Find the start of an abutting extended capability Reply-To: sashiko-reviews@lists.linux.dev To: mhonap@nvidia.com Cc: kvm@vger.kernel.org, linux-cxl@vger.kernel.org In-Reply-To: <20261202091105.1674275-2-mhonap@nvidia.com> References: <20261202091105.1674275-1-mhonap@nvidia.com> <20261202091105.1674275-2-mhonap@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2026 09:21:28 +0000 X-Mailing-List: kvm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] vfio/pci: missing Fixes trailer for abutting extended capability start lookup -- commit e03c58b536a2d7efffec688f5ba3ace062705c91 Author: Manish Honap > vfio/pci: Find the start of an abutting extended capability > > vfio_find_cap_start() walks through pci_config_map while the bytes hold > same capability ID. When two DVSEC's are back-to-back, we cannot > correctly tell what is the start of second capability. Due to this > the offset into the second capability resolves to the start of first > capability. > > For above case, walk the extended vconfig capability chain for > determining the correct start of the abutting capabilities. > > Standard capabilities keep the walk back through the map. > > Signed-off-by: Manish Honap [Severity: Low] This fixes extended capability start resolution in vfio_find_cap_start() wh= en extended capabilities with the same capability ID abut each other. Should this include: Fixes: 89e1f7d4c66d ("vfio: Add PCI device driver") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261202091105.1674= 275-1-mhonap@nvidia.com?part=3D1