On Mon, Feb 01, 2021 at 08:24:17PM +0100, Thomas Gleixner wrote: > 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 <belys...@depni.sinp.msu.ru> > Reported-by: Dirk Gouders <d...@gouders.net> > Signed-off-by: Thomas Gleixner <t...@linutronix.de> > --- > V2: Provide the actual delta patch. Should have stayed away from > computers today.... > --- > drivers/rtc/rtc-cmos.c | 4 ++-- > drivers/rtc/rtc-mc146818-lib.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-)
FWIW: Reported-by: Borislav Petkov <b...@suse.de> Tested-by: Borislav Petkov <b...@suse.de> Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette