]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68e53019b3ecef2d930f054fe8120ad5eb660656
tree62b47d77d8479f5a447ec60f674e9ff2d0cd131d
parentf040cca4b0da0180bf9de9141ef5c95f60f85182
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