From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=211.75.126.72 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796113085; b=N0gS2HXAG3ccqvbmPCYtQq3bUKBMmtOi94ndpL6+1p399JPeNNuKv5yG0IMXCnylY1Mw 3zuKm54M8LMOoJ3JVWdVzMWWaXq5apIy5s9Yjko/X2K1sx6/VqspQfKbH1nm/hpQWgbr/ cAGYomMePNkfKhb1GvE5O8DWnO05vxJIIVcEak5IoTVWqPova/r6Ah3Gu9oSLfcY9lKJG teDbKrvzuITtrB8auXhQBl8RyhEewmxQlaDikV+DbFLIT6v7z47RkP2VvSVQeNxXYp8q8 rEbo3fQxKBF2wsCp0qTHtVluA8wBwsW6n4sTzT/UdKwIii7mZoAAUW1/vNWwBR5jtew== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796113085; h=DMARC-Filter:X-SpamFilter-By:DKIM-Signature:Received:Received: Received:Received:From:To:CC:Subject:In-Reply-To:References: Message-ID:Date:MIME-Version:Content-Type; bh=AduCLIqJycFYahWzBmt0rXnaMQX/1ynEGjDcbrMZdnM=; b=fR3irncFhVtjQ9EttsWTr8y/BfQ5oqKTWubd+JmrE/0OYH6ePABBsjwtj525uYMIZqf7 g2w19OZvY0++KlYKVVp2PHX5jFZ7Yl25ntLJqOgFtqC76kH1lJD92QIK9E7WLCWWFWGc1 iZzJlqZ6ZIfb0BFlIXo+qmYwwXYBLaOybr0GaENqqB/sdFgRu4fsjBTzHO5JlHUmeMZMF LHaMF7eFp18migQLoWMe4Oy/J9/qJq1R0QoBaLkaDMnPxUf3/Z3trvD35EPvbo1Fv69Ua kuieIhuWAYrYKlQCNbKSrDIeEbihIAobSKOD3fa0j9Zr7ABeP2+Kn/DCSh7R6h7Zt8Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=pass header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=CsTdiy7l; arc=none smtp.remote-ip=211.75.126.72 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5413C606A337; Tue, 1 Dec 2026 08:17:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5413C606A337 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.a=rsa-sha256 header.s=dkim header.b=CsTdiy7l X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 6B18Hf4nA4090982, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1796113061; bh=AduCLIqJycFYahWzBmt0rXnaMQX/1ynEGjDcbrMZdnM=; h=From:To:CC:Subject:In-Reply-To:References:Message-ID:Date: MIME-Version:Content-Type; b=CsTdiy7lz175SoIvEuxbQTb7Nu/7m8mQMzCuejUSUtlQPhQ0dhRaaPQuA3KIVBJTq PzkHohKXeO823VzLKDkAWUoescsS+GYAiUYiwMb61GSmJ63tzOjJK5/JGrt2+IHGte knA8uIm8K23VSQItRS2y7RFrgYljoLyj6aEBMnF5h1CGsSJLESuotBg4yyMum+lM8V rU3mKpicrrvME1Ova6SDNNu6wtV/imSHuIRqnlU8TTnX7Tg/jPQ33wZvhqIph+e73U dGSJQm0LuxGpB7vUhHDkqXFz/Afe86adFVpcNMFPDMC3kpCkHGgp6mYS/jSd2iboNt 5Pcx7YcBqggfw== Received: from mail.realtek.com (rtkexhmbs02.realtek.com.tw[172.21.6.41]) by rtits2.realtek.com.tw (8.15.2/3.29/5.94) with ESMTPS id 6B18Hf4nA4090982 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 1 Dec 2026 16:17:41 +0800 Received: from RTKEXHMBS01.realtek.com.tw (172.21.6.40) by RTKEXHMBS02.realtek.com.tw (172.21.6.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Tue, 1 Dec 2026 16:17:41 +0800 Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS01.realtek.com.tw (172.21.6.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Tue, 1 Dec 2026 16:17:41 +0800 Received: from [127.0.1.1] (172.21.40.75) by RTKEXHMBS06.realtek.com.tw (10.21.1.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56 via Frontend Transport; Tue, 1 Dec 2026 16:17:36 +0800 From: Ping-Ke Shih To: Swapnil Shinde , , CC: , , "Swapnil Shinde" Subject: Re: [PATCH v2] wifi: rtw88: pci: Enter IPS before PCI_D3hot on shutdown In-Reply-To: <20261127083729.7030-1-shindeswapnil028@gmail.com> References: <20261127004822.8536-1-shindeswapnil028@gmail.com> <20261127083729.7030-1-shindeswapnil028@gmail.com> Message-ID: <785613e4-0412-4292-83d9-87f8ecd12579@RTKEXHMBS06.realtek.com.tw> Date: Tue, 1 Dec 2026 16:17:36 +0800 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain Swapnil Shinde wrote: > Currently rtw_pci_shutdown() invokes chip->ops->shutdown() and > immediately transitions the device to PCI_D3hot without stopping the > firmware/MAC or notifying Bluetooth coexistence when RTW_FLAG_POWERON > is active. > > On RTL8723DE combo cards, leaving the MAC active across a warm reset > causes REG_APS_FSMCO polling (offset 0x5, mask 0x1) to time out with > -EBUSY (-16) on the next boot. Export rtw_enter_ips() and invoke it > under rtwdev->mutex before entering PCI_D3hot so the driver notifies > COEX_IPS_ENTER, stops the core/MAC, and enters PCIe link power save. 1 patch(es) applied to rtw-next branch of rtw.git, thanks. 28f426f4ef94 wifi: rtw88: pci: Enter IPS before PCI_D3hot on shutdown --- https://github.com/pkshih/rtw.git