]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "tick: Prefer a lower rating device only if it's CPU local device"
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 9 Jul 2018 15:45:35 +0000 (16:45 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 10 Jul 2018 20:12:47 +0000 (22:12 +0200)
commitd524ede42ad7bf489ecafffb7a37511376f66767
treea29a2c70b8d1dd62580459e980f966fd4d2c8c40
parent8ec73892f2b2527af6aa4a6096dea47873879fbf
Revert "tick: Prefer a lower rating device only if it's CPU local device"

This reverts commit 7451807a30ccfa21ee8ab7cbc1088b570ce33f51.

The original issue was not because of incorrect checking of cpumask for
both new and old tick device. It was incorrectly analysed was due to the
misunderstanding of the comment and misinterpretation of the return value
from tick_check_preferred. The main issue is with the clockevent driver
that sets the cpumask to cpu_all_mask instead of cpu_possible_mask.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1531151136-18297-1-git-send-email-sudeep.holla@arm.com
kernel/time/tick-common.c