Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109840887
D41395.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
422 B
Referenced Files
None
Subscribers
None
D41395.diff
View Options
diff --git a/sys/x86/x86/msi.c b/sys/x86/x86/msi.c
--- a/sys/x86/x86/msi.c
+++ b/sys/x86/x86/msi.c
@@ -620,6 +620,11 @@
mtx_unlock(&msi_lock);
error = EOPNOTSUPP;
#endif
+ if (error == EOPNOTSUPP && msi->msi_cpu > 0xff) {
+ printf("%s: unsupported destination APIC ID %u\n", __func__,
+ msi->msi_cpu);
+ error = EINVAL;
+ }
if (error == EOPNOTSUPP) {
*addr = INTEL_ADDR(msi);
*data = INTEL_DATA(msi);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 11, 5:32 AM (10 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16589383
Default Alt Text
D41395.diff (422 B)
Attached To
Mode
D41395: msi: report error for attempt to use CPU > 255
Attached
Detach File
Event Timeline
Log In to Comment