[PATCH v2 6/6] PCI: hv: fix 2 hang issues in hv_compose_msi_msg()

2018-03-05 Thread Dexuan Cui
1. With the patch "x86/vector/msi: Switch to global reservation mode" (4900be8360), the recent v4.15 and newer kernels always hang for 1-vCPU Hyper-V VM with SR-IOV. This is because when we reach hv_compose_msi_msg() by request_irq() -> request_threaded_irq() -> __setup_irq()->irq_startup() ->

[PATCH v2 6/6] PCI: hv: fix 2 hang issues in hv_compose_msi_msg()

2018-03-05 Thread Dexuan Cui
1. With the patch "x86/vector/msi: Switch to global reservation mode" (4900be8360), the recent v4.15 and newer kernels always hang for 1-vCPU Hyper-V VM with SR-IOV. This is because when we reach hv_compose_msi_msg() by request_irq() -> request_threaded_irq() -> __setup_irq()->irq_startup() ->