]> 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)
commit89b38c643766490d02e81ea01500384b65e1fb9b
treea29a2c70b8d1dd62580459e980f966fd4d2c8c40
parentabd538bfb9f56fa7ad0f47c833978152205fa3f9
Revert "tick: Prefer a lower rating device only if it's CPU local device"

This reverts commit 2866eebbc11d30421a98c09fdc1059cec522224c.

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