i82801gx: read RTC status register to prevent IRQ storm
authorSven Schnelle <svens@stackframe.org>
Wed, 29 Jun 2011 13:05:28 +0000 (15:05 +0200)
committerPatrick Georgi <patrick@georgi-clan.de>
Wed, 29 Jun 2011 14:54:14 +0000 (16:54 +0200)
commit811787abd5ec0c944a77ad1dda8817c95948b0c4
tree28dc98edcc2aa901708ab8e18c00a241a4f74f92
parent55bf2e49d66af779e3e514db1bd716b354329559
i82801gx: read RTC status register to prevent IRQ storm

My Thinkpad appeared dead. After investigation, it turned out
that the RTC Alarm was triggering an RTC PM1 SMI, but the SMI
handler didn't read the status register, so it was triggered again.

This is a really nasty situation, as it means you have to dissemble
your Notebook just to unplug the RTC battery.

Change-Id: I5ac611e8a72deb5f38c86486dbe0693804935723
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/67
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
src/southbridge/intel/i82801gx/smihandler.c