Re: [PATCH] EDAC, altera: wrap edac pm with a CONFIG_PM

From: Thor Thayer
Date: Fri Jun 05 2015 - 17:38:51 EST


Hi Boris,

On 06/05/2015 10:15 AM, Borislav Petkov wrote:
On Fri, Jun 05, 2015 at 08:49:15AM -0500, dinguyen@xxxxxxxxxxxxxxxxxxxxx wrote:
From: Alan Tull <atull@xxxxxxxxxxxxxxxxxxxxx>

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

Btw, what is exactly the problem with EDAC being enabled and not being
able to suspend? Is it a hardware issue?

Because if it is sw one, we probably could change the EDAC core to
accomodate power management. On x86 we don't need to do anything special
to EDAC wrt PM though - we simply suspend.

Thanks.


Yes, in our case, it is a hardware issue but I'm still gathering information.

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.

Thor

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/