/* Return 1 if the pending bit is set. Unless we just instructed the processor to transition to a new state, seeing this bit set is really bad news.  */
static int pending_bit_stuck(void)
/* Return 1 if the pending bit is set. Unless we just instructed the processor to transition to a new state, seeing this bit set is really bad news.  */
static int pending_bit_stuck(void)
{
	u32 lo, hi;
	if (cpu_family == CPU_HW_PSTATE)
		return 0;
	rdmsr(MSR_FIDVID_STATUS, lo, hi);
	return lo & MSR_S_LO_CHANGE_PENDING ? 1 : 0;
}