Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108564400
D28237.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
622 B
Referenced Files
None
Subscribers
None
D28237.diff
View Options
diff --git a/sys/amd64/vmm/io/vioapic.c b/sys/amd64/vmm/io/vioapic.c
--- a/sys/amd64/vmm/io/vioapic.c
+++ b/sys/amd64/vmm/io/vioapic.c
@@ -364,9 +364,11 @@
/*
* Generate an interrupt if the following conditions are met:
* - previous interrupt has been EOIed
+ * - pin trigger mode is level
* - pin level is asserted
*/
if ((vioapic->rtbl[pin].reg & IOART_REM_IRR) == 0 &&
+ (vioapic->rtbl[pin].reg & IOART_TRGRMOD) == IOART_TRGRLVL &&
(vioapic->rtbl[pin].acnt > 0)) {
VIOAPIC_CTR2(vioapic, "ioapic pin%d: asserted at rtbl "
"write, acnt %d", pin, vioapic->rtbl[pin].acnt);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 9:37 AM (2 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16193673
Default Alt Text
D28237.diff (622 B)
Attached To
Mode
D28237: bhyve/ioapic: only account for asserted line in edge mode
Attached
Detach File
Event Timeline
Log In to Comment