hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/drivers/tty/serial/8250/8250_core.c
....@@ -54,7 +54,16 @@
5454
5555 static unsigned int skip_txen_test; /* force skip of txen test at init time */
5656
57
-#define PASS_LIMIT 512
57
+/*
58
+ * On -rt we can have a more delays, and legitimately
59
+ * so - so don't drop work spuriously and spam the
60
+ * syslog:
61
+ */
62
+#ifdef CONFIG_PREEMPT_RT_FULL
63
+# define PASS_LIMIT 1000000
64
+#else
65
+# define PASS_LIMIT 512
66
+#endif
5867
5968 #include <asm/serial.h>
6069 /*