]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Merge branch 'master' of gitolite.kernel.org:/pub/scm/linux/kernel/git/stable/stable...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Jan 2022 10:13:20 +0000 (11:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Jan 2022 10:13:20 +0000 (11:13 +0100)
12 files changed:
1  2 
queue-4.19/ipv4-tcp-send-zero-ipid-in-synack-messages.patch
queue-4.4/ipv4-tcp-send-zero-ipid-in-synack-messages.patch
queue-4.9/ipv4-tcp-send-zero-ipid-in-synack-messages.patch
queue-5.15/irqchip-realtek-rtl-fix-off-by-one-in-routing.patch
queue-5.15/irqchip-realtek-rtl-map-control-data-to-virq.patch
queue-5.15/perf-core-fix-cgroup-event-list-management.patch
queue-5.16/irqchip-realtek-rtl-fix-off-by-one-in-routing.patch
queue-5.16/irqchip-realtek-rtl-map-control-data-to-virq.patch
queue-5.16/pci-mt7621-remove-unused-function-pcie_rmw.patch
queue-5.16/perf-core-fix-cgroup-event-list-management.patch
queue-5.16/series
queue-5.16/tools-testing-scatterlist-add-missing-defines.patch

index d61a398933b8aa33604a16462dbeb983d25a9569,d61a398933b8aa33604a16462dbeb983d25a9569..b9617ca2f08f8b1aa69c50d431ce1caf664be5e1
@@@ -43,14 -43,14 +43,12 @@@ Cc: Willy Tarreau <w@1wt.eu
  Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  Signed-off-by: Sasha Levin <sashal@kernel.org>
  ---
-- net/ipv4/ip_output.c | 11 +++++++++--
++ net/ipv4/ip_output.c |   11 +++++++++--
   1 file changed, 9 insertions(+), 2 deletions(-)
  
--diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
--index 25beecee89494..06a981676356c 100644
  --- a/net/ipv4/ip_output.c
  +++ b/net/ipv4/ip_output.c
--@@ -160,12 +160,19 @@ int ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk,
++@@ -160,12 +160,19 @@ int ip_build_and_send_pkt(struct sk_buff
        iph->daddr    = (opt && opt->opt.srr ? opt->opt.faddr : daddr);
        iph->saddr    = saddr;
        iph->protocol = sk->sk_protocol;
@@@ -72,6 -72,6 +70,3 @@@
        }
   
        if (opt && opt->opt.optlen) {
---- 
--2.34.1
--
index ec41324da048273580131459551c2ba35984a3aa,ec41324da048273580131459551c2ba35984a3aa..fde1dd2a3de433ea42780cbf1295be6926044825
@@@ -43,14 -43,14 +43,12 @@@ Cc: Willy Tarreau <w@1wt.eu
  Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  Signed-off-by: Sasha Levin <sashal@kernel.org>
  ---
-- net/ipv4/ip_output.c | 11 +++++++++--
++ net/ipv4/ip_output.c |   11 +++++++++--
   1 file changed, 9 insertions(+), 2 deletions(-)
  
--diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
--index 477540b3d3207..efd4410a73587 100644
  --- a/net/ipv4/ip_output.c
  +++ b/net/ipv4/ip_output.c
--@@ -155,12 +155,19 @@ int ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk,
++@@ -155,12 +155,19 @@ int ip_build_and_send_pkt(struct sk_buff
        iph->daddr    = (opt && opt->opt.srr ? opt->opt.faddr : daddr);
        iph->saddr    = saddr;
        iph->protocol = sk->sk_protocol;
@@@ -72,6 -72,6 +70,3 @@@
        }
   
        if (opt && opt->opt.optlen) {
---- 
--2.34.1
--
index d62e0a7e9457977968cbb4589b92c4159e13880e,d62e0a7e9457977968cbb4589b92c4159e13880e..44d6c1f933ea43f339e938f9703092da0213156b
@@@ -43,14 -43,14 +43,12 @@@ Cc: Willy Tarreau <w@1wt.eu
  Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  Signed-off-by: Sasha Levin <sashal@kernel.org>
  ---
-- net/ipv4/ip_output.c | 11 +++++++++--
++ net/ipv4/ip_output.c |   11 +++++++++--
   1 file changed, 9 insertions(+), 2 deletions(-)
  
--diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
--index 589fd0904e0de..bd53136c28262 100644
  --- a/net/ipv4/ip_output.c
  +++ b/net/ipv4/ip_output.c
--@@ -159,12 +159,19 @@ int ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk,
++@@ -159,12 +159,19 @@ int ip_build_and_send_pkt(struct sk_buff
        iph->daddr    = (opt && opt->opt.srr ? opt->opt.faddr : daddr);
        iph->saddr    = saddr;
        iph->protocol = sk->sk_protocol;
@@@ -72,6 -72,6 +70,3 @@@
        }
   
        if (opt && opt->opt.optlen) {
---- 
--2.34.1
--
index 0b6369b61a460502225d34683130037a1357e36d,5c522f66122cc2841cfe3e8907f9a73f07807262..4d194b682b4f50f6cb244808a08e2c2ad44fd18a
@@@ -21,14 -21,16 +21,15 @@@ Fixes: 9f3a0f34b84a ("irqchip: Add supp
  Signed-off-by: Sander Vanheule <sander@svanheule.net>
  Signed-off-by: Marc Zyngier <maz@kernel.org>
  Link: https://lore.kernel.org/r/177b920aa8d8610615692d0e657e509f363c85ca.1641739718.git.sander@svanheule.net
 +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+ Signed-off-by: Sasha Levin <sashal@kernel.org>
  ---
 - drivers/irqchip/irq-realtek-rtl.c | 8 +++++---
 + drivers/irqchip/irq-realtek-rtl.c |    8 +++++---
   1 file changed, 5 insertions(+), 3 deletions(-)
  
 -diff --git a/drivers/irqchip/irq-realtek-rtl.c b/drivers/irqchip/irq-realtek-rtl.c
 -index d6788dd93c7bb..568614edd88f4 100644
  --- a/drivers/irqchip/irq-realtek-rtl.c
  +++ b/drivers/irqchip/irq-realtek-rtl.c
 -@@ -95,7 +95,8 @@ static void realtek_irq_dispatch(struct irq_desc *desc)
 +@@ -95,7 +95,8 @@ out:
    * SoC interrupts are cascaded to MIPS CPU interrupts according to the
    * interrupt-map in the device tree. Each SoC interrupt gets 4 bits for
    * the CPU interrupt in an Interrupt Routing Register. Max 32 SoC interrupts
index 2f50ebdb0d30fdb4a53c8919f8425654d5e04415,2996e237e7ab3ca99f3a3c6ef1919b4ea298c0c9..0f13a09d7b235ac8391065ac555f9299f577223f
@@@ -16,14 -16,16 +16,15 @@@ Fixes: 9f3a0f34b84a ("irqchip: Add supp
  Signed-off-by: Sander Vanheule <sander@svanheule.net>
  Signed-off-by: Marc Zyngier <maz@kernel.org>
  Link: https://lore.kernel.org/r/4b4936606480265db47df152f00bc2ed46340599.1641739718.git.sander@svanheule.net
 +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+ Signed-off-by: Sasha Levin <sashal@kernel.org>
  ---
 - drivers/irqchip/irq-realtek-rtl.c | 2 +-
 + drivers/irqchip/irq-realtek-rtl.c |    2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
  
 -diff --git a/drivers/irqchip/irq-realtek-rtl.c b/drivers/irqchip/irq-realtek-rtl.c
 -index fd9f275592d29..d6788dd93c7bb 100644
  --- a/drivers/irqchip/irq-realtek-rtl.c
  +++ b/drivers/irqchip/irq-realtek-rtl.c
 -@@ -62,7 +62,7 @@ static struct irq_chip realtek_ictl_irq = {
 +@@ -62,7 +62,7 @@ static struct irq_chip realtek_ictl_irq
   
   static int intc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw)
   {
index cac6bb2e66f14247c7b6b25ee3a6849e5dad131f,5f7ecc0b5acfcde93013492765ec219b395b4384..d9d7da3f53fb419bf22f4d6d9901ef1849515140
@@@ -34,14 -34,16 +34,15 @@@ Fixes: ef54c1a476ae ("perf: Rework perf
  Signed-off-by: Namhyung Kim <namhyung@kernel.org>
  Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
  Link: https://lkml.kernel.org/r/20220124195808.2252071-1-namhyung@kernel.org
 +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+ Signed-off-by: Sasha Levin <sashal@kernel.org>
  ---
 - kernel/events/core.c | 11 +++++++++--
 + kernel/events/core.c |   11 +++++++++--
   1 file changed, 9 insertions(+), 2 deletions(-)
  
 -diff --git a/kernel/events/core.c b/kernel/events/core.c
 -index 0153f8f972834..c7581e3fb8ab1 100644
  --- a/kernel/events/core.c
  +++ b/kernel/events/core.c
 -@@ -2458,7 +2458,11 @@ static void perf_remove_from_context(struct perf_event *event, unsigned long fla
 +@@ -2458,7 +2458,11 @@ static void perf_remove_from_context(str
         * event_function_call() user.
         */
        raw_spin_lock_irq(&ctx->lock);
index 0b6369b61a460502225d34683130037a1357e36d,a9cd9f7ee785dd8ae7adfd89a6718b64968c8e36..4d194b682b4f50f6cb244808a08e2c2ad44fd18a
@@@ -21,14 -21,16 +21,15 @@@ Fixes: 9f3a0f34b84a ("irqchip: Add supp
  Signed-off-by: Sander Vanheule <sander@svanheule.net>
  Signed-off-by: Marc Zyngier <maz@kernel.org>
  Link: https://lore.kernel.org/r/177b920aa8d8610615692d0e657e509f363c85ca.1641739718.git.sander@svanheule.net
 +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+ Signed-off-by: Sasha Levin <sashal@kernel.org>
  ---
 - drivers/irqchip/irq-realtek-rtl.c | 8 +++++---
 + drivers/irqchip/irq-realtek-rtl.c |    8 +++++---
   1 file changed, 5 insertions(+), 3 deletions(-)
  
 -diff --git a/drivers/irqchip/irq-realtek-rtl.c b/drivers/irqchip/irq-realtek-rtl.c
 -index d6788dd93c7bb..568614edd88f4 100644
  --- a/drivers/irqchip/irq-realtek-rtl.c
  +++ b/drivers/irqchip/irq-realtek-rtl.c
 -@@ -95,7 +95,8 @@ static void realtek_irq_dispatch(struct irq_desc *desc)
 +@@ -95,7 +95,8 @@ out:
    * SoC interrupts are cascaded to MIPS CPU interrupts according to the
    * interrupt-map in the device tree. Each SoC interrupt gets 4 bits for
    * the CPU interrupt in an Interrupt Routing Register. Max 32 SoC interrupts
index 2f50ebdb0d30fdb4a53c8919f8425654d5e04415,0be2efd38fb372dce1d119d1cbf77fc6622c73cf..0f13a09d7b235ac8391065ac555f9299f577223f
@@@ -16,14 -16,16 +16,15 @@@ Fixes: 9f3a0f34b84a ("irqchip: Add supp
  Signed-off-by: Sander Vanheule <sander@svanheule.net>
  Signed-off-by: Marc Zyngier <maz@kernel.org>
  Link: https://lore.kernel.org/r/4b4936606480265db47df152f00bc2ed46340599.1641739718.git.sander@svanheule.net
 +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+ Signed-off-by: Sasha Levin <sashal@kernel.org>
  ---
 - drivers/irqchip/irq-realtek-rtl.c | 2 +-
 + drivers/irqchip/irq-realtek-rtl.c |    2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
  
 -diff --git a/drivers/irqchip/irq-realtek-rtl.c b/drivers/irqchip/irq-realtek-rtl.c
 -index fd9f275592d29..d6788dd93c7bb 100644
  --- a/drivers/irqchip/irq-realtek-rtl.c
  +++ b/drivers/irqchip/irq-realtek-rtl.c
 -@@ -62,7 +62,7 @@ static struct irq_chip realtek_ictl_irq = {
 +@@ -62,7 +62,7 @@ static struct irq_chip realtek_ictl_irq
   
   static int intc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw)
   {
index 401668397147a51338bc97db22e7d4c70cef7491,0000000000000000000000000000000000000000..0110b72ba9202f0347169f94050315709a617c71
mode 100644,000000..100644
--- /dev/null
@@@ -1,48 -1,0 +1,43 @@@
-  drivers/pci/controller/pcie-mt7621.c | 9 ---------
 +From c035366d9c9fe48d947ee6c43465ab43d42e20f2 Mon Sep 17 00:00:00 2001
 +From: Sergio Paracuellos <sergio.paracuellos@gmail.com>
 +Date: Mon, 24 Jan 2022 12:30:03 +0100
 +Subject: PCI: mt7621: Remove unused function pcie_rmw()
 +
 +From: Sergio Paracuellos <sergio.paracuellos@gmail.com>
 +
 +commit c035366d9c9fe48d947ee6c43465ab43d42e20f2 upstream.
 +
 +Function pcie_rmw() is not being used at all and can be deleted. Hence get
 +rid of it, which fixes this warning:
 +
 +  drivers/pci/controller/pcie-mt7621.c:112:20: warning: unused function 'pcie_rmw' [-Wunused-function]
 +
 +Fixes: 2bdd5238e756 ("PCI: mt7621: Add MediaTek MT7621 PCIe host controller driver")
 +Link: https://lore.kernel.org/r/20220124113003.406224-3-sergio.paracuellos@gmail.com
 +Link: https://lore.kernel.org/all/202201241754.igtHzgHv-lkp@intel.com/
 +Reported-by: kernel test robot <lkp@intel.com>
 +Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
 +Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
 +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 +---
- diff --git a/drivers/pci/controller/pcie-mt7621.c b/drivers/pci/controller/pcie-mt7621.c
- index f2e567282d3e..33eb37a2225c 100644
++ drivers/pci/controller/pcie-mt7621.c |    9 ---------
 + 1 file changed, 9 deletions(-)
 +
- @@ -109,15 +109,6 @@ static inline void pcie_write(struct mt7621_pcie *pcie, u32 val, u32 reg)
 +--- a/drivers/pci/controller/pcie-mt7621.c
 ++++ b/drivers/pci/controller/pcie-mt7621.c
- -- 
- 2.35.1
++@@ -109,15 +109,6 @@ static inline void pcie_write(struct mt7
 +      writel_relaxed(val, pcie->base + reg);
 + }
 + 
 +-static inline void pcie_rmw(struct mt7621_pcie *pcie, u32 reg, u32 clr, u32 set)
 +-{
 +-     u32 val = readl_relaxed(pcie->base + reg);
 +-
 +-     val &= ~clr;
 +-     val |= set;
 +-     writel_relaxed(val, pcie->base + reg);
 +-}
 +-
 + static inline u32 pcie_port_read(struct mt7621_pcie_port *port, u32 reg)
 + {
 +      return readl_relaxed(port->base + reg);
index cac6bb2e66f14247c7b6b25ee3a6849e5dad131f,686423a84f4255069ffece975976c132a02501bc..d9d7da3f53fb419bf22f4d6d9901ef1849515140
@@@ -34,14 -34,16 +34,15 @@@ Fixes: ef54c1a476ae ("perf: Rework perf
  Signed-off-by: Namhyung Kim <namhyung@kernel.org>
  Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
  Link: https://lkml.kernel.org/r/20220124195808.2252071-1-namhyung@kernel.org
 +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+ Signed-off-by: Sasha Levin <sashal@kernel.org>
  ---
 - kernel/events/core.c | 11 +++++++++--
 + kernel/events/core.c |   11 +++++++++--
   1 file changed, 9 insertions(+), 2 deletions(-)
  
 -diff --git a/kernel/events/core.c b/kernel/events/core.c
 -index a0064dd706538..6ed890480c4aa 100644
  --- a/kernel/events/core.c
  +++ b/kernel/events/core.c
 -@@ -2458,7 +2458,11 @@ static void perf_remove_from_context(struct perf_event *event, unsigned long fla
 +@@ -2458,7 +2458,11 @@ static void perf_remove_from_context(str
         * event_function_call() user.
         */
        raw_spin_lock_irq(&ctx->lock);
index 645851c84a3bf11f82c7d7f45b3e2810da91d047,02f30a2d0fcccd1893c2c6d33422cf9503a6066e..59530c47096cb619e8b0e965db0cdc6e5963bc2c
@@@ -186,10 -186,7 +186,11 @@@ ipv4-remove-sparse-error-in-ip_neigh_gw
  net-bridge-vlan-fix-memory-leak-in-__allowed_ingress.patch
  irqchip-realtek-rtl-map-control-data-to-virq.patch
  irqchip-realtek-rtl-fix-off-by-one-in-routing.patch
 +dt-bindings-can-tcan4x5x-fix-mram-cfg-rx-fifo-config.patch
 +pci-mt7621-remove-unused-function-pcie_rmw.patch
  perf-core-fix-cgroup-event-list-management.patch
 -psi-fix-no-previous-prototype-warnings-when-config_c.patch
 -psi-fix-defined-but-not-used-warnings-when-config_pr.patch
 +psi-fix-no-previous-prototype-warnings-when-config_cgroups-n.patch
 +psi-fix-defined-but-not-used-warnings-when-config_proc_fs-n.patch
 +usb-dwc3-xilinx-fix-uninitialized-return-value.patch
 +usr-include-makefile-add-linux-nfc.h-to-the-compile-test-coverage.patch
+ tools-testing-scatterlist-add-missing-defines.patch
index 0000000000000000000000000000000000000000,405cddc694aa685dd59772e40293a5a3f44032f0..8d101278ef3ca142200eb6ba48de57583bde56ee
mode 000000,100644..100644
--- /dev/null
@@@ -1,0 -1,67 +1,63 @@@
 - tools/testing/scatterlist/linux/mm.h | 3 ++-
+ From 08b6cb9abb05b1817400259cff0bb7d17f32807c Mon Sep 17 00:00:00 2001
+ From: Sasha Levin <sashal@kernel.org>
+ Date: Sat, 29 Jan 2022 13:41:07 -0800
+ Subject: tools/testing/scatterlist: add missing defines
+ MIME-Version: 1.0
+ Content-Type: text/plain; charset=UTF-8
+ Content-Transfer-Encoding: 8bit
+ From: Maor Gottlieb <maorg@nvidia.com>
+ [ Upstream commit 0226bd64da52aa23120d1450c37a424387827a21 ]
+ The cited commits replaced preemptible with pagefault_disabled and
+ flush_kernel_dcache_page with flush_dcache_page respectively, hence need
+ to update the corresponding defines in the test.
+   scatterlist.c: In function ‘sg_miter_stop’:
+   scatterlist.c:919:4: warning: implicit declaration of function ‘flush_dcache_page’ [-Wimplicit-function-declaration]
+       flush_dcache_page(miter->page);
+       ^~~~~~~~~~~~~~~~~
+   In file included from linux/scatterlist.h:8:0,
+                    from scatterlist.c:9:
+   scatterlist.c:922:18: warning: implicit declaration of function ‘pagefault_disabled’ [-Wimplicit-function-declaration]
+       WARN_ON_ONCE(!pagefault_disabled());
+                     ^
+   linux/mm.h:23:25: note: in definition of macro ‘WARN_ON_ONCE’
+     int __ret_warn_on = !!(condition);                      \
+                            ^~~~~~~~~
+ Link: https://lkml.kernel.org/r/20220118082105.1737320-1-maorg@nvidia.com
+ Fixes: 723aca208516 ("mm/scatterlist: replace the !preemptible warning in sg_miter_stop()")
+ Fixes: 0e84f5dbf8d6 ("scatterlist: replace flush_kernel_dcache_page with flush_dcache_page")
+ Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
+ Tested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
+ Cc: Thomas Gleixner <tglx@linutronix.de>
+ Cc: Christoph Hellwig <hch@lst.de>
+ Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
+ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
+ Signed-off-by: Sasha Levin <sashal@kernel.org>
++Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+ ---
 -diff --git a/tools/testing/scatterlist/linux/mm.h b/tools/testing/scatterlist/linux/mm.h
 -index 16ec895bbe5ff..5bd9e6e806254 100644
++ tools/testing/scatterlist/linux/mm.h |    3 ++-
+  1 file changed, 2 insertions(+), 1 deletion(-)
 -@@ -74,7 +74,7 @@ static inline unsigned long page_to_phys(struct page *page)
+ --- a/tools/testing/scatterlist/linux/mm.h
+ +++ b/tools/testing/scatterlist/linux/mm.h
 -@@ -127,6 +127,7 @@ kmalloc_array(unsigned int n, unsigned int size, unsigned int flags)
++@@ -74,7 +74,7 @@ static inline unsigned long page_to_phys
+             __UNIQUE_ID(min1_), __UNIQUE_ID(min2_),   \
+             x, y)
+  
+ -#define preemptible() (1)
+ +#define pagefault_disabled() (0)
+  
+  static inline void *kmap(struct page *page)
+  {
 --- 
 -2.34.1
 -
++@@ -127,6 +127,7 @@ kmalloc_array(unsigned int n, unsigned i
+  #define kmemleak_free(a)
+  
+  #define PageSlab(p) (0)
+ +#define flush_dcache_page(p)
+  
+  #define MAX_ERRNO    4095
+