mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 14:23:55 +00:00
- 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:
parent
525e6a870e
commit
b7b51ed01d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150176
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue