intel_soc_pmu: optimize retry logic and dump more information
BZ: 42229
the pmu_pci_set_power_state() will try 3 times to wait the pmu2 get ready,
but every time issue a command to pmu2, since pmu2 is busy, this is the
wrong behavior, it should issue the interactive command only for 1 time
and wait the pmu2 to get ready for 3 times. or else it won't trigger panic
and will returned in case pmu2 busy forever.
Optimize retry logic and add longer delay in
_pmu2_wait_not_busy_yield(), use endless loop if PMU is alwasy
busy, dump all CPU call trace.
Change-Id: I4355706f95c87872e961f106ee1059eaee1590e1
Signed-off-by: Dong Yang <dong.yang@intel.com>
Signed-off-by: Illyas Mansoor <illyas.mansoor@intel.com>
Signed-off-by: Yanmin Zhang <yanmin.zhang@intel.com>
Signed-off-by: He, Bo <bo.he@intel.com>