Thomas Gleixner
ebb22a0594
rtc: mc146818: Dont test for bit 0-5 in Register D
...
The recent change to validate the RTC turned out to be overly tight.
While it cures the problem on the reporters machine it breaks machines
with Intel chipsets which use bit 0-5 of the D register. So check only
for bit 6 being 0 which is the case on these Intel machines as well.
Fixes: 211e5db19d15 ("rtc: mc146818: Detect and handle broken RTCs")
Reported-by: Serge Belyshev <belyshev@depni.sinp.msu.ru>
Reported-by: Dirk Gouders <dirk@gouders.net>
Reported-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Dirk Gouders <dirk@gouders.net>
Tested-by: Len Brown <len.brown@intel.com>
Tested-by: Borislav Petkov <bp@suse.de>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/87zh0nbnha.fsf@nanos.tec.linutronix.de
2021-02-02 20:35:02 +01:00
..
2020-12-20 10:12:06 -08:00
2019-10-23 17:23:43 +02:00
2019-11-27 09:31:08 +01:00
2020-12-03 23:42:36 +01:00
2019-04-06 15:05:31 +02:00
2020-12-11 10:40:52 +01:00
2020-11-19 12:50:12 +01:00
2019-04-04 10:07:08 +02:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-05-30 11:26:37 -07:00
2019-12-23 11:16:23 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-07-16 11:17:52 +02:00
2019-05-21 10:50:45 +02:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2021-02-02 20:35:02 +01:00
2020-11-19 12:50:12 +01:00
2018-09-28 14:20:59 +02:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-05-30 11:26:32 -07:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-10-07 01:07:35 +02:00
2019-10-07 01:07:35 +02:00
2019-11-15 11:58:14 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-06-19 17:09:55 +02:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:11 +01:00
2019-05-30 11:26:32 -07:00
2019-11-08 16:14:09 +01:00
2020-12-03 23:49:31 +01:00
2019-07-17 10:03:50 -07:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-05-21 10:50:45 +02:00
2020-11-19 12:50:12 +01:00
2019-06-05 17:37:06 +02:00
2020-11-14 23:36:10 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-06-19 17:09:55 +02:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-06-19 17:09:55 +02:00
2020-04-15 09:56:17 +02:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-03-16 11:12:11 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2018-03-17 14:20:46 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2018-11-22 18:11:35 +01:00
2018-08-14 23:38:45 +02:00
2020-08-07 23:29:47 +02:00
2020-11-19 12:50:12 +01:00
2021-02-02 20:35:02 +01:00
2020-07-16 11:17:52 +02:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-12-23 11:23:49 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-11-18 15:23:54 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-10-07 01:07:35 +02:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-05-24 17:39:01 +02:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-12-19 01:57:44 +01:00
2020-11-19 12:52:25 +01:00
2020-11-19 12:50:12 +01:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-08-13 10:53:10 +02:00
2019-10-06 21:04:51 +02:00
2020-11-19 12:50:12 +01:00
2019-05-30 11:29:52 -07:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-08-21 00:13:44 +02:00
2020-11-19 12:50:12 +01:00
2019-06-19 17:09:55 +02:00
2019-10-07 01:07:35 +02:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-06-19 17:09:55 +02:00
2020-11-17 20:30:30 +01:00
2020-11-19 12:50:12 +01:00
2019-12-23 11:22:21 +01:00
2020-11-19 12:50:12 +01:00
2020-12-03 23:51:30 +01:00
2019-06-19 17:09:55 +02:00
2019-07-23 20:34:31 +02:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2017-11-02 11:10:55 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-10-07 01:07:35 +02:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-12-10 14:29:23 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-12-03 23:43:23 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-05-30 11:26:32 -07:00
2020-11-19 12:50:12 +01:00
2019-11-27 09:31:13 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00
2020-11-19 12:50:12 +01:00