From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 727D23C4169 for ; Sun, 14 Jun 2026 13:55:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781445324; cv=none; b=D5w2z5iMiNMHSiJmkcdeqA2qYf7RtG9Nv9xa9Fu3vwMz1Q6Q2B6wvY5LAdmg5NWLe9vW4FqqXdkAu+LW63SOUOiHoFj8DLd9hAndxefn/ZQThR4PUM2+FFHOJcQZ2NC3C2uBnyHQuxbjgtryrOZdCOJxkC3cX7faV+o6on0pSdg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781445324; c=relaxed/simple; bh=FOTH5pbLKjMo/q/s3k+tCEF1O8WkvwOAfvZCQa/ce3g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=K1014PhxixoDAOUTmnuAnDDjS0rcl9JoXO1/ti0T0YFyuLmw4dHeJeti8aE/SqBi7VVW7563jxVXSpz8Q+Ohb6FybZWG7Li2hNyXYJehpm+7RvJTQQQ1oAcuHSx7xoetxCrYzt+TBo4IObYfmRGXJpwhyeS+UIG3IilTxE9yYc4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=HrkcoHlS; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HrkcoHlS" Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-bec354815b9so220624966b.3 for ; Sun, 14 Jun 2026 06:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781445322; x=1782050122; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OihU9r8K3X5JHSCdMwb8k3zIs2scuLguMW/J6GvYRFQ=; b=HrkcoHlSh+0EJqMPgjt/jB1PZPA//G8HN0fhOJ9WCIbcbZ5fdZxZxKgY/K/LKkhk2l dJk9Uj4j5aHvu3DVrlQAda0Dq2VRJCC1y55YubMzsnbVFCtWJX4u7A5y8T17O9sjUqWA ZV31FzHWIZ1oYu7HNiGdH+pbxURbNe2nsEY4eAeWKmJyH8tXE+EzJWBjpQpXoaiWswBV TLYzrwpQ+ljTQiDkiku9F0uj5l36pz90yo4AR9VagwF2sxhk7tzyZZTh2ORq/3Fqwv0H uPTlCBVGxJ4BCvwGeNaEdaPw5kSSvDPlEKdXIFQjuI/CL7ia9/N2PfA0KU8sRrZ9aMD7 pwPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781445322; x=1782050122; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=OihU9r8K3X5JHSCdMwb8k3zIs2scuLguMW/J6GvYRFQ=; b=HnHJsm310o56P1HrUINCINbLmK2oPog2ZB2AQwR6xEt04YglNagUAeE6McpssmerGS K9i8HjYqf2tzQqqFph+9IKnstdqY3a/0baJkFDhIYDxKvrrLR8parNiJeatrtgP0sJNK 5Zjn4biUQipaJyWEerBWni4+bKvKi8zEG/5Q6U929lAispCfXe1OcBDbJyrIUyMk1QXO bh++QZetHEgUtcK+p6NWVFsekFpRvYg1Tbr9KNmk1EAY9qjU5rqgO1hBxf7Pj2FEy9IC jdLIG1Y/QU7PDeYVSel9VSFWuyQOZ5+JKVUwd81NA0vKJ3i5wBaOddWCukkAOlmUZmZO ZZrQ== X-Forwarded-Encrypted: i=1; AFNElJ+hrSl40WMg2FrqiELXyIR4X5YzSx1WTTIMBs2yci0XIoJrIkMP1H1GEpTABkk0B8OQYG6djplib22vsRA=@vger.kernel.org X-Gm-Message-State: AOJu0Yxk3CZxxA/15vIFwsTPOSwPM23qp9dPNPqIsLyvNcFxNF+k91UW +QA52PqW7yVgmfrBqXwyvBuVWKY5iUX2hvW9FkrpBA5IW8ZG3Um9EZ7U033uSMLKxvQ= X-Gm-Gg: Acq92OF0NRAXSyqsPAv0wKXJ9MemlE3tK6egov/TbsrM4531xQTbKOKVDKnpuwTZNAB pi2f1Ud/U2h5a9JfaP+C7/2ljblLiN9kGzzLSaF9VEd09awXEGMEsmYUN5Jwoih6SyOWfkT7my6 shL599/TQmSnNZmELquz2XQYhOfKpHCK57LIgduMYQGnEiNN9Cd+0wYnad+ycxm3sri2nK8a19R JzET3hTWMIX9Ovt5GWdMGK5uaIJmJn5lCdWtmurlJgH7dxemKO1aBia4oyKwt97ovd6SDtwYZ2s VwTws/6WMmB3schZEKuYxhSryXpBfQaeowFkaNpB/ZtxGZGeJerXeVLboahUpPUhLKVW+x4F6Vo /huEkIP4QBXUeKl6p1og+HNVp2oxKCVHn58PCIO62lU9onqIcM536HEazt03hcRUML/N9VMFkUw vVxQb9XmdmoeZ1q/OAwbR/9se5EQff1/gu X-Received: by 2002:a17:907:d19:b0:bfb:ced2:2f83 with SMTP id a640c23a62f3a-bfe26f34566mr445878866b.17.1781445321508; Sun, 14 Jun 2026 06:55:21 -0700 (PDT) Received: from localhost ([37.185.178.0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-bfdb522167dsm321105766b.25.2026.06.14.06.55.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jun 2026 06:55:20 -0700 (PDT) From: William Hansen-Baird To: pkshih@realtek.com Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, William Hansen-Baird Subject: [PATCH rtw-next 0/3] wifi: rtlwifi: fix ASPM AER flooding on RTL8723BE devices Date: Sun, 14 Jun 2026 15:55:05 +0200 Message-ID: <20260614135508.70307-1-william.hansen.baird@gmail.com> X-Mailer: git-send-email 2.54.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This flood of AER error messages for the RTL8723BE is not unique to subsystem ID 17aa:b736. Commit 77a6407c6ab2 ("wifi: rtlwifi: disable ASPM for RTL8723BE with subsystem ID 11ad:1723") targets the same issue for subsystem ID 11ad:1723. The fix applied in that commit, however, does not correctly disable ASPM. It merely disables driver control of ASPM. Patch 1 fixes the previous commit such that it properly disables ASPM for subsystem ID 11ad:1723. Patch 2 converts the if-statement check of subsystem IDs to a pci_device_id table matched with pci_match_id() such that future subsystem IDs can easily be added if they have the same error. Patch 3 adds the subsystem ID 17aa:b736 to the pci_device_id table to disable ASPM for it. Testing on a Razer Blade 14 2017 showed this stops the AER error message flood and wifi works as it should. William Hansen-Baird (3): wifi: rtlwifi: fix disabling of ASPM for RTL8723BE with AER flooding wifi: rtlwifi: convert pci if-statement to ID table wifi: rtlwifi: disable ASPM for RTL8723BE with subsystem ID 17aa:b736 drivers/net/wireless/realtek/rtlwifi/pci.c | 27 ++++++++++++++-------- 1 file changed, 18 insertions(+), 9 deletions(-) -- 2.54.0