Skip to contentSkip to conversation

bogus BUG_ON() in 2.6.18's pci_enable_msix()

DISCUSSION Jan Beulich 1 participant 1 message Apr 4, 2012

lore
Share & tools
lore
#0 lore raw

Haitao,

in c/s 680:583086d5cd26 you added

	BUG_ON(entries[i].vector != evtchn_get_xen_pirq(irq));

to said function, which seems wrong to me for two reasons: For one, .vector (as output) always holds Linux IRQ numbers, not Xen ones. And then this field can't be expected to be set on entry at all, hence expecting *any* particular value seems incorrect.

Thanks for your thoughts,
Jan