summaryrefslogtreecommitdiff
path: root/drivers/misc/mic/cosm
diff options
context:
space:
mode:
authorNadav Amit <namit@vmware.com>2018-06-19 16:00:27 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-03 12:56:30 +0200
commitc3cc1b0fc27508da53fe955a3b23d03964410682 (patch)
tree93309a24bf0688812c2993f51fb7ae705109893c /drivers/misc/mic/cosm
parentce664331b2487a5d244a51cbdd8cb54f866fbe5d (diff)
vmw_balloon: fix VMCI use when balloon built into kernel
Currently, when all modules, including VMCI and VMware balloon are built into the kernel, the initialization of the balloon happens before the VMCI is probed. As a result, the balloon fails to initialize the VMCI doorbell, which it uses to get asynchronous requests for balloon size changes. The problem can be seen in the logs, in the form of the following message: "vmw_balloon: failed to initialize vmci doorbell" The driver would work correctly but slightly less efficiently, probing for requests periodically. This patch changes the balloon to be initialized using late_initcall() instead of module_init() to address this issue. It does not address a situation in which VMCI is built as a module and the balloon is built into the kernel. Fixes: 48e3d668b790 ("VMware balloon: Enable notification via VMCI") Cc: stable@vger.kernel.org Reviewed-by: Xavier Deguillard <xdeguillard@vmware.com> Signed-off-by: Nadav Amit <namit@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mic/cosm')
0 files changed, 0 insertions, 0 deletions