Article View: linux.kernel.netdev
Article #23416RE: [PATCH net-next v9 12/12] r8152: enable UPS for RTL8157 and RTL8159 QFN68
From: Chih Kai Hsu
Date: Fri, 27 Nov 2026 08:47
Date: Fri, 27 Nov 2026 08:47
220 lines
26675 bytes
26675 bytes
> Thank you for your contribution! Sashiko AI review found 6 potential
> issue(s) to consider.
>
> Critical: 0 · High: 0 · Medium: 5 · Low: 1
>
> If you believe none of the issues are legitimate, please reply to each issue of
> Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork know
> by including "pw-bot: cr" as a separate line at the end of your reply (one such
> reply per series is enough).
>
> - [Medium] On RTL8157 (RTL_VER_16), the probe/reset_resume path and the
> new runtime-resume path disagree about the backup-restore wait after a…
> - [Medium] r8157_ups_en(tp, false) adds a permanent failure mode to
> runtime resume.
> - [Medium] In the new runtime-resume path of rtl8157_runtime_enable(tp,
> false), r8157_ups_en(tp, false) runs only after r8153_queue_wake(tp,…
> - [Medium] r8157_ups_en(tp, false) polls USB_GPHY_CTRL.BACKUP_RESTRORE
> with a 20 ms timeout after every power cut, for every chip it is…
> - [Medium] When PCUT_STATUS is set, the power-cut recovery branch of the
> new r8157_ups_en(tp, false) waits for BACKUP_RESTRORE, clears…
> - [Low] To force the USB MCU firmware to be re-applied after a power cut,
> r8157_ups_en(tp, false) writes 0 to a hard-coded register,…
>
> --
>
> r8152: enable UPS for RTL8157 and RTL8159 QFN68
>
> This patch adds r8157_ups_en() and calls it from rtl8157_runtime_enable(), so
> RTL8157 and RTL8159 QFN68 enter and exit UPS across runtime suspend and
> resume. It also extends r8156_ups_flags() with per-speed EEE flags and 5G/10G
> speed encodings for these chips. On the UPS disable path the driver waits for
> backup-restore after a power cut, then applies the PHY configuration again.
>
> > diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index
> > e6a5d35403a28..e294e52b426b5 100644
> > --- a/drivers/net/usb/r8152.c
> > +++ b/drivers/net/usb/r8152.c
>
> [ ... ]
>
> > @@ -4496,6 +4534,58 @@ static void r8156_ups_en(struct r8152 *tp, bool
> enable)
> > }
> > }
> >
> > +static void r8157_ups_en(struct r8152 *tp, bool enable) {
>
> [ ... ]
>
> > + if (ocp_data & PCUT_STATUS) {
> > + ret = read_poll_timeout(ocp_read_word, ocp_data,
> > +
> test_bit(RTL8152_INACCESSIBLE,
> > + &tp->flags)
> ||
> > + (ocp_data &
> BACKUP_RESTRORE),
> > + 200, 20000, false, tp,
> > + MCU_TYPE_USB,
> > + USB_GPHY_CTRL);
>
> [Severity: Medium]
> Does RTL8157 (RTL_VER_16) set BACKUP_RESTRORE by itself after a power
> cut?
Yes, polling BACKUP_RESTORE here is intended.
>
> r8157_init() only waits for it on the RTL8159 variants:
>
> r8157_init() {
> ...
> switch (tp->version) {
> case RTL_VER_17_QFN68:
> case RTL_VER_17_QFN100:
> if (r8159_wait_backup_restore(tp)) {
> ...
> }
>
> The only other user of BACKUP_RESTRORE in the driver is
> rtl8152_fw_phy_nc_apply(), where software sets the bit itself.
>
> Suppose RTL8157 never asserts the bit. Every runtime resume after a UPS
> power cut on RTL_VER_16 would then time out here after 20 ms and mark the
> device inaccessible. hw_phy_cfg() and rtl8152_set_speed() would be skipped,
> and the r8157_u2p3en(true) and r8153b_u1u2en(true) writes after it would be
> dropped. Is that what happens?
>
> The commit message says the wait applies "on RTL8157 as well as RTL8159",
> but r8157_init() treats RTL8157 as not needing it. Which one is correct for this
> chip?
>
> > + if (test_bit(RTL8152_INACCESSIBLE, &tp->flags))
> > + return;
> > +
> > + if (ret) {
> > + rtl_set_inaccessible(tp);
> > + dev_err(&tp->intf->dev,
> > + "backup-restore timed out\n");
> > + return;
> > + }
>
> [Severity: Medium]
> Can this leave the NIC permanently unusable after a runtime resume?
As I mentioned in the previous version, this matches how the existing timeout in
r8157_init() behaves.
Recovery from the timeout requires more than just queuing a reset. The reset has to
survive a re-autosuspend and rerun init() in rtl8152_post_reset(), and the runtime
resume path has to report the failure.
>
> The call chain is:
>
> rtl8152_resume()->rtl8152_runtime_resume()->
> tp->rtl_ops.autosuspend_en(tp, false)->rtl8157_runtime_enable()->
> r8157_ups_en(tp, false)
>
> r8157_ups_en() returns void, and rtl8152_runtime_resume() returns 0 in every
> case.
>
> rtl8152_resume() skips its existing inaccessible recovery for runtime
> resume:
>
> if (!runtime_resume && test_bit(RTL8152_INACCESSIBLE, &tp->flags))
> usb_reset_device(tp->udev);
>
> After the timeout, every generic_ocp_read() and generic_ocp_write() returns
> -ENODEV. The interface then stays unusable until a replug.
>
> The commit message acknowledges this and leaves recovery to a follow-up
> series. Runtime resume runs far more often than probe or reset_resume, and
> before this patch rtl8157_runtime_enable(false) could not fail this way.
> Could this path call usb_queue_reset_device(), as rtl8152_tx_timeout() and the
> control message error path already do?
>
> > +
> > + /* clear USB fw_ver_reg */
> > + ocp_write_byte(tp, MCU_TYPE_USB,
> USB_FW_USB_VER,
> > + 0);
>
> [Severity: Low]
> rtl8152_fw_mac_apply() does not look at USB_FW_USB_VER when deciding
> whether to skip a block. It uses the register named in the firmware blob:
>
> fw_ver_reg = __le16_to_cpu(mac->fw_ver_reg);
> if (fw_ver_reg && ocp_read_byte(tp, MCU_TYPE_USB, fw_ver_reg) >=
> mac->fw_ver_data) {
>
> Nothing in the driver links 0xcfd7 to the USB block's fw_ver_reg. If a current or
> future rtl8157/rtl8159 blob names a different register, would the USB MCU
> patch be skipped after the power cut?
>
> This code also leaves the PLA block's version register alone. If the power cut
> drops the PLA patch, would that patch be applied again?
>
> Could this use the fw_ver_reg values from tp->rtl_fw rather than a hard-coded
> register?
>
> > +
> > + tp->rtl_ops.hw_phy_cfg(tp);
>
> [Severity: Medium]
> Is a wait_autoload_done() call needed before hw_phy_cfg() here?
No, RTL8157/8159 shouldn't wait for autoload.
>
> The other runtime UPS implementations wait for autoload in the same power
> cut branch. For example, r8153b_ups_en():
>
> if (ocp_read_word(tp, MCU_TYPE_USB, USB_MISC_0) &
> PCUT_STATUS) {
> if (wait_autoload_done(tp))
> return;
>
> tp->rtl_ops.hw_phy_cfg(tp);
>
> r8157_init() also runs r8156b_wait_loading_flash(), then wait_autoload_done(),
> then the backup-restore wait, all before PHY setup.
>
> Before applying firmware and PHY parameters, r8157_hw_phy_cfg() only calls
> r8156b_wait_loading_flash(). So this path checks backup-restore first and flash
> loading second, the reverse of the init order.
>
> r8156_ups_en(), which this function mirrors, also lacks the wait. But
> r8156_ups_en(tp, true) has no caller, so its power cut branch has never run at
> runtime.
>
> If autoload is still running after the power cut, could it overwrite the PHY
> parameters or MAC firmware that hw_phy_cfg() writes?
>
> > +
> > + rtl8152_set_speed(tp, tp->autoneg, tp->speed,
> > + tp->duplex, tp->advertising);
> > + }
> > + }
> > +}
>
> [ ... ]
>
> > @@ -4654,9 +4744,28 @@ static void rtl8157_runtime_enable(struct r8152
> *tp, bool enable)
> > r8153b_u1u2en(tp, false);
> > r8157_u2p3en(tp, false);
> > rtl_runtime_suspend_enable(tp, true);
> > +
> > + switch (tp->version) {
> > + case RTL_VER_16:
> > + case RTL_VER_17_QFN68:
> > + r8157_ups_en(tp, true);
> > + break;
> > + default:
> > + break;
> > + }
> > } else {
> > r8153_queue_wake(tp, false);
> > rtl_runtime_suspend_enable(tp, false);
> > +
> > + switch (tp->version) {
> > + case RTL_VER_16:
> > + case RTL_VER_17_QFN68:
> > + r8157_ups_en(tp, false);
> > + break;
> > + default:
> > + break;
> > + }
>
> [Severity: Medium]
> Should r8157_ups_en(tp, false) run before r8153_queue_wake(tp, false) and
> rtl_runtime_suspend_enable(tp, false)?
No, the current flow is intended.
>
> As written, the PLA wake and WOL registers are written again before UPS is
> exited and before the backup-restore wait. These are PLA_INDICATE_FALG,
> PLA_SUSPEND_FLAG, PLA_EXTRA_STATUS, PLA_CRWECR and PLA_CONFIG34.
>
> The other chips with runtime UPS use the opposite order. For example,
> rtl8153b_runtime_enable():
>
> } else {
> r8153b_ups_en(tp, false);
> r8153_queue_wake(tp, false);
> rtl_runtime_suspend_enable(tp, false);
>
> The restore after a power cut could still be running when saved_wolopts is
> restored and LINK_OFF_WAKE_EN and UPCOMING_RUNTIME_D3 are cleared.
> Could it then bring back the suspend-time wake configuration?
>
> There is also a second ordering change. hw_phy_cfg() and
> rtl8152_set_speed() now run after LINK_CHG_EVENT and LINK_CHANGE_FLAG
> have been cleared, which the 8153b/8153c sequence does not do.
>
> > +
> > r8157_u2p3en(tp, true);
> > if (tp->udev->speed >= USB_SPEED_SUPER)
> > r8153b_u1u2en(tp, true);
>
> [ ... ]
>
> > @@ -9141,7 +9250,7 @@ static void r8157_init(struct r8152 *tp)
> > ocp_write_word(tp, MCU_TYPE_USB, USB_U1U2_TIMER, 500);
> >
> > r8157_power_cut_en(tp, false);
> > - r8156_ups_en(tp, false);
> > + r8157_ups_en(tp, false);
>
> [Severity: Medium]
> Can the PCUT_STATUS branch of r8157_ups_en() ever run from here?
Yes, if the device entered UPS, the PCUT_STATUS would be set to 1.
>
> r8157_power_cut_en(tp, false) clears the flag just before the call:
>
> r8157_power_cut_en() {
> ...
> } else {
> ocp_word_clr_bits(tp, MCU_TYPE_USB, USB_POWER_CUT,
> PWR_EN);
> ocp_word_clr_bits(tp, MCU_TYPE_USB, USB_MISC_0,
> PCUT_STATUS);
> ...
> }
>
> As a result, the init path never runs the backup-restore wait, the
> USB_FW_USB_VER clear or the PHY reconfiguration.
>
> This matters more now that RTL_VER_16 can be power cut at runtime. On a
> reset_resume after a runtime UPS power cut, rtl8152_reset_resume() goes
> through ops->init rather than autosuspend_en(false):
>
> clear_bit(SELECTIVE_SUSPEND, &tp->flags);
> rtl_reset_ocp_base(tp);
> tp->rtl_ops.init(tp);
> queue_delayed_work(system_dfl_long_wq, &tp->hw_phy_work, 0);
>
> r8157_init() only waits for backup-restore on RTL_VER_17_QFN68 and
> RTL_VER_17_QFN100, so RTL_VER_16 takes the default case. After that,
> r8157_hw_phy_cfg() from hw_phy_work only waits for flash loading.
>
> Would RTL8157 then start PHY setup without waiting for backup-restore? On
> this path USB_FW_USB_VER is also never cleared, for either chip.
>
> So either the RTL8157 wait in r8157_ups_en() is not needed, or
> r8157_init() is missing it for the state this patch creates. Which one is intended?
>
> Separately, the poll in r8157_ups_en() duplicates r8159_wait_backup_restore(),
> with the same register, bit and 200 us /
> 20 ms timing. Could it call the helper instead, so the two sites stay in sync?
>
> --
> Sashiko AI review ·
> https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261126033211.51850-1
> -nic_swsd%40realtek.com
Best Regards,
Chih-Kai
Technical Details
Message-ID:
<d327750dfade4715a7e05b9b8df38615@realtek.com>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372547-linux-kernel-netdev=dewy.ruReferences:
<20261126033211.51850-13-nic_swsd@realtek.com> <179575362872.3135.13750134827744924727@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372547-linux-kernel-netdev=dewy.ru From: hsu.chih.kai@realtek.com (Chih Kai Hsu) Newsgroups: linux.kernel.netdev Subject: RE: [PATCH net-next v9 12/12] r8152: enable UPS for RTL8157 and RTL8159 QFN68 Date: Fri, 27 Nov 2026 08:47:54 +0000 Organization: Usenet Network Message-ID: <d327750dfade4715a7e05b9b8df38615@realtek.com> References: <20261126033211.51850-13-nic_swsd@realtek.com> <179575362872.3135.13750134827744924727@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Injection-Info: usenet.network; logging-data="687163"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:+23RGINCTFHhO07ZEYV19eQDsRk= sha256:tsmkgVUSBhdSVqfb5CfMuqkLUYc+f6WPZjZKoKBcqhE= sha1:7KrW5tIk36ckKeyorhSP3bmcjdA= sha256:2XyfpWRJ5e6iYmfnmjip5omnHiKGNsfLLnKvsiqHw8M= Content-Language: zh-TW List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 1670F125F2A; Fri, 27 Nov 2026 11:49:02 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.951 X-Spam-Status: No, score=-1.951 tagged_above=-9999 required=6.31 tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=realtek.com X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xlKw3UoSow4P; Fri, 27 Nov 2026 11:48:54 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-372547-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=realtek.com X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id BDF4F125F25; Fri, 27 Nov 2026 11:48:43 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 232FE29054; Fri, 27 Nov 2026 08:48:41 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail; t=1795769320; b=YI0QacO5bqMT8VqIr4gzHC4lg/cYARgniy2HPwTIk5tKWbSEZoLbnCtrM/xbYRZsN7Cc u5HGAQmE10n9+sDiWGIRCJnG2CxPr7FjVxyVAkR7bFfZPF6UefmGAQXjxwMZMFdLzbxhi D0ZRDD5kfwZnU5RCuYPvy3p7/TYaK4Q5hPn/yQTo4qcLX7RqUm2KjNZJuxO9kq9aGwlNs BmQvI42lw4mYeU+VMTAw0QHKNe/zJ2gGLO6jdMk3ruomQ7TCPn3dKKNvT5wItbXyYvAcm j/hVKwGtibHNqkarDtuNZC0z0f8NXCAKSsyZ2eY+iUz3RNUZ9Sg6ddm4NWvoEa04Otw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795769320; h=X-Original-To:Received:DMARC-Filter:X-SpamFilter-By:DKIM-Signature: Received:Received:Received:From:To:CC:Subject:Thread-Topic: Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language: Content-Language:Content-Type:Content-Transfer-Encoding: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version; bh=0jBXHOemRFOSq4b94yxpQZtowK4p+BtYJC24+GP9Dp4=; b=u5FJ9mvG0Wc1ZpkxVcaW05LH96d1GVKKJQAw17VWv8cYO0LDzbHd1CsjWOGdIYqrG0db 7XrxOJr+Aw8p3Fx+4Lz9xIeJ5EDeHWzh+ZQ5+EePJHXYWj5ppx0zYTejmyQMT+ha9bKTl R6TqBgGx6GcwB1yoVW0D44VU6wKbLy92cHy+Ax01gKiiSoVLvlDZWqc45yMwq/OTwTF0l S0gRqanCRAP9InbYTAI84/GbC+GsfwAV76bPqfy/FXNQoa0e0rvZcCjqA2T7kUtXHCwzo VFoiIrQd6Z9gfmMjgfWPGoED0J35kvVxVD3EK6lG6pwGH7GD47hLRs2+4vwmdXsWGZw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=a1lr22j9; dmarc=pass header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=fail smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4E2D606A331; Fri, 27 Nov 2026 08:48:40 +0000 (UTC) X-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=a1lr22j9 X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=211.75.126.72 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795769314; b=ZaeykcpOVQCvJXI0PK80F4vUGFcMKAwrzWMp+6rCWk2tbWz85bK67izM0IWCPV+uxITS 0tS3+Y28rupYw/ejxys/n5+2MMIuYamKquY3GaIYJz7/MNbbsTMvuyXBdPysen6YmsDr/ 4lMfHQECNhzVGKXN72YwGDHBdk9xqLp5JiJDFmbSeHpIRdDOBRvgnlMy15bQk4uVS0s1j S/7g7RfZXhdL9YyFx9upbKDibI6ZH54zKRb6cdAIzxwsq+XM++y03SJ7y4C5WXN10fjrw t0+2Toh2m9G/wuHOOE2K6VtOsEsU7tinael3Dzwl/2JW69uwVxEd1vypKA5VN+asSmQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795769314; h=DMARC-Filter:X-SpamFilter-By:DKIM-Signature:Received:Received: Received:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID: References:In-Reply-To:Accept-Language:Content-Language: x-originating-ip:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=0jBXHOemRFOSq4b94yxpQZtowK4p+BtYJC24+GP9Dp4=; b=QuyDgf4ZxdBDcgzmJ9QWw+BZSa5aS6IvmU5I3e/KaaXnJyF0F/Cw79y0yiIHCdG6xlWK r6CZVSztw1eHjfrCovCjJaRaC7Allc5heXQOEJCCEAIvGTg6mD+p/amNc/wFHjrgU9UBD ZMzhSunw6Fves3+uDsKjECRRa6hiesFcKVuMoavqf5d4DSsUxInm9TP1ZtRvOOvnaSJUg zBUJkbICeDINwW1LNhGUF18PUn9bhnP6Lz0ox03bqVXHZAsx+EiQdvYk11RdZboEFU0d2 SV9s1/aUkTox3XKqGEyJSqZB8FsDCTDps65ewo9/CUu5sGrr5zezvjoSfpNLHeiig0A== X-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=a1lr22j9; arc=none smtp.remote-ip=211.75.126.72 X-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 1BA2D606A31E; Fri, 27 Nov 2026 08:48:33 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1BA2D606A31E X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 6AR8lucP7786898, This message is accepted by code: ctloc85258 X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1795769276; bh=0jBXHOemRFOSq4b94yxpQZtowK4p+BtYJC24+GP9Dp4=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=a1lr22j97cEmKxsB+29SjvoZkzYh1N9XxvwHCyRcfNFDWw8r3wBgOUMY3ce69JcV6 slY0+YdLxNPJENlpEbtBbGuSDdSzjH8K0/xokat0qORoabySUy96yR/GDcNE49iy4P OdWPlhDmjJ1hsiVaLYfatCwlHMQXe5UfHjN5EPwHo3iApCAVdKYnaPmCl11rITaN/x RahuOgs3Ia290kTsQhf1ZZOLhtJMR+cGVlwxaEuWI+wpPaxc5Y6DrMwfNiE33DeDNr dHXC2BSmPRRsNOOuAa0av3q+YeOvyLxOgiLXjUTCvA3MLNhc+ZZ5nWd1PAvVFgyOJt QD6V90VQtkLaQ== X-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 6AR8lucP7786898 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 27 Nov 2026 16:47:56 +0800 X-Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) 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; Fri, 27 Nov 2026 16:47:54 +0800 X-Received: from RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef]) by RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef%10]) with mapi id 15.02.2562.056; Fri, 27 Nov 2026 16:47:54 +0800 X-CC: "davem@davemloft.net" <davem@davemloft.net>, "kuba@kernel.org" <kuba@kernel.org>, "netdev@vger.kernel.org" <netdev@vger.kernel.org>, nic_swsd <nic_swsd@realtek.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>, "edumazet@google.com" <edumazet@google.com>, "bjorn@mork.no" <bjorn@mork.no>, "pabeni@redhat.com" <pabeni@redhat.com>, "andrew+netdev@lunn.ch" <andrew+netdev@lunn.ch>, "mail@birger-koblitz.de" <mail@birger-koblitz.de> X-Thread-Topic: [PATCH net-next v9 12/12] r8152: enable UPS for RTL8157 and RTL8159 QFN68 X-Thread-Index: AQHdfVa9ehTQOuIvJkmKFYSdp7kMd7dAzlYAgADMbQA= X-In-Reply-To: <179575362872.3135.13750134827744924727@kernel.org> X-Accept-Language: zh-TW, en-US X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list