EDAC, altera: Do not allow suspend when EDAC is enabled
authorAlan Tull <atull@opensource.altera.com>
Fri, 5 Jun 2015 13:49:15 +0000 (08:49 -0500)
committerBorislav Petkov <bp@suse.de>
Wed, 24 Jun 2015 16:16:12 +0000 (18:16 +0200)
commit6f2b6422d4787ffa72bd81abdc1b503dbf87a49a
treec60f0f01187f8358805d7512cc430580ccdf4834
parentde2776787faa6859097a946e32f618f62fbce4c9
EDAC, altera: Do not allow suspend when EDAC is enabled

Suspend-to-RAM and EDAC support are mutually exclusive on SOCFPGA. If
EDAC is enabled, it will prevent the platform from going into suspend.

The reason is that the IRQ vectors for OCRAM reside on DDR and in
Suspend-to-RAM mode we're executing out of OCRAM. If an ECC error
occurs, we can't handle it so it was decided to make them mutually
exclusive.

Signed-off-by: Alan Tull <atull@opensource.altera.com>
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: dinh.linux@gmail.com
Cc: dougthompson@xmission.com
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: mchehab@osg.samsung.com
Cc: tthayer@opensource.altera.com
Link: http://lkml.kernel.org/r/1433512155-9906-1-git-send-email-dinguyen@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/altera_edac.c