kernel: bump 6.6 to 6.6.76
authorJohn Audia <therealgraysky@proton.me>
Sun, 9 Feb 2025 12:49:50 +0000 (07:49 -0500)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 12 Feb 2025 23:03:54 +0000 (00:03 +0100)
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.76

Manually rebased:
bcm27xx/patches-6.6/950-0519-usb-dwc3-Set-DMA-and-coherent-masks-early.patch
imx/patches-6.6/600-PCI-imx6-Start-link-at-max-gen-first-for-IMX8MM-and-IMX8MP.patch

Removed upstreamed:
bcm27xx/patches-6.6/950-1446-media-i2c-ov9282-Correct-the-exposure-offset.patch[1]
bcm47xx/patches-6.6/701-bgmac-reduce-max-frame-size-to-support-just-MTU-1500.patch[2]
bcm53xx/patches-6.6/700-bgmac-reduce-max-frame-size-to-support-just-MTU-1500.patch[3]
ramips/patches-6.6/003-v6.14-clk-ralink-mtmips-remove-duplicated-xtal-clock-for-Ralink.patch[4]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.76&id=11c7649c9ec3dcaf0a7760551ad30747d9e02d81
2, 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.76&id=5e6e723675e54ced5200bcc367e2526badc4070c
4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.76&id=d0edcd0d18d700d76c61c091a24568b8b8c3b387

Build system: x86/64
Build-tested: bcm27xx/bcm2712, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Run-tested: bcm27xx/bcm2712, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/17822
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
42 files changed:
include/kernel-6.6
target/linux/airoha/patches-6.6/105-uart-add-en7523-support.patch
target/linux/ath79/patches-6.6/820-mfd-syscon-support-skip-reset-control-for-syscon-devices.patch
target/linux/ath79/patches-6.6/900-unaligned_access_hacks.patch
target/linux/bcm27xx/patches-6.6/950-0061-Revert-Revert-xhci-add-quirk-for-host-controllers-th.patch
target/linux/bcm27xx/patches-6.6/950-0106-Add-support-for-all-the-downstream-rpi-sound-card-dr.patch
target/linux/bcm27xx/patches-6.6/950-0162-usb-xhci-workaround-for-bogus-SET_DEQ_PENDING-endpoi.patch
target/linux/bcm27xx/patches-6.6/950-0416-gpio-pca953x-Add-ti-tca9554-compatible-string.patch
target/linux/bcm27xx/patches-6.6/950-0482-xhci-quirks-add-link-TRB-quirk-for-VL805.patch
target/linux/bcm27xx/patches-6.6/950-0485-usb-xhci-add-XHCI_VLI_HUB_TT_QUIRK.patch
target/linux/bcm27xx/patches-6.6/950-0509-gpio_brcmstb-Allow-to-build-for-ARCH_BCM2835.patch
target/linux/bcm27xx/patches-6.6/950-0519-usb-dwc3-Set-DMA-and-coherent-masks-early.patch
target/linux/bcm27xx/patches-6.6/950-0661-gpio-brcmstb-Use-dynamic-GPIO-base-numbers.patch
target/linux/bcm27xx/patches-6.6/950-0853-drivers-usb-dwc3-add-FS-LS-bus-instance-parkmode-dis.patch
target/linux/bcm27xx/patches-6.6/950-1359-usb-dwc3-core-add-support-for-setting-NAK-enhancemen.patch
target/linux/bcm27xx/patches-6.6/950-1361-drivers-usb-xhci-prevent-a-theoretical-race-on-non-c.patch
target/linux/bcm27xx/patches-6.6/950-1446-media-i2c-ov9282-Correct-the-exposure-offset.patch [deleted file]
target/linux/bcm27xx/patches-6.6/950-1464-serial-sc16is7xx-announce-support-for-SER_RS485_RTS_.patch
target/linux/bcm47xx/patches-6.6/701-bgmac-reduce-max-frame-size-to-support-just-MTU-1500.patch [deleted file]
target/linux/bcm53xx/patches-6.6/700-bgmac-reduce-max-frame-size-to-support-just-MTU-1500.patch [deleted file]
target/linux/generic/backport-6.6/400-v6.9-mtd-rawnand-brcmnand-Support-write-protection-settin.patch
target/linux/generic/backport-6.6/601-v6.10-net-Allow-to-use-SMP-threads-for-backlog-NAPI.patch
target/linux/generic/backport-6.6/611-02-v6.11-net-Make-USO-depend-on-CSUM-offload.patch
target/linux/generic/backport-6.6/612-v6.9-net-get-stats64-if-device-if-driver-is-configured.patch
target/linux/generic/backport-6.6/700-v6.10-net-create-a-dummy-net_device-allocator.patch
target/linux/generic/backport-6.6/900-v6.11-net-free_netdev-exit-earlier-if-dummy.patch
target/linux/generic/hack-6.6/773-bgmac-add-srab-switch.patch
target/linux/generic/pending-6.6/700-netfilter-nft_flow_offload-handle-netdevice-events-f.patch
target/linux/generic/pending-6.6/701-netfilter-nf_tables-ignore-EOPNOTSUPP-on-flowtable-d.patch
target/linux/generic/pending-6.6/704-netfilter-nf_tables-fix-bidirectional-offload-regres.patch
target/linux/generic/pending-6.6/731-net-permit-ieee80211_ptr-even-with-no-CFG82111-suppo.patch
target/linux/generic/pending-6.6/802-OPP-Provide-old-opp-to-config_clks-on-_set_opp.patch
target/linux/imx/patches-6.6/600-PCI-imx6-Start-link-at-max-gen-first-for-IMX8MM-and-IMX8MP.patch
target/linux/mediatek/patches-6.6/410-bt-mtk-serial-fix.patch
target/linux/qualcommbe/patches-6.6/006-v6.11-clk-qcom-common-commonize-qcom_cc_really_probe.patch
target/linux/qualcommbe/patches-6.6/012-04-v6.11-clk-qcom-common-Add-interconnect-clocks-support.patch
target/linux/ramips/patches-6.6/002-03-v6.13-clk-ralink-mtmips-add-mmc-related-clocks-for-SoCs-MT.patch
target/linux/ramips/patches-6.6/003-v6.14-clk-ralink-mtmips-remove-duplicated-xtal-clock-for-Ralink.patch [deleted file]
target/linux/ramips/patches-6.6/810-uvc-add-iPassion-iP2970-support.patch
target/linux/rockchip/patches-6.6/034-v6.7-usb-dwc3-add-optional-PHY-interface-clocks.patch
target/linux/starfive/patches-6.6/0066-uart-8250-Add-dw-auto-flow-ctrl-support.patch
target/linux/starfive/patches-6.6/0109-usb-xhci-To-improve-performance-usb-using-lowmem-for.patch

index 4586ce50c38116d055283c8bb5e83c00f85ec737..0dcd32546d4ed35bbf863deb0b7d0acbe39b8cfe 100644 (file)
@@ -1,2 +1,2 @@
-LINUX_VERSION-6.6 = .75
-LINUX_KERNEL_HASH-6.6.75 = f7dfb1fa9716ba139d0b4c8161535816d400dea21d5943f513448429b1790290
+LINUX_VERSION-6.6 = .76
+LINUX_KERNEL_HASH-6.6.76 = 81168b15f0c64034a2ab553ae37a5a38b79c3fe10f69faccc9f374ced4eb13a0
index 38611b907ce982764ca9a09e57730631cdcb4015..80b6550be3239dbd16a5561197175b905b70243a 100644 (file)
  };
  
  /* Uart divisor latch read */
-@@ -2880,6 +2888,12 @@ serial8250_do_set_termios(struct uart_po
+@@ -2881,6 +2889,12 @@ serial8250_do_set_termios(struct uart_po
  
        serial8250_set_divisor(port, baud, quot, frac);
  
index c73c8443b9f3eb9a8a3c33f649799193167fe6ca..3bdc2faf3ff81a33cd82dbe69052fb19dc2a2816 100644 (file)
@@ -16,16 +16,16 @@ Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
 
 --- a/drivers/mfd/syscon.c
 +++ b/drivers/mfd/syscon.c
-@@ -52,7 +52,7 @@ static struct syscon *of_syscon_register
+@@ -53,7 +53,7 @@ static struct syscon *of_syscon_register
        int ret;
        struct regmap_config syscon_config = syscon_regmap_config;
        struct resource res;
 -      struct reset_control *reset;
 +      struct reset_control *reset = NULL;
  
-       syscon = kzalloc(sizeof(*syscon), GFP_KERNEL);
-       if (!syscon)
-@@ -134,7 +134,8 @@ static struct syscon *of_syscon_register
+       WARN_ON(!mutex_is_locked(&syscon_list_lock));
+@@ -133,7 +133,8 @@ static struct syscon *of_syscon_register
                                goto err_attach_clk;
                }
  
index 969cde5ce279011cc5395280964954efe21c03c0..51f4f542d8bdc8a0fe21ada03654a0e7938c2cbf 100644 (file)
@@ -350,7 +350,7 @@ SVN-Revision: 35130
        list_for_each_entry(p, head, list) {
 --- a/net/ipv4/tcp_output.c
 +++ b/net/ipv4/tcp_output.c
-@@ -622,48 +622,53 @@ static void tcp_options_write(struct tcp
+@@ -625,48 +625,53 @@ static void tcp_options_write(struct tcp
        u16 options = opts->options;    /* mungable copy */
  
        if (unlikely(OPTION_MD5 & options)) {
@@ -427,7 +427,7 @@ SVN-Revision: 35130
        }
  
        if (unlikely(opts->num_sack_blocks)) {
-@@ -671,16 +676,17 @@ static void tcp_options_write(struct tcp
+@@ -674,16 +679,17 @@ static void tcp_options_write(struct tcp
                        tp->duplicate_sack : tp->selective_acks;
                int this_sack;
  
@@ -451,7 +451,7 @@ SVN-Revision: 35130
                }
  
                tp->rx_opt.dsack = 0;
-@@ -693,13 +699,14 @@ static void tcp_options_write(struct tcp
+@@ -696,13 +702,14 @@ static void tcp_options_write(struct tcp
  
                if (foc->exp) {
                        len = TCPOLEN_EXP_FASTOPEN_BASE + foc->len;
index 7dc38f06117884b92c4f32789d8ec39d775712f9..3898e05aae08b98aa7b38e8c55c151c7db8189a2 100644 (file)
@@ -28,7 +28,7 @@ We don't agree with upstream revert so undo it.
                pdev->device == PCI_DEVICE_ID_ASMEDIA_1042_XHCI) {
 --- a/drivers/usb/host/xhci-ring.c
 +++ b/drivers/usb/host/xhci-ring.c
-@@ -634,8 +634,11 @@ static int xhci_move_dequeue_past_td(str
+@@ -635,8 +635,11 @@ static int xhci_move_dequeue_past_td(str
        struct xhci_ring *ep_ring;
        struct xhci_command *cmd;
        struct xhci_segment *new_seg;
@@ -40,7 +40,7 @@ We don't agree with upstream revert so undo it.
        dma_addr_t addr;
        u64 hw_dequeue;
        bool cycle_found = false;
-@@ -673,7 +676,27 @@ static int xhci_move_dequeue_past_td(str
+@@ -674,7 +677,27 @@ static int xhci_move_dequeue_past_td(str
        hw_dequeue = xhci_get_hw_deq(xhci, dev, ep_index, stream_id);
        new_seg = ep_ring->deq_seg;
        new_deq = ep_ring->dequeue;
index 7808827ee8c404519655426a12be6f13556cedae..1d2f00625827191a557f91731b98708f786ce4cb 100644 (file)
@@ -17583,7 +17583,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
         * For devices with more than one control interface, we assume the
 --- a/sound/usb/quirks.c
 +++ b/sound/usb/quirks.c
-@@ -2251,6 +2251,8 @@ static const struct usb_audio_quirk_flag
+@@ -2253,6 +2253,8 @@ static const struct usb_audio_quirk_flag
                   QUIRK_FLAG_ALIGN_TRANSFER),
        DEVICE_FLG(0x534d, 0x2109, /* MacroSilicon MS2109 */
                   QUIRK_FLAG_ALIGN_TRANSFER),
index bae92863652b540bd1104e08f921e3b2024f788b..9d22d745101c4b49470eb066226870258f3a1a6b 100644 (file)
@@ -26,7 +26,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
 
 --- a/drivers/usb/host/xhci-ring.c
 +++ b/drivers/usb/host/xhci-ring.c
-@@ -739,9 +739,9 @@ deq_found:
+@@ -740,9 +740,9 @@ deq_found:
        }
  
        if ((ep->ep_state & SET_DEQ_PENDING)) {
index aa11729b7179151d98cc1e7e860eb1a6b99238ac..be8e134cf6e5db9a444c10258f439d11abf5bfa8 100644 (file)
@@ -10,7 +10,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
 
 --- a/drivers/gpio/gpio-pca953x.c
 +++ b/drivers/gpio/gpio-pca953x.c
-@@ -1347,6 +1347,7 @@ static const struct of_device_id pca953x
+@@ -1330,6 +1330,7 @@ static const struct of_device_id pca953x
        { .compatible = "ti,tca6424", .data = OF_953X(24, PCA_INT), },
        { .compatible = "ti,tca9538", .data = OF_953X( 8, PCA_INT), },
        { .compatible = "ti,tca9539", .data = OF_953X(16, PCA_INT), },
index 55479438800104244f5ccaf40e1ffc52002f8bef..2b267c77924c4fb237c4a799381bef7c00fabe20 100644 (file)
@@ -34,7 +34,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
        if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA &&
 --- a/drivers/usb/host/xhci-ring.c
 +++ b/drivers/usb/host/xhci-ring.c
-@@ -729,6 +729,15 @@ static int xhci_move_dequeue_past_td(str
+@@ -730,6 +730,15 @@ static int xhci_move_dequeue_past_td(str
        } while (!cycle_found || !td_last_trb_found);
  
  deq_found:
index 26abb99fe6ff92c5278e99a7f39c631c472ad0ef..adf25d9495b459d183d8c9007f86dc3cc4702e7c 100644 (file)
@@ -75,7 +75,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
        if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA &&
 --- a/drivers/usb/host/xhci-ring.c
 +++ b/drivers/usb/host/xhci-ring.c
-@@ -3714,6 +3714,48 @@ static int xhci_align_td(struct xhci_hcd
+@@ -3715,6 +3715,48 @@ static int xhci_align_td(struct xhci_hcd
        return 1;
  }
  
@@ -124,7 +124,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
  /* This is very similar to what ehci-q.c qtd_fill() does */
  int xhci_queue_bulk_tx(struct xhci_hcd *xhci, gfp_t mem_flags,
                struct urb *urb, int slot_id, unsigned int ep_index)
-@@ -3870,6 +3912,8 @@ int xhci_queue_bulk_tx(struct xhci_hcd *
+@@ -3871,6 +3913,8 @@ int xhci_queue_bulk_tx(struct xhci_hcd *
        }
  
        check_trb_math(urb, enqd_len);
@@ -133,7 +133,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
        giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id,
                        start_cycle, start_trb);
        return 0;
-@@ -4019,6 +4063,8 @@ int xhci_queue_ctrl_tx(struct xhci_hcd *
+@@ -4020,6 +4064,8 @@ int xhci_queue_ctrl_tx(struct xhci_hcd *
                        /* Event on completion */
                        field | TRB_IOC | TRB_TYPE(TRB_STATUS) | ep_ring->cycle_state);
  
index a6a976257b9ef8b678b58e3398cf61f50835edfd..cef1bf42a11f8804706479dcdcf682bf8c1174c1 100644 (file)
@@ -53,16 +53,16 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
        help
 --- a/drivers/gpio/gpio-brcmstb.c
 +++ b/drivers/gpio/gpio-brcmstb.c
-@@ -639,6 +639,8 @@ static int brcmstb_gpio_probe(struct pla
+@@ -637,6 +637,8 @@ static int brcmstb_gpio_probe(struct pla
  #if defined(CONFIG_MIPS) && defined(__BIG_ENDIAN)
        flags = BGPIOF_BIG_ENDIAN_BYTE_ORDER;
  #endif
 +      if (of_property_read_bool(np, "brcm,gpio-direct"))
 +          flags |= BGPIOF_REG_DIRECT;
  
-       of_property_for_each_u32(np, "brcm,gpio-bank-widths", prop, p,
-                       bank_width) {
-@@ -688,7 +690,9 @@ static int brcmstb_gpio_probe(struct pla
+       of_property_for_each_u32(np, "brcm,gpio-bank-widths", bank_width) {
+               struct brcmstb_gpio_bank *bank;
+@@ -685,7 +687,9 @@ static int brcmstb_gpio_probe(struct pla
                }
  
                gc->owner = THIS_MODULE;
@@ -73,7 +73,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
                if (!gc->label) {
                        err = -ENOMEM;
                        goto fail;
-@@ -697,7 +701,7 @@ static int brcmstb_gpio_probe(struct pla
+@@ -694,7 +698,7 @@ static int brcmstb_gpio_probe(struct pla
                gc->of_gpio_n_cells = 2;
                gc->of_xlate = brcmstb_gpio_of_xlate;
                /* not all ngpio lines are valid, will use bank width later */
@@ -82,7 +82,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
                gc->offset = bank->id * MAX_GPIO_PER_BANK;
                if (priv->parent_irq > 0)
                        gc->to_irq = brcmstb_gpio_to_irq;
-@@ -706,8 +710,10 @@ static int brcmstb_gpio_probe(struct pla
+@@ -703,8 +707,10 @@ static int brcmstb_gpio_probe(struct pla
                 * Mask all interrupts by default, since wakeup interrupts may
                 * be retained from S5 cold boot
                 */
index db3b6cd828071d2871a182fbe2b73eab0c8edf95..8a469986f07a148f409b1bb9c40b16d474d0cfd4 100644 (file)
@@ -276,10 +276,10 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
        u8                      tx_max_burst_prd = 0;
        u8                      tx_fifo_resize_max_num;
 +      u8                      axi_pipe_limit;
-       const char              *usb_psy_name;
-       int                     ret;
  
-@@ -1527,6 +1566,9 @@ static void dwc3_get_properties(struct d
+       /* default to highest possible threshold */
+       lpm_nyet_threshold = 0xf;
+@@ -1525,6 +1564,9 @@ static void dwc3_get_properties(struct d
         */
        tx_fifo_resize_max_num = 6;
  
@@ -289,7 +289,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
        dwc->maximum_speed = usb_get_maximum_speed(dev);
        dwc->max_ssp_rate = usb_get_maximum_ssp_rate(dev);
        dwc->dr_mode = usb_get_dr_mode(dev);
-@@ -1648,6 +1690,9 @@ static void dwc3_get_properties(struct d
+@@ -1639,6 +1681,9 @@ static void dwc3_get_properties(struct d
        dwc->dis_split_quirk = device_property_read_bool(dev,
                                "snps,dis-split-quirk");
  
@@ -299,7 +299,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
        dwc->lpm_nyet_threshold = lpm_nyet_threshold;
        dwc->tx_de_emphasis = tx_de_emphasis;
  
-@@ -1665,6 +1710,8 @@ static void dwc3_get_properties(struct d
+@@ -1656,6 +1701,8 @@ static void dwc3_get_properties(struct d
        dwc->tx_thr_num_pkt_prd = tx_thr_num_pkt_prd;
        dwc->tx_max_burst_prd = tx_max_burst_prd;
  
@@ -308,9 +308,9 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
        dwc->imod_interval = 0;
  
        dwc->tx_fifo_resize_max_num = tx_fifo_resize_max_num;
-@@ -1940,6 +1987,12 @@ static int dwc3_probe(struct platform_de
-       dwc3_get_properties(dwc);
+@@ -1952,6 +1999,12 @@ static int dwc3_probe(struct platform_de
+       if (IS_ERR(dwc->usb_psy))
+               return dev_err_probe(dev, PTR_ERR(dwc->usb_psy), "couldn't get usb power supply\n");
  
 +      if (!dwc->sysdev_is_parent) {
 +              ret = dma_set_mask_and_coherent(dwc->sysdev, DMA_BIT_MASK(64));
index 1f0907f39994feb4a14870a8398935841f96b6c7..2886d9427fc80b3dffb6dbe9cc6f4cccab0c0843 100644 (file)
@@ -61,8 +61,8 @@ Fixes: 3b0213d56eb7 ("gpio: Add GPIO support for Broadcom STB SoCs")
        if (offset >= gc->ngpio || offset < 0)
                return -EINVAL;
  
-@@ -598,8 +598,8 @@ static int brcmstb_gpio_probe(struct pla
-       const __be32 *p;
+@@ -596,8 +596,8 @@ static int brcmstb_gpio_probe(struct pla
+       struct resource *res;
        u32 bank_width;
        int num_banks = 0;
 +      int num_gpios = 0;
@@ -71,7 +71,7 @@ Fixes: 3b0213d56eb7 ("gpio: Add GPIO support for Broadcom STB SoCs")
        unsigned long flags = 0;
        bool need_wakeup_event = false;
  
-@@ -613,7 +613,6 @@ static int brcmstb_gpio_probe(struct pla
+@@ -611,7 +611,6 @@ static int brcmstb_gpio_probe(struct pla
        if (IS_ERR(reg_base))
                return PTR_ERR(reg_base);
  
@@ -79,7 +79,7 @@ Fixes: 3b0213d56eb7 ("gpio: Add GPIO support for Broadcom STB SoCs")
        priv->reg_base = reg_base;
        priv->pdev = pdev;
  
-@@ -655,7 +654,7 @@ static int brcmstb_gpio_probe(struct pla
+@@ -652,7 +651,7 @@ static int brcmstb_gpio_probe(struct pla
                        dev_dbg(dev, "Width 0 found: Empty bank @ %d\n",
                                num_banks);
                        num_banks++;
@@ -88,7 +88,7 @@ Fixes: 3b0213d56eb7 ("gpio: Add GPIO support for Broadcom STB SoCs")
                        continue;
                }
  
-@@ -697,7 +696,7 @@ static int brcmstb_gpio_probe(struct pla
+@@ -694,7 +693,7 @@ static int brcmstb_gpio_probe(struct pla
                        err = -ENOMEM;
                        goto fail;
                }
@@ -97,7 +97,7 @@ Fixes: 3b0213d56eb7 ("gpio: Add GPIO support for Broadcom STB SoCs")
                gc->of_gpio_n_cells = 2;
                gc->of_xlate = brcmstb_gpio_of_xlate;
                /* not all ngpio lines are valid, will use bank width later */
-@@ -721,7 +720,7 @@ static int brcmstb_gpio_probe(struct pla
+@@ -718,7 +717,7 @@ static int brcmstb_gpio_probe(struct pla
                                        bank->id);
                        goto fail;
                }
@@ -106,7 +106,7 @@ Fixes: 3b0213d56eb7 ("gpio: Add GPIO support for Broadcom STB SoCs")
  
                dev_dbg(dev, "bank=%d, base=%d, ngpio=%d, width=%d\n", bank->id,
                        gc->base, gc->ngpio, bank->width);
-@@ -732,7 +731,7 @@ static int brcmstb_gpio_probe(struct pla
+@@ -729,7 +728,7 @@ static int brcmstb_gpio_probe(struct pla
                num_banks++;
        }
  
index 0441512add1775b31c58f725c9e7fbaabd9798cb..abd631b6f7ec77ec0c902914f1ac9e6bf797893a 100644 (file)
@@ -26,7 +26,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
                if (DWC3_VER_IS_WITHIN(DWC3, 290A, ANY) &&
                    (dwc->maximum_speed == USB_SPEED_HIGH ||
                     dwc->maximum_speed == USB_SPEED_FULL))
-@@ -1670,6 +1673,8 @@ static void dwc3_get_properties(struct d
+@@ -1661,6 +1664,8 @@ static void dwc3_get_properties(struct d
                                "snps,parkmode-disable-ss-quirk");
        dwc->parkmode_disable_hs_quirk = device_property_read_bool(dev,
                                "snps,parkmode-disable-hs-quirk");
index 8995f6f9dce053e0c49cc6d795ecf75a2bb916df..0ed02a82cff15d127d18e16d531c6adb32b98f66 100644 (file)
@@ -35,7 +35,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
                if (dwc->parkmode_disable_ss_quirk)
                        reg |= DWC3_GUCTL1_PARKMODE_DISABLE_SS;
  
-@@ -1669,6 +1675,10 @@ static void dwc3_get_properties(struct d
+@@ -1660,6 +1666,10 @@ static void dwc3_get_properties(struct d
                                "snps,resume-hs-terminations");
        dwc->ulpi_ext_vbus_drv = device_property_read_bool(dev,
                                "snps,ulpi-ext-vbus-drv");
index c2f37a0fc1fdd158be64f637a1a4aed9bad67db2..50819fc7f2070e18282c3dcd4bae7a27b17b3a6d 100644 (file)
@@ -28,7 +28,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
 
 --- a/drivers/usb/host/xhci-ring.c
 +++ b/drivers/usb/host/xhci-ring.c
-@@ -506,6 +506,19 @@ void xhci_ring_ep_doorbell(struct xhci_h
+@@ -507,6 +507,19 @@ void xhci_ring_ep_doorbell(struct xhci_h
  
        trace_xhci_ring_ep_doorbell(slot_id, DB_VALUE(ep_index, stream_id));
  
diff --git a/target/linux/bcm27xx/patches-6.6/950-1446-media-i2c-ov9282-Correct-the-exposure-offset.patch b/target/linux/bcm27xx/patches-6.6/950-1446-media-i2c-ov9282-Correct-the-exposure-offset.patch
deleted file mode 100644 (file)
index f673f54..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-From e23afbf2c7aae9264322eee8e5c72ca1887606df Mon Sep 17 00:00:00 2001
-From: Dave Stevenson <dave.stevenson@raspberrypi.com>
-Date: Mon, 9 Dec 2024 10:43:18 +0000
-Subject: [PATCH] media: i2c: ov9282: Correct the exposure offset
-
-The datasheet lists that "Maximum exposure time is frame
-length -25 row periods, where frame length is set by
-registers {0x380E, 0x380F}".
-However this driver had OV9282_EXPOSURE_OFFSET set to 12
-which allowed that restriction to be violated, and would
-result in very under-exposed images.
-
-Correct the offset.
-
-Fixes: 14ea315bbeb7 ("media: i2c: Add ov9282 camera sensor driver")
-Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
----
- drivers/media/i2c/ov9282.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/drivers/media/i2c/ov9282.c
-+++ b/drivers/media/i2c/ov9282.c
-@@ -40,7 +40,7 @@
- /* Exposure control */
- #define OV9282_REG_EXPOSURE   0x3500
- #define OV9282_EXPOSURE_MIN   1
--#define OV9282_EXPOSURE_OFFSET        12
-+#define OV9282_EXPOSURE_OFFSET        25
- #define OV9282_EXPOSURE_STEP  1
- #define OV9282_EXPOSURE_DEFAULT       0x0282
index f78402d0c52d8c3b9b7b068c070b23c691729571..2f52823afc0f25a3c53d569df8c6e4aa77f25636 100644 (file)
@@ -31,7 +31,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/drivers/tty/serial/sc16is7xx.c
 +++ b/drivers/tty/serial/sc16is7xx.c
-@@ -1457,7 +1457,7 @@ static int sc16is7xx_setup_mctrl_ports(s
+@@ -1480,7 +1480,7 @@ static int sc16is7xx_setup_mctrl_ports(s
  }
  
  static const struct serial_rs485 sc16is7xx_rs485_supported = {
diff --git a/target/linux/bcm47xx/patches-6.6/701-bgmac-reduce-max-frame-size-to-support-just-MTU-1500.patch b/target/linux/bcm47xx/patches-6.6/701-bgmac-reduce-max-frame-size-to-support-just-MTU-1500.patch
deleted file mode 100644 (file)
index 3a2f4b0..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Fri, 10 Jun 2022 13:10:47 +0200
-Subject: [PATCH] bgmac: reduce max frame size to support just MTU 1500
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-bgmac allocates new replacement buffer before handling each received
-frame. Allocating & DMA-preparing 9724 B each time consumes a lot of CPU
-time. Ideally bgmac should just respect currently set MTU but it isn't
-the case right now. For now just revert back to the old limited frame
-size.
-
-This change bumps NAT masquarade speed by ~95%.
-
-Ref: 8c7da63978f1 ("bgmac: configure MTU and add support for frames beyond 8192 byte size")
-Signed-off-by: RafaÅ‚ MiÅ‚ecki <rafal@milecki.pl>
----
- drivers/net/ethernet/broadcom/bgmac.h | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
---- a/drivers/net/ethernet/broadcom/bgmac.h
-+++ b/drivers/net/ethernet/broadcom/bgmac.h
-@@ -328,8 +328,7 @@
- #define BGMAC_RX_FRAME_OFFSET                 30              /* There are 2 unused bytes between header and real data */
- #define BGMAC_RX_BUF_OFFSET                   (NET_SKB_PAD + NET_IP_ALIGN - \
-                                                BGMAC_RX_FRAME_OFFSET)
--/* Jumbo frame size with FCS */
--#define BGMAC_RX_MAX_FRAME_SIZE                       9724
-+#define BGMAC_RX_MAX_FRAME_SIZE                       1536
- #define BGMAC_RX_BUF_SIZE                     (BGMAC_RX_FRAME_OFFSET + BGMAC_RX_MAX_FRAME_SIZE)
- #define BGMAC_RX_ALLOC_SIZE                   (SKB_DATA_ALIGN(BGMAC_RX_BUF_SIZE + BGMAC_RX_BUF_OFFSET) + \
-                                                SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
diff --git a/target/linux/bcm53xx/patches-6.6/700-bgmac-reduce-max-frame-size-to-support-just-MTU-1500.patch b/target/linux/bcm53xx/patches-6.6/700-bgmac-reduce-max-frame-size-to-support-just-MTU-1500.patch
deleted file mode 100644 (file)
index 3a2f4b0..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
-Date: Fri, 10 Jun 2022 13:10:47 +0200
-Subject: [PATCH] bgmac: reduce max frame size to support just MTU 1500
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-bgmac allocates new replacement buffer before handling each received
-frame. Allocating & DMA-preparing 9724 B each time consumes a lot of CPU
-time. Ideally bgmac should just respect currently set MTU but it isn't
-the case right now. For now just revert back to the old limited frame
-size.
-
-This change bumps NAT masquarade speed by ~95%.
-
-Ref: 8c7da63978f1 ("bgmac: configure MTU and add support for frames beyond 8192 byte size")
-Signed-off-by: RafaÅ‚ MiÅ‚ecki <rafal@milecki.pl>
----
- drivers/net/ethernet/broadcom/bgmac.h | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
---- a/drivers/net/ethernet/broadcom/bgmac.h
-+++ b/drivers/net/ethernet/broadcom/bgmac.h
-@@ -328,8 +328,7 @@
- #define BGMAC_RX_FRAME_OFFSET                 30              /* There are 2 unused bytes between header and real data */
- #define BGMAC_RX_BUF_OFFSET                   (NET_SKB_PAD + NET_IP_ALIGN - \
-                                                BGMAC_RX_FRAME_OFFSET)
--/* Jumbo frame size with FCS */
--#define BGMAC_RX_MAX_FRAME_SIZE                       9724
-+#define BGMAC_RX_MAX_FRAME_SIZE                       1536
- #define BGMAC_RX_BUF_SIZE                     (BGMAC_RX_FRAME_OFFSET + BGMAC_RX_MAX_FRAME_SIZE)
- #define BGMAC_RX_ALLOC_SIZE                   (SKB_DATA_ALIGN(BGMAC_RX_BUF_SIZE + BGMAC_RX_BUF_OFFSET) + \
-                                                SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
index 257624164ac6a63f951ea202b5ccd45010d85720..a7186208b2be25cf54dfb2e1df9e9136244dbf64 100644 (file)
@@ -23,7 +23,7 @@ Link: https://lore.kernel.org/linux-mtd/20240223034758.13753-14-william.zhang@br
 
 --- a/drivers/mtd/nand/raw/brcmnand/brcmnand.c
 +++ b/drivers/mtd/nand/raw/brcmnand/brcmnand.c
-@@ -3189,6 +3189,10 @@ int brcmnand_probe(struct platform_devic
+@@ -3194,6 +3194,10 @@ int brcmnand_probe(struct platform_devic
        /* Disable XOR addressing */
        brcmnand_rmw_reg(ctrl, BRCMNAND_CS_XOR, 0xff, 0, 0);
  
index b3729e8b6c0a5d4f77b97b9cc3fde5eca2800acf..3de258f953460f5c3796f3f4b2625b13632e9eb9 100644 (file)
@@ -250,7 +250,7 @@ Signed-off-by: Paolo Abeni <pabeni@redhat.com>
        return 0;
  }
  
-@@ -11299,7 +11340,7 @@ static int dev_cpu_dead(unsigned int old
+@@ -11303,7 +11344,7 @@ static int dev_cpu_dead(unsigned int old
  
                list_del_init(&napi->poll_list);
                if (napi->poll == process_backlog)
@@ -259,7 +259,7 @@ Signed-off-by: Paolo Abeni <pabeni@redhat.com>
                else
                        ____napi_schedule(sd, napi);
        }
-@@ -11307,12 +11348,14 @@ static int dev_cpu_dead(unsigned int old
+@@ -11311,12 +11352,14 @@ static int dev_cpu_dead(unsigned int old
        raise_softirq_irqoff(NET_TX_SOFTIRQ);
        local_irq_enable();
  
@@ -278,7 +278,7 @@ Signed-off-by: Paolo Abeni <pabeni@redhat.com>
  
        /* Process offline CPU's input_pkt_queue */
        while ((skb = __skb_dequeue(&oldsd->process_queue))) {
-@@ -11575,6 +11618,38 @@ static struct pernet_operations __net_in
+@@ -11579,6 +11622,38 @@ static struct pernet_operations __net_in
   *
   */
  
@@ -317,7 +317,7 @@ Signed-off-by: Paolo Abeni <pabeni@redhat.com>
  /*
   *       This is called single threaded during boot, so no need
   *       to take the rtnl semaphore.
-@@ -11625,7 +11700,10 @@ static int __init net_dev_init(void)
+@@ -11629,7 +11704,10 @@ static int __init net_dev_init(void)
                init_gro_hash(&sd->backlog);
                sd->backlog.poll = process_backlog;
                sd->backlog.weight = weight_p;
index 6b5272d583f97dfa74121bcbb2fa1c6a4bfb5607..6cd162ff1cea7deea7de1a22deb7f696056f5282 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
 
 --- a/net/core/dev.c
 +++ b/net/core/dev.c
-@@ -9761,6 +9761,15 @@ static void netdev_sync_lower_features(s
+@@ -9765,6 +9765,15 @@ static void netdev_sync_lower_features(s
        }
  }
  
@@ -36,7 +36,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  static netdev_features_t netdev_fix_features(struct net_device *dev,
        netdev_features_t features)
  {
-@@ -9842,15 +9851,9 @@ static netdev_features_t netdev_fix_feat
+@@ -9846,15 +9855,9 @@ static netdev_features_t netdev_fix_feat
                features &= ~NETIF_F_LRO;
        }
  
@@ -55,7 +55,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
        }
  
        if ((features & NETIF_F_HW_TLS_RX) && !(features & NETIF_F_RXCSUM)) {
-@@ -9858,6 +9861,11 @@ static netdev_features_t netdev_fix_feat
+@@ -9862,6 +9865,11 @@ static netdev_features_t netdev_fix_feat
                features &= ~NETIF_F_HW_TLS_RX;
        }
  
index 8f2c26d654334490ce3da43fb19571f693e5de43..21ba0acc5b0ea887e47ba933c61b747d000cd9b8 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Paolo Abeni <pabeni@redhat.com>
 
 --- a/net/core/dev.c
 +++ b/net/core/dev.c
-@@ -10668,6 +10668,8 @@ struct rtnl_link_stats64 *dev_get_stats(
+@@ -10672,6 +10672,8 @@ struct rtnl_link_stats64 *dev_get_stats(
                ops->ndo_get_stats64(dev, storage);
        } else if (ops->ndo_get_stats) {
                netdev_stats_to_stats64(storage, ops->ndo_get_stats(dev));
index c8b4ccc3004f7216cdb468ddc1710c1e63d5ead8..c6718c8e224c393c2f7b8589cadda9719ca78631 100644 (file)
@@ -49,7 +49,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
                                    unsigned char name_assign_type,
 --- a/net/core/dev.c
 +++ b/net/core/dev.c
-@@ -10355,25 +10355,12 @@ err_free_name:
+@@ -10359,25 +10359,12 @@ err_free_name:
  }
  EXPORT_SYMBOL(register_netdevice);
  
@@ -79,7 +79,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
        /* make sure we BUG if trying to hit standard
         * register/unregister code path
         */
-@@ -10393,12 +10380,32 @@ int init_dummy_netdev(struct net_device
+@@ -10397,12 +10384,32 @@ int init_dummy_netdev(struct net_device
         * because users of this 'device' dont need to change
         * its refcount.
         */
@@ -113,7 +113,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  /**
   *    register_netdev - register a network device
   *    @dev: device to register
-@@ -10992,6 +10999,19 @@ void free_netdev(struct net_device *dev)
+@@ -10996,6 +11003,19 @@ void free_netdev(struct net_device *dev)
  EXPORT_SYMBOL(free_netdev);
  
  /**
index 5f7210812fb9989448b90904e2b0177d0034d573..b3a592f078119d3e36bc53b236cefc983eb5a919 100644 (file)
@@ -23,7 +23,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
 
 --- a/net/core/dev.c
 +++ b/net/core/dev.c
-@@ -10985,7 +10985,8 @@ void free_netdev(struct net_device *dev)
+@@ -10989,7 +10989,8 @@ void free_netdev(struct net_device *dev)
        dev->xdp_bulkq = NULL;
  
        /*  Compatibility with error handling in drivers */
index 633cacd1e7c313a4705c0fd8e6b303b15f979fc8..40634f9ed0ad2fbedceaa387296c0d22e688fced 100644 (file)
@@ -78,7 +78,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
        netif_napi_del(&bgmac->napi);
 --- a/drivers/net/ethernet/broadcom/bgmac.h
 +++ b/drivers/net/ethernet/broadcom/bgmac.h
-@@ -388,6 +388,7 @@
+@@ -387,6 +387,7 @@
  #define BGMAC_FEAT_CC4_IF_SW_TYPE_RGMII       BIT(18)
  #define BGMAC_FEAT_CC7_IF_TYPE_RGMII  BIT(19)
  #define BGMAC_FEAT_IDM_MASK           BIT(20)
@@ -86,7 +86,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  
  struct bgmac_slot_info {
        union {
-@@ -495,6 +496,9 @@ struct bgmac {
+@@ -494,6 +495,9 @@ struct bgmac {
        void (*cmn_maskset32)(struct bgmac *bgmac, u16 offset, u32 mask,
                              u32 set);
        int (*phy_connect)(struct bgmac *bgmac);
index 750ca29287ab2ffe59941cf703da14bafe00a5a2..c69be593f900cd2dc963e99a78dacbc8e8649cb6 100644 (file)
@@ -59,7 +59,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
  }
 --- a/net/netfilter/nft_flow_offload.c
 +++ b/net/netfilter/nft_flow_offload.c
-@@ -480,47 +480,14 @@ static struct nft_expr_type nft_flow_off
+@@ -486,47 +486,14 @@ static struct nft_expr_type nft_flow_off
        .owner          = THIS_MODULE,
  };
  
index 6cb52d00a2dad9e3f20b90b28e509e33c75b9d33..373b3e87ba92f9177f8a21f353688e6ffe2cad27 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 
 --- a/net/netfilter/nf_tables_api.c
 +++ b/net/netfilter/nf_tables_api.c
-@@ -8425,7 +8425,7 @@ static int nft_register_flowtable_net_ho
+@@ -8470,7 +8470,7 @@ static int nft_register_flowtable_net_ho
                err = flowtable->data.type->setup(&flowtable->data,
                                                  hook->ops.dev,
                                                  FLOW_BLOCK_BIND);
index d1d6fa3fe1f12c48ef264fd7e851d13048234679..a538c3333ed1b97654149045a42a5466b2497054 100644 (file)
@@ -14,9 +14,9 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 
 --- a/net/netfilter/nft_flow_offload.c
 +++ b/net/netfilter/nft_flow_offload.c
-@@ -361,6 +361,7 @@ static void nft_flow_offload_eval(const
-               ct->proto.tcp.seen[1].flags |= IP_CT_TCP_FLAG_BE_LIBERAL;
-       }
+@@ -367,6 +367,7 @@ static void nft_flow_offload_eval(const
+       if (tcph)
+               flow_offload_ct_tcp(ct);
  
 +      __set_bit(NF_FLOW_HW_BIDIRECTIONAL, &flow->flags);
        ret = flow_offload_add(flowtable, flow);
index 1f07c0f62c8c0200ad8688118d417974085f09a9..8679ffb13f880292ebe40212728a8cc78777af29 100644 (file)
@@ -19,7 +19,7 @@ Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
 +++ b/include/linux/netdevice.h
 @@ -2243,7 +2243,7 @@ struct net_device {
  #if IS_ENABLED(CONFIG_AX25)
-       void                    *ax25_ptr;
+       struct ax25_dev __rcu   *ax25_ptr;
  #endif
 -#if IS_ENABLED(CONFIG_CFG80211)
 +#if IS_ENABLED(CONFIG_CFG80211_HEADERS)
index 7f670914781837db6b559a12dc04935147900244..3da2aed0dfca68f8e2996bcdfe62e7ca1a0d47f1 100644 (file)
@@ -33,7 +33,7 @@ Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
        return 0;
 --- a/drivers/opp/core.c
 +++ b/drivers/opp/core.c
-@@ -902,7 +902,8 @@ static int _set_opp_voltage(struct devic
+@@ -925,7 +925,8 @@ static int _set_opp_voltage(struct devic
  
  static int
  _opp_config_clk_single(struct device *dev, struct opp_table *opp_table,
@@ -43,7 +43,7 @@ Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
  {
        unsigned long *target = data;
        unsigned long freq;
-@@ -934,8 +935,8 @@ _opp_config_clk_single(struct device *de
+@@ -957,8 +958,8 @@ _opp_config_clk_single(struct device *de
   * the order in which they are present in the array while scaling up.
   */
  int dev_pm_opp_config_clks_simple(struct device *dev,
@@ -54,7 +54,7 @@ Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
  {
        int ret, i;
  
-@@ -1217,7 +1218,7 @@ static int _set_opp(struct device *dev,
+@@ -1240,7 +1241,7 @@ static int _set_opp(struct device *dev,
        }
  
        if (opp_table->config_clks) {
@@ -63,7 +63,7 @@ Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
                if (ret)
                        return ret;
        }
-@@ -1292,7 +1293,7 @@ int dev_pm_opp_set_rate(struct device *d
+@@ -1315,7 +1316,7 @@ int dev_pm_opp_set_rate(struct device *d
                 * equivalent to a clk_set_rate()
                 */
                if (!_get_opp_count(opp_table)) {
index 002c2044622ae019712d4553767302588d28ca6b..95069c2c4386409bc0bd9cd5c507ee383548a429 100644 (file)
@@ -30,9 +30,9 @@ Signed-off-by: Tim Harvey <tharvey@gateworks.com>
  #define IMX6_PCIE_FLAG_SUPPORTS_SUSPEND               BIT(2)
 +#define IMX6_PCIE_FLAG_GEN1_LAST              BIT(3)
  
- struct imx6_pcie_drvdata {
-       enum imx6_pcie_variants variant;
-@@ -876,26 +877,28 @@ static int imx6_pcie_start_link(struct d
+ #define IMX6_PCIE_MAX_CLKS       6
+@@ -836,26 +837,28 @@ static int imx6_pcie_start_link(struct d
        u32 tmp;
        int ret;
  
@@ -76,7 +76,7 @@ Signed-off-by: Tim Harvey <tharvey@gateworks.com>
                /* Allow faster modes after the link is up */
                dw_pcie_dbi_ro_wr_en(pci);
                tmp = dw_pcie_readl_dbi(pci, offset + PCI_EXP_LNKCAP);
-@@ -929,18 +932,14 @@ static int imx6_pcie_start_link(struct d
+@@ -889,18 +892,14 @@ static int imx6_pcie_start_link(struct d
                                goto err_reset_phy;
                        }
                }
@@ -100,20 +100,22 @@ Signed-off-by: Tim Harvey <tharvey@gateworks.com>
        return 0;
  
  err_reset_phy:
-@@ -1505,12 +1504,14 @@ static const struct imx6_pcie_drvdata dr
+@@ -1456,14 +1455,16 @@ static const struct imx6_pcie_drvdata dr
        },
        [IMX8MM] = {
                .variant = IMX8MM,
 -              .flags = IMX6_PCIE_FLAG_SUPPORTS_SUSPEND,
 +              .flags = IMX6_PCIE_FLAG_SUPPORTS_SUSPEND |
-+                       IMX6_PCIE_FLAG_GEN1_LAST,
++                      IMX6_PCIE_FLAG_GEN1_LAST,
                .gpr = "fsl,imx8mm-iomuxc-gpr",
+               .clk_names = imx8mm_clks,
+               .clks_cnt = ARRAY_SIZE(imx8mm_clks),
        },
        [IMX8MP] = {
                .variant = IMX8MP,
 -              .flags = IMX6_PCIE_FLAG_SUPPORTS_SUSPEND,
 +              .flags = IMX6_PCIE_FLAG_SUPPORTS_SUSPEND |
-+                       IMX6_PCIE_FLAG_GEN1_LAST,
++                      IMX6_PCIE_FLAG_GEN1_LAST,
                .gpr = "fsl,imx8mp-iomuxc-gpr",
-       },
-       [IMX8MQ_EP] = {
+               .clk_names = imx8mm_clks,
+               .clks_cnt = ARRAY_SIZE(imx8mm_clks),
index 53e92a6dd38da4c2c4b027d95017c5868a312ce5..206dad7f233dd738407d2b0ad46bd791c994b8ab 100644 (file)
@@ -19,7 +19,7 @@
        },
        [PORT_NPCM] = {
                .name           = "Nuvoton 16550",
-@@ -2774,6 +2774,11 @@ serial8250_do_set_termios(struct uart_po
+@@ -2775,6 +2775,11 @@ serial8250_do_set_termios(struct uart_po
        unsigned long flags;
        unsigned int baud, quot, frac = 0;
  
index ce181b4791fb87b301acbb4f6fd079b2120b39d4..8d4153d70c50c76f5ff7e0ae16334fae69349bd7 100644 (file)
@@ -199,7 +199,7 @@ Signed-off-by: Bjorn Andersson <andersson@kernel.org>
  static struct platform_driver cam_cc_sm8450_driver = {
 --- a/drivers/clk/qcom/common.c
 +++ b/drivers/clk/qcom/common.c
-@@ -252,11 +252,10 @@ static struct clk_hw *qcom_cc_clk_hw_get
+@@ -250,11 +250,10 @@ static struct clk_hw *qcom_cc_clk_hw_get
        return cc->rclks[idx] ? &cc->rclks[idx]->hw : NULL;
  }
  
@@ -212,7 +212,7 @@ Signed-off-by: Bjorn Andersson <andersson@kernel.org>
        struct qcom_reset_controller *reset;
        struct qcom_cc *cc;
        struct gdsc_desc *scd;
-@@ -333,7 +332,7 @@ int qcom_cc_probe(struct platform_device
+@@ -331,7 +330,7 @@ int qcom_cc_probe(struct platform_device
        if (IS_ERR(regmap))
                return PTR_ERR(regmap);
  
@@ -221,7 +221,7 @@ Signed-off-by: Bjorn Andersson <andersson@kernel.org>
  }
  EXPORT_SYMBOL_GPL(qcom_cc_probe);
  
-@@ -351,7 +350,7 @@ int qcom_cc_probe_by_index(struct platfo
+@@ -349,7 +348,7 @@ int qcom_cc_probe_by_index(struct platfo
        if (IS_ERR(regmap))
                return PTR_ERR(regmap);
  
index 1702f26f6962d6126867cccbd4e5c6a5508eabaf..402c58aed8665779534f425daaecfd9e1290828e 100644 (file)
@@ -33,7 +33,7 @@ Signed-off-by: Bjorn Andersson <andersson@kernel.org>
  #include <linux/reset-controller.h>
  #include <linux/of.h>
  
-@@ -252,6 +253,38 @@ static struct clk_hw *qcom_cc_clk_hw_get
+@@ -250,6 +251,38 @@ static struct clk_hw *qcom_cc_clk_hw_get
        return cc->rclks[idx] ? &cc->rclks[idx]->hw : NULL;
  }
  
@@ -72,7 +72,7 @@ Signed-off-by: Bjorn Andersson <andersson@kernel.org>
  int qcom_cc_really_probe(struct device *dev,
                         const struct qcom_cc_desc *desc, struct regmap *regmap)
  {
-@@ -320,7 +353,7 @@ int qcom_cc_really_probe(struct device *
+@@ -318,7 +351,7 @@ int qcom_cc_really_probe(struct device *
        if (ret)
                return ret;
  
index b90a19b7ca25486e13600583dea1c9d05a8d05df..076cda246eed1b54ce6d9e67e8a2faa94dd662c2 100644 (file)
@@ -42,7 +42,7 @@ Signed-off-by: Stephen Boyd <sboyd@kernel.org>
        { CLK_PERIPH("10300000.wmac", "xtal") }
  };
  
-@@ -272,8 +274,13 @@ static struct mtmips_clk_fixed rt3352_fi
+@@ -271,8 +273,13 @@ static struct mtmips_clk_fixed rt3352_fi
        CLK_FIXED("periph", "xtal", 40000000)
  };
  
@@ -57,7 +57,7 @@ Signed-off-by: Stephen Boyd <sboyd@kernel.org>
        CLK_FIXED("periph", "xtal", 40000000)
  };
  
-@@ -328,6 +335,15 @@ static struct mtmips_clk_factor rt305x_f
+@@ -327,6 +334,15 @@ static struct mtmips_clk_factor rt305x_f
        CLK_FACTOR("bus", "cpu", 1, 3)
  };
  
@@ -73,7 +73,7 @@ Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  static int mtmips_register_factor_clocks(struct clk_hw_onecell_data *clk_data,
                                         struct mtmips_clk_priv *priv)
  {
-@@ -811,10 +827,10 @@ static const struct mtmips_clk_data rt53
+@@ -810,10 +826,10 @@ static const struct mtmips_clk_data rt53
  static const struct mtmips_clk_data mt7620_clk_data = {
        .clk_base = mt7620_clks_base,
        .num_clk_base = ARRAY_SIZE(mt7620_clks_base),
@@ -88,7 +88,7 @@ Signed-off-by: Stephen Boyd <sboyd@kernel.org>
        .clk_periph = mt7620_pherip_clks,
        .num_clk_periph = ARRAY_SIZE(mt7620_pherip_clks),
  };
-@@ -824,8 +840,8 @@ static const struct mtmips_clk_data mt76
+@@ -823,8 +839,8 @@ static const struct mtmips_clk_data mt76
        .num_clk_base = ARRAY_SIZE(mt76x8_clks_base),
        .clk_fixed = mt76x8_fixed_clocks,
        .num_clk_fixed = ARRAY_SIZE(mt76x8_fixed_clocks),
diff --git a/target/linux/ramips/patches-6.6/003-v6.14-clk-ralink-mtmips-remove-duplicated-xtal-clock-for-Ralink.patch b/target/linux/ramips/patches-6.6/003-v6.14-clk-ralink-mtmips-remove-duplicated-xtal-clock-for-Ralink.patch
deleted file mode 100644 (file)
index 71a32a0..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-From 830d8062d25581cf0beaa334486eea06834044da Mon Sep 17 00:00:00 2001
-From: Sergio Paracuellos <sergio.paracuellos@gmail.com>
-Date: Wed, 8 Jan 2025 10:36:36 +0100
-Subject: [PATCH] clk: ralink: mtmips: remove duplicated 'xtal' clock for
- Ralink SoC RT3883
-
-Ralink SoC RT3883 has already 'xtal' defined as a base clock so there is no
-need to redefine it again in fixed clocks section. Hence, remove the duplicate
-one from there.
-
-Fixes: d34db686a3d7 ("clk: ralink: mtmips: fix clocks probe order in oldest ralink SoCs")
-Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
-Link: https://lore.kernel.org/r/20250108093636.265033-1-sergio.paracuellos@gmail.com
-Signed-off-by: Stephen Boyd <sboyd@kernel.org>
----
- drivers/clk/ralink/clk-mtmips.c | 1 -
- 1 file changed, 1 deletion(-)
-
---- a/drivers/clk/ralink/clk-mtmips.c
-+++ b/drivers/clk/ralink/clk-mtmips.c
-@@ -266,7 +266,6 @@ err_clk_unreg:
-       }
- static struct mtmips_clk_fixed rt3883_fixed_clocks[] = {
--      CLK_FIXED("xtal", NULL, 40000000),
-       CLK_FIXED("periph", "xtal", 40000000)
- };
index a01911b1f4eb9649928ce9f696cbb66e3f5bcf38..b545667ce3397fa391ecb57f140206fdf143adbb 100644 (file)
@@ -42,7 +42,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
                        break;
                }
  
-@@ -273,6 +274,7 @@ int uvc_status_init(struct uvc_device *d
+@@ -274,6 +275,7 @@ int uvc_status_init(struct uvc_device *d
        }
  
        pipe = usb_rcvintpipe(dev->udev, ep->desc.bEndpointAddress);
index 30e8a98fd7cdcfa9782ab4203eb6333e48ae9d71..26fedf0a6556a7796a178221475ac97e4890ee2b 100644 (file)
@@ -48,7 +48,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        clk_disable_unprepare(dwc->susp_clk);
        clk_disable_unprepare(dwc->ref_clk);
        clk_disable_unprepare(dwc->bus_clk);
-@@ -1884,6 +1898,20 @@ static int dwc3_get_clocks(struct dwc3 *
+@@ -1875,6 +1889,20 @@ static int dwc3_get_clocks(struct dwc3 *
                }
        }
  
index 617d72f11fbc8a2511cf8c665eb36c449561adc2..ec6130b7ce3d1c15428420f0e3cfed42dd65d340 100644 (file)
@@ -67,7 +67,7 @@ Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
  }
  
  /*
-@@ -2813,7 +2826,6 @@ serial8250_do_set_termios(struct uart_po
+@@ -2814,7 +2827,6 @@ serial8250_do_set_termios(struct uart_po
                if (termios->c_cflag & CRTSCTS)
                        up->mcr |= UART_MCR_AFE;
        }
index 4c1dfabd9e992b990ff2bf24e56ff39474baa696..7c5c522f91301b317bdee6b38fec476c05dffa6d 100644 (file)
@@ -160,7 +160,7 @@ Signed-off-by: minda.chen <minda.chen@starfivetech.com>
        }
 --- a/drivers/usb/host/xhci-ring.c
 +++ b/drivers/usb/host/xhci-ring.c
-@@ -3707,7 +3707,8 @@ int xhci_queue_bulk_tx(struct xhci_hcd *
+@@ -3708,7 +3708,8 @@ int xhci_queue_bulk_tx(struct xhci_hcd *
  
        full_len = urb->transfer_buffer_length;
        /* If we have scatter/gather list, we use it. */