提交 1f4305f7 编写于 作者: D Du Yilong 提交者: guzitao

sw64: kvm: expand the number of SWVM_IRQS

Sunway inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5PN9S

--------------------------------

As more devices are hot-plugged in a guest os, it will fail to respond
interrupts because of insufficient interrupt resource and appear to be
stuck.

To fix this issue, expand the maximum number of irq supported to 256.
Signed-off-by: NDu Yilong <duyilong@wxiat.com>
Signed-off-by: NGu Zitao <guzitao@wxiat.com>
上级 c5942a7f
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
/* /*
* KVM SW specific structures and definitions. * KVM SW specific structures and definitions.
*/ */
#define SWVM_IRQS 64 #define SWVM_IRQS 256
enum SW64_KVM_IRQ { enum SW64_KVM_IRQ {
SW64_KVM_IRQ_IPI = 27, SW64_KVM_IRQ_IPI = 27,
SW64_KVM_IRQ_TIMER = 9, SW64_KVM_IRQ_TIMER = 9,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册