From patchwork Tue Feb 23 06:51:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1443408 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Dl8qb4Hfbz9sTD; Tue, 23 Feb 2021 17:52:10 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1lERY9-0002v2-Mh; Tue, 23 Feb 2021 06:52:01 +0000 Received: from mail-pl1-f179.google.com ([209.85.214.179]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lERY8-0002uu-Km for kernel-team@lists.ubuntu.com; Tue, 23 Feb 2021 06:52:00 +0000 Received: by mail-pl1-f179.google.com with SMTP id 17so5945963pli.10 for ; Mon, 22 Feb 2021 22:51:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=AHkPj3LBlmwpQbI87BqrIcnuG5PMLuF6fOaAPhESWZo=; b=lvIls+FAr5JNHl7LqLW78N84ouO3DTsKJCtdyr9IpM/Icox+dapLxtB6J4We5OrBpE jh6d2Y3USHy6J3J5tU6bnCiuyVANYpdJ5yAB3rJS5IyuEkoIZHHGzfwRqOFUCSsB/vyw RC7FcGxxM0Knk2qQVsIM8A+YJ1vNrZAMTYgJXJr+4frI7uO//t2Qh8SKj5gqZOkBhkg3 /gATSQkbMPo+M2m5UAM4YexM+/3EZvf2B7xwp4oIk/ukS1lGBsMZLC9djMlT9yfhNbn0 DqHOnAay9vQWe0tU6aPOqcQ85XAIeiGl3883Y/35ACYOaKMgPJ5b8c16oFKE1jclPCQw o2uw== X-Gm-Message-State: AOAM533DqLHfpGEXl8Cith7wL1+vIXFoTWRdOu7iOId3/Q2iamz8vNuv qL0q3dnpwxASnsaH6BL3EmI+7YTR+NkOUA== X-Google-Smtp-Source: ABdhPJxMoQ63YKYH3w3pfczSK8E45hMA+uLtyqtaOoMHZJZ7j+L5kYkhF+jhgtGXhELOSjNgD0rMuQ== X-Received: by 2002:a17:90a:ae0f:: with SMTP id t15mr16000120pjq.45.1614063117874; Mon, 22 Feb 2021 22:51:57 -0800 (PST) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id j1sm21414938pfr.78.2021.02.22.22.51.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 22:51:57 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/2][SRU][linux-firmware][B] add firmware for Realtek RTL8153 Based USB Ethernet Adapters Date: Tue, 23 Feb 2021 14:51:53 +0800 Message-Id: <20210223065155.2949316-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.214.179; envelope-from=vicamo@gmail.com; helo=mail-pl1-f179.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bug/1890641 [Impact] Missing firmware for Realtek RTL8153 Based USB Ethernet Adapters, which is supported by linux-generic-hwe-18.04 kernel (currently v5.4). [Fix] Two upstream commit necessary: * commit b27d12383e7a ("rtl_nic: add firmware files for RTL8153") * commit 6f89735800fe ("rtl_nic: update firmware for RTL8153A") [Test Case] Without firmware, drive probe would fail with: $ dmesg | grep firmware | grep rtl8153 r8152 2-4.1:1.0: firmware: failed to load rtl_nic/rtl8153a-2.fw (-2) r8152 2-4.1:1.0: Direct firmware load for rtl_nic/rtl8153a-2.fw failed with error -2 r8152 2-4.1:1.0: unable to load firmware patch rtl_nic/rtl8153a-2.fw (-2) With firmware, it should succeed: $ dmesg | grep rtl8152 r8152 2-1:1.0: load rtl8153a-3 v2 02/07/20 successfully r8152 2-1:1.0 eth0: v1.11.11 r8152 2-1:1.0 enp0s20f0u1: renamed from eth0 [Where problems could occur] While this introduces new firmware blobs and enabled devices supported by new kernels, it should have little effect on existing systems, but with new devices up and running, it may still affect power consumptions, ability to enter deep suspend, etc. [Other Info] RTL8153 firmware has been available on Eoan and newer, so only Bionic is nominated. Hayes Wang (2): rtl_nic: add firmware files for RTL8153 rtl_nic: update firmware for RTL8153A WHENCE | 11 +++++++++++ rtl_nic/rtl8153a-2.fw | Bin 0 -> 1768 bytes rtl_nic/rtl8153a-3.fw | Bin 0 -> 1440 bytes rtl_nic/rtl8153a-4.fw | Bin 0 -> 712 bytes rtl_nic/rtl8153b-2.fw | Bin 0 -> 1088 bytes 5 files changed, 11 insertions(+) create mode 100644 rtl_nic/rtl8153a-2.fw create mode 100644 rtl_nic/rtl8153a-3.fw create mode 100644 rtl_nic/rtl8153a-4.fw create mode 100644 rtl_nic/rtl8153b-2.fw