From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B7BCB640; Mon, 23 Feb 2026 02:10:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771812613; cv=none; b=epF/FH2ShD+2Z9//+jnw7f173GD7XC5QznWkl66+a1JQooE68C06t7pruVnNm+H0gfjzdVYRA2Bcvt/AE3QyVpNRybxuVkGgmC+1q+ewNMHnRMOKzslRof8HMLLqV18IDy1U1de3WmA2hcVKiBEgPHkD5bdivFZQhTRitJqCk38= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771812613; c=relaxed/simple; bh=WqE2Ki3DDn4D+xYFR0rEjXZPh6lsto+FPuWr0Uq+X7E=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=CWHN/WQNW+m0pPggRaNUcOWSqufJHbi+sEqnA/a/fZBKOZmMSa3yD/SewHRLv8EYuMe39FEQ6TsHOEOxdyt6V5RrEB/wYCujMgKZnEVqnWAk+UpLmNuG0M3ovDL6x6bp055625dfsVnvstAmABkpiPTLDU1praI3Rqn/MP9Xslw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.b=Jqifmlj9; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.b="Jqifmlj9" X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 61N29P7u84175276, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1771812565; bh=vhUmJifiUzk7U7pvzi/tfytjSa/DgdglV9z1YA/95kM=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=Jqifmlj96xz7FGOVWMzbavfPk6siuqF4dyVFzJoHV2+ND9z8GEs4Is2X5wOdWTBhX QE0RWUB3Vdr4t5K2DNeM7rvZ9ZWleSw1t5XzrjgeeVK0rb6kablm5ftk1rTvxuHKIF QBT+vdNN34xDUSJiivlCI0AbrETYVQkwi6sFmYWigqAGaKiSsW/0StovzBaGbs9OG3 t6H5ITm0DpsRGMZyhzTbp4nlSveStvAqBVw7qNvjHo4J5icnvYEAi7IBmdzE7Ywu/u tX3tdNLAw7X36ggMzdF8DpiaMYl/Y2utW928O7II9j22uu7//Tl25Hp+o9hleTmuY/ FWkUOLHTVKKxA== Received: from mail.realtek.com (rtkexhmbs03.realtek.com.tw[10.21.1.53]) by rtits2.realtek.com.tw (8.15.2/3.21/5.94) with ESMTPS id 61N29P7u84175276 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 23 Feb 2026 10:09:25 +0800 Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS03.realtek.com.tw (10.21.1.53) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Mon, 23 Feb 2026 10:09:24 +0800 Received: from RTKEXHMBS06.realtek.com.tw ([fe80::4cbd:6c6c:b92b:3913]) by RTKEXHMBS06.realtek.com.tw ([fe80::4cbd:6c6c:b92b:3913%10]) with mapi id 15.02.1748.010; Mon, 23 Feb 2026 10:09:24 +0800 From: Ping-Ke Shih To: Fedor Pchelkin CC: Jian-Hong Pan , Kalle Valo , "Kai-Heng Feng" , "linux-wireless@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Bitterblue Smith , Dmitry Antipov , "lvc-project@linuxtesting.org" , "stable@vger.kernel.org" Subject: RE: [PATCH rtw-next] wifi: rtw88: check for PCI upstream bridge existence Thread-Topic: [PATCH rtw-next] wifi: rtw88: check for PCI upstream bridge existence Thread-Index: AQHcok4HmClvoMlInUC8rFkPRHXykrWPjhrA Date: Mon, 23 Feb 2026 02:09:24 +0000 Message-ID: <42615e24cf4a4e19979765b3bdf07d8c@realtek.com> References: <20260220094730.49791-1-pchelkin@ispras.ru> In-Reply-To: <20260220094730.49791-1-pchelkin@ispras.ru> Accept-Language: en-US, zh-TW Content-Language: zh-TW Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Fedor Pchelkin wrote: > pci_upstream_bridge() returns NULL if the device is on a root bus. If > 8821CE is installed in the system with such a PCI topology, the probing > routine will crash. This has probably been unnoticed as 8821CE is mostly > supplied in laptops where there is a PCI-to-PCI bridge located upstream > from the device. However the card might be installed on a system with > different configuration. >=20 > Check if the bridge does exist for the specific workaround to be applied. >=20 > Found by Linux Verification Center (linuxtesting.org) with Svace static > analysis tool. >=20 > Fixes: 24f5e38a13b5 ("rtw88: Disable PCIe ASPM while doing NAPI poll on 8= 821CE") > Cc: stable@vger.kernel.org > Signed-off-by: Fedor Pchelkin Acked-by: Ping-Ke Shih