Skip to contentSkip to conversation

Please cherry-pick 8fbcfeb8a9cc for 4.4.x

REGRESSION 4.4.x Takashi Iwai 2 participants 2 messages Jul 7, 2017 Stable branch

lore
Share & tools
lore
#0 lore raw

Hi Greg,

could you cherry-pick the commit

8fbcfeb8a9cc803464d6c166e7991913711c612c
mac80211_hwsim: Replace bogus hrtimer clockid

for 4.4.x stable? The current 4.4.x triggers BUG_ON() just by loading mac80211_hwsim module. See openSUSE bug#1047651 for details:
https://bugzilla.opensuse.org/show_bug.cgi?id=1047651

The BUG_ON() itself comes from 4.4.21 stable updates, introduced by the commit 4fc2942b6e2d:
hrtimer: Catch illegal clockids
[ Upstream commit 9006a01829a50cfd6bbd4980910ed46e895e93d7 ]

But in the upstream, this commit was reverted once by commit 82e88ff1ea94, then later on, revived (but with WARN() instead of BUG_ON()) by the commit 336a9cde10d6. So, we should also follow that on 4.4.x, too.

I haven't followed the situation on other stable trees. Thomas or Marc should have a better grasp on them, so I leave to them :)

thanks,

Takashi

#1 lore raw
Quoted 17 lines · Takashi Iwai

Hi Greg,

could you cherry-pick the commit

8fbcfeb8a9cc803464d6c166e7991913711c612c
mac80211_hwsim: Replace bogus hrtimer clockid

for 4.4.x stable? The current 4.4.x triggers BUG_ON() just by loading mac80211_hwsim module. See openSUSE bug#1047651 for details:
https://bugzilla.opensuse.org/show_bug.cgi?id=1047651

The BUG_ON() itself comes from 4.4.21 stable updates, introduced by the commit 4fc2942b6e2d:
hrtimer: Catch illegal clockids
[ Upstream commit 9006a01829a50cfd6bbd4980910ed46e895e93d7 ]

Quoted 8 lines

But in the upstream, this commit was reverted once by commit 82e88ff1ea94, then later on, revived (but with WARN() instead of BUG_ON()) by the commit 336a9cde10d6. So, we should also follow that on 4.4.x, too.

I haven't followed the situation on other stable trees. Thomas or Marc should have a better grasp on them, so I leave to them :)

I think this should go into 4.9 as well, so I've put it there too.

thanks,

greg k-h