]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit581a4a78b73e4b1eae22f511ad862198cea92a64
treec60f0f01187f8358805d7512cc430580ccdf4834
parentf071cbbadc2f2731f65a95b1eeced781092d78c5
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