summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2020-04-02 22:05:49 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-04-02 22:05:49 +0200
commit0dcdc82cbd3891cf025a45b4f0b02aae06f5095c (patch)
tree0a1b93e26706dc507fc954a9ad8349c6ce46c33a
parent6f7e531a0b6039f450125d92a822a3d3bb8cbf77 (diff)
parent7bf72fa737d6887576590ee33c32aa7c67635391 (diff)
downloadkernel-0dcdc82cbd3891cf025a45b4f0b02aae06f5095c.tar.gz
kernel-0dcdc82cbd3891cf025a45b4f0b02aae06f5095c.tar.xz
kernel-0dcdc82cbd3891cf025a45b4f0b02aae06f5095c.zip
Merge remote-tracking branch 'origin/f30' into f30-user-thl-vanilla-fedora
-rw-r--r--0001-ALSA-hda-realtek-Add-quirk-for-Lenovo-Carbon-X1-8th-.patch34
-rw-r--r--e1000e-bump-up-timeout-to-wait-when-ME-un-configure-ULP-mode.patch112
-rw-r--r--kernel.spec13
3 files changed, 159 insertions, 0 deletions
diff --git a/0001-ALSA-hda-realtek-Add-quirk-for-Lenovo-Carbon-X1-8th-.patch b/0001-ALSA-hda-realtek-Add-quirk-for-Lenovo-Carbon-X1-8th-.patch
new file mode 100644
index 000000000..9c482f90c
--- /dev/null
+++ b/0001-ALSA-hda-realtek-Add-quirk-for-Lenovo-Carbon-X1-8th-.patch
@@ -0,0 +1,34 @@
+From 672798e7b896ad659009882b7fd3242935c8fcdf Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Thu, 2 Apr 2020 18:02:05 +0200
+Subject: [PATCH] ALSA: hda/realtek - Add quirk for Lenovo Carbon X1 8th gen
+
+The audio setup on the Lenovo Carbon X1 8th gen is the same as that on
+the Lenovo Carbon X1 7th gen, as such it needs the same
+ALC285_FIXUP_THINKPAD_HEADSET_JACK quirk.
+
+This fixes volume control of the speaker not working among other things.
+
+BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1820196
+Cc: stable@vger.kernel.org
+Suggested-by: Jaroslav Kysela <perex@perex.cz>
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+---
+ sound/pci/hda/patch_realtek.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
+index 63e1a56f705b..9c3bbf1df93e 100644
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -7299,6 +7299,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
+ SND_PCI_QUIRK(0x17aa, 0x225d, "Thinkpad T480", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
+ SND_PCI_QUIRK(0x17aa, 0x2292, "Thinkpad X1 Yoga 7th", ALC285_FIXUP_THINKPAD_HEADSET_JACK),
+ SND_PCI_QUIRK(0x17aa, 0x2293, "Thinkpad X1 Carbon 7th", ALC285_FIXUP_THINKPAD_HEADSET_JACK),
++ SND_PCI_QUIRK(0x17aa, 0x22be, "Thinkpad X1 Carbon 8th", ALC285_FIXUP_THINKPAD_HEADSET_JACK),
+ SND_PCI_QUIRK(0x17aa, 0x30bb, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
+ SND_PCI_QUIRK(0x17aa, 0x30e2, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
+ SND_PCI_QUIRK(0x17aa, 0x310c, "ThinkCentre Station", ALC294_FIXUP_LENOVO_MIC_LOCATION),
+--
+2.26.0
+
diff --git a/e1000e-bump-up-timeout-to-wait-when-ME-un-configure-ULP-mode.patch b/e1000e-bump-up-timeout-to-wait-when-ME-un-configure-ULP-mode.patch
new file mode 100644
index 000000000..921228c2b
--- /dev/null
+++ b/e1000e-bump-up-timeout-to-wait-when-ME-un-configure-ULP-mode.patch
@@ -0,0 +1,112 @@
+From patchwork Mon Mar 23 19:16:39 2020
+Content-Type: text/plain; charset="utf-8"
+MIME-Version: 1.0
+Content-Transfer-Encoding: 7bit
+X-Patchwork-Submitter: Aaron Ma <aaron.ma@canonical.com>
+X-Patchwork-Id: 1260523
+X-Patchwork-Delegate: jeffrey.t.kirsher@intel.com
+Return-Path: <intel-wired-lan-bounces@osuosl.org>
+X-Original-To: incoming@patchwork.ozlabs.org
+Delivered-To: patchwork-incoming@bilbo.ozlabs.org
+Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized)
+ smtp.mailfrom=osuosl.org (client-ip=140.211.166.137;
+ helo=fraxinus.osuosl.org;
+ envelope-from=intel-wired-lan-bounces@osuosl.org;
+ receiver=<UNKNOWN>)
+Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none)
+ header.from=canonical.com
+Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])
+ (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256
+ bits)) (No client certificate requested)
+ by ozlabs.org (Postfix) with ESMTPS id 48ml8T0lZVz9sRf
+ for <incoming@patchwork.ozlabs.org>;
+ Tue, 24 Mar 2020 19:41:11 +1100 (AEDT)
+Received: from localhost (localhost [127.0.0.1])
+ by fraxinus.osuosl.org (Postfix) with ESMTP id 3FD71861C9;
+ Tue, 24 Mar 2020 08:41:10 +0000 (UTC)
+X-Virus-Scanned: amavisd-new at osuosl.org
+Received: from fraxinus.osuosl.org ([127.0.0.1])
+ by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
+ with ESMTP id Z-iCoXjZ6uPi; Tue, 24 Mar 2020 08:41:09 +0000 (UTC)
+Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34])
+ by fraxinus.osuosl.org (Postfix) with ESMTP id 9184E860D1;
+ Tue, 24 Mar 2020 08:41:09 +0000 (UTC)
+X-Original-To: intel-wired-lan@lists.osuosl.org
+Delivered-To: intel-wired-lan@lists.osuosl.org
+Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])
+ by ash.osuosl.org (Postfix) with ESMTP id 522811BF2B6
+ for <intel-wired-lan@lists.osuosl.org>;
+ Mon, 23 Mar 2020 19:17:15 +0000 (UTC)
+Received: from localhost (localhost [127.0.0.1])
+ by whitealder.osuosl.org (Postfix) with ESMTP id 4BD3187D15
+ for <intel-wired-lan@lists.osuosl.org>;
+ Mon, 23 Mar 2020 19:17:15 +0000 (UTC)
+X-Virus-Scanned: amavisd-new at osuosl.org
+Received: from whitealder.osuosl.org ([127.0.0.1])
+ by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
+ with ESMTP id Cyxj7lfnvPR6 for <intel-wired-lan@lists.osuosl.org>;
+ Mon, 23 Mar 2020 19:17:12 +0000 (UTC)
+X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6
+Received: from youngberry.canonical.com (youngberry.canonical.com
+ [91.189.89.112])
+ by whitealder.osuosl.org (Postfix) with ESMTP id 68B4087EBD
+ for <intel-wired-lan@lists.osuosl.org>;
+ Mon, 23 Mar 2020 19:17:12 +0000 (UTC)
+Received: from [222.129.50.174] (helo=localhost.localdomain)
+ by youngberry.canonical.com with esmtpsa
+ (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2)
+ (envelope-from <aaron.ma@canonical.com>)
+ id 1jGSZN-00031K-JS; Mon, 23 Mar 2020 19:17:06 +0000
+From: Aaron Ma <aaron.ma@canonical.com>
+To: jeffrey.t.kirsher@intel.com, aaron.ma@canonical.com, davem@davemloft.net,
+ intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org,
+ linux-kernel@vger.kernel.org, sasha.neftin@intel.com
+Date: Tue, 24 Mar 2020 03:16:39 +0800
+Message-Id: <20200323191639.48826-1-aaron.ma@canonical.com>
+X-Mailer: git-send-email 2.25.2
+MIME-Version: 1.0
+X-Mailman-Approved-At: Tue, 24 Mar 2020 08:41:05 +0000
+Subject: [Intel-wired-lan] [PATCH] e1000e: bump up timeout to wait when ME
+ un-configure ULP mode
+X-BeenThere: intel-wired-lan@osuosl.org
+X-Mailman-Version: 2.1.29
+Precedence: list
+List-Id: Intel Wired Ethernet Linux Kernel Driver Development
+ <intel-wired-lan.osuosl.org>
+List-Unsubscribe: <https://lists.osuosl.org/mailman/options/intel-wired-lan>,
+ <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>
+List-Archive: <http://lists.osuosl.org/pipermail/intel-wired-lan/>
+List-Post: <mailto:intel-wired-lan@osuosl.org>
+List-Help: <mailto:intel-wired-lan-request@osuosl.org?subject=help>
+List-Subscribe: <https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>,
+ <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>
+Errors-To: intel-wired-lan-bounces@osuosl.org
+Sender: "Intel-wired-lan" <intel-wired-lan-bounces@osuosl.org>
+
+ME takes 2+ seconds to un-configure ULP mode done after resume
+from s2idle on some ThinkPad laptops.
+Without enough wait, reset and re-init will fail with error.
+
+Fixes: f15bb6dde738cc8fa0 ("e1000e: Add support for S0ix")
+BugLink: https://bugs.launchpad.net/bugs/1865570
+Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
+---
+ drivers/net/ethernet/intel/e1000e/ich8lan.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/net/ethernet/intel/e1000e/ich8lan.c b/drivers/net/ethernet/intel/e1000e/ich8lan.c
+index b4135c50e905..147b15a2f8b3 100644
+--- a/drivers/net/ethernet/intel/e1000e/ich8lan.c
++++ b/drivers/net/ethernet/intel/e1000e/ich8lan.c
+@@ -1240,9 +1240,9 @@ static s32 e1000_disable_ulp_lpt_lp(struct e1000_hw *hw, bool force)
+ ew32(H2ME, mac_reg);
+ }
+
+- /* Poll up to 300msec for ME to clear ULP_CFG_DONE. */
++ /* Poll up to 2.5sec for ME to clear ULP_CFG_DONE. */
+ while (er32(FWSM) & E1000_FWSM_ULP_CFG_DONE) {
+- if (i++ == 30) {
++ if (i++ == 250) {
+ ret_val = -E1000_ERR_PHY;
+ goto out;
+ }
diff --git a/kernel.spec b/kernel.spec
index f3118fd89..cef5dca2b 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -586,6 +586,12 @@ Patch508: 20200310_chris_chris_wilson_co_uk.patch
# Backport vboxsf from 5.6, can be dropped when we move to 5.6
Patch510: 0001-fs-Add-VirtualBox-guest-shared-folder-vboxsf-support.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=1816621
+# https://patchwork.ozlabs.org/patch/1260523/
+Patch511: e1000e-bump-up-timeout-to-wait-when-ME-un-configure-ULP-mode.patch
+
+# https://bugzilla.redhat.com/show_bug.cgi?id=1820196
+Patch512: 0001-ALSA-hda-realtek-Add-quirk-for-Lenovo-Carbon-X1-8th-.patch
# END OF PATCH DEFINITIONS
@@ -1830,6 +1836,13 @@ fi
#
#
%changelog
+* Thu Apr 02 2020 Justin M. Forbes <jforbes@fedoraproject.org> - 5.5.15-100
+- Linux v5.5.15
+
+* Thu Apr 02 2020 Hans de Goede <hdegoede@redhat.com>
+- Add patch fixing Lenovo X1 7th and 8th gen not suspending (rhbz 1816621)
+- Add patch fixing Lenovo X1 8th gen speaker volume control (rhbz 1820196)
+
* Wed Apr 01 2020 Justin M. Forbes <jforbes@fedoraproject.org> - 5.5.14-100
- Linux v5.5.14
- Fixes CVE-2020-8835 (rhbz 1818941 1817350)