Drivers: hv: vmbus: Don't assign VMbus channel interrupts to isolated CPUs
authorSaurabh Sengar <ssengar@linux.microsoft.com>
Fri, 27 May 2022 07:43:59 +0000 (00:43 -0700)
committerWei Liu <wei.liu@kernel.org>
Wed, 8 Jun 2022 12:24:50 +0000 (12:24 +0000)
commit6640b5df1a38801be6d0595c8cd2177d968d7ee0
tree62b47d77d8479f5a447ec60f674e9ff2d0cd131d
parentf2906aa863381afb0015a9eb7fefad885d4e5a56
Drivers: hv: vmbus: Don't assign VMbus channel interrupts to isolated CPUs

When initially assigning a VMbus channel interrupt to a CPU, don’t choose
a managed IRQ isolated CPU (as specified on the kernel boot line with
parameter 'isolcpus=managed_irq,<#cpu>'). Also, when using sysfs to change
the CPU that a VMbus channel will interrupt, don't allow changing to a
managed IRQ isolated CPU.

Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1653637439-23060-1-git-send-email-ssengar@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/channel_mgmt.c
drivers/hv/vmbus_drv.c