View r8168-5_6_0.patch
--- src/r8168_n.c 2019-11-26 08:32:35.000000000 +0000 | |
+++ src/r8168_n.c 2020-03-16 12:34:04.893511463 +0000 | |
@@ -456,7 +456,13 @@ static void rtl8168_hw_config(struct net | |
static void rtl8168_hw_start(struct net_device *dev); | |
static int rtl8168_close(struct net_device *dev); | |
static void rtl8168_set_rx_mode(struct net_device *dev); | |
+ | |
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0) | |
static void rtl8168_tx_timeout(struct net_device *dev); | |
+#else |
View tlp-stat-X210.battery
--- TLP 1.1.907 -------------------------------------------- | |
+++ Configured Settings: /etc/default/tlp | |
TLP_ENABLE=1 | |
TLP_DEFAULT_MODE=AC | |
TLP_PERSISTENT_DEFAULT=0 | |
DISK_IDLE_SECS_ON_AC=0 | |
DISK_IDLE_SECS_ON_BAT=2 | |
MAX_LOST_WORK_SECS_ON_AC=15 | |
MAX_LOST_WORK_SECS_ON_BAT=60 |
View ath10k_improve_tx_rate.patch
--- a/drivers/net/wireless/ath/ath10k/mac.c | |
+++ b/drivers/net/wireless/ath/ath10k/mac.c | |
@@ -3399,6 +3399,8 @@ | |
const struct ieee80211_hdr *hdr = (void *)skb->data; | |
__le16 fc = hdr->frame_control; | |
+ skb_orphan(skb); | |
+ | |
if (!vif || vif->type == NL80211_IFTYPE_MONITOR) | |
return ATH10K_HW_TXRX_RAW; |
View gist:2c2884938cf7484c647e8aa6f0abd089
diff -rupN linux-4.10-orig/drivers/acpi/pci_root.c linux-4.10/drivers/acpi/pci_root.c | |
--- linux-4.10-orig/drivers/acpi/pci_root.c 2017-04-03 11:16:04.296665638 +0200 | |
+++ linux-4.10/drivers/acpi/pci_root.c 2017-04-03 11:17:21.696665034 +0200 | |
@@ -494,13 +494,13 @@ static void negotiate_os_control(struct | |
* it's unsupported. Leave existing configuration | |
* intact and prevent the OS from touching it. | |
*/ | |
- dev_info(&device->dev, "FADT indicates ASPM is unsupported, using BIOS configuration\n"); | |
- *no_aspm = 1; | |
+ dev_info(&device->dev, "FADT indicates ASPM is unsupported, not caring and keeping ASPM\n"); |
View gist:06dda2bb44a600c0e3b46ee0b90216c7
diff -Naur linux-4.11-orig/drivers/acpi/pci_root.c linux-4.11/drivers/acpi/pci_root.c | |
--- linux-4.11-orig/drivers/acpi/pci_root.c 2017-05-22 00:51:27.556822660 +0200 | |
+++ linux-4.11/drivers/acpi/pci_root.c 2017-05-22 00:54:13.046343220 +0200 | |
@@ -500,7 +500,7 @@ | |
} else { | |
decode_osc_control(root, "OS requested", requested); | |
decode_osc_control(root, "platform willing to grant", control); | |
- dev_info(&device->dev, "_OSC failed (%s); disabling ASPM\n", | |
+ dev_info(&device->dev, "_OSC failed (%s); we keep ASPM on anyway\n", | |
acpi_format_exception(status)); |