# \[PATCH v2 2/2\] arm: omap3: am35x: Disable hlt when using Davinci EMAC

- From: Kevin Hilman \<hidden\>
- Date: 2012-05-31 18:58:43 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2012/05/8608157
- Thread: https://ratatoskr.run/linux-arm-kernel/2012/05/8608157/t.md

```text
"Mark A. Greer" [ref] writes:

> From: "Mark A. Greer" <mgreer@animalcreek.com>
>
> The am35x family of SoCs has a Davinci EMAC ethernet
> controller on-chip.  Unfortunately, the EMAC is unable
> to wake the PRCM when there is network activity which
> leads to a hung or extremely slow system when the MPU
> has executed a 'wfi' instruction (because of pm_idle
> or CPUidle).  To prevent this, add hooks to the EMAC
> pm_runtime suspend/resume calls so that hlt is disabled
> whenever the EMAC is in use.
>
> Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>

Looks good,

Acked-by: Kevin Hilman <redacted>
```
