kernel: bump 5.10 to 5.10.177
authorJohn Audia <therealgraysky@proton.me>
Wed, 5 Apr 2023 15:56:48 +0000 (11:56 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 6 May 2023 12:56:00 +0000 (14:56 +0200)
All patches automatically rebased.

Signed-off-by: John Audia <therealgraysky@proton.me>
[Refresh patches on openwrt-22.03 branch]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 78a468f690a0f3052ff68ef33910705b25bac33d)

14 files changed:
include/kernel-5.10
target/linux/bcm27xx/patches-5.10/950-0006-smsx95xx-fix-crimes-against-truesize.patch
target/linux/bcm27xx/patches-5.10/950-0689-drm-automatic-legacy-gamma-support.patch
target/linux/bcm27xx/patches-5.10/950-0690-drm-Pass-the-full-state-to-connectors-atomic-functio.patch
target/linux/bmips/patches-5.10/020-v5.12-mips-bmips-init-clocks-earlier.patch
target/linux/bmips/patches-5.10/200-mips-bmips-automatically-detect-CPU-frequency.patch
target/linux/bmips/patches-5.10/201-mips-bmips-automatically-detect-RAM-size.patch
target/linux/generic/hack-5.10/711-net-dsa-mv88e6xxx-disable-ATU-violation.patch
target/linux/generic/hack-5.10/904-debloat_dma_buf.patch
target/linux/generic/pending-5.10/760-net-dsa-mv88e6xxx-fix-vlan-setup.patch
target/linux/generic/pending-5.10/768-net-dsa-mv88e6xxx-Request-assisted-learning-on-CPU-port.patch
target/linux/ramips/patches-5.10/720-Revert-net-phy-simplify-phy_link_change-arguments.patch
target/linux/ramips/patches-5.10/721-NET-no-auto-carrier-off-support.patch
target/linux/ramips/patches-5.10/850-awake-rt305x-dwc2-controller.patch

index 61a182a2cd95556f57e98e6b789239c523eaed84..9e63190cdd89da4c52287d7a790d8a1df93f6aab 100644 (file)
@@ -1,2 +1,2 @@
-LINUX_VERSION-5.10 = .176
-LINUX_KERNEL_HASH-5.10.176 = ce072c60ba04173e05b2a1de3fefdeba5ac8b28b1958d92d21bdbf9b736ef793
+LINUX_VERSION-5.10 = .177
+LINUX_KERNEL_HASH-5.10.177 = 9f2261fea804112dcec8fa2dcc26e9c1388aa9cb7f86e5913beb00b9b5a15571
index 659f06dfa23132a7b8276d07323158a38b190b94..adc60f9f4ba8b3327bcd163cf45e11a74829987b 100644 (file)
@@ -25,7 +25,7 @@ Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
  static int __must_check __smsc95xx_read_reg(struct usbnet *dev, u32 index,
                                            u32 *data, int in_pm)
  {
-@@ -1853,7 +1857,8 @@ static int smsc95xx_rx_fixup(struct usbn
+@@ -1859,7 +1863,8 @@ static int smsc95xx_rx_fixup(struct usbn
                                if (dev->net->features & NETIF_F_RXCSUM)
                                        smsc95xx_rx_csum_offload(skb);
                                skb_trim(skb, skb->len - 4); /* remove fcs */
@@ -35,7 +35,7 @@ Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
  
                                return 1;
                        }
-@@ -1871,7 +1876,8 @@ static int smsc95xx_rx_fixup(struct usbn
+@@ -1877,7 +1882,8 @@ static int smsc95xx_rx_fixup(struct usbn
                        if (dev->net->features & NETIF_F_RXCSUM)
                                smsc95xx_rx_csum_offload(ax_skb);
                        skb_trim(ax_skb, ax_skb->len - 4); /* remove fcs */
index 2676f993c7d887d7f97c20d9c4d63928929a5b07..26dd8a9bc295394f19c114330d925b2566ced7f0 100644 (file)
@@ -336,7 +336,7 @@ Link: https://patchwork.freedesktop.org/patch/msgid/20201211114237.213288-2-tomi
        DRM_MODESET_LOCK_ALL_END(dev, ctx, ret);
 --- a/drivers/gpu/drm/i915/display/intel_display.c
 +++ b/drivers/gpu/drm/i915/display/intel_display.c
-@@ -16562,7 +16562,6 @@ fail:
+@@ -16563,7 +16563,6 @@ fail:
  }
  
  #define INTEL_CRTC_FUNCS \
index 2a7b4762fec668a6965e1226bfbb7164639b1a12..949c85d0c88cd52fecc62431bee578d029653a31 100644 (file)
@@ -190,7 +190,7 @@ Link: https://patchwork.freedesktop.org/patch/msgid/20201118094758.506730-1-maxi
  #include <drm/drm_atomic_helper.h>
  #include <drm/drm_dp_mst_helper.h>
  #include <drm/drm_dp_helper.h>
-@@ -264,8 +265,10 @@ static int dm_dp_mst_get_modes(struct dr
+@@ -283,8 +284,10 @@ static int dm_dp_mst_get_modes(struct dr
  
  static struct drm_encoder *
  dm_mst_atomic_best_encoder(struct drm_connector *connector,
index 7b9d92609f5f243e0d065a5a27cd7e747e7288f0..10113077c80cc14510d7fbf6396a5232ac3d58fa 100644 (file)
@@ -17,7 +17,7 @@ Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
 
 --- a/arch/mips/bmips/setup.c
 +++ b/arch/mips/bmips/setup.c
-@@ -201,4 +201,4 @@ static int __init plat_dev_init(void)
+@@ -209,4 +209,4 @@ static int __init plat_dev_init(void)
        return 0;
  }
  
index 2a3aac217f4872acbc093e5e2439d23722218f13..cb4e8640b45e4596ad02b477d41721af51e73d78 100644 (file)
@@ -15,7 +15,7 @@ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
 
 --- a/arch/mips/bmips/setup.c
 +++ b/arch/mips/bmips/setup.c
-@@ -31,11 +31,51 @@
+@@ -31,13 +31,52 @@
  
  #define RELO_NORMAL_VEC               BIT(18)
  
@@ -55,7 +55,8 @@ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
 +#define REG_BCM63268_MISC_SB  ((void __iomem *)CKSEG1ADDR(0x10001814))
 +#define BCM63268_FCVO_SHIFT   21
 +#define BCM63268_FCVO_MASK    (0xf << BCM63268_FCVO_SHIFT)
-+
+ extern bool bmips_rac_flush_disable;
  
  static const unsigned long kbase = VMLINUX_LOAD_ADDRESS & 0xfff00000;
  
@@ -67,7 +68,7 @@ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
  struct bmips_quirk {
        const char              *compatible;
        void                    (*quirk_fn)(void);
-@@ -138,17 +178,161 @@ const char *get_system_type(void)
+@@ -146,17 +185,161 @@ const char *get_system_type(void)
        return "Generic BMIPS kernel";
  }
  
index 11459ad58f71b052faccd7b2307701c9c270b8d4..a16cbb03e41f1060dc90d39f7dfa938272683b6f 100644 (file)
@@ -50,12 +50,12 @@ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
  #define REG_BCM6368_DDR_PLLC  ((void __iomem *)CKSEG1ADDR(0x100012a0))
  #define BCM6368_PLLC_P1_SHIFT 0
  #define BCM6368_PLLC_P1_MASK  (0xf << BCM6368_PLLC_P1_SHIFT)
-@@ -67,7 +73,21 @@
+@@ -67,6 +73,21 @@
  #define REG_BCM63268_MISC_SB  ((void __iomem *)CKSEG1ADDR(0x10001814))
  #define BCM63268_FCVO_SHIFT   21
  #define BCM63268_FCVO_MASK    (0xf << BCM63268_FCVO_SHIFT)
 +#define BCM63268_MEMC_ADDR    ((void __iomem *)CKSEG1ADDR(0x10003000))
++
 +#define SDRAM_CFG_REG         0x0
 +#define SDRAM_SPACE_SHIFT     4
 +#define SDRAM_SPACE_MASK      (0xf << SDRAM_SPACE_SHIFT)
@@ -70,9 +70,9 @@ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
 +
 +#define DDR_CSEND_REG         0x8
  
static const unsigned long kbase = VMLINUX_LOAD_ADDRESS & 0xfff00000;
extern bool bmips_rac_flush_disable;
  
-@@ -76,6 +96,11 @@ struct bmips_cpufreq {
+@@ -77,6 +98,11 @@ struct bmips_cpufreq {
        u32                     (*cpu_freq)(void);
  };
  
@@ -84,7 +84,7 @@ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
  struct bmips_quirk {
        const char              *compatible;
        void                    (*quirk_fn)(void);
-@@ -337,9 +362,90 @@ void __init plat_time_init(void)
+@@ -344,9 +370,90 @@ void __init plat_time_init(void)
        mips_hpt_frequency = freq;
  }
  
@@ -175,7 +175,7 @@ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
        const struct bmips_quirk *q;
  
        set_io_port_base(0);
-@@ -358,6 +464,18 @@ void __init plat_mem_setup(void)
+@@ -365,6 +472,18 @@ void __init plat_mem_setup(void)
  
        __dt_setup_arch(dtb);
  
index 7ec2afb2d2ac2ff65044aba456f7b02c29e6cdd3..100094f59e25e032a536bff0dfceb5ee1f623907 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/dsa/mv88e6xxx/chip.c
 +++ b/drivers/net/dsa/mv88e6xxx/chip.c
-@@ -2663,6 +2663,9 @@ static int mv88e6xxx_setup_port(struct m
+@@ -2668,6 +2668,9 @@ static int mv88e6xxx_setup_port(struct m
        if (dsa_is_cpu_port(ds, port))
                reg = 0;
  
index 333ed12b06693d3dc97cc5fdc9de6a1215eff7a2..7bf15c1dd8f6aa0e4bb6a935e2de598120804fa2 100644 (file)
@@ -72,7 +72,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 +MODULE_LICENSE("GPL");
 --- a/kernel/sched/core.c
 +++ b/kernel/sched/core.c
-@@ -3071,6 +3071,7 @@ int wake_up_state(struct task_struct *p,
+@@ -3074,6 +3074,7 @@ int wake_up_state(struct task_struct *p,
  {
        return try_to_wake_up(p, state, 0);
  }
index 16096b40e793750ed0bcdbac773bd5d6b64aec05..e9c128a5b3a12f7a622504132d51a2bd7fd3096e 100644 (file)
@@ -17,7 +17,7 @@ Signed-off-by: DENG Qingfang <dqfext@gmail.com>
 
 --- a/drivers/net/dsa/mv88e6xxx/chip.c
 +++ b/drivers/net/dsa/mv88e6xxx/chip.c
-@@ -2881,6 +2881,7 @@ static int mv88e6xxx_setup(struct dsa_sw
+@@ -2886,6 +2886,7 @@ static int mv88e6xxx_setup(struct dsa_sw
  
        chip->ds = ds;
        ds->slave_mii_bus = mv88e6xxx_default_mdio_bus(chip);
index c571097bc07926cca38646e1d7aebcc69bad569c..7ba86c70b23d939c75094bd5f3b7c9da669cabf7 100644 (file)
@@ -17,7 +17,7 @@ Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
 
 --- a/drivers/net/dsa/mv88e6xxx/chip.c
 +++ b/drivers/net/dsa/mv88e6xxx/chip.c
-@@ -5450,6 +5450,7 @@ static int mv88e6xxx_register_switch(str
+@@ -5455,6 +5455,7 @@ static int mv88e6xxx_register_switch(str
        ds->ops = &mv88e6xxx_switch_ops;
        ds->ageing_time_min = chip->info->age_time_coeff;
        ds->ageing_time_max = chip->info->age_time_coeff * U8_MAX;
index 6e8b488290185bf43d45ae8955c79d22544ec4a6..f3df206f3e18a358364ad96ba5463cd1577d6901 100644 (file)
@@ -16,7 +16,7 @@ still required by target/linux/ramips/files/drivers/net/ethernet/ralink/mdio.c
 
 --- a/drivers/net/phy/phy.c
 +++ b/drivers/net/phy/phy.c
-@@ -58,13 +58,13 @@ static const char *phy_state_to_str(enum
+@@ -70,13 +70,13 @@ static void phy_process_state_change(str
  
  static void phy_link_up(struct phy_device *phydev)
  {
@@ -33,7 +33,7 @@ still required by target/linux/ramips/files/drivers/net/ethernet/ralink/mdio.c
        phy_led_trigger_change_speed(phydev);
  }
  
-@@ -572,7 +572,7 @@ int phy_start_cable_test(struct phy_devi
+@@ -584,7 +584,7 @@ int phy_start_cable_test(struct phy_devi
                goto out;
  
        /* Mark the carrier down until the test is complete */
@@ -42,7 +42,7 @@ still required by target/linux/ramips/files/drivers/net/ethernet/ralink/mdio.c
  
        netif_testing_on(dev);
        err = phydev->drv->cable_test_start(phydev);
-@@ -643,7 +643,7 @@ int phy_start_cable_test_tdr(struct phy_
+@@ -655,7 +655,7 @@ int phy_start_cable_test_tdr(struct phy_
                goto out;
  
        /* Mark the carrier down until the test is complete */
@@ -51,7 +51,7 @@ still required by target/linux/ramips/files/drivers/net/ethernet/ralink/mdio.c
  
        netif_testing_on(dev);
        err = phydev->drv->cable_test_tdr_start(phydev, config);
-@@ -714,7 +714,7 @@ static int phy_check_link_status(struct
+@@ -726,7 +726,7 @@ static int phy_check_link_status(struct
                phy_link_up(phydev);
        } else if (!phydev->link && phydev->state != PHY_NOLINK) {
                phydev->state = PHY_NOLINK;
@@ -60,7 +60,7 @@ still required by target/linux/ramips/files/drivers/net/ethernet/ralink/mdio.c
        }
  
        return 0;
-@@ -1226,7 +1226,7 @@ void phy_state_machine(struct work_struc
+@@ -1241,7 +1241,7 @@ void phy_state_machine(struct work_struc
        case PHY_HALTED:
                if (phydev->link) {
                        phydev->link = 0;
index 5e82c13d2a23a2ec525c473ce28694a4ade2ceca..00a419284023cf2214b8dae5c27c6b63cd42b700 100644 (file)
@@ -11,7 +11,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 
 --- a/drivers/net/phy/phy.c
 +++ b/drivers/net/phy/phy.c
-@@ -714,7 +714,10 @@ static int phy_check_link_status(struct
+@@ -726,7 +726,10 @@ static int phy_check_link_status(struct
                phy_link_up(phydev);
        } else if (!phydev->link && phydev->state != PHY_NOLINK) {
                phydev->state = PHY_NOLINK;
@@ -23,7 +23,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
        }
  
        return 0;
-@@ -1226,7 +1229,10 @@ void phy_state_machine(struct work_struc
+@@ -1241,7 +1244,10 @@ void phy_state_machine(struct work_struc
        case PHY_HALTED:
                if (phydev->link) {
                        phydev->link = 0;
index 19c8ec877ee5da4e88dda19a26522ec18668c337..5c87298f367265dd79abdf10bd462705e9fe97c3 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/usb/dwc2/platform.c
 +++ b/drivers/usb/dwc2/platform.c
-@@ -477,6 +477,12 @@ static int dwc2_driver_probe(struct plat
+@@ -465,6 +465,12 @@ static int dwc2_driver_probe(struct plat
        if (retval)
                return retval;