summaryrefslogtreecommitdiff
path: root/SOURCES/patch-5.14-redhat.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2021-10-20 18:24:55 +0200
committerJan200101 <sentrycraft123@gmail.com>2021-10-20 18:24:55 +0200
commit7433371c9e5f0ce937d3900f913b2efb214fef59 (patch)
tree3ba8f59f3acd95c81fa9b076541b57feacb01ef2 /SOURCES/patch-5.14-redhat.patch
parentb35afa922a1975abfce0f29061812df2676f49dd (diff)
downloadkernel-fsync-7433371c9e5f0ce937d3900f913b2efb214fef59.tar.gz
kernel-fsync-7433371c9e5f0ce937d3900f913b2efb214fef59.zip
kernel 5.14.12
Diffstat (limited to 'SOURCES/patch-5.14-redhat.patch')
-rw-r--r--SOURCES/patch-5.14-redhat.patch44
1 files changed, 9 insertions, 35 deletions
diff --git a/SOURCES/patch-5.14-redhat.patch b/SOURCES/patch-5.14-redhat.patch
index 73a387e..9907a16 100644
--- a/SOURCES/patch-5.14-redhat.patch
+++ b/SOURCES/patch-5.14-redhat.patch
@@ -24,7 +24,7 @@
drivers/net/ethernet/intel/e1000e/ich8lan.c | 31 +-
drivers/net/ethernet/intel/e1000e/ich8lan.h | 3 +
drivers/net/ethernet/intel/e1000e/netdev.c | 29 +-
- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 9 +
+ drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 4 +
drivers/net/wireguard/main.c | 6 +
drivers/pci/quirks.c | 24 +
drivers/usb/core/hub.c | 7 +
@@ -36,7 +36,6 @@
include/linux/rmi.h | 1 +
include/linux/security.h | 5 +
init/Kconfig | 2 +-
- kernel/bpf/stackmap.c | 3 +-
kernel/module_signing.c | 9 +-
mm/cma.c | 10 +
security/integrity/platform_certs/load_uefi.c | 6 +-
@@ -56,7 +55,7 @@
tools/testing/selftests/bpf/progs/linked_maps2.c | 76 ---
tools/testing/selftests/bpf/progs/linked_vars1.c | 54 --
tools/testing/selftests/bpf/progs/linked_vars2.c | 55 ---
- 58 files changed, 716 insertions(+), 1511 deletions(-)
+ 57 files changed, 709 insertions(+), 1510 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 2fb7012c3246..47718b4f2f75 100644
@@ -1386,28 +1385,18 @@ index 757a54c39eef..774f849027f0 100644
{ 0, 0, 0, 0, 0, 0, 0 } /* terminate list */
};
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
-index ed817011a94a..280ac0129572 100644
+index 6924a6aacbd5..60461ff4deae 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
-@@ -21,6 +21,7 @@
- #include <linux/delay.h>
- #include <linux/mfd/syscon.h>
- #include <linux/regmap.h>
-+#include <linux/pm_runtime.h>
-
- #include "stmmac_platform.h"
-
-@@ -1528,6 +1529,9 @@ static int rk_gmac_powerup(struct rk_priv_data *bsp_priv)
+@@ -1529,6 +1529,7 @@ static int rk_gmac_powerup(struct rk_priv_data *bsp_priv)
return ret;
}
+ pm_runtime_enable(dev);
-+ pm_runtime_get_sync(dev);
-+
- if (bsp_priv->integrated_phy)
- rk_gmac_integrated_phy_powerup(bsp_priv);
+ pm_runtime_get_sync(dev);
-@@ -1536,9 +1540,14 @@ static int rk_gmac_powerup(struct rk_priv_data *bsp_priv)
+ if (bsp_priv->integrated_phy)
+@@ -1539,10 +1540,13 @@ static int rk_gmac_powerup(struct rk_priv_data *bsp_priv)
static void rk_gmac_powerdown(struct rk_priv_data *gmac)
{
@@ -1416,12 +1405,11 @@ index ed817011a94a..280ac0129572 100644
if (gmac->integrated_phy)
rk_gmac_integrated_phy_powerdown(gmac);
-+ pm_runtime_put_sync(dev);
+ pm_runtime_put_sync(&gmac->pdev->dev);
+ pm_runtime_disable(dev);
-+
+
phy_power_on(gmac, false);
gmac_clk_enable(gmac, false);
- }
diff --git a/drivers/net/wireguard/main.c b/drivers/net/wireguard/main.c
index 75dbe77b0b4b..4bd6dd722f44 100644
--- a/drivers/net/wireguard/main.c
@@ -1696,20 +1684,6 @@ index 55f9f7738ebb..564553afb251 100644
select IO_WQ
default y
help
-diff --git a/kernel/bpf/stackmap.c b/kernel/bpf/stackmap.c
-index 6fbc2abe9c91..2553caf4f74a 100644
---- a/kernel/bpf/stackmap.c
-+++ b/kernel/bpf/stackmap.c
-@@ -63,7 +63,8 @@ static inline int stack_map_data_size(struct bpf_map *map)
-
- static int prealloc_elems_and_freelist(struct bpf_stack_map *smap)
- {
-- u32 elem_size = sizeof(struct stack_map_bucket) + smap->map.value_size;
-+ u64 elem_size = sizeof(struct stack_map_bucket) +
-+ (u64)smap->map.value_size;
- int err;
-
- smap->elems = bpf_map_area_alloc(elem_size * smap->map.max_entries,
diff --git a/kernel/module_signing.c b/kernel/module_signing.c
index 8723ae70ea1f..fb2d773498c2 100644
--- a/kernel/module_signing.c