Re: [PATCH net-next v2 3/4] r8152: Add irq mitigation for RTL8157/9

From: Birger Koblitz

Date: Sat May 02 2026 - 00:41:42 EST




On 01/05/2026 3:16 am, Jakub Kicinski wrote:
This is an AI-generated review of your patch. The human sending this
email has considered the AI review valid, or at least plausible.
---
r8152: Add irq mitigation for RTL8157/9

This commit clears bits 0, 1, 2, and 7 of USB register 0xcf04 in
r8156_init() for RTL_VER_16 and later, with the stated intent of avoiding
intr URB completions with urb->status == -ESHUTDOWN on RTL8157 and
RTL8159.
Based on the discussion in the parallel thread with Andrew and Michal,
I will drop this part of the series, as the issue this patch tries to
address is harmless, better solved differently, and it affects performance. I will submit a separate patch as bug-fix to remove the same register settings done in rtl8153_unload(), as this also applies to the RTL8157.