Skip to content

Commit 95b90af

Browse files
KAGA-KOKOtorvalds
authored andcommitted
pps: make pps_gen_parport depend on BROKEN
This driver causes hard lockups, when the active clock soure is jiffies. The reason is that it loops with interrupts disabled waiting for a timestamp to be reached by polling getnstimeofday(). Though with a jiffies clocksource, when that code runs on the same CPU which is responsible for updating jiffies, then we loop in circles for ever simply because the timer interrupt cannot update jiffies. So both UP and SMP can be affected. There is no easy fix for that problem so make it depend on BROKEN for now. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Alexander Gordeev <lasaine@lvk.cs.msu.su> Cc: Rodolfo Giometti <giometti@linux.it> Cc: john stultz <johnstul@us.ibm.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 97e419a commit 95b90af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/pps/generators/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ comment "PPS generators support"
66

77
config PPS_GENERATOR_PARPORT
88
tristate "Parallel port PPS signal generator"
9-
depends on PARPORT
9+
depends on PARPORT && BROKEN
1010
help
1111
If you say yes here you get support for a PPS signal generator which
1212
utilizes STROBE pin of a parallel port to send PPS signals. It uses

0 commit comments

Comments
 (0)