[PATCH] ARM: AM33xx: PRM: Remove am33xx_pwrdm_read_prev_pwrst function

Tony Lindgren tony at atomide.com
Mon Nov 27 08:59:42 PST 2017


* Keerthy <j-keerthy at ti.com> [171110 03:29]:
> Referring TRM Am335X series:
> http://www.ti.com/lit/ug/spruh73p/spruh73p.pdf
> 
> The LastPowerStateEntered bitfield is present only for PM_CEFUSE
> domain. This is not present in any of the other power domains. Hence
> remove the generic am33xx_pwrdm_read_prev_pwrst hook which wrongly
> reads the reserved bit fields for all the other power domains.
> 
> Reading the reserved bits leads to wrongly interpreting the low
> power transitions for various power domains that do not have the
> LastPowerStateEntered field. The pm debug counters values are wrong
> currently as we are incrementing them based on the reserved bits.
> 
> Signed-off-by: Keerthy <j-keerthy at ti.com>

Applying into omap-for-v4.15/fixes thanks.

Tony



More information about the linux-arm-kernel mailing list