aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2018-07-11 12:24:24 +0100
committerThomas Gleixner <tglx@linutronix.de>2018-08-02 14:55:53 +0200
commitfbfa9260085b5b578a049a90135e5c51928c5f7f (patch)
tree43eadbc7349ce78a8b5b173abb068a1e2d6d5ae1 /tools
parenttick/broadcast-hrtimer: Use cpu_possible_mask for ce_broadcast_hrtimer (diff)
downloadlinux-dev-fbfa9260085b5b578a049a90135e5c51928c5f7f.tar.xz
linux-dev-fbfa9260085b5b578a049a90135e5c51928c5f7f.zip
clockevents: Warn if cpu_all_mask is used as cpumask
Using cpu_all_mask in clockevents cpumask may result in issues while comparing multiple clockevent devices to choose the preferred one. On one of the platforms with 2 system (i.e. non per-CPU) timers with different ratings, having cpu_all_mask for one of the device resulted in a boot hang due to a endless loop in clockevents_notify_released() as both were clocksources were selected as preferred. In order to prevent such issues in the future, warn if any clockevent driver sets cpu_all_mask as it's cpumask and just override it to use cpu_possible_mask. All the existing occurrences of cpu_all_mask are already replaced with cpu_possible_mask. Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: linux-arm-kernel@lists.infradead.org Link: https://lkml.kernel.org/r/1531308264-24220-3-git-send-email-sudeep.holla@arm.com
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions