ARM: imx6: disable deeper idle states when FEC is active w/o HW workaround
The i.MX6 Q/DL has an erratum (ERR006687) that prevents the FEC from waking the CPUs when they are in wait(unclocked) state. As the hardware workaround isn't applicable to all boards, disable the deeper idle state when the workaround isn't present and the FEC is in use. This allows to safely run a kernel with CPUidle enabled on all i.MX6 boards. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Acked-by: David S. Miller <davem@davemloft.net> (for network changes) Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
@@ -442,6 +442,8 @@ struct bufdesc_ex {
|
||||
#define FEC_QUIRK_SINGLE_MDIO (1 << 11)
|
||||
/* Controller supports RACC register */
|
||||
#define FEC_QUIRK_HAS_RACC (1 << 12)
|
||||
/* Interrupt doesn't wake CPU from deep idle */
|
||||
#define FEC_QUIRK_ERR006687 (1 << 13)
|
||||
|
||||
struct bufdesc_prop {
|
||||
int qid;
|
||||
|
Reference in New Issue
Block a user