kernel: bump 6.1 to 6.1.96
authorZxl hhyccc <zxlhhy@gmail.com>
Thu, 27 Jun 2024 15:13:11 +0000 (23:13 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 4 Jul 2024 20:02:47 +0000 (22:02 +0200)
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.96

Manually rebased:
generic/hack-6.1/765-mxl-gpy-control-LED-reg-from-DT.patch
reference:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/net/phy/mxl-gpy.c?h=v6.1.96&id=5bd1b7ab6ae5799c136e4319d8644c5ff9c71757

generic: Fix spelling in dmesg output during boot when using the fitblk driver.

generic/pending-6.1/510-block-add-uImage.FIT-subimage-block-driver.patch

All other patches automatically rebased.

Build system: Kirkwood bcm53xx

Signed-off-by: Zxl hhyccc <zxlhhy@gmail.com>
include/kernel-6.1
target/linux/generic/hack-6.1/765-mxl-gpy-control-LED-reg-from-DT.patch
target/linux/generic/hack-6.1/902-debloat_proc.patch
target/linux/generic/pending-6.1/510-block-add-uImage.FIT-subimage-block-driver.patch
target/linux/generic/pending-6.1/630-packet_socket_type.patch
target/linux/generic/pending-6.1/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch
target/linux/starfive/patches-6.1/0112-dmaengine-dw-axi-dmac-Add-support-for-StarFive-JH711.patch
target/linux/starfive/patches-6.1/0113-dmaengine-dw-axi-dmac-Increase-polling-time-to-DMA-t.patch
target/linux/starfive/patches-6.1/1007-dmaengine-dw-axi-dmac-Handle-xfer-start-while-non-id.patch
target/linux/starfive/patches-6.1/1008-dmaengine-dw-axi-dmac-Add-StarFive-JH7100-support.patch

index 93a76f81febc534e13fc2a2768ee0b9e07683f30..e8acd5ca1f5f157b2eed93059daf04820e1bf2e4 100644 (file)
@@ -1,2 +1,2 @@
-LINUX_VERSION-6.1 = .95
-LINUX_KERNEL_HASH-6.1.95 = 2960f0aa1d75665f39114ad3c272a999c54796e553a2355d0379f5188d14dfbd
+LINUX_VERSION-6.1 = .96
+LINUX_KERNEL_HASH-6.1.96 = 3e77c9069de5e7ab02ff9c2dcfe77dab193613fc1de21071901b4153374862a9
index 2724efa15eb5e1d7a9cb32693e3e1d0ff0a5685d..70851ec9acbb59351fa03faafc74663433a81c34 100644 (file)
@@ -55,7 +55,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
  /* SGMII */
  #define VSPEC1_SGMII_CTRL     0x08
  #define VSPEC1_SGMII_CTRL_ANEN        BIT(12)         /* Aneg enable */
-@@ -241,6 +248,35 @@ out:
+@@ -258,10 +265,39 @@ out:
        return ret;
  }
  
@@ -90,15 +90,8 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
 +
  static int gpy_config_init(struct phy_device *phydev)
  {
-       int ret;
-@@ -252,7 +288,10 @@ static int gpy_config_init(struct phy_de
-       /* Clear all pending interrupts */
-       ret = phy_read(phydev, PHY_ISTAT);
--      return ret < 0 ? ret : 0;
-+      if (ret < 0)
-+              return ret;
-+
+       /* Nothing to configure. Configuration Requirement Placeholder */
+-      return 0;
 +      return gpy_led_write(phydev);
  }
  
index 06b3a04f7a7e53fba4781fd0c29e1807436c5dd8..ee3caa9f473bbccf5e6b411a9897e52f7cb79290 100644 (file)
@@ -330,7 +330,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  
 --- a/net/core/sock.c
 +++ b/net/core/sock.c
-@@ -4115,6 +4115,8 @@ static __net_initdata struct pernet_oper
+@@ -4118,6 +4118,8 @@ static __net_initdata struct pernet_oper
  
  static int __init proto_init(void)
  {
index f88136541f7100d0f19371696befc484e0a14cf1..700eda1c8e04f23eb2a6b659e505a09dc54861b4 100644 (file)
@@ -645,7 +645,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 +          (imgmaxsect + MIN_FREE_SECT) < dsectors) {
 +              add_fit_subimage_device(bdev, slot++, imgmaxsect,
 +                                      dsectors - imgmaxsect, false);
-+              dev_info(dev, "mapped remaing space as /dev/fitrw\n");
++              dev_info(dev, "mapped remaining space as /dev/fitrw\n");
 +      }
 +
 +out_bootconf:
index 9c8be72745a3fc7f43e97722b14649206f1c9da9..359d002b0ef1e870324133e053e61da85e5644bc 100644 (file)
@@ -95,7 +95,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  
        if (sock->type == SOCK_PACKET)
                po->prot_hook.func = packet_rcv_spkt;
-@@ -4012,6 +4015,16 @@ packet_setsockopt(struct socket *sock, i
+@@ -4014,6 +4017,16 @@ packet_setsockopt(struct socket *sock, i
                WRITE_ONCE(po->xmit, val ? packet_direct_xmit : dev_queue_xmit);
                return 0;
        }
@@ -112,7 +112,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        default:
                return -ENOPROTOOPT;
        }
-@@ -4068,6 +4081,13 @@ static int packet_getsockopt(struct sock
+@@ -4070,6 +4083,13 @@ static int packet_getsockopt(struct sock
        case PACKET_VNET_HDR:
                val = po->has_vnet_hdr;
                break;
index 7ffb6dd1d1a6354ef5e1c780723f295303dfbf8b..43d49f07d19b5755c782318d33dc57529258c583 100644 (file)
@@ -138,7 +138,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
  static const struct rt6_info ip6_blk_hole_entry_template = {
        .dst = {
                .__refcnt       = ATOMIC_INIT(1),
-@@ -1040,6 +1054,7 @@ static const int fib6_prop[RTN_MAX + 1]
+@@ -1042,6 +1056,7 @@ static const int fib6_prop[RTN_MAX + 1]
        [RTN_BLACKHOLE] = -EINVAL,
        [RTN_UNREACHABLE] = -EHOSTUNREACH,
        [RTN_PROHIBIT]  = -EACCES,
@@ -146,7 +146,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
        [RTN_THROW]     = -EAGAIN,
        [RTN_NAT]       = -EINVAL,
        [RTN_XRESOLVE]  = -EINVAL,
-@@ -1075,6 +1090,10 @@ static void ip6_rt_init_dst_reject(struc
+@@ -1077,6 +1092,10 @@ static void ip6_rt_init_dst_reject(struc
                rt->dst.output = ip6_pkt_prohibit_out;
                rt->dst.input = ip6_pkt_prohibit;
                break;
@@ -157,7 +157,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
        case RTN_THROW:
        case RTN_UNREACHABLE:
        default:
-@@ -4545,6 +4564,17 @@ static int ip6_pkt_prohibit_out(struct n
+@@ -4547,6 +4566,17 @@ static int ip6_pkt_prohibit_out(struct n
        return ip6_pkt_drop(skb, ICMPV6_ADM_PROHIBITED, IPSTATS_MIB_OUTNOROUTES);
  }
  
@@ -175,7 +175,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
  /*
   *    Allocate a dst for local (unicast / anycast) address.
   */
-@@ -5038,7 +5068,8 @@ static int rtm_to_fib6_config(struct sk_
+@@ -5040,7 +5070,8 @@ static int rtm_to_fib6_config(struct sk_
        if (rtm->rtm_type == RTN_UNREACHABLE ||
            rtm->rtm_type == RTN_BLACKHOLE ||
            rtm->rtm_type == RTN_PROHIBIT ||
@@ -185,7 +185,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
                cfg->fc_flags |= RTF_REJECT;
  
        if (rtm->rtm_type == RTN_LOCAL)
-@@ -6285,6 +6316,8 @@ static int ip6_route_dev_notify(struct n
+@@ -6287,6 +6318,8 @@ static int ip6_route_dev_notify(struct n
  #ifdef CONFIG_IPV6_MULTIPLE_TABLES
                net->ipv6.ip6_prohibit_entry->dst.dev = dev;
                net->ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(dev);
@@ -194,7 +194,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
                net->ipv6.ip6_blk_hole_entry->dst.dev = dev;
                net->ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(dev);
  #endif
-@@ -6296,6 +6329,7 @@ static int ip6_route_dev_notify(struct n
+@@ -6298,6 +6331,7 @@ static int ip6_route_dev_notify(struct n
                in6_dev_put_clear(&net->ipv6.ip6_null_entry->rt6i_idev);
  #ifdef CONFIG_IPV6_MULTIPLE_TABLES
                in6_dev_put_clear(&net->ipv6.ip6_prohibit_entry->rt6i_idev);
@@ -202,7 +202,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
                in6_dev_put_clear(&net->ipv6.ip6_blk_hole_entry->rt6i_idev);
  #endif
        }
-@@ -6487,6 +6521,8 @@ static int __net_init ip6_route_net_init
+@@ -6489,6 +6523,8 @@ static int __net_init ip6_route_net_init
  
  #ifdef CONFIG_IPV6_MULTIPLE_TABLES
        net->ipv6.fib6_has_custom_rules = false;
@@ -211,7 +211,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
        net->ipv6.ip6_prohibit_entry = kmemdup(&ip6_prohibit_entry_template,
                                               sizeof(*net->ipv6.ip6_prohibit_entry),
                                               GFP_KERNEL);
-@@ -6497,11 +6533,21 @@ static int __net_init ip6_route_net_init
+@@ -6499,11 +6535,21 @@ static int __net_init ip6_route_net_init
                         ip6_template_metrics, true);
        INIT_LIST_HEAD(&net->ipv6.ip6_prohibit_entry->rt6i_uncached);
  
@@ -234,7 +234,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
        net->ipv6.ip6_blk_hole_entry->dst.ops = &net->ipv6.ip6_dst_ops;
        dst_init_metrics(&net->ipv6.ip6_blk_hole_entry->dst,
                         ip6_template_metrics, true);
-@@ -6528,6 +6574,8 @@ out:
+@@ -6530,6 +6576,8 @@ out:
        return ret;
  
  #ifdef CONFIG_IPV6_MULTIPLE_TABLES
@@ -243,7 +243,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
  out_ip6_prohibit_entry:
        kfree(net->ipv6.ip6_prohibit_entry);
  out_ip6_null_entry:
-@@ -6547,6 +6595,7 @@ static void __net_exit ip6_route_net_exi
+@@ -6549,6 +6597,7 @@ static void __net_exit ip6_route_net_exi
        kfree(net->ipv6.ip6_null_entry);
  #ifdef CONFIG_IPV6_MULTIPLE_TABLES
        kfree(net->ipv6.ip6_prohibit_entry);
@@ -251,7 +251,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
        kfree(net->ipv6.ip6_blk_hole_entry);
  #endif
        dst_entries_destroy(&net->ipv6.ip6_dst_ops);
-@@ -6630,6 +6679,9 @@ void __init ip6_route_init_special_entri
+@@ -6632,6 +6681,9 @@ void __init ip6_route_init_special_entri
        init_net.ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev);
        init_net.ipv6.ip6_blk_hole_entry->dst.dev = init_net.loopback_dev;
        init_net.ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev);
index 8b15fc213aad135255f37314e3f3ef062e23d2e2..a8cc23bf10eff22e0972fbd45ad9457f7e9503bb 100644 (file)
@@ -51,7 +51,7 @@ Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
                cfg_hi = config->tt_fc << CH_CFG_H_TT_FC_POS |
                         config->hs_sel_src << CH_CFG_H_HS_SEL_SRC_POS |
                         config->hs_sel_dst << CH_CFG_H_HS_SEL_DST_POS |
-@@ -1367,11 +1374,12 @@ static int parse_device_properties(struc
+@@ -1365,11 +1372,12 @@ static int parse_device_properties(struc
  
  static int dw_probe(struct platform_device *pdev)
  {
@@ -65,7 +65,7 @@ Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
        u32 i;
        int ret;
  
-@@ -1400,12 +1408,25 @@ static int dw_probe(struct platform_devi
+@@ -1398,12 +1406,25 @@ static int dw_probe(struct platform_devi
        if (IS_ERR(chip->regs))
                return PTR_ERR(chip->regs);
  
@@ -92,7 +92,7 @@ Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
        chip->core_clk = devm_clk_get(chip->dev, "core-clk");
        if (IS_ERR(chip->core_clk))
                return PTR_ERR(chip->core_clk);
-@@ -1556,8 +1577,15 @@ static const struct dev_pm_ops dw_axi_dm
+@@ -1554,8 +1575,15 @@ static const struct dev_pm_ops dw_axi_dm
  };
  
  static const struct of_device_id dw_dma_of_id_table[] = {
index 903efb43c1c1fc6278c5bda2c4a7095fa05057e9..30f4abd798f0c5832bf67b6cb06ba8faeb558208 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
 
 --- a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
 +++ b/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
-@@ -1147,7 +1147,7 @@ static int dma_chan_terminate_all(struct
+@@ -1145,7 +1145,7 @@ static int dma_chan_terminate_all(struct
        axi_chan_disable(chan);
  
        ret = readl_poll_timeout_atomic(chan->chip->regs + DMAC_CHEN, val,
index 1599e8a2caac5141243f160868cb0dcbfadacfbf..2c0b1938cecf371898c59f0ba82a8dc85b3ae342 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: Curry Zhang <curry.zhang@starfivetech.com>
 
 --- a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
 +++ b/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
-@@ -382,11 +382,13 @@ static void axi_chan_block_xfer_start(st
+@@ -383,11 +383,13 @@ static void axi_chan_block_xfer_start(st
        u32 irq_mask;
        u8 lms = 0; /* Select AXI0 master for LLI fetching */
  
@@ -28,7 +28,7 @@ Signed-off-by: Curry Zhang <curry.zhang@starfivetech.com>
        }
  
        axi_dma_enable(chan->chip);
-@@ -1028,6 +1030,14 @@ static noinline void axi_chan_handle_err
+@@ -1029,6 +1031,14 @@ static noinline void axi_chan_handle_err
                        axi_chan_name(chan));
                goto out;
        }
index e01c37fd761a2771ad8020f8d59816fd605e790a..854e739bab5fb155f95e6a8d7966aa04297e0cdd 100644 (file)
@@ -12,7 +12,7 @@ Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
 
 --- a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
 +++ b/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
-@@ -677,8 +677,13 @@ static int dw_axi_dma_set_hw_desc(struct
+@@ -678,8 +678,13 @@ static int dw_axi_dma_set_hw_desc(struct
  
        hw_desc->lli->block_ts_lo = cpu_to_le32(block_ts - 1);
  
@@ -26,7 +26,7 @@ Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
        hw_desc->lli->ctl_lo = cpu_to_le32(ctllo);
  
        set_desc_src_master(hw_desc);
-@@ -1508,7 +1513,11 @@ static int dw_probe(struct platform_devi
+@@ -1506,7 +1511,11 @@ static int dw_probe(struct platform_devi
         * Therefore, set constraint to 1024 * 4.
         */
        dw->dma.dev->dma_parms = &dw->dma_parms;
@@ -38,7 +38,7 @@ Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
        platform_set_drvdata(pdev, chip);
  
        pm_runtime_enable(chip->dev);
-@@ -1593,6 +1602,9 @@ static const struct of_device_id dw_dma_
+@@ -1591,6 +1600,9 @@ static const struct of_device_id dw_dma_
                .compatible = "intel,kmb-axi-dma",
                .data = (void *)AXI_DMA_FLAG_HAS_APB_REGS,
        }, {
@@ -50,7 +50,7 @@ Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
        },
 --- a/drivers/dma/dw-axi-dmac/dw-axi-dmac.h
 +++ b/drivers/dma/dw-axi-dmac/dw-axi-dmac.h
-@@ -283,7 +283,11 @@ enum {
+@@ -284,7 +284,11 @@ enum {
  #define CH_CTL_L_SRC_MAST             BIT(0)
  
  /* CH_CFG_H */