Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH v1] rtc: cmos: avoid UIP when writing/reading alarm time
@ 2022-12-07  3:57 Kane Chen
  2022-12-07  5:13 ` Sasha Levin
  0 siblings, 1 reply; 8+ messages in thread
From: Kane Chen @ 2022-12-07  3:57 UTC (permalink / raw)
  To: stable; +Cc: kane.chen

While runnings s0ix cycling test based on rtc alarm wakeup on ADL-P devices,
We found the data from CMOS_READ is not reasonable and causes RTC wake up fail.

With the below changes, we don't see unreasonable data from cmos and issue is gone.

cd17420: rtc: cmos: avoid UIP when writing alarm time
cdedc45: rtc: cmos: avoid UIP when reading alarm time
ec5895c: rtc: mc146818-lib: extract mc146818_avoid_UIP
ea6fa49: rtc: mc146818-lib: fix RTC presence check
13be2ef: rtc: cmos: Disable irq around direct invocation of cmos_interrupt()
0dd8d6c: rtc: Check return value from mc146818_get_time()
e1aba37: rtc: cmos: remove stale REVISIT comments
6950d04: rtc: cmos: Replace spin_lock_irqsave with spin_lock in hard IRQ
d35786b: rtc: mc146818-lib: change return values of mc146818_get_time()
ebb22a0: rtc: mc146818: Dont test for bit 0-5 in Register D
211e5db: rtc: mc146818: Detect and handle broken RTCs
dcf257e: rtc: mc146818: Reduce spinlock section in mc146818_set_time()
05a0302: rtc: mc146818: Prevent reading garbage


All of the above patches are landed on 6.0.11 stable kernel
I'd like pick the above patches back to 5.10 longterm kernel
Thanks


-- 
2.17.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-12-11  8:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-07  3:57 [PATCH v1] rtc: cmos: avoid UIP when writing/reading alarm time Kane Chen
2022-12-07  5:13 ` Sasha Levin
2022-12-07  6:51   ` Chen, Kane
2022-12-08 21:47     ` Mateusz Jończyk
2022-12-09  0:37       ` Sasha Levin
2022-12-09 22:40         ` Mateusz Jończyk
2022-12-11  6:09           ` Sasha Levin
2022-12-11  8:31             ` Chen, Kane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox