- Adjust a comment, we do program the performance counter LVT entry now

if hwpmc(4) is included.
- Don't recursively panic if we are unable to send an IPI, just bail and
  hope for the best.

MFC after:	1 week
This commit is contained in:
John Baldwin 2005-09-15 19:02:01 +00:00
parent 525e6a870e
commit b7b51ed01d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150176

View File

@ -324,7 +324,7 @@ lapic_setup(void)
lapic_timer_enable_intr();
}
/* XXX: Performance counter, error, and thermal LVTs */
/* XXX: Error and thermal LVTs */
intr_restore(eflags);
}
@ -928,8 +928,12 @@ lapic_ipi_vectored(u_int vector, int dest)
}
/* Wait for an earlier IPI to finish. */
if (!lapic_ipi_wait(BEFORE_SPIN))
panic("APIC: Previous IPI is stuck");
if (!lapic_ipi_wait(BEFORE_SPIN)) {
if (panicstr != NULL)
return;
else
panic("APIC: Previous IPI is stuck");
}
lapic_ipi_raw(icrlo, destfield);