kernel: bump 5.10 to 5.10.98
authorJohn Audia <graysky@archlinux.us>
Sun, 6 Feb 2022 16:51:17 +0000 (11:51 -0500)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 11 Feb 2022 22:17:40 +0000 (23:17 +0100)
Manually rebased:
bcm27xx/patches-5.10/950-0675-drm-vc4-hdmi-Drop-devm-interrupt-handler-for-CEC-int.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>
26 files changed:
include/kernel-5.10
target/linux/ath79/patches-5.10/910-unaligned_access_hacks.patch
target/linux/bcm27xx/patches-5.10/950-0310-vc4_hdmi-Remove-cec_available-flag-as-always-support.patch
target/linux/bcm27xx/patches-5.10/950-0349-drm-vc4-Add-all-the-HDMI-registers-into-the-debugfs-.patch
target/linux/bcm27xx/patches-5.10/950-0457-drm-vc4-hdmi-Introduce-a-CEC-clock.patch
target/linux/bcm27xx/patches-5.10/950-0459-drm-vc4-hdmi-Support-BCM2711-CEC-interrupt-setup.patch
target/linux/bcm27xx/patches-5.10/950-0460-drm-vc4-hdmi-Don-t-register-the-CEC-adapter-if-there.patch
target/linux/bcm27xx/patches-5.10/950-0475-drm-vc4-Add-HDR-metadata-property-to-the-VC5-HDMI-co.patch
target/linux/bcm27xx/patches-5.10/950-0576-drm-vc4-hdmi-Raise-the-maximum-clock-rate.patch
target/linux/bcm27xx/patches-5.10/950-0601-drm-vc4-hdmi-Rely-on-interrupts-to-handle-hotplug.patch
target/linux/bcm27xx/patches-5.10/950-0602-drm-vc4-hdmi-Add-a-workqueue-to-set-scrambling.patch
target/linux/bcm27xx/patches-5.10/950-0639-cgroup-Disable-cgroup-memory-by-default.patch
target/linux/bcm27xx/patches-5.10/950-0654-drm-vc4-hdmi-Use-a-fixed-rate-for-the-HSM-clock-on-B.patch
target/linux/bcm27xx/patches-5.10/950-0668-drm-vc4-hdmi-Split-the-CEC-disable-enable-functions-.patch
target/linux/bcm27xx/patches-5.10/950-0675-drm-vc4-hdmi-Drop-devm-interrupt-handler-for-CEC-int.patch
target/linux/bcm27xx/patches-5.10/950-0676-drm-vc4-hdmi-Drop-devm-interrupt-handler-for-hotplug.patch
target/linux/bcm27xx/patches-5.10/950-0717-drm-vc4-hdmi-Make-sure-the-controller-is-powered-up-.patch
target/linux/generic/backport-5.10/860-v5.17-MIPS-ath79-drop-_machine_restart-again.patch
target/linux/generic/pending-5.10/630-packet_socket_type.patch
target/linux/generic/pending-5.10/710-bridge-add-knob-for-filtering-rx-tx-BPDU-pack.patch
target/linux/generic/pending-5.10/841-USB-serial-option-add-ZTE-MF286D-modem.patch
target/linux/mediatek/patches-5.10/510-net-mediatek-add-flow-offload-for-mt7623.patch
target/linux/mediatek/patches-5.10/700-net-ethernet-mtk_eth_soc-add-support-for-coherent-DM.patch
target/linux/mediatek/patches-5.10/701-v5.17-net-ethernet-mtk_eth_soc-fix-return-values-and-refac.patch
target/linux/mediatek/patches-5.10/703-v5.17-net-ethernet-mtk_eth_soc-implement-Clause-45-MDIO-ac.patch
target/linux/ramips/patches-5.10/700-net-ethernet-mediatek-support-net-labels.patch

index bd84ddef80f27cc7399066e79b6a99aec794a408..ddee661d117c8aa9e9299a8cc14c653ac478a6eb 100644 (file)
@@ -1,2 +1,2 @@
-LINUX_VERSION-5.10 = .96
-LINUX_KERNEL_HASH-5.10.96 = 35e5a042819dd37af891c47d151b209d93e078a22f2637b2f5171bdff5b2e048
+LINUX_VERSION-5.10 = .98
+LINUX_KERNEL_HASH-5.10.98 = 1b24c6c15f1011bcca54da7e58539c612c7c84f95b7902f62d34754aaf0f9443
index 911d436dc235b9cd7c0b16e3036ebe65d313364f..e0bd900479aa207060507a03292a9fcbd8b69e72 100644 (file)
  EXPORT_SYMBOL(xfrm_parse_spi);
 --- a/net/ipv4/tcp_input.c
 +++ b/net/ipv4/tcp_input.c
-@@ -4081,14 +4081,16 @@ static bool tcp_parse_aligned_timestamp(
+@@ -4083,14 +4083,16 @@ static bool tcp_parse_aligned_timestamp(
  {
        const __be32 *ptr = (const __be32 *)(th + 1);
  
index 2f2199e722123a33bb036e61770c6dd1e17baaba..d7610cabb0c3610813c5b55a9d426945545f6d1e 100644 (file)
@@ -12,7 +12,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -1497,9 +1497,6 @@ static int vc4_hdmi_cec_init(struct vc4_
+@@ -1491,9 +1491,6 @@ static int vc4_hdmi_cec_init(struct vc4_
        u32 value;
        int ret;
  
@@ -22,7 +22,7 @@ Signed-off-by: Dom Cobley <popcornmix@gmail.com>
        vc4_hdmi->cec_adap = cec_allocate_adapter(&vc4_hdmi_cec_adap_ops,
                                                  vc4_hdmi, "vc4",
                                                  CEC_CAP_DEFAULTS |
-@@ -1934,7 +1931,6 @@ static const struct vc4_hdmi_variant bcm
+@@ -1926,7 +1923,6 @@ static const struct vc4_hdmi_variant bcm
        .debugfs_name           = "hdmi_regs",
        .card_name              = "vc4-hdmi",
        .max_pixel_clock        = 162000000,
index 0aa1d2e48e0ea5723b7f736d5ab703aca656437c..edc5be80ab8680cf2306be653edfd38698f2b0fe 100644 (file)
@@ -29,7 +29,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  
        return 0;
  }
-@@ -1740,6 +1746,7 @@ static int vc5_hdmi_init_resources(struc
+@@ -1732,6 +1738,7 @@ static int vc5_hdmi_init_resources(struc
        struct platform_device *pdev = vc4_hdmi->pdev;
        struct device *dev = &pdev->dev;
        struct resource *res;
@@ -37,7 +37,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  
        res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "hdmi");
        if (!res)
-@@ -1830,6 +1837,38 @@ static int vc5_hdmi_init_resources(struc
+@@ -1822,6 +1829,38 @@ static int vc5_hdmi_init_resources(struc
                return PTR_ERR(vc4_hdmi->reset);
        }
  
index a5b127ded7fcc422a12379fcaa6b304e964eb8de..36f46a71baf5b7ece23ed314113c96ab68499c13 100644 (file)
@@ -27,7 +27,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
        value |= clk_cnt << VC4_HDMI_CEC_DIV_CLK_CNT_SHIFT;
        HDMI_WRITE(HDMI_CEC_CNTRL_1, value);
  }
-@@ -1875,6 +1875,7 @@ static int vc4_hdmi_init_resources(struc
+@@ -1867,6 +1867,7 @@ static int vc4_hdmi_init_resources(struc
                return PTR_ERR(vc4_hdmi->hsm_clock);
        }
        vc4_hdmi->audio_clock = vc4_hdmi->hsm_clock;
@@ -35,7 +35,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
  
        return 0;
  }
-@@ -1969,6 +1970,12 @@ static int vc5_hdmi_init_resources(struc
+@@ -1961,6 +1962,12 @@ static int vc5_hdmi_init_resources(struc
                return PTR_ERR(vc4_hdmi->audio_clock);
        }
  
index dc7896978fda240f85aebbb3aee5cdf14fdcac9b..39b80a2a2cd8103619bb09b3290af30a9f22eab0 100644 (file)
@@ -20,7 +20,7 @@ Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -1729,9 +1729,11 @@ static int vc4_hdmi_cec_adap_enable(stru
+@@ -1723,9 +1723,11 @@ static int vc4_hdmi_cec_adap_enable(stru
                           ((3600 / usecs) << VC4_HDMI_CEC_CNT_TO_3600_US_SHIFT) |
                           ((3500 / usecs) << VC4_HDMI_CEC_CNT_TO_3500_US_SHIFT));
  
@@ -34,7 +34,7 @@ Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
                HDMI_WRITE(HDMI_CEC_CNTRL_5, val |
                           VC4_HDMI_CEC_TX_SW_RESET | VC4_HDMI_CEC_RX_SW_RESET);
        }
-@@ -1803,8 +1805,6 @@ static int vc4_hdmi_cec_init(struct vc4_
+@@ -1797,8 +1799,6 @@ static int vc4_hdmi_cec_init(struct vc4_
        cec_fill_conn_info_from_drm(&conn_info, &vc4_hdmi->connector);
        cec_s_conn_info(vc4_hdmi->cec_adap, &conn_info);
  
@@ -43,7 +43,7 @@ Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
        value = HDMI_READ(HDMI_CEC_CNTRL_1);
        /* Set the logical address to Unregistered */
        value |= VC4_HDMI_CEC_ADDR_MASK;
-@@ -1812,12 +1812,32 @@ static int vc4_hdmi_cec_init(struct vc4_
+@@ -1806,12 +1806,32 @@ static int vc4_hdmi_cec_init(struct vc4_
  
        vc4_hdmi_cec_update_clk_div(vc4_hdmi);
  
@@ -82,7 +82,7 @@ Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  
        ret = cec_register_adapter(vc4_hdmi->cec_adap, &pdev->dev);
        if (ret < 0)
-@@ -2294,6 +2314,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -2286,6 +2306,7 @@ static const struct vc4_hdmi_variant bcm
                PHY_LANE_CK,
        },
        .unsupported_odd_h_timings      = true,
@@ -90,7 +90,7 @@ Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  
        .init_resources         = vc5_hdmi_init_resources,
        .csc_setup              = vc5_hdmi_csc_setup,
-@@ -2320,6 +2341,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -2312,6 +2333,7 @@ static const struct vc4_hdmi_variant bcm
                PHY_LANE_2,
        },
        .unsupported_odd_h_timings      = true,
index 8b82f7719d80af66795008577380f2ec9032f4fe..2ead4e36671157b53496e8aa9604ca9ba44477d5 100644 (file)
@@ -19,7 +19,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -1791,9 +1791,15 @@ static int vc4_hdmi_cec_init(struct vc4_
+@@ -1785,9 +1785,15 @@ static int vc4_hdmi_cec_init(struct vc4_
  {
        struct cec_connector_info conn_info;
        struct platform_device *pdev = vc4_hdmi->pdev;
index a70c3bda1eb492c1ad9c383bc57daddc786892e7..01bf5901aa882b685755a238c4d38eb9d8b282b5 100644 (file)
@@ -61,7 +61,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  }
  
  static void vc4_hdmi_encoder_post_crtc_disable(struct drm_encoder *encoder,
-@@ -2304,6 +2329,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -2296,6 +2321,7 @@ static const struct vc4_hdmi_variant bcm
        .phy_rng_enable         = vc4_hdmi_phy_rng_enable,
        .phy_rng_disable        = vc4_hdmi_phy_rng_disable,
        .channel_map            = vc4_hdmi_channel_map,
@@ -69,7 +69,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  };
  
  static const struct vc4_hdmi_variant bcm2711_hdmi0_variant = {
-@@ -2331,6 +2357,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -2323,6 +2349,7 @@ static const struct vc4_hdmi_variant bcm
        .phy_rng_enable         = vc5_hdmi_phy_rng_enable,
        .phy_rng_disable        = vc5_hdmi_phy_rng_disable,
        .channel_map            = vc5_hdmi_channel_map,
@@ -77,7 +77,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  };
  
  static const struct vc4_hdmi_variant bcm2711_hdmi1_variant = {
-@@ -2358,6 +2385,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -2350,6 +2377,7 @@ static const struct vc4_hdmi_variant bcm
        .phy_rng_enable         = vc5_hdmi_phy_rng_enable,
        .phy_rng_disable        = vc5_hdmi_phy_rng_disable,
        .channel_map            = vc5_hdmi_channel_map,
index 657fc46ff1df5d025474f39f82a3784da643a683..d1deaa884128c192886ce32092e396841f9952e9 100644 (file)
@@ -19,7 +19,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -2440,7 +2440,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -2432,7 +2432,7 @@ static const struct vc4_hdmi_variant bcm
        .encoder_type           = VC4_ENCODER_TYPE_HDMI0,
        .debugfs_name           = "hdmi0_regs",
        .card_name              = "vc4-hdmi-0",
index a15af69948aa382c564c6d2d6d37b92ed2b95de1..a193b4d6f215edfbff61c7275ca5efe6bbaeba09 100644 (file)
@@ -65,7 +65,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
  #ifdef CONFIG_DRM_VC4_HDMI_CEC
  static irqreturn_t vc4_cec_irq_handler_rx_thread(int irq, void *priv)
  {
-@@ -2325,6 +2365,10 @@ static int vc4_hdmi_bind(struct device *
+@@ -2317,6 +2357,10 @@ static int vc4_hdmi_bind(struct device *
        if (ret)
                goto err_destroy_encoder;
  
index dbc29f6049741782e6c5baaf7868ce7b5264a2cc..b937aa97fc416074b369ff9555100a035a0dc475 100644 (file)
@@ -70,7 +70,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
  static void vc4_hdmi_encoder_post_crtc_disable(struct drm_encoder *encoder,
                                               struct drm_atomic_state *state)
  {
-@@ -2283,6 +2307,7 @@ static int vc4_hdmi_bind(struct device *
+@@ -2275,6 +2299,7 @@ static int vc4_hdmi_bind(struct device *
        vc4_hdmi = devm_kzalloc(dev, sizeof(*vc4_hdmi), GFP_KERNEL);
        if (!vc4_hdmi)
                return -ENOMEM;
index aa3aeeaa42724bec01927af1ab55aa6a7daf7cd5..2fa648a2330e30d531cafea8a1274e609d1d9946 100644 (file)
@@ -17,7 +17,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
 
 --- a/kernel/cgroup/cgroup.c
 +++ b/kernel/cgroup/cgroup.c
-@@ -5690,6 +5690,9 @@ int __init cgroup_init_early(void)
+@@ -5695,6 +5695,9 @@ int __init cgroup_init_early(void)
        return 0;
  }
  
@@ -27,7 +27,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  /**
   * cgroup_init - cgroup initialization
   *
-@@ -5728,6 +5731,12 @@ int __init cgroup_init(void)
+@@ -5733,6 +5736,12 @@ int __init cgroup_init(void)
  
        mutex_unlock(&cgroup_mutex);
  
@@ -40,7 +40,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
        for_each_subsys(ss, ssid) {
                if (ss->early_init) {
                        struct cgroup_subsys_state *css =
-@@ -6265,6 +6274,10 @@ static int __init cgroup_disable(char *s
+@@ -6270,6 +6279,10 @@ static int __init cgroup_disable(char *s
                            strcmp(token, ss->legacy_name))
                                continue;
  
@@ -51,7 +51,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
                        static_branch_disable(cgroup_subsys_enabled_key[i]);
                        pr_info("Disabling %s control group subsystem\n",
                                ss->name);
-@@ -6274,6 +6287,31 @@ static int __init cgroup_disable(char *s
+@@ -6279,6 +6292,31 @@ static int __init cgroup_disable(char *s
  }
  __setup("cgroup_disable=", cgroup_disable);
  
index e08ad7d32081b0c46d2275300e2516d72179364f..e8f206af0cb1c901d3e64e7c5eb0694f018f8b51 100644 (file)
@@ -102,7 +102,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
  static u32 vc4_hdmi_channel_map(struct vc4_hdmi *vc4_hdmi, u32 channel_mask)
  {
        int i;
-@@ -2344,6 +2361,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -2336,6 +2353,7 @@ static const struct vc4_hdmi_variant bcm
        .phy_disable            = vc4_hdmi_phy_disable,
        .phy_rng_enable         = vc4_hdmi_phy_rng_enable,
        .phy_rng_disable        = vc4_hdmi_phy_rng_disable,
@@ -110,7 +110,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
        .channel_map            = vc4_hdmi_channel_map,
        .supports_hdr           = false,
  };
-@@ -2372,6 +2390,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -2364,6 +2382,7 @@ static const struct vc4_hdmi_variant bcm
        .phy_disable            = vc5_hdmi_phy_disable,
        .phy_rng_enable         = vc5_hdmi_phy_rng_enable,
        .phy_rng_disable        = vc5_hdmi_phy_rng_disable,
@@ -118,7 +118,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
        .channel_map            = vc5_hdmi_channel_map,
        .supports_hdr           = true,
  };
-@@ -2400,6 +2419,7 @@ static const struct vc4_hdmi_variant bcm
+@@ -2392,6 +2411,7 @@ static const struct vc4_hdmi_variant bcm
        .phy_disable            = vc5_hdmi_phy_disable,
        .phy_rng_enable         = vc5_hdmi_phy_rng_enable,
        .phy_rng_disable        = vc5_hdmi_phy_rng_disable,
index 2c12f57d2aa5fbe936fb5b835caa91c9674b9f9e..0c01a4eded1319595b15f4fac32f5f22674e32b6 100644 (file)
@@ -24,7 +24,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
  {
        struct vc4_hdmi *vc4_hdmi = cec_get_drvdata(adap);
        /* clock period in microseconds */
-@@ -1775,38 +1775,53 @@ static int vc4_hdmi_cec_adap_enable(stru
+@@ -1769,38 +1769,53 @@ static int vc4_hdmi_cec_adap_enable(stru
        val |= ((4700 / usecs) << VC4_HDMI_CEC_CNT_TO_4700_US_SHIFT) |
               ((4500 / usecs) << VC4_HDMI_CEC_CNT_TO_4500_US_SHIFT);
  
index a4b9df85dc8515671a031475de8212eeb1b2a99b..4c3f1700671553e023027b363b92807fb7f15c50 100644 (file)
@@ -25,57 +25,43 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -1902,40 +1902,49 @@ static int vc4_hdmi_cec_init(struct vc4_
+@@ -1896,25 +1896,23 @@ static int vc4_hdmi_cec_init(struct vc4_
        vc4_hdmi_cec_update_clk_div(vc4_hdmi);
  
        if (vc4_hdmi->variant->external_irq_controller) {
 -              ret = devm_request_threaded_irq(&pdev->dev,
 -                                              platform_get_irq_byname(pdev, "cec-rx"),
--                                              vc4_cec_irq_handler_rx_bare,
--                                              vc4_cec_irq_handler_rx_thread, 0,
--                                              "vc4 hdmi cec rx", vc4_hdmi);
 +              ret = request_threaded_irq(platform_get_irq_byname(pdev, "cec-rx"),
-+                                         vc4_cec_irq_handler_rx_bare,
-+                                         vc4_cec_irq_handler_rx_thread, 0,
-+                                         "vc4 hdmi cec rx", vc4_hdmi);
+                                               vc4_cec_irq_handler_rx_bare,
+                                               vc4_cec_irq_handler_rx_thread, 0,
+                                               "vc4 hdmi cec rx", vc4_hdmi);
                if (ret)
                        goto err_delete_cec_adap;
  
 -              ret = devm_request_threaded_irq(&pdev->dev,
 -                                              platform_get_irq_byname(pdev, "cec-tx"),
--                                              vc4_cec_irq_handler_tx_bare,
--                                              vc4_cec_irq_handler_tx_thread, 0,
--                                              "vc4 hdmi cec tx", vc4_hdmi);
 +              ret = request_threaded_irq(platform_get_irq_byname(pdev, "cec-tx"),
-+                                         vc4_cec_irq_handler_tx_bare,
-+                                         vc4_cec_irq_handler_tx_thread, 0,
-+                                         "vc4 hdmi cec tx", vc4_hdmi);
+                                               vc4_cec_irq_handler_tx_bare,
+                                               vc4_cec_irq_handler_tx_thread, 0,
+                                               "vc4 hdmi cec tx", vc4_hdmi);
                if (ret)
 -                      goto err_delete_cec_adap;
 +                      goto err_remove_cec_rx_handler;
-+
        } else {
                HDMI_WRITE(HDMI_CEC_CPU_MASK_SET, 0xffffffff);
  
 -              ret = devm_request_threaded_irq(&pdev->dev, platform_get_irq(pdev, 0),
--                                              vc4_cec_irq_handler,
--                                              vc4_cec_irq_handler_thread, 0,
--                                              "vc4 hdmi cec", vc4_hdmi);
 +              ret = request_threaded_irq(platform_get_irq(pdev, 0),
-+                                         vc4_cec_irq_handler,
-+                                         vc4_cec_irq_handler_thread, 0,
-+                                         "vc4 hdmi cec", vc4_hdmi);
-               if (ret)
-                       goto err_delete_cec_adap;
-       }
+                                               vc4_cec_irq_handler,
+                                               vc4_cec_irq_handler_thread, 0,
+                                               "vc4 hdmi cec", vc4_hdmi);
+@@ -1924,10 +1922,20 @@ static int vc4_hdmi_cec_init(struct vc4_
  
        ret = cec_register_adapter(vc4_hdmi->cec_adap, &pdev->dev);
        if (ret < 0)
 -              goto err_delete_cec_adap;
 +              goto err_remove_handlers;
  
-       pm_runtime_put(&vc4_hdmi->pdev->dev);
        return 0;
  
 +err_remove_handlers:
@@ -91,7 +77,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
  err_delete_cec_adap:
        cec_delete_adapter(vc4_hdmi->cec_adap);
  
-@@ -1944,6 +1953,15 @@ err_delete_cec_adap:
+@@ -1936,6 +1944,15 @@ err_delete_cec_adap:
  
  static void vc4_hdmi_cec_exit(struct vc4_hdmi *vc4_hdmi)
  {
index 062804814cb40855629b31d840618a4e0a4e83d7..b5e43f76b24dc0293311b1b8bda0bce11976cad7 100644 (file)
@@ -83,7 +83,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
  #ifdef CONFIG_DRM_VC4_HDMI_CEC
  static irqreturn_t vc4_cec_irq_handler_rx_thread(int irq, void *priv)
  {
-@@ -2314,7 +2326,7 @@ static int vc4_hdmi_bind(struct device *
+@@ -2305,7 +2317,7 @@ static int vc4_hdmi_bind(struct device *
  
        ret = vc4_hdmi_cec_init(vc4_hdmi);
        if (ret)
@@ -92,7 +92,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
  
        ret = vc4_hdmi_audio_init(vc4_hdmi);
        if (ret)
-@@ -2328,6 +2340,8 @@ static int vc4_hdmi_bind(struct device *
+@@ -2319,6 +2331,8 @@ static int vc4_hdmi_bind(struct device *
  
  err_free_cec:
        vc4_hdmi_cec_exit(vc4_hdmi);
@@ -101,7 +101,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
  err_destroy_conn:
        vc4_hdmi_connector_destroy(&vc4_hdmi->connector);
  err_destroy_encoder:
-@@ -2369,6 +2383,7 @@ static void vc4_hdmi_unbind(struct devic
+@@ -2360,6 +2374,7 @@ static void vc4_hdmi_unbind(struct devic
        kfree(vc4_hdmi->hd_regset.regs);
  
        vc4_hdmi_cec_exit(vc4_hdmi);
index f2424cbfac7a75ed8f6c7cf5bdbe5b19f4a16358..8f5b96541edef7916b70b9327f8a5e5b58f508ff 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
 
 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
-@@ -2304,6 +2304,18 @@ static int vc4_hdmi_bind(struct device *
+@@ -2295,6 +2295,18 @@ static int vc4_hdmi_bind(struct device *
        if (ret)
                goto err_put_ddc;
  
@@ -37,7 +37,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
        if (vc4_hdmi->variant->reset)
                vc4_hdmi->variant->reset(vc4_hdmi);
  
-@@ -2315,8 +2327,6 @@ static int vc4_hdmi_bind(struct device *
+@@ -2306,8 +2318,6 @@ static int vc4_hdmi_bind(struct device *
                clk_prepare_enable(vc4_hdmi->pixel_bvb_clock);
        }
  
@@ -46,7 +46,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
        drm_simple_encoder_init(drm, encoder, DRM_MODE_ENCODER_TMDS);
        drm_encoder_helper_add(encoder, &vc4_hdmi_encoder_helper_funcs);
  
-@@ -2340,6 +2350,8 @@ static int vc4_hdmi_bind(struct device *
+@@ -2331,6 +2341,8 @@ static int vc4_hdmi_bind(struct device *
                             vc4_hdmi_debugfs_regs,
                             vc4_hdmi);
  
@@ -55,7 +55,7 @@ Signed-off-by: Maxime Ripard <maxime@cerno.tech>
        return 0;
  
  err_free_cec:
-@@ -2350,6 +2362,7 @@ err_destroy_conn:
+@@ -2341,6 +2353,7 @@ err_destroy_conn:
        vc4_hdmi_connector_destroy(&vc4_hdmi->connector);
  err_destroy_encoder:
        drm_encoder_cleanup(encoder);
index 28c69e36fa31557c32f5d101c33e83c158efa6d0..971562a8f7cba4bd29bf63fb3a3ca547079f8661 100644 (file)
@@ -21,8 +21,6 @@ Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
  arch/mips/ath79/setup.c | 10 ----------
  1 file changed, 10 deletions(-)
 
-diff --git a/arch/mips/ath79/setup.c b/arch/mips/ath79/setup.c
-index 891f495c4c3c01..0ac435fe2dc9aa 100644
 --- a/arch/mips/ath79/setup.c
 +++ b/arch/mips/ath79/setup.c
 @@ -34,15 +34,6 @@
@@ -41,7 +39,7 @@ index 891f495c4c3c01..0ac435fe2dc9aa 100644
  static void ath79_halt(void)
  {
        while (1)
-@@ -234,7 +225,6 @@ void __init plat_mem_setup(void)
+@@ -233,7 +224,6 @@ void __init plat_mem_setup(void)
  
        detect_memory_region(0, ATH79_MEM_SIZE_MIN, ATH79_MEM_SIZE_MAX);
  
@@ -49,6 +47,3 @@ index 891f495c4c3c01..0ac435fe2dc9aa 100644
        _machine_halt = ath79_halt;
        pm_power_off = ath79_halt;
  }
--- 
-cgit 
-
index 9721dc4d014483f9bd3a97c54fff695d845b71d8..bf319d4bac07e607814a253e74897c316b5ad994 100644 (file)
@@ -30,7 +30,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  #define PACKET_FANOUT_LB              1
 --- a/net/packet/af_packet.c
 +++ b/net/packet/af_packet.c
-@@ -1819,6 +1819,7 @@ static int packet_rcv_spkt(struct sk_buf
+@@ -1822,6 +1822,7 @@ static int packet_rcv_spkt(struct sk_buf
  {
        struct sock *sk;
        struct sockaddr_pkt *spkt;
@@ -38,7 +38,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  
        /*
         *      When we registered the protocol we saved the socket in the data
-@@ -1826,6 +1827,7 @@ static int packet_rcv_spkt(struct sk_buf
+@@ -1829,6 +1830,7 @@ static int packet_rcv_spkt(struct sk_buf
         */
  
        sk = pt->af_packet_priv;
@@ -46,7 +46,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  
        /*
         *      Yank back the headers [hope the device set this
-@@ -1838,7 +1840,7 @@ static int packet_rcv_spkt(struct sk_buf
+@@ -1841,7 +1843,7 @@ static int packet_rcv_spkt(struct sk_buf
         *      so that this procedure is noop.
         */
  
@@ -55,7 +55,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
                goto out;
  
        if (!net_eq(dev_net(dev), sock_net(sk)))
-@@ -2076,12 +2078,12 @@ static int packet_rcv(struct sk_buff *sk
+@@ -2079,12 +2081,12 @@ static int packet_rcv(struct sk_buff *sk
        unsigned int snaplen, res;
        bool is_drop_n_account = false;
  
@@ -71,7 +71,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        if (!net_eq(dev_net(dev), sock_net(sk)))
                goto drop;
  
-@@ -2207,12 +2209,12 @@ static int tpacket_rcv(struct sk_buff *s
+@@ -2210,12 +2212,12 @@ static int tpacket_rcv(struct sk_buff *s
        BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h2)) != 32);
        BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h3)) != 48);
  
@@ -87,7 +87,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        if (!net_eq(dev_net(dev), sock_net(sk)))
                goto drop;
  
-@@ -3319,6 +3321,7 @@ static int packet_create(struct net *net
+@@ -3322,6 +3324,7 @@ static int packet_create(struct net *net
        mutex_init(&po->pg_vec_lock);
        po->rollover = NULL;
        po->prot_hook.func = packet_rcv;
@@ -95,7 +95,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  
        if (sock->type == SOCK_PACKET)
                po->prot_hook.func = packet_rcv_spkt;
-@@ -3956,6 +3959,16 @@ packet_setsockopt(struct socket *sock, i
+@@ -3960,6 +3963,16 @@ packet_setsockopt(struct socket *sock, i
                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;
        }
-@@ -4012,6 +4025,13 @@ static int packet_getsockopt(struct sock
+@@ -4016,6 +4029,13 @@ static int packet_getsockopt(struct sock
        case PACKET_VNET_HDR:
                val = po->has_vnet_hdr;
                break;
index f05ff3bc04dc74c920f016a6accb79d5d92f8d34..0f1df84b306c0acbf44702222d8db34c6d1041c7 100644 (file)
@@ -164,7 +164,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  
  struct rtnl_link {
        rtnl_doit_func          doit;
-@@ -4680,7 +4680,9 @@ int ndo_dflt_bridge_getlink(struct sk_bu
+@@ -4682,7 +4682,9 @@ int ndo_dflt_bridge_getlink(struct sk_bu
            brport_nla_put_flag(skb, flags, mask,
                                IFLA_BRPORT_MCAST_FLOOD, BR_MCAST_FLOOD) ||
            brport_nla_put_flag(skb, flags, mask,
index 975a41bc79fb990eab86c1ad6bfe76fe0931d5e8..bdd2c31b416f2c23015d07a8483e9a2733e1d882 100644 (file)
@@ -44,11 +44,9 @@ https://lore.kernel.org/linux-usb/20220111221205.14662-1-paweldembicki@gmail.com
  drivers/usb/serial/option.c | 2 ++
  1 file changed, 2 insertions(+)
 
-diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
-index 42420bfc983c..962e9943fc20 100644
 --- a/drivers/usb/serial/option.c
 +++ b/drivers/usb/serial/option.c
-@@ -1649,6 +1649,8 @@ static const struct usb_device_id option_ids[] = {
+@@ -1649,6 +1649,8 @@ static const struct usb_device_id option
          .driver_info = RSVD(2) },
        { USB_DEVICE_INTERFACE_CLASS(ZTE_VENDOR_ID, 0x1476, 0xff) },    /* GosunCn ZTE WeLink ME3630 (ECM/NCM mode) */
        { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1481, 0xff, 0x00, 0x00) }, /* ZTE MF871A */
@@ -57,6 +55,3 @@ index 42420bfc983c..962e9943fc20 100644
        { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1533, 0xff, 0xff, 0xff) },
        { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1534, 0xff, 0xff, 0xff) },
        { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1535, 0xff, 0xff, 0xff) },
--- 
-2.25.1
-
index 36f88a51fcb58c5f35cb557a2fa3f5c31f19e794..e6a8ba993527e0b26dc32c3fb21b1a7fe432460c 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
 
 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -3269,6 +3269,7 @@ static const struct mtk_soc_data mt7623_
+@@ -3302,6 +3302,7 @@ static const struct mtk_soc_data mt7623_
        .hw_features = MTK_HW_FEATURES,
        .required_clks = MT7623_CLKS_BITMAP,
        .required_pctl = true,
index e75d4c7a0a7db43872e3ec8d2f5be679d163fde5..a0c892d706cdca8746fd89561da7c0b45d599809 100644 (file)
@@ -51,7 +51,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        if (MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628)) {
                ret = device_reset(eth->dev);
                if (ret) {
-@@ -3071,6 +3079,16 @@ static int mtk_probe(struct platform_dev
+@@ -3104,6 +3112,16 @@ static int mtk_probe(struct platform_dev
                }
        }
  
@@ -70,7 +70,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
                                          GFP_KERNEL);
 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.h
 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.h
-@@ -450,6 +450,12 @@
+@@ -456,6 +456,12 @@
  #define RSTCTRL_FE            BIT(6)
  #define RSTCTRL_PPE           BIT(31)
  
index 5da46f07e032929e643a5386b98b684eab958f9a..56b293257e2cb766d3f38e53cea857450b705cc7 100644 (file)
@@ -103,7 +103,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  static int mtk_mdio_write(struct mii_bus *bus, int phy_addr,
 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.h
 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.h
-@@ -340,11 +340,17 @@
+@@ -341,11 +341,17 @@
  /* PHY Indirect Access Control registers */
  #define MTK_PHY_IAC           0x10004
  #define PHY_IAC_ACCESS                BIT(31)
index 88c600f791c4cc528c47fe63c63fb96e600f6a81..65e6bd2cbf9647a762b8d4569377797d16dc6899 100644 (file)
@@ -113,7 +113,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  
 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.h
 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.h
-@@ -345,9 +345,12 @@
+@@ -346,9 +346,12 @@
  #define PHY_IAC_ADDR_MASK     GENMASK(24, 20)
  #define PHY_IAC_ADDR(x)               FIELD_PREP(PHY_IAC_ADDR_MASK, (x))
  #define PHY_IAC_CMD_MASK      GENMASK(19, 18)
index 531a23ef4a78f58692ca10defa210731dc1cfcae..9a4971d1178871b9346ff2832048c2e1eda6cc99 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: RenĂ© van Dorst <opensource@vdorst.com>
 
 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -2911,6 +2911,7 @@ static const struct net_device_ops mtk_n
+@@ -2941,6 +2941,7 @@ static const struct net_device_ops mtk_n
  
  static int mtk_add_mac(struct mtk_eth *eth, struct device_node *np)
  {
@@ -22,9 +22,9 @@ Signed-off-by: RenĂ© van Dorst <opensource@vdorst.com>
        const __be32 *_id = of_get_property(np, "reg", NULL);
        phy_interface_t phy_mode;
        struct phylink *phylink;
-@@ -3003,6 +3004,9 @@ static int mtk_add_mac(struct mtk_eth *e
-       eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH - MTK_RX_ETH_HLEN;
+@@ -3036,6 +3037,9 @@ static int mtk_add_mac(struct mtk_eth *e
+       else
+               eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH_2K - MTK_RX_ETH_HLEN;
  
 +      if (name)
 +              strlcpy(eth->netdev[id]->name, name, IFNAMSIZ);