]> git.baikalelectronics.ru Git - kernel.git/commit
Input: vmmouse - remove port reservation
authorSinclair Yeh <syeh@vmware.com>
Fri, 24 Jun 2016 00:37:34 +0000 (17:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 24 Jun 2016 00:41:18 +0000 (17:41 -0700)
commit623928ef5d98de7a2ff080e444aa7d89d6da4a9c
tree7f7579f8ca68d7bc2928f9c777836d53a716744d
parentb0da355f1d2fbc272525736086c151c9829b1fa4
Input: vmmouse - remove port reservation

The VMWare EFI BIOS will expose port 0x5658 as an ACPI resource.  This
causes the port to be reserved by the APCI module as the system comes up,
making it unavailable to be reserved again by other drivers, thus
preserving this VMWare port for special use in a VMWare guest.

This port is designed to be shared among multiple VMWare services, such as
the VMMOUSE.  Because of this, VMMOUSE should not try to reserve this port
on its own.

The VMWare non-EFI BIOS does not do this to preserve compatibility with
existing/legacy VMs.  It is known that there is small chance a VM may be
configured such that these ports get reserved by other non-VMWare devices,
and if this ever happens, the result is undefined.

Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Cc: <stable@vger.kernel.org> # 4.1-
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/vmmouse.c