openwrt/target/linux/generic
Adrian Schmutzler ae901d5201 kernel: 5.10: fix busy wait loop in mediatek PPE code
Reapply changes added to 5.4 but not copied to 5.10:
3da4acaa7b ("kernel: fix busy wait loop in mediatek PPE code")

The intention is for the loop to timeout if the body does not succeed.
The current logic calls time_is_before_jiffies(timeout) which is false
until after the timeout, so the loop body never executes.

time_is_after_jiffies(timeout) will return true until timeout is less
than jiffies, which is the intended behavior here.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:37 +00:00
..
backport-5.4 kernel: drop ofpart patch dropped from upstream mtd tree 2021-09-01 08:07:36 +00:00
backport-5.10 kernel: add linux 5.10 support 2021-09-01 08:07:37 +00:00
files generic: ar8216: update version switch for of_get_phy_mode fix 2021-09-01 08:07:37 +00:00
hack-5.4 kernel: bump 5.4 to 5.4.93 2021-09-01 08:07:32 +00:00
hack-5.10 kernel: add linux 5.10 support 2021-09-01 08:07:37 +00:00
image target: use SPDX license identifiers on Makefiles 2021-09-01 08:07:34 +00:00
other-files initramfs: switch to tmpfs to fix ujail 2021-09-01 08:07:15 +00:00
pending-5.4 kernel: drop ofpart patch dropped from upstream mtd tree 2021-09-01 08:07:36 +00:00
pending-5.10 kernel: 5.10: fix busy wait loop in mediatek PPE code 2021-09-01 08:07:37 +00:00
config-5.4 kernel: enable CONFIG_LEDS_TRIGGER_HEARTBEAT 2021-09-01 08:07:28 +00:00
config-5.10 kernel: add linux 5.10 support 2021-09-01 08:07:37 +00:00
config-filter kernel: add linux 5.10 support 2021-09-01 08:07:37 +00:00
PATCHES