From 9ea2ee39744ef9430b9fda14e28b2ad68dfb671d Mon Sep 17 00:00:00 2001 From: John Audia Date: Mon, 26 Oct 2026 14:30:26 -0400 Subject: [PATCH] kernel: bump 6.18 to 6.18.59 Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.18.59 Removed upstreamed: linux/generic/backport-6.18/950-v7.3-cgroup-fix-spurious-SIGKILL-of-CLONE_INTO_CGROUP-children.patch[1] linux/bcm27xx/patches-6.18/0783-drm-vc4-hdmi-Move-packet-RAM-enable-to-pm_runtime.patch[2] linux/qualcommax/patches-6.18/0092-v7.3-pinctrl-qcom-ipq5018-add-missing-pwm3-function-on-gpio13.patch[3] All other patches automatically rebased via update_kernel.sh Linux 6.18.59 makes ICE select LIBETH_XDP, so add kmod-libeth-xdp to package libeth_xdp.ko and make kmod-ice depend on it. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.18.59&id=2f9dd8214d4213cac785e4e4441538053cce52fb 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.18.59&id=6b03e354526f6bad60ed3a7f08fec8b7d29d2f27 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.18.59&id=e76e6284de2ba2c0da9aa21ab4e17a885186a4b2 Build system: x86/64 Build-tested: x86/64-glibc Run-tested: x86/64-glibc Signed-off-by: John Audia Link: https://github.com/openwrt/openwrt/pull/25925 Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netdevices.mk | 18 +++- .../900-unaligned_access_hacks.patch | 12 +-- ...Better-coalescing-parameter-defaults.patch | 4 +- ...t-Workaround-2-for-Pi4-Ethernet-fail.patch | 2 +- ...-t-prevent-IRQ-usage-of-output-GPIOs.patch | 2 +- ...et-bcmgenet-Add-eee-module-parameter.patch | 2 +- ...-vc4-hdmi-Add-a-clear_infoframe-hook.patch | 2 +- ...hotplug-interrupt-with-force_hotplug.patch | 2 +- ...equest-for-min-clocks-when-hdmi-outp.patch | 4 +- ...the-2pixel-clock-odd-timings-workaro.patch | 10 +-- ...-jack-detection-to-HDMI-audio-driver.patch | 2 +- ...-phys-addresses-for-slave-DMA-config.patch | 4 +- ...one-logging-message-that-got-promote.patch | 2 +- ...et-bcmgenet-Add-eee-module-parameter.patch | 2 +- ...net-Workaround-2-for-Pi4-Ethernet-fa.patch | 2 +- ...emove-unused-packet_ram_enabled-flag.patch | 4 +- ...Move-packet-RAM-enable-to-pm_runtime.patch | 85 ------------------- ...4-hdmi-switch-to-generic-CEC-helpers.patch | 2 +- ...erver-fix-signing-multi-iov-response.patch | 8 +- ...-net-pppoe-implement-GRO-GSO-support.patch | 2 +- ...IGKILL-of-CLONE_INTO_CGROUP-children.patch | 83 ------------------ ...y-to-free-deferred-skbs-while-waitin.patch | 4 +- .../generic/hack-6.18/902-debloat_proc.patch | 2 +- ...950-silence-unused-variable-warnings.patch | 4 +- target/linux/generic/kernel-6.18 | 4 +- ..._F_GSO_FRAGLIST-from-NETIF_F_GSO_SOF.patch | 2 +- ...-add-missing-pwm3-function-on-gpio13.patch | 48 ----------- 27 files changed, 59 insertions(+), 259 deletions(-) delete mode 100644 target/linux/bcm27xx/patches-6.18/0783-drm-vc4-hdmi-Move-packet-RAM-enable-to-pm_runtime.patch delete mode 100644 target/linux/generic/backport-6.18/950-v7.3-cgroup-fix-spurious-SIGKILL-of-CLONE_INTO_CGROUP-children.patch delete mode 100644 target/linux/qualcommax/patches-6.18/0092-v7.3-pinctrl-qcom-ipq5018-add-missing-pwm3-function-on-gpio13.patch diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 19b5967e33e..a849ff6a474 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -183,6 +183,22 @@ endef $(eval $(call KernelPackage,libeth)) +define KernelPackage/libeth-xdp + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Common Intel Ethernet XDP library + DEPENDS:=+kmod-libeth + KCONFIG:=CONFIG_LIBETH_XDP + HIDDEN:=1 + FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/libeth/libeth_xdp.ko +endef + +define KernelPackage/libeth-xdp/description + Common Intel Ethernet XDP library +endef + +$(eval $(call KernelPackage,libeth-xdp)) + + define KernelPackage/libphy SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=PHY library @@ -1539,7 +1555,7 @@ $(eval $(call KernelPackage,i40e)) define KernelPackage/ice SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Intel(R) Ethernet Controller E810 Series support - DEPENDS:=@PCI_SUPPORT +kmod-ptp +kmod-hwmon-core +kmod-libie +kmod-libie-adminq +kmod-libie-fwlog + DEPENDS:=@PCI_SUPPORT +kmod-ptp +kmod-hwmon-core +kmod-libie +kmod-libie-adminq +kmod-libie-fwlog +kmod-libeth-xdp KCONFIG:=CONFIG_ICE \ CONFIG_ICE_HWMON=y \ CONFIG_ICE_HWTS=n \ diff --git a/target/linux/ath79/patches-6.18/900-unaligned_access_hacks.patch b/target/linux/ath79/patches-6.18/900-unaligned_access_hacks.patch index fcf7a1a219e..71e409afacc 100644 --- a/target/linux/ath79/patches-6.18/900-unaligned_access_hacks.patch +++ b/target/linux/ath79/patches-6.18/900-unaligned_access_hacks.patch @@ -624,7 +624,7 @@ SVN-Revision: 35130 (__force __wsum)to); --- a/include/net/ipv6.h +++ b/include/net/ipv6.h -@@ -149,7 +149,7 @@ struct frag_hdr { +@@ -147,7 +147,7 @@ struct frag_hdr { __u8 reserved; __be16 frag_off; __be32 identification; @@ -633,7 +633,7 @@ SVN-Revision: 35130 /* * Jumbo payload option, as described in RFC 2675 2. -@@ -650,8 +650,8 @@ static inline void __ipv6_addr_set_half( +@@ -648,8 +648,8 @@ static inline void __ipv6_addr_set_half( } #endif #endif @@ -644,7 +644,7 @@ SVN-Revision: 35130 } static inline void ipv6_addr_set(struct in6_addr *addr, -@@ -710,6 +710,8 @@ static inline bool ipv6_prefix_equal(con +@@ -708,6 +708,8 @@ static inline bool ipv6_prefix_equal(con const __be32 *a1 = addr1->s6_addr32; const __be32 *a2 = addr2->s6_addr32; unsigned int pdw, pbi; @@ -653,7 +653,7 @@ SVN-Revision: 35130 /* check complete u32 in prefix */ pdw = prefixlen >> 5; -@@ -718,7 +720,9 @@ static inline bool ipv6_prefix_equal(con +@@ -716,7 +718,9 @@ static inline bool ipv6_prefix_equal(con /* check incomplete u32 in prefix */ pbi = prefixlen & 0x1f; @@ -664,7 +664,7 @@ SVN-Revision: 35130 return false; return true; -@@ -835,13 +839,13 @@ static inline void ipv6_addr_set_v4mappe +@@ -833,13 +837,13 @@ static inline void ipv6_addr_set_v4mappe */ static inline int __ipv6_addr_diff32(const void *token1, const void *token2, int addrlen) { @@ -680,7 +680,7 @@ SVN-Revision: 35130 if (xb) return i * 32 + 31 - __fls(ntohl(xb)); } -@@ -1036,17 +1040,18 @@ static inline u32 ip6_multipath_hash_fie +@@ -1034,17 +1038,18 @@ static inline u32 ip6_multipath_hash_fie static inline void ip6_flow_hdr(struct ipv6hdr *hdr, unsigned int tclass, __be32 flowlabel) { diff --git a/target/linux/bcm27xx/patches-6.18/0110-bcmgenet-Better-coalescing-parameter-defaults.patch b/target/linux/bcm27xx/patches-6.18/0110-bcmgenet-Better-coalescing-parameter-defaults.patch index 28e71719020..ce0f623a1a3 100644 --- a/target/linux/bcm27xx/patches-6.18/0110-bcmgenet-Better-coalescing-parameter-defaults.patch +++ b/target/linux/bcm27xx/patches-6.18/0110-bcmgenet-Better-coalescing-parameter-defaults.patch @@ -18,7 +18,7 @@ Signed-off-by: Phil Elwell --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c -@@ -2744,7 +2744,7 @@ static void bcmgenet_init_tx_ring(struct +@@ -2754,7 +2754,7 @@ static void bcmgenet_init_tx_ring(struct bcmgenet_tdma_ring_writel(priv, index, 0, TDMA_PROD_INDEX); bcmgenet_tdma_ring_writel(priv, index, 0, TDMA_CONS_INDEX); @@ -27,7 +27,7 @@ Signed-off-by: Phil Elwell /* Disable rate control for now */ bcmgenet_tdma_ring_writel(priv, index, flow_period_val, TDMA_FLOW_PERIOD); -@@ -4160,6 +4160,7 @@ static int bcmgenet_probe(struct platfor +@@ -4170,6 +4170,7 @@ static int bcmgenet_probe(struct platfor priv->rx_rings[i].priv = priv; priv->rx_rings[i].index = i; priv->rx_rings[i].rx_max_coalesced_frames = 1; diff --git a/target/linux/bcm27xx/patches-6.18/0121-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fail.patch b/target/linux/bcm27xx/patches-6.18/0121-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fail.patch index 8b413afb5ff..5ddac7ff332 100644 --- a/target/linux/bcm27xx/patches-6.18/0121-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fail.patch +++ b/target/linux/bcm27xx/patches-6.18/0121-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fail.patch @@ -37,7 +37,7 @@ Signed-off-by: Phil Elwell static inline void bcmgenet_writel(u32 value, void __iomem *offset) { -@@ -2582,6 +2585,11 @@ static void reset_umac(struct bcmgenet_p +@@ -2592,6 +2595,11 @@ static void reset_umac(struct bcmgenet_p bcmgenet_rbuf_ctrl_set(priv, 0); udelay(10); diff --git a/target/linux/bcm27xx/patches-6.18/0168-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch b/target/linux/bcm27xx/patches-6.18/0168-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch index 0742c526c8c..ce4029568e6 100644 --- a/target/linux/bcm27xx/patches-6.18/0168-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch +++ b/target/linux/bcm27xx/patches-6.18/0168-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch @@ -37,7 +37,7 @@ Signed-off-by: Phil Elwell gpiod_err(desc, "%s: tried to set a GPIO tied to an IRQ as output\n", __func__); -@@ -4058,8 +4060,8 @@ int gpiochip_lock_as_irq(struct gpio_chi +@@ -4059,8 +4061,8 @@ int gpiochip_lock_as_irq(struct gpio_chi } /* To be valid for IRQ the line needs to be input or open drain */ diff --git a/target/linux/bcm27xx/patches-6.18/0256-net-bcmgenet-Add-eee-module-parameter.patch b/target/linux/bcm27xx/patches-6.18/0256-net-bcmgenet-Add-eee-module-parameter.patch index cb83ec83442..ab9a4f0fbe5 100644 --- a/target/linux/bcm27xx/patches-6.18/0256-net-bcmgenet-Add-eee-module-parameter.patch +++ b/target/linux/bcm27xx/patches-6.18/0256-net-bcmgenet-Add-eee-module-parameter.patch @@ -26,7 +26,7 @@ Signed-off-by: Phil Elwell static inline void bcmgenet_writel(u32 value, void __iomem *offset) { -@@ -3439,6 +3442,17 @@ static int bcmgenet_open(struct net_devi +@@ -3449,6 +3452,17 @@ static int bcmgenet_open(struct net_devi bcmgenet_phy_pause_set(dev, priv->rx_pause, priv->tx_pause); diff --git a/target/linux/bcm27xx/patches-6.18/0447-drm-vc4-hdmi-Add-a-clear_infoframe-hook.patch b/target/linux/bcm27xx/patches-6.18/0447-drm-vc4-hdmi-Add-a-clear_infoframe-hook.patch index 8551647c174..f7293bc9dd8 100644 --- a/target/linux/bcm27xx/patches-6.18/0447-drm-vc4-hdmi-Add-a-clear_infoframe-hook.patch +++ b/target/linux/bcm27xx/patches-6.18/0447-drm-vc4-hdmi-Add-a-clear_infoframe-hook.patch @@ -39,7 +39,7 @@ Signed-off-by: Dave Stevenson #define SCRAMBLING_POLLING_DELAY_MS 1000 static void vc4_hdmi_enable_scrambling(struct drm_encoder *encoder) -@@ -1667,6 +1685,7 @@ vc4_hdmi_connector_clock_valid(const str +@@ -1661,6 +1679,7 @@ vc4_hdmi_connector_clock_valid(const str static const struct drm_connector_hdmi_funcs vc4_hdmi_hdmi_connector_funcs = { .tmds_char_rate_valid = vc4_hdmi_connector_clock_valid, .write_infoframe = vc4_hdmi_write_infoframe, diff --git a/target/linux/bcm27xx/patches-6.18/0449-vc4-hdmi-Ignore-hotplug-interrupt-with-force_hotplug.patch b/target/linux/bcm27xx/patches-6.18/0449-vc4-hdmi-Ignore-hotplug-interrupt-with-force_hotplug.patch index d80fb7c707a..90d8a4f94aa 100644 --- a/target/linux/bcm27xx/patches-6.18/0449-vc4-hdmi-Ignore-hotplug-interrupt-with-force_hotplug.patch +++ b/target/linux/bcm27xx/patches-6.18/0449-vc4-hdmi-Ignore-hotplug-interrupt-with-force_hotplug.patch @@ -30,7 +30,7 @@ Signed-off-by: Dom Cobley --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c -@@ -2369,7 +2369,7 @@ static irqreturn_t vc4_hdmi_hpd_irq_thre +@@ -2363,7 +2363,7 @@ static irqreturn_t vc4_hdmi_hpd_irq_thre struct drm_connector *connector = &vc4_hdmi->connector; struct drm_device *dev = connector->dev; diff --git a/target/linux/bcm27xx/patches-6.18/0463-drm-vc4-Remove-request-for-min-clocks-when-hdmi-outp.patch b/target/linux/bcm27xx/patches-6.18/0463-drm-vc4-Remove-request-for-min-clocks-when-hdmi-outp.patch index 2e62d7a3330..18e3f680760 100644 --- a/target/linux/bcm27xx/patches-6.18/0463-drm-vc4-Remove-request-for-min-clocks-when-hdmi-outp.patch +++ b/target/linux/bcm27xx/patches-6.18/0463-drm-vc4-Remove-request-for-min-clocks-when-hdmi-outp.patch @@ -39,8 +39,8 @@ Signed-off-by: Dom Cobley clk_disable_unprepare(vc4_hdmi->pixel_bvb_clock); clk_disable_unprepare(vc4_hdmi->pixel_clock); -@@ -3101,6 +3103,8 @@ static int vc4_hdmi_runtime_suspend(stru - struct vc4_hdmi *vc4_hdmi = dev_get_drvdata(dev); +@@ -3100,6 +3102,8 @@ static int vc4_hdmi_runtime_suspend(stru + spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); clk_disable_unprepare(vc4_hdmi->audio_clock); + /* we no longer require a minimum clock rate */ diff --git a/target/linux/bcm27xx/patches-6.18/0464-drm-vc4-Disable-the-2pixel-clock-odd-timings-workaro.patch b/target/linux/bcm27xx/patches-6.18/0464-drm-vc4-Disable-the-2pixel-clock-odd-timings-workaro.patch index 591a56a7da8..6102ee4a4db 100644 --- a/target/linux/bcm27xx/patches-6.18/0464-drm-vc4-Disable-the-2pixel-clock-odd-timings-workaro.patch +++ b/target/linux/bcm27xx/patches-6.18/0464-drm-vc4-Disable-the-2pixel-clock-odd-timings-workaro.patch @@ -146,7 +146,7 @@ Signed-off-by: Dave Stevenson }; --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c -@@ -1710,7 +1710,9 @@ static int vc4_hdmi_encoder_atomic_check +@@ -1704,7 +1704,9 @@ static int vc4_hdmi_encoder_atomic_check unsigned long long tmds_char_rate = mode->clock * 1000; unsigned long long tmds_bit_rate; @@ -157,7 +157,7 @@ Signed-off-by: Dave Stevenson if (mode->flags & DRM_MODE_FLAG_DBLCLK) { /* Only try to fixup DBLCLK modes to get 480i and 576i * working. -@@ -3353,6 +3355,7 @@ static const struct vc4_hdmi_variant bcm +@@ -3355,6 +3357,7 @@ static const struct vc4_hdmi_variant bcm PHY_LANE_CK, }, .unsupported_odd_h_timings = true, @@ -165,7 +165,7 @@ Signed-off-by: Dave Stevenson .external_irq_controller = true, .init_resources = vc5_hdmi_init_resources, -@@ -3382,6 +3385,7 @@ static const struct vc4_hdmi_variant bcm +@@ -3384,6 +3387,7 @@ static const struct vc4_hdmi_variant bcm PHY_LANE_2, }, .unsupported_odd_h_timings = true, @@ -173,7 +173,7 @@ Signed-off-by: Dave Stevenson .external_irq_controller = true, .init_resources = vc5_hdmi_init_resources, -@@ -3411,6 +3415,7 @@ static const struct vc4_hdmi_variant bcm +@@ -3413,6 +3417,7 @@ static const struct vc4_hdmi_variant bcm PHY_LANE_CK, }, .unsupported_odd_h_timings = false, @@ -181,7 +181,7 @@ Signed-off-by: Dave Stevenson .external_irq_controller = true, .init_resources = vc5_hdmi_init_resources, -@@ -3438,6 +3443,7 @@ static const struct vc4_hdmi_variant bcm +@@ -3440,6 +3445,7 @@ static const struct vc4_hdmi_variant bcm PHY_LANE_CK, }, .unsupported_odd_h_timings = false, diff --git a/target/linux/bcm27xx/patches-6.18/0480-vc4-Add-jack-detection-to-HDMI-audio-driver.patch b/target/linux/bcm27xx/patches-6.18/0480-vc4-Add-jack-detection-to-HDMI-audio-driver.patch index 2bf8925a8ab..bc59b54b81c 100644 --- a/target/linux/bcm27xx/patches-6.18/0480-vc4-Add-jack-detection-to-HDMI-audio-driver.patch +++ b/target/linux/bcm27xx/patches-6.18/0480-vc4-Add-jack-detection-to-HDMI-audio-driver.patch @@ -26,7 +26,7 @@ Signed-off-by: David Turner * NOTE: This function should really be called with vc4_hdmi->mutex * held, but doing so results in reentrancy issues since * cec_s_phys_addr() might call .adap_enable, which leads to that -@@ -2344,6 +2350,8 @@ static int vc4_hdmi_audio_init(struct vc +@@ -2338,6 +2344,8 @@ static int vc4_hdmi_audio_init(struct vc dai_link->platforms->name = dev_name(dev); dai_link->init = vc4_hdmi_codec_init; diff --git a/target/linux/bcm27xx/patches-6.18/0481-drm-vc4-Use-phys-addresses-for-slave-DMA-config.patch b/target/linux/bcm27xx/patches-6.18/0481-drm-vc4-Use-phys-addresses-for-slave-DMA-config.patch index 8ddf7e2457b..30d7a539f3b 100644 --- a/target/linux/bcm27xx/patches-6.18/0481-drm-vc4-Use-phys-addresses-for-slave-DMA-config.patch +++ b/target/linux/bcm27xx/patches-6.18/0481-drm-vc4-Use-phys-addresses-for-slave-DMA-config.patch @@ -13,7 +13,7 @@ Signed-off-by: Phil Elwell --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c -@@ -2236,7 +2236,7 @@ static int vc4_hdmi_audio_init(struct vc +@@ -2230,7 +2230,7 @@ static int vc4_hdmi_audio_init(struct vc struct snd_soc_dai_link *dai_link = &vc4_hdmi->audio.link; struct snd_soc_card *card = &vc4_hdmi->audio.card; struct device *dev = &vc4_hdmi->pdev->dev; @@ -22,7 +22,7 @@ Signed-off-by: Phil Elwell int index, len; int ret; -@@ -2272,22 +2272,18 @@ static int vc4_hdmi_audio_init(struct vc +@@ -2266,22 +2266,18 @@ static int vc4_hdmi_audio_init(struct vc } /* diff --git a/target/linux/bcm27xx/patches-6.18/0484-drm-vc4-Correct-one-logging-message-that-got-promote.patch b/target/linux/bcm27xx/patches-6.18/0484-drm-vc4-Correct-one-logging-message-that-got-promote.patch index bdb548b379b..22c700a9794 100644 --- a/target/linux/bcm27xx/patches-6.18/0484-drm-vc4-Correct-one-logging-message-that-got-promote.patch +++ b/target/linux/bcm27xx/patches-6.18/0484-drm-vc4-Correct-one-logging-message-that-got-promote.patch @@ -18,7 +18,7 @@ Signed-off-by: Dave Stevenson --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c -@@ -3235,7 +3235,7 @@ static int vc4_hdmi_bind(struct device * +@@ -3237,7 +3237,7 @@ static int vc4_hdmi_bind(struct device * vc4_hdmi->ddc = of_find_i2c_adapter_by_node(ddc_node); of_node_put(ddc_node); if (!vc4_hdmi->ddc) { diff --git a/target/linux/bcm27xx/patches-6.18/0689-Revert-net-bcmgenet-Add-eee-module-parameter.patch b/target/linux/bcm27xx/patches-6.18/0689-Revert-net-bcmgenet-Add-eee-module-parameter.patch index a408926fe8f..25a85c16c2e 100644 --- a/target/linux/bcm27xx/patches-6.18/0689-Revert-net-bcmgenet-Add-eee-module-parameter.patch +++ b/target/linux/bcm27xx/patches-6.18/0689-Revert-net-bcmgenet-Add-eee-module-parameter.patch @@ -20,7 +20,7 @@ This reverts commit 712989f8e002e8a088f24a6cef4d8c1ed1a74e08. static inline void bcmgenet_writel(u32 value, void __iomem *offset) { -@@ -3442,17 +3439,6 @@ static int bcmgenet_open(struct net_devi +@@ -3452,17 +3449,6 @@ static int bcmgenet_open(struct net_devi bcmgenet_phy_pause_set(dev, priv->rx_pause, priv->tx_pause); diff --git a/target/linux/bcm27xx/patches-6.18/0691-Revert-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fa.patch b/target/linux/bcm27xx/patches-6.18/0691-Revert-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fa.patch index 215064f5102..8f38d29aec8 100644 --- a/target/linux/bcm27xx/patches-6.18/0691-Revert-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fa.patch +++ b/target/linux/bcm27xx/patches-6.18/0691-Revert-net-bcmgenet-Workaround-2-for-Pi4-Ethernet-fa.patch @@ -20,7 +20,7 @@ This reverts commit dfad8d6677d4c11a5b6d599f81802486f5c1d973. static inline void bcmgenet_writel(u32 value, void __iomem *offset) { -@@ -2585,11 +2582,6 @@ static void reset_umac(struct bcmgenet_p +@@ -2595,11 +2592,6 @@ static void reset_umac(struct bcmgenet_p bcmgenet_rbuf_ctrl_set(priv, 0); udelay(10); diff --git a/target/linux/bcm27xx/patches-6.18/0782-drm-vc4-hdmi-Remove-unused-packet_ram_enabled-flag.patch b/target/linux/bcm27xx/patches-6.18/0782-drm-vc4-hdmi-Remove-unused-packet_ram_enabled-flag.patch index c970bc133a0..7c34e65a1d6 100644 --- a/target/linux/bcm27xx/patches-6.18/0782-drm-vc4-hdmi-Remove-unused-packet_ram_enabled-flag.patch +++ b/target/linux/bcm27xx/patches-6.18/0782-drm-vc4-hdmi-Remove-unused-packet_ram_enabled-flag.patch @@ -24,8 +24,8 @@ Signed-off-by: Dave Stevenson if (!drm_dev_enter(drm, &idx)) goto out; -@@ -1647,7 +1645,6 @@ static void vc4_hdmi_encoder_post_crtc_e - VC4_HDMI_RAM_PACKET_ENABLE); +@@ -1641,7 +1639,6 @@ static void vc4_hdmi_encoder_post_crtc_e + VC4_HDMI_SCHEDULER_CONTROL_HDMI_ACTIVE)); spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); - vc4_hdmi->packet_ram_enabled = true; diff --git a/target/linux/bcm27xx/patches-6.18/0783-drm-vc4-hdmi-Move-packet-RAM-enable-to-pm_runtime.patch b/target/linux/bcm27xx/patches-6.18/0783-drm-vc4-hdmi-Move-packet-RAM-enable-to-pm_runtime.patch deleted file mode 100644 index 55d733bcaa7..00000000000 --- a/target/linux/bcm27xx/patches-6.18/0783-drm-vc4-hdmi-Move-packet-RAM-enable-to-pm_runtime.patch +++ /dev/null @@ -1,85 +0,0 @@ -From ec0db8fae4cd6d743284353f568ab0356f2f9692 Mon Sep 17 00:00:00 2001 -From: Dave Stevenson -Date: Thu, 11 Jun 2026 12:47:43 +0100 -Subject: [PATCH] drm/vc4: hdmi: Move packet RAM enable to pm_runtime - -Audio can be triggered by the HPD handler and start up before -video has been restored, calling vc4_hdmi_write_infoframe -for the audio infoframe. -vc4_hdmi_write_infoframe checks that the packet RAM to store -the infoframes is enabled, but that is only enabled when -video is enabled in vc4_hdmi_encoder_post_crtc_enable. - -The packet RAM enable is only a power saving thing, so -move enabling/disabling to the runtime_pm hooks. - -Signed-off-by: Dave Stevenson ---- - drivers/gpu/drm/vc4/vc4_hdmi.c | 21 +++++++++++++-------- - 1 file changed, 13 insertions(+), 8 deletions(-) - ---- a/drivers/gpu/drm/vc4/vc4_hdmi.c -+++ b/drivers/gpu/drm/vc4/vc4_hdmi.c -@@ -846,7 +846,7 @@ static void vc4_hdmi_encoder_post_crtc_d - - spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); - -- HDMI_WRITE(HDMI_RAM_PACKET_CONFIG, 0); -+ HDMI_WRITE(HDMI_RAM_PACKET_CONFIG, VC4_HDMI_RAM_PACKET_ENABLE); - - HDMI_WRITE(HDMI_VID_CTL, HDMI_READ(HDMI_VID_CTL) | VC4_HD_VID_CTL_CLRRGB); - -@@ -1620,9 +1620,6 @@ static void vc4_hdmi_encoder_post_crtc_e - WARN_ONCE(ret, "Timeout waiting for " - "VC4_HDMI_SCHEDULER_CONTROL_HDMI_ACTIVE\n"); - } else { -- HDMI_WRITE(HDMI_RAM_PACKET_CONFIG, -- HDMI_READ(HDMI_RAM_PACKET_CONFIG) & -- ~(VC4_HDMI_RAM_PACKET_ENABLE)); - HDMI_WRITE(HDMI_SCHEDULER_CONTROL, - HDMI_READ(HDMI_SCHEDULER_CONTROL) & - ~VC4_HDMI_SCHEDULER_CONTROL_MODE_HDMI); -@@ -1641,9 +1638,6 @@ static void vc4_hdmi_encoder_post_crtc_e - WARN_ON(!(HDMI_READ(HDMI_SCHEDULER_CONTROL) & - VC4_HDMI_SCHEDULER_CONTROL_HDMI_ACTIVE)); - -- HDMI_WRITE(HDMI_RAM_PACKET_CONFIG, -- VC4_HDMI_RAM_PACKET_ENABLE); -- - spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); - - drm_atomic_helper_connector_hdmi_update_infoframes(connector, state); -@@ -3104,6 +3098,12 @@ static int vc5_hdmi_init_resources(struc - static int vc4_hdmi_runtime_suspend(struct device *dev) - { - struct vc4_hdmi *vc4_hdmi = dev_get_drvdata(dev); -+ unsigned long flags; -+ -+ spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); -+ HDMI_WRITE(HDMI_RAM_PACKET_CONFIG, 0); -+ spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); -+ - - clk_disable_unprepare(vc4_hdmi->audio_clock); - /* we no longer require a minimum clock rate */ -@@ -3116,7 +3116,7 @@ static int vc4_hdmi_runtime_suspend(stru - static int vc4_hdmi_runtime_resume(struct device *dev) - { - struct vc4_hdmi *vc4_hdmi = dev_get_drvdata(dev); -- unsigned long __maybe_unused flags; -+ unsigned long flags; - u32 __maybe_unused value; - unsigned long rate; - int ret; -@@ -3164,6 +3164,11 @@ static int vc4_hdmi_runtime_resume(struc - } - #endif - -+ spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); -+ HDMI_WRITE(HDMI_RAM_PACKET_CONFIG, -+ VC4_HDMI_RAM_PACKET_ENABLE); -+ spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); -+ - return 0; - - err_disable_clk: diff --git a/target/linux/bcm27xx/patches-6.18/0869-drm-vc4-hdmi-switch-to-generic-CEC-helpers.patch b/target/linux/bcm27xx/patches-6.18/0869-drm-vc4-hdmi-switch-to-generic-CEC-helpers.patch index 34631255360..49490314503 100644 --- a/target/linux/bcm27xx/patches-6.18/0869-drm-vc4-hdmi-switch-to-generic-CEC-helpers.patch +++ b/target/linux/bcm27xx/patches-6.18/0869-drm-vc4-hdmi-switch-to-generic-CEC-helpers.patch @@ -286,7 +286,7 @@ Signed-off-by: Dmitry Baryshkov { return 0; } -@@ -3289,7 +3260,7 @@ static int vc4_hdmi_bind(struct device * +@@ -3286,7 +3257,7 @@ static int vc4_hdmi_bind(struct device * if (ret) goto err_put_runtime_pm; diff --git a/target/linux/generic/backport-6.18/502-v7.3-smb-server-fix-signing-multi-iov-response.patch b/target/linux/generic/backport-6.18/502-v7.3-smb-server-fix-signing-multi-iov-response.patch index 3df98cdfc3f..492c550fb57 100644 --- a/target/linux/generic/backport-6.18/502-v7.3-smb-server-fix-signing-multi-iov-response.patch +++ b/target/linux/generic/backport-6.18/502-v7.3-smb-server-fix-signing-multi-iov-response.patch @@ -25,7 +25,7 @@ Signed-off-by: Steve French --- a/fs/smb/server/smb2pdu.c +++ b/fs/smb/server/smb2pdu.c -@@ -9108,6 +9108,39 @@ int smb2_check_sign_req(struct ksmbd_wor +@@ -9113,6 +9113,39 @@ int smb2_check_sign_req(struct ksmbd_wor } /** @@ -65,7 +65,7 @@ Signed-off-by: Steve French * smb2_set_sign_rsp() - handler for rsp packet sign processing * @work: smb work containing notify command buffer * -@@ -9117,18 +9150,13 @@ void smb2_set_sign_rsp(struct ksmbd_work +@@ -9122,18 +9155,13 @@ void smb2_set_sign_rsp(struct ksmbd_work struct smb2_hdr *hdr; char signature[SMB2_HMACSHA256_SIZE]; struct kvec *iov; @@ -86,7 +86,7 @@ Signed-off-by: Steve French ksmbd_sign_smb2_pdu(work->conn, work->sess->sess_key, iov, n_vec, signature); -@@ -9207,7 +9235,7 @@ void smb3_set_sign_rsp(struct ksmbd_work +@@ -9212,7 +9240,7 @@ void smb3_set_sign_rsp(struct ksmbd_work struct channel *chann; char signature[SMB2_CMACAES_SIZE]; struct kvec *iov; @@ -95,7 +95,7 @@ Signed-off-by: Steve French char *signing_key; hdr = ksmbd_resp_buf_curr(work); -@@ -9229,12 +9257,7 @@ void smb3_set_sign_rsp(struct ksmbd_work +@@ -9234,12 +9262,7 @@ void smb3_set_sign_rsp(struct ksmbd_work hdr->Flags |= SMB2_FLAGS_SIGNED; memset(hdr->Signature, 0, SMB2_SIGNATURE_SIZE); diff --git a/target/linux/generic/backport-6.18/650-v7.2-net-pppoe-implement-GRO-GSO-support.patch b/target/linux/generic/backport-6.18/650-v7.2-net-pppoe-implement-GRO-GSO-support.patch index 29aada75517..0081522250f 100644 --- a/target/linux/generic/backport-6.18/650-v7.2-net-pppoe-implement-GRO-GSO-support.patch +++ b/target/linux/generic/backport-6.18/650-v7.2-net-pppoe-implement-GRO-GSO-support.patch @@ -248,7 +248,7 @@ Signed-off-by: Paolo Abeni static struct sk_buff *sit_ip6ip6_gro_receive(struct list_head *head, struct sk_buff *skb) -@@ -388,6 +389,7 @@ INDIRECT_CALLABLE_SCOPE int ipv6_gro_com +@@ -387,6 +388,7 @@ INDIRECT_CALLABLE_SCOPE int ipv6_gro_com out: return err; } diff --git a/target/linux/generic/backport-6.18/950-v7.3-cgroup-fix-spurious-SIGKILL-of-CLONE_INTO_CGROUP-children.patch b/target/linux/generic/backport-6.18/950-v7.3-cgroup-fix-spurious-SIGKILL-of-CLONE_INTO_CGROUP-children.patch deleted file mode 100644 index 30bceaf223c..00000000000 --- a/target/linux/generic/backport-6.18/950-v7.3-cgroup-fix-spurious-SIGKILL-of-CLONE_INTO_CGROUP-children.patch +++ /dev/null @@ -1,83 +0,0 @@ -From 8e359920216689b3b79e0fe8961a77fe312a511f Mon Sep 17 00:00:00 2001 -From: Etienne Perot -Date: Fri, 28 Aug 2026 21:52:51 +0000 -Subject: [PATCH] cgroup: fix spurious SIGKILL of CLONE_INTO_CGROUP children - -Since commit b69bb476dee9 ("cgroup: fix race between fork and -cgroup.kill"), the fork path snapshots the kill_seq of the child's -future cgroup into kargs->kill_seq, and cgroup_post_fork() SIGKILLs -the child if that cgroup's kill_seq has changed in the meantime, to -catch forks racing with a cgroup.kill sweep. - -For CLONE_INTO_CGROUP, however, the snapshot in cgroup_css_set_fork() -is taken before the target cgroup has been resolved: kargs->cgrp is -always NULL at this point (it is only set at the end of the function). -So the "if (kargs->cgrp)" branch is dead code and the snapshot always -records the kill_seq of the parent's cgroup. cgroup_post_fork() then -compares it with the kill_seq of the target cgroup, so the child gets -SIGKILLed whenever the two cgroups have been killed a different number -of times. - -As a result, once cgroup.kill has been written to a cgroup, every -child subsequently cloned into it with clone3(CLONE_INTO_CGROUP) is -killed on the spot, for as long as the cgroup exists: kill_seq is not -exposed to userspace and never resets. - -Re-snapshot kill_seq from the target cgroup once it has been resolved, -and drop the dead branch at the early snapshot site. - -This does not reopen the race fixed by b69bb476dee9. For -CLONE_INTO_CGROUP, everything from the snapshot to the check in -cgroup_post_fork() runs with cgroup_mutex held, and kill_seq is -only ever incremented under cgroup_mutex. - -tj: Updated the comment above kill_seq to reflect the new serialization -rules as suggested by Shakeel Butt. - -Fixes: b69bb476dee9 ("cgroup: fix race between fork and cgroup.kill") -Cc: stable@vger.kernel.org -Cc: Shakeel Butt -Assisted-by: LLM -Signed-off-by: Etienne Perot -Signed-off-by: Tejun Heo ---- - include/linux/cgroup-defs.h | 5 ++++- - kernel/cgroup/cgroup.c | 6 ++---- - 2 files changed, 6 insertions(+), 5 deletions(-) - ---- a/include/linux/cgroup-defs.h -+++ b/include/linux/cgroup-defs.h -@@ -518,7 +518,10 @@ struct cgroup { - - int nr_threaded_children; /* # of live threaded child cgroups */ - -- /* sequence number for cgroup.kill, serialized by css_set_lock. */ -+ /* -+ * Sequence number for cgroup.kill. Incremented with both cgroup_mutex -+ * and css_set_lock held. Readers hold either one. -+ */ - unsigned int kill_seq; - - struct kernfs_node *kn; /* cgroup kernfs entry */ ---- a/kernel/cgroup/cgroup.c -+++ b/kernel/cgroup/cgroup.c -@@ -6734,10 +6734,7 @@ static int cgroup_css_set_fork(struct ke - spin_lock_irq(&css_set_lock); - cset = task_css_set(current); - get_css_set(cset); -- if (kargs->cgrp) -- kargs->kill_seq = kargs->cgrp->kill_seq; -- else -- kargs->kill_seq = cset->dfl_cgrp->kill_seq; -+ kargs->kill_seq = cset->dfl_cgrp->kill_seq; - spin_unlock_irq(&css_set_lock); - - if (!(kargs->flags & CLONE_INTO_CGROUP)) { -@@ -6801,6 +6798,7 @@ static int cgroup_css_set_fork(struct ke - - put_css_set(cset); - kargs->cgrp = dst_cgrp; -+ kargs->kill_seq = dst_cgrp->kill_seq; - return ret; - - err: diff --git a/target/linux/generic/hack-6.18/610-net-page_pool-try-to-free-deferred-skbs-while-waitin.patch b/target/linux/generic/hack-6.18/610-net-page_pool-try-to-free-deferred-skbs-while-waitin.patch index caf7ca6cfcc..d2c51e23ce4 100644 --- a/target/linux/generic/hack-6.18/610-net-page_pool-try-to-free-deferred-skbs-while-waitin.patch +++ b/target/linux/generic/hack-6.18/610-net-page_pool-try-to-free-deferred-skbs-while-waitin.patch @@ -16,7 +16,7 @@ Signed-off-by: Felix Fietkau --- a/net/core/page_pool.c +++ b/net/core/page_pool.c -@@ -1210,8 +1210,9 @@ static void page_pool_release_retry(stru +@@ -1211,8 +1211,9 @@ static void page_pool_release_retry(stru { struct delayed_work *dwq = to_delayed_work(wq); struct page_pool *pool = container_of(dwq, typeof(*pool), release_dw); @@ -27,7 +27,7 @@ Signed-off-by: Felix Fietkau inflight = page_pool_release(pool); /* In rare cases, a driver bug may cause inflight to go negative. -@@ -1223,6 +1224,21 @@ static void page_pool_release_retry(stru +@@ -1224,6 +1225,21 @@ static void page_pool_release_retry(stru if (inflight <= 0) return; diff --git a/target/linux/generic/hack-6.18/902-debloat_proc.patch b/target/linux/generic/hack-6.18/902-debloat_proc.patch index 7e77916925d..d94d24de1d3 100644 --- a/target/linux/generic/hack-6.18/902-debloat_proc.patch +++ b/target/linux/generic/hack-6.18/902-debloat_proc.patch @@ -331,7 +331,7 @@ Signed-off-by: Felix Fietkau --- a/net/core/sock.c +++ b/net/core/sock.c -@@ -4361,6 +4361,8 @@ static __net_initdata struct pernet_oper +@@ -4364,6 +4364,8 @@ static __net_initdata struct pernet_oper static int __init proto_init(void) { diff --git a/target/linux/generic/hack-6.18/950-silence-unused-variable-warnings.patch b/target/linux/generic/hack-6.18/950-silence-unused-variable-warnings.patch index 77dba5857c2..bfb691620ea 100644 --- a/target/linux/generic/hack-6.18/950-silence-unused-variable-warnings.patch +++ b/target/linux/generic/hack-6.18/950-silence-unused-variable-warnings.patch @@ -13,7 +13,7 @@ Signed-off-by: Mieczyslaw Nalewaj --- a/include/net/ipv6.h +++ b/include/net/ipv6.h -@@ -248,6 +248,8 @@ extern int sysctl_mld_qrv; +@@ -246,6 +246,8 @@ extern int sysctl_mld_qrv; struct inet6_dev *_idev = (idev); \ unsigned long _field = (field); \ unsigned long _val = (val); \ @@ -22,7 +22,7 @@ Signed-off-by: Mieczyslaw Nalewaj if (likely(_idev != NULL)) \ mod##SNMP_ADD_STATS((_idev)->stats.statname, _field, _val); \ mod##SNMP_ADD_STATS((net)->mib.statname##_statistics, _field, _val);\ -@@ -257,6 +259,7 @@ extern int sysctl_mld_qrv; +@@ -255,6 +257,7 @@ extern int sysctl_mld_qrv; ({ \ struct inet6_dev *_idev = (idev); \ unsigned long _val = (val); \ diff --git a/target/linux/generic/kernel-6.18 b/target/linux/generic/kernel-6.18 index 2307a67f177..0afbaf49c90 100644 --- a/target/linux/generic/kernel-6.18 +++ b/target/linux/generic/kernel-6.18 @@ -1,2 +1,2 @@ -LINUX_VERSION-6.18 = .58 -LINUX_KERNEL_HASH-6.18.58 = 069b19f9032c4dac8149ae4b6520c35debca0f42a9f6d52ee55ba6ca9b818013 +LINUX_VERSION-6.18 = .59 +LINUX_KERNEL_HASH-6.18.59 = 53a55ac9863a5547e292b8e381d4e4c2240dd1127d5428a7c44dbc550be23963 diff --git a/target/linux/generic/pending-6.18/681-net-remove-NETIF_F_GSO_FRAGLIST-from-NETIF_F_GSO_SOF.patch b/target/linux/generic/pending-6.18/681-net-remove-NETIF_F_GSO_FRAGLIST-from-NETIF_F_GSO_SOF.patch index 1773a5d4958..b2afe42e1de 100644 --- a/target/linux/generic/pending-6.18/681-net-remove-NETIF_F_GSO_FRAGLIST-from-NETIF_F_GSO_SOF.patch +++ b/target/linux/generic/pending-6.18/681-net-remove-NETIF_F_GSO_FRAGLIST-from-NETIF_F_GSO_SOF.patch @@ -96,7 +96,7 @@ Signed-off-by: Felix Fietkau } --- a/net/core/sock.c +++ b/net/core/sock.c -@@ -2620,7 +2620,7 @@ void sk_setup_caps(struct sock *sk, stru +@@ -2623,7 +2623,7 @@ void sk_setup_caps(struct sock *sk, stru icsk->icsk_ack.dst_quick_ack = dst_metric(dst, RTAX_QUICKACK); } if (sk->sk_route_caps & NETIF_F_GSO) diff --git a/target/linux/qualcommax/patches-6.18/0092-v7.3-pinctrl-qcom-ipq5018-add-missing-pwm3-function-on-gpio13.patch b/target/linux/qualcommax/patches-6.18/0092-v7.3-pinctrl-qcom-ipq5018-add-missing-pwm3-function-on-gpio13.patch deleted file mode 100644 index ddcf152f9ac..00000000000 --- a/target/linux/qualcommax/patches-6.18/0092-v7.3-pinctrl-qcom-ipq5018-add-missing-pwm3-function-on-gpio13.patch +++ /dev/null @@ -1,48 +0,0 @@ -From c6c159fcdb4e9a678eda0831f971e4a3a488ec47 Mon Sep 17 00:00:00 2001 -From: Gilberto Conde -Date: Mon, 21 Sep 2026 10:34:19 +0100 -Subject: [PATCH] pinctrl: qcom: ipq5018: add missing pwm3 function on gpio13 - -GPIO13 supports the PWM3 function at mux select value 4, but the -pingroup table leaves that slot empty and gpio13 is not listed in -pwm3_groups. Selecting pwm3 on gpio13 is therefore rejected by the -pinmux core: - - ipq5018-tlmm: invalid group "gpio13" for function "pwm3" - -The GL.iNet GL-X2000 drives its fan from PWM3 on this pin, and the -vendor firmware muxes it with select value 4: - - gpio13 : out low func4 8mA no pull - -Add pwm3 to the fourth function slot of gpio13 and list gpio13 in -pwm3_groups. With this the pin muxes as expected: - - pin 13 (GPIO_13): device 1941010.pwm function pwm3 group gpio13 - -Fixes: 725d1c891658 ("pinctrl: qcom: Add IPQ5018 pinctrl driver") -Signed-off-by: Gilberto Conde -Reviewed-by: Konrad Dybcio -Link: https://patch.msgid.link/20260921093419.2870168-1-gilbertorconde@gmail.com -Signed-off-by: Bartosz Golaszewski ---- ---- a/drivers/pinctrl/qcom/pinctrl-ipq5018.c -+++ b/drivers/pinctrl/qcom/pinctrl-ipq5018.c -@@ -565,7 +565,7 @@ static const char * const qdss_cti_trig_ - }; - - static const char * const pwm3_groups[] = { -- "gpio45", -+ "gpio45", "gpio13", - }; - - static const char * const qdss_cti_trig_in_b1_groups[] = { -@@ -691,7 +691,7 @@ static const struct msm_pingroup ipq5018 - PINGROUP(10, blsp0_spi, blsp1_uart0, led0, gcc_plltest, qdss_tracedata_a, _, _, _, _), - PINGROUP(11, blsp0_spi, blsp1_uart0, _, gcc_tlmm, qdss_tracedata_a, _, _, _, _), - PINGROUP(12, blsp0_spi, blsp0_i2c, blsp1_uart0, _, gcc_plltest, qdss_tracedata_a, _, _, _), -- PINGROUP(13, blsp0_spi, blsp0_i2c, blsp1_uart0, _, qdss_tracedata_a, _, _, _, _), -+ PINGROUP(13, blsp0_spi, blsp0_i2c, blsp1_uart0, pwm3, qdss_tracedata_a, _, _, _, _), - PINGROUP(14, pcie0_clk, _, _, cri_trng0, qdss_tracedata_a, _, _, _, _), - PINGROUP(15, _, _, cri_trng1, qdss_tracedata_a, _, _, _, _, _), - PINGROUP(16, pcie0_wake, _, _, cri_trng, qdss_tracedata_a, _, _, _, _),