跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[问与答] x86 服务器处理 MSI-X 中断出错

发表于

在 x86 服务器上,驱动程序使用 pci_alloc_irq_vectors() 和 pci_irq_vector() 为 EP 申请了 32 个 MSI-X 中断,并分配了 msi_addr 和 msi_data ,这里的 msi_data 为 0xef (不知道这个值是否属于正常范围),等到 EP 端向 msi_addr 写入 msi_data ( 0xef )来触发中断时,服务器报下面这行错误

[96961.176617] Spurious interrupt (vector 0xef) on CPU#0. Acked

请问这是什么原因?如何解决?

一个对比样例:同样的驱动代码在 x86 工控机上,RC 为 msi_data 分配的值为 0x0,且不会报上述错误,功能正常。服务器和工控机 Linux 系统相同( CentOS 7.9 )、内核版本相同(6.1.12),使用的是同一款 EP 外设,驱动程序也是同一份。

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.