]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mvebu: 6.18: refresh patches
authorStefan Kalscheuer <stefan@stklcode.de>
Fri, 3 Apr 2026 11:47:15 +0000 (13:47 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 12 May 2026 19:01:06 +0000 (21:01 +0200)
Drop upstreamed patches:
0003-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch

Manually refreshed:
350-drivers-thermal-step_wise-add-support-for-hysteresis.patch

All other patches automatically refreshed.

Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
Link: https://github.com/openwrt/openwrt/pull/22761
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 files changed:
target/linux/mvebu/patches-6.18/0003-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch [deleted file]
target/linux/mvebu/patches-6.18/100-aardvark-workaround-PCIe.patch
target/linux/mvebu/patches-6.18/300-mvebu-Mangle-bootloader-s-kernel-arguments.patch
target/linux/mvebu/patches-6.18/321-arm64-dts-marvell-reorder-ethernet-aliases-for-ESPRE.patch
target/linux/mvebu/patches-6.18/350-drivers-thermal-step_wise-add-support-for-hysteresis.patch
target/linux/mvebu/patches-6.18/700-mvneta-tx-queue-workaround.patch
target/linux/mvebu/patches-6.18/801-pci-mvebu-time-out-reset-on-link-up.patch
target/linux/mvebu/patches-6.18/830-01-i2c-add-init_recovery-callback.patch
target/linux/mvebu/patches-6.18/902-drivers-mfd-Add-a-driver-for-IEI-WT61P803-PUZZLE-MCU.patch
target/linux/mvebu/patches-6.18/903-drivers-hwmon-Add-the-IEI-WT61P803-PUZZLE-HWMON-driv.patch
target/linux/mvebu/patches-6.18/904-drivers-leds-Add-the-IEI-WT61P803-PUZZLE-LED-driver.patch
target/linux/mvebu/patches-6.18/906-Documentation-hwmon-Add-iei-wt61p803-puzzle-hwmon-dr.patch
target/linux/mvebu/patches-6.18/907-MAINTAINERS-Add-an-entry-for-the-IEI-WT61P803-PUZZLE.patch

diff --git a/target/linux/mvebu/patches-6.18/0003-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch b/target/linux/mvebu/patches-6.18/0003-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch
deleted file mode 100644 (file)
index 2d7b6b5..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-From 0396a8731efd17aec4719ad9981fefeaa13ffa56 Mon Sep 17 00:00:00 2001
-From: Gabor Juhos <j4g8y7@gmail.com>
-Date: Wed, 14 May 2025 21:18:34 +0200
-Subject: [PATCH 3/7] pinctrl: armada-37xx: propagate error from
- armada_37xx_gpio_direction_output()
-
-The regmap_update_bits() function can fail, so propagate its error
-up to the stack instead of silently ignoring that.
-
-Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
-Reviewed-by: Andrew Lunn <andrew@lunn.ch>
-Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
-Link: https://lore.kernel.org/20250514-pinctrl-a37xx-fixes-v2-3-07e9ac1ab737@gmail.com
-Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
----
- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
---- a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
-+++ b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
-@@ -433,9 +433,7 @@ static int armada_37xx_gpio_direction_ou
-       reg = OUTPUT_EN;
-       armada_37xx_update_reg(&reg, &en_offset);
--      regmap_update_bits(info->regmap, reg, mask, mask);
--
--      return 0;
-+      return regmap_update_bits(info->regmap, reg, mask, mask);
- }
- static int armada_37xx_gpio_get(struct gpio_chip *chip, unsigned int offset)
index b2282a3684f49d70247bdf61f5ccaf6035bef3b4..8883734e5b2acb9553692c6411c76f42ee32445b 100644 (file)
@@ -48,7 +48,7 @@ Cc: stable@vger.kernel.org
 
 --- a/drivers/pci/controller/pci-aardvark.c
 +++ b/drivers/pci/controller/pci-aardvark.c
-@@ -211,6 +211,8 @@ enum {
+@@ -212,6 +212,8 @@ enum {
  };
  
  #define VENDOR_ID_REG                         (LMI_BASE_ADDR + 0x44)
@@ -69,7 +69,7 @@ Cc: stable@vger.kernel.org
        /* Set lane X1 */
        reg = advk_readl(pcie, PCIE_CORE_CTRL0_REG);
        reg &= ~LANE_CNT_MSK;
-@@ -1654,6 +1661,9 @@ static irqreturn_t advk_pcie_irq_handler
+@@ -1637,6 +1644,9 @@ static irqreturn_t advk_pcie_irq_handler
        struct advk_pcie *pcie = arg;
        u32 status;
  
index 3425e58d5c1776d8f569be897dc43cc31954ba09..42bf3d2ca2856d3e32100d2744ffcda25776fed9 100644 (file)
@@ -28,7 +28,7 @@ Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
 
 --- a/arch/arm/Kconfig
 +++ b/arch/arm/Kconfig
-@@ -1503,6 +1503,17 @@ config ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEN
+@@ -1488,6 +1488,17 @@ config ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEN
          The command-line arguments provided by the boot loader will be
          appended to the the device tree bootargs property.
  
@@ -247,7 +247,7 @@ Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
  }
 --- a/init/main.c
 +++ b/init/main.c
-@@ -114,6 +114,10 @@
+@@ -116,6 +116,10 @@
  
  #include <kunit/test.h>
  
@@ -258,7 +258,7 @@ Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
  static int kernel_init(void *);
  
  /*
-@@ -971,6 +975,18 @@ void start_kernel(void)
+@@ -966,6 +970,18 @@ void start_kernel(void)
        boot_cpu_hotplug_init();
  
        pr_notice("Kernel command line: %s\n", saved_command_line);
index 19817f2a25e9374d0b48d0a2ed917b72f42ef236..c14d5cabe46f6ddaaadf76c54ba6051f9f18a9d7 100644 (file)
@@ -15,7 +15,7 @@ Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
 --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts
 +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts
 @@ -16,12 +16,12 @@
-                    "marvell,armada3720", "marvell,armada3700";
+                    "marvell,armada3720", "marvell,armada3710";
  
        aliases {
 -              /* ethernet1 is WAN port */
index d98e585db59e44a1676157053a0dd7311172b7f3..7cac36422e10f45ab1f0e846cffaab9ee31dbd72 100644 (file)
@@ -24,22 +24,25 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 
 --- a/drivers/thermal/gov_step_wise.c
 +++ b/drivers/thermal/gov_step_wise.c
-@@ -87,19 +87,28 @@ static void thermal_zone_trip_update(str
+@@ -82,22 +82,32 @@ static void thermal_zone_trip_update(str
+                                    const struct thermal_trip_desc *td,
+                                    int trip_threshold)
+ {
+-      bool throttle = tz->temperature >= trip_threshold;
++      bool throttle = false;
+       const struct thermal_trip *trip = &td->trip;
+       enum thermal_trend trend = get_tz_trend(tz, trip);
        int trip_id = thermal_zone_trip_id(tz, trip);
        struct thermal_instance *instance;
-       bool throttle = false;
-+      int hyst_temp;
++      int hyst_temp = trip_threshold - trip->hysteresis;
  
--      if (tz->temperature >= trip_threshold) {
--              throttle = true;
+-      if (throttle)
 -              trace_thermal_zone_trip(tz, trip_id, trip->type);
--      }
 -
 -      dev_dbg(&tz->device, "Trip%d[type=%d,temp=%d]:trend=%d,throttle=%d\n",
 -              trip_id, trip->type, trip_threshold, trend, throttle);
-+      hyst_temp =  trip->temperature - trip->hysteresis;
 +      dev_dbg(&tz->device, "Trip%d[type=%d,temp=%d,hyst=%d]:trend=%d,throttle=%d\n",
-+              trip_id, trip->type, trip->temperature, hyst_temp, trend, throttle);
++              trip_id, trip->type, trip_threshold, hyst_temp, trend, throttle);
  
        list_for_each_entry(instance, &td->thermal_instances, trip_node) {
                int old_target;
@@ -50,7 +53,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 +               * Lower the mitigation only if the temperature
 +               * goes below the hysteresis temperature.
 +               */
-+              if (tz->temperature >= trip->temperature ||
++              if (tz->temperature >= trip_threshold ||
 +                 (tz->temperature >= hyst_temp &&
 +                 old_target != THERMAL_NO_TARGET)) {
 +                      throttle = true;
index 39112f23bb19e1e634132332aa08e1fb87d1d33f..a03e86426b35e442b7ea134041fac2c7587e9dbc 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 ---
 --- a/drivers/net/ethernet/marvell/mvneta.c
 +++ b/drivers/net/ethernet/marvell/mvneta.c
-@@ -5303,6 +5303,16 @@ static int mvneta_setup_tc(struct net_de
+@@ -5325,6 +5325,16 @@ static int mvneta_setup_tc(struct net_de
        }
  }
  
@@ -31,7 +31,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  static const struct net_device_ops mvneta_netdev_ops = {
        .ndo_open            = mvneta_open,
        .ndo_stop            = mvneta_stop,
-@@ -5313,6 +5323,9 @@ static const struct net_device_ops mvnet
+@@ -5335,6 +5345,9 @@ static const struct net_device_ops mvnet
        .ndo_fix_features    = mvneta_fix_features,
        .ndo_get_stats64     = mvneta_get_stats64,
        .ndo_eth_ioctl        = mvneta_ioctl,
index f1832c8940dfe164e81ff016ae444ef9af5a644d..8c8cde22c49d98a259c927175b7d540987f7ccd7 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
 
 --- a/drivers/pci/controller/pci-mvebu.c
 +++ b/drivers/pci/controller/pci-mvebu.c
-@@ -1397,6 +1397,7 @@ static int mvebu_pcie_powerup(struct mve
+@@ -1374,6 +1374,7 @@ static int mvebu_pcie_powerup(struct mve
  
        if (port->reset_gpio) {
                u32 reset_udelay = PCI_PM_D3COLD_WAIT * 1000;
@@ -21,7 +21,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
  
                of_property_read_u32(port->dn, "reset-delay-us",
                                     &reset_udelay);
-@@ -1404,7 +1405,13 @@ static int mvebu_pcie_powerup(struct mve
+@@ -1381,7 +1382,13 @@ static int mvebu_pcie_powerup(struct mve
                udelay(100);
  
                gpiod_set_value_cansleep(port->reset_gpio, 0);
@@ -36,7 +36,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
        }
  
        return 0;
-@@ -1521,15 +1528,16 @@ static int mvebu_pcie_probe(struct platf
+@@ -1498,15 +1505,16 @@ static int mvebu_pcie_probe(struct platf
                if (!child)
                        continue;
  
index b82bb24a08e64fd8701b6a34b4284c5daafa3632..dc25a91bf63a6af3b0221467a72b4fd036489f1c 100644 (file)
@@ -169,7 +169,7 @@ Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
                err_str = "no suitable method provided";
 --- a/include/linux/i2c.h
 +++ b/include/linux/i2c.h
-@@ -635,6 +635,9 @@ struct i2c_timings {
+@@ -636,6 +636,9 @@ struct i2c_timings {
   *    for generic GPIO recovery.
   * @get_bus_free: Returns the bus free state as seen from the IP core in case it
   *    has a more complex internal logic than just reading SDA. Optional.
@@ -179,7 +179,7 @@ Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
   * @prepare_recovery: This will be called before starting recovery. Platform may
   *    configure padmux here for SDA/SCL line or something else they want.
   * @unprepare_recovery: This will be called after completing recovery. Platform
-@@ -659,6 +662,7 @@ struct i2c_bus_recovery_info {
+@@ -660,6 +663,7 @@ struct i2c_bus_recovery_info {
        void (*set_sda)(struct i2c_adapter *adap, int val);
        int (*get_bus_free)(struct i2c_adapter *adap);
  
index 1b2fcc5907a379eb749e770e8022912e37274dc4..7d35626637c91bce1b5461eb6a49b89a896f3ebf 100644 (file)
@@ -26,7 +26,7 @@ Cc: Robert Marko <robert.marko@sartura.hr>
 
 --- a/drivers/mfd/Kconfig
 +++ b/drivers/mfd/Kconfig
-@@ -2367,6 +2367,15 @@ config SGI_MFD_IOC3
+@@ -2449,6 +2449,15 @@ config SGI_MFD_IOC3
          If you have an SGI Origin, Octane, or a PCI IOC3 card,
          then say Y. Otherwise say N.
  
@@ -44,7 +44,7 @@ Cc: Robert Marko <robert.marko@sartura.hr>
          select MFD_CORE
 --- a/drivers/mfd/Makefile
 +++ b/drivers/mfd/Makefile
-@@ -250,6 +250,7 @@ obj-$(CONFIG_MFD_RT4831)   += rt4831.o
+@@ -256,6 +256,7 @@ obj-$(CONFIG_MFD_RT4831)   += rt4831.o
  obj-$(CONFIG_MFD_RT5033)      += rt5033.o
  obj-$(CONFIG_MFD_RT5120)      += rt5120.o
  obj-$(CONFIG_MFD_SKY81452)    += sky81452.o
index 9f23e72730abb6777ce8a9c647dd2525d83ce0e7..9e69779c0d310fa2b9187b4df46c986ca2274446 100644 (file)
@@ -26,7 +26,7 @@ Cc: Robert Marko <robert.marko@sartura.hr>
 
 --- a/drivers/hwmon/Kconfig
 +++ b/drivers/hwmon/Kconfig
-@@ -828,6 +828,14 @@ config SENSORS_IBMPOWERNV
+@@ -889,6 +889,14 @@ config SENSORS_IBMPOWERNV
          This driver can also be built as a module. If so, the module
          will be called ibmpowernv.
  
@@ -43,7 +43,7 @@ Cc: Robert Marko <robert.marko@sartura.hr>
        depends on IIO
 --- a/drivers/hwmon/Makefile
 +++ b/drivers/hwmon/Makefile
-@@ -94,6 +94,7 @@ obj-$(CONFIG_SENSORS_HS3001) += hs3001.o
+@@ -97,6 +97,7 @@ obj-$(CONFIG_SENSORS_HTU31)  += htu31.o
  obj-$(CONFIG_SENSORS_ULTRA45) += ultra45_env.o
  obj-$(CONFIG_SENSORS_I5500)   += i5500_temp.o
  obj-$(CONFIG_SENSORS_I5K_AMB) += i5k_amb.o
index ae4929199823e6cc720a627ee9887347ab9adee1..3186562678ea4fb5f9e1694a31e409fd9d322adc 100644 (file)
@@ -30,7 +30,7 @@ Cc: Robert Marko <robert.marko@sartura.hr>
 
 --- a/drivers/leds/Kconfig
 +++ b/drivers/leds/Kconfig
-@@ -354,6 +354,14 @@ config LEDS_IPAQ_MICRO
+@@ -363,6 +363,14 @@ config LEDS_IPAQ_MICRO
          Choose this option if you want to use the notification LED on
          Compaq/HP iPAQ h3100 and h3600.
  
@@ -47,7 +47,7 @@ Cc: Robert Marko <robert.marko@sartura.hr>
        depends on LEDS_CLASS
 --- a/drivers/leds/Makefile
 +++ b/drivers/leds/Makefile
-@@ -35,6 +35,7 @@ obj-$(CONFIG_LEDS_HP6XX)             += leds-hp6xx.
+@@ -36,6 +36,7 @@ obj-$(CONFIG_LEDS_HP6XX)             += leds-hp6xx.
  obj-$(CONFIG_LEDS_INTEL_SS4200)               += leds-ss4200.o
  obj-$(CONFIG_LEDS_IP30)                       += leds-ip30.o
  obj-$(CONFIG_LEDS_IPAQ_MICRO)         += leds-ipaq-micro.o
index 63a7552357a73230e48fa3ce6a5d537f7815f9d8..3ada79b3ea61359a16944c97fa4eabeebff59d2a 100644 (file)
@@ -64,11 +64,11 @@ Cc: Robert Marko <robert.marko@sartura.hr>
 +================= == =====================================================
 --- a/Documentation/hwmon/index.rst
 +++ b/Documentation/hwmon/index.rst
-@@ -87,6 +87,7 @@ Hardware Monitoring Kernel Drivers
+@@ -91,6 +91,7 @@ Hardware Monitoring Kernel Drivers
     ibmaem
     ibm-cffps
     ibmpowernv
 +   iei-wt61p803-puzzle-hwmon
     ina209
     ina2xx
-    ina238
+    ina233
index 0bb50df3895825a92d35c93a141d3237d760c6c1..7bf7544500ad692c1b33497a06373e771fe4fcaf 100644 (file)
@@ -16,7 +16,7 @@ Cc: Robert Marko <robert.marko@sartura.hr>
 
 --- a/MAINTAINERS
 +++ b/MAINTAINERS
-@@ -10978,6 +10978,22 @@ L:    virtualization@lists.linux.dev
+@@ -12059,6 +12059,22 @@ L:    virtualization@lists.linux.dev
  S:    Supported
  F:    drivers/vdpa/ifcvf/