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)
commit60842ef8128e7bf58c024814cd0dc14319232b6c
tree7f7579f8ca68d7bc2928f9c777836d53a716744d
parent226ba707744a51acb4244724e09caacb1d96aed9
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