Bump kernel to 4.4.202
authorRISCi_ATOM <bob@bobcall.me>
Mon, 18 Nov 2019 18:25:11 +0000 (13:25 -0500)
committerRISCi_ATOM <bob@bobcall.me>
Mon, 18 Nov 2019 18:25:11 +0000 (13:25 -0500)
include/kernel-version.mk
target/linux/generic/patches-4.4/032-fq_codel-add-batch-ability-to-fq_codel_drop.patch
target/linux/generic/patches-4.4/033-fq_codel-add-memory-limitation-per-queue.patch
target/linux/generic/patches-4.4/200-fix_localversion.patch
target/linux/generic/patches-4.4/222-arm_zimage_none.patch
target/linux/generic/patches-4.4/320-ppc4xx_optimization.patch
target/linux/generic/patches-4.4/321-powerpc_crtsavres_prereq.patch
target/linux/generic/patches-4.4/655-increase_skb_pad.patch
target/linux/generic/patches-4.4/660-fq_codel_defaults.patch
target/linux/generic/patches-4.4/662-use_fq_codel_by_default.patch
target/linux/generic/patches-4.4/721-phy_packets.patch

index d6393c74024042ee3c5f2a87142f2369122a34f1..59383c3c31317c3e8c300bdf0df7c7ea3b99aac2 100644 (file)
@@ -2,9 +2,9 @@
 
 LINUX_RELEASE?=1
 
-LINUX_VERSION-4.4 = .198
+LINUX_VERSION-4.4 = .202
 
-LINUX_KERNEL_HASH-4.4.198 = 5135b2c913d3f0e61c294c5dcdc2d965d13a85608fa7bef5753ba8992640dfd9
+LINUX_KERNEL_HASH-4.4.202 = a8491f36ec77f643e566da7e2877ccc0b96cb8eacd37a13f2ed34cc98c31b21e
 
 ifdef KERNEL_PATCHVER
   LINUX_VERSION:=$(KERNEL_PATCHVER)$(strip $(LINUX_VERSION-$(KERNEL_PATCHVER)))
index d1390348cb00bf5b91b5308aeee4929b2990a57a..2669cf2a47032aeaa2fbcada8ea2b9636a0746ac 100644 (file)
@@ -43,7 +43,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
 +++ b/net/sched/sch_fq_codel.c
 @@ -57,6 +57,7 @@ struct fq_codel_sched_data {
        u32             flows_cnt;      /* number of flows */
-       u32             perturbation;   /* hash perturbation */
+       siphash_key_t   perturbation;   /* hash perturbation */
        u32             quantum;        /* psched_mtu(qdisc_dev(sch)); */
 +      u32             drop_batch_size;
        struct codel_params cparams;
@@ -176,7 +176,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
        q->flows_cnt = 1024;
 +      q->drop_batch_size = 64;
        q->quantum = psched_mtu(qdisc_dev(sch));
-       q->perturbation = prandom_u32();
+       get_random_bytes(&q->perturbation, sizeof(q->perturbation));
        INIT_LIST_HEAD(&q->new_flows);
 @@ -476,6 +500,8 @@ static int fq_codel_dump(struct Qdisc *s
                        q->cparams.ecn) ||
index 455add9eae8bbdc51b6cd3107556548c8981f256..21a98071e583ec0f911638614e52fc20a2d8e8a2 100644 (file)
@@ -63,7 +63,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
 --- a/net/sched/sch_fq_codel.c
 +++ b/net/sched/sch_fq_codel.c
 @@ -58,8 +58,11 @@ struct fq_codel_sched_data {
-       u32             perturbation;   /* hash perturbation */
+       siphash_key_t   perturbation;   /* hash perturbation */
        u32             quantum;        /* psched_mtu(qdisc_dev(sch)); */
        u32             drop_batch_size;
 +      u32             memory_limit;
@@ -161,7 +161,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
 +      q->memory_limit = 32 << 20; /* 32 MBytes */
        q->drop_batch_size = 64;
        q->quantum = psched_mtu(qdisc_dev(sch));
-       q->perturbation = prandom_u32();
+       get_random_bytes(&q->perturbation, sizeof(q->perturbation));
 @@ -502,6 +519,8 @@ static int fq_codel_dump(struct Qdisc *s
                        q->quantum) ||
            nla_put_u32(skb, TCA_FQ_CODEL_DROP_BATCH_SIZE,
index 70228bb5f47e1abe014c8bef3d109dc166ce682a..885c0dd0eeed7b1402281d56cc93a12b2055c15d 100644 (file)
@@ -1,6 +1,6 @@
 --- a/scripts/setlocalversion
 +++ b/scripts/setlocalversion
-@@ -165,7 +165,7 @@ else
+@@ -173,7 +173,7 @@ else
        # annotated or signed tagged state (as git describe only
        # looks at signed or annotated tags - git tag -a/-s) and
        # LOCALVERSION= is not specified
index 47fa6c928d0992211e8097b9e06f2c9b5433afab..0f7f202719e025ecd709758c8f579e08623f75f9 100644 (file)
@@ -123,7 +123,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  
 --- a/arch/arm/Kconfig
 +++ b/arch/arm/Kconfig
-@@ -59,6 +59,7 @@ config ARM
+@@ -60,6 +60,7 @@ config ARM
        select HAVE_KERNEL_LZMA
        select HAVE_KERNEL_LZO
        select HAVE_KERNEL_XZ
index c1ce37da2f5d7f6a18f0013b736091e4d5547227..8454adccc7993fe2176779da19d13233e139f7d8 100644 (file)
@@ -3,7 +3,7 @@ they still want to support gcc 3.3 -- well, we don't.
 
 --- a/arch/powerpc/Makefile
 +++ b/arch/powerpc/Makefile
-@@ -205,7 +205,8 @@ ifeq ($(CONFIG_FUNCTION_TRACER),y)
+@@ -213,7 +213,8 @@ ifeq ($(CONFIG_FUNCTION_TRACER),y)
  KBUILD_CFLAGS         += -mno-sched-epilog
  endif
  
index a1773feb39321f6af94d11e0a37afc25ac71c214..aeddbda001ea4e5971b2d6cc74d13e78acae4f5c 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/powerpc/Makefile
 +++ b/arch/powerpc/Makefile
-@@ -167,7 +167,6 @@ CPP                = $(CC) -E $(KBUILD_CFLAGS)
+@@ -175,7 +175,6 @@ CPP                = $(CC) -E $(KBUILD_CFLAGS)
  
  CHECKFLAGS    += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__
  
index 6acdb670deb13015888cb96a3788dd2ef6bb78c3..c7d262de211c27dfb1b87cc350008ed9d344d18b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/include/linux/skbuff.h
 +++ b/include/linux/skbuff.h
-@@ -2182,7 +2182,7 @@ static inline int pskb_network_may_pull(
+@@ -2183,7 +2183,7 @@ static inline int pskb_network_may_pull(
   * NET_IP_ALIGN(2) + ethernet_header(14) + IP_header(20/40) + ports(8)
   */
  #ifndef NET_SKB_PAD
index fbe900891c4faa1b7c6c63d0c03e435fa5d41ad6..b062654b3e0b1d2b9a4b0482dd65b677fd6fa90b 100644 (file)
@@ -8,4 +8,4 @@
 +      q->memory_limit = 4 << 20; /* 4 MBytes */
        q->drop_batch_size = 64;
        q->quantum = psched_mtu(qdisc_dev(sch));
-       q->perturbation = prandom_u32();
+       get_random_bytes(&q->perturbation, sizeof(q->perturbation));
index b3320209c86b748fe459bfaaed47e983e629f7c1..f50c2fdfe01af84d7fc8c0c06e11d103ec7eb784 100644 (file)
@@ -32,7 +32,7 @@
  {
 --- a/include/net/sch_generic.h
 +++ b/include/net/sch_generic.h
-@@ -344,6 +344,7 @@ extern struct Qdisc_ops noop_qdisc_ops;
+@@ -349,6 +349,7 @@ extern struct Qdisc_ops noop_qdisc_ops;
  extern struct Qdisc_ops pfifo_fast_ops;
  extern struct Qdisc_ops mq_qdisc_ops;
  extern struct Qdisc_ops noqueue_qdisc_ops;
index 5cc9bb0cad011c5f70000908a5af836ec4990348..304bb68595a22ab338d94e5dc4ba6b55a95f0e44 100644 (file)
@@ -41,7 +41,7 @@
   */
 --- a/include/linux/skbuff.h
 +++ b/include/linux/skbuff.h
-@@ -2213,6 +2213,10 @@ static inline int pskb_trim(struct sk_bu
+@@ -2214,6 +2214,10 @@ static inline int pskb_trim(struct sk_bu
        return (len < skb->len) ? __pskb_trim(skb, len) : 0;
  }
  
@@ -52,7 +52,7 @@
  /**
   *    pskb_trim_unique - remove end from a paged unique (not cloned) buffer
   *    @skb: buffer to alter
-@@ -2319,16 +2323,6 @@ static inline struct sk_buff *dev_alloc_
+@@ -2320,16 +2324,6 @@ static inline struct sk_buff *dev_alloc_
  }