This fixes the deadlock. The deadlock was easily reproducible before this fix without cpu offline/online. With this fix the deadlock is not reproducible.
Aggressive stress testing with multiple cpu online/offline scripts and multiple pmconfig scripts now hits this panic after a while: now hits this panic: [13]> ffffff0274e513c0 ::findstack stack pointer for thread ffffff0274e513c0: ffffff000b961990 ffffff000b961a80 panic+0x9c() ffffff000b961b00 die+0xf4() ffffff000b961c30 trap+0x37e() ffffff000b961c40 0xfffffffffb8002c0() ffffff000b961d60 rdmsr+2() ffffff000b961da0 pcplusmp`x2apic_send_ipi+0xc4() ffffff000b961dc0 send_dirint+0x19() ffffff000b961df0 poke_cpu+0x39() ffffff000b961e20 cpu_online+0xd8() ffffff000b961e80 p_online_internal+0x166() ffffff000b961eb0 p_online+0x19() ffffff000b961f00 _sys_sysenter_post_swapgs+0x23c() This looks like an earlier x2apic bug. Regards, Bill On 11/11/08 18:28, Bill.Holler at Sun.COM wrote: > Author: Bill Holler <Bill.Holler at Sun.COM> > Repository: /hg/tesla/pad-gate > Latest revision: c20550502cbdae774d07c4105445d30ff46a6c41 > Total changesets: 1 > Log message: > 4817 hpet_isr can deadlock with hpet_deep_idle_config and hpet_cpr > > Files: > update: usr/src/uts/i86pc/io/hpet_acpi.c > update: usr/src/uts/i86pc/io/pcplusmp/apic.c > _______________________________________________ > tesla-dev mailing list > tesla-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/tesla-dev >
