]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: vmmouse - remove port reservation
authorSinclair Yeh <syeh@vmware.com>
Fri, 24 Jun 2016 00:37:34 +0000 (17:37 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 7 Mar 2017 00:56:22 +0000 (16:56 -0800)
commitd8c7d1b73c3a25d70844bc26f8118319a866f18a
treef761ec464b1738a7e38845fc33c1b31e88c7e65d
parent13aaee817fbadac3fdee663b6c75d8feb5a63731
Input: vmmouse - remove port reservation

Orabug: 25652572

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>
(cherry picked from commit 60842ef8128e7bf58c024814cd0dc14319232b6c)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/input/mouse/vmmouse.c