Re: [PATCH] toshiba_acpi: Add /dev/toshiba_acpi device
From: Darren Hart <dvhart@infradead.org>
Date: 2015-07-17 06:42:30
Also in:
lkml, platform-driver-x86
On Thu, Jul 16, 2015 at 05:32:44PM -0600, Azael Avalos wrote:
There were previous attempts to "merge" the toshiba SMM module to the toshiba_acpi one, they were trying to imitate what the old toshiba module does, however, some models (TOS1900 devices) come with a "crippled" implementation and do not provide all the "features" a "genuine" Toshiba BIOS does. This patch adds a new device called toshiba_acpi, which aim is to enable userspace to access the SMM on Toshiba laptops via ACPI calls. Creating a new convenience _IOWR command to access the SCI functions by opening/closing the SCI internally to avoid buggy BIOS, while at the same time providing backwards compatibility. Older programs who wish to access the SMM on newer models can do it without much code change, as the toshiba.h header was modified to reflect these changes as well as adds all the toshiba_acpi paths and commands. Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
This and the other 2 are queued to for-review. They will remain there for a few days to give others a chance to review. After that, I will provide a thorough review and move them into for-next for 4.3 They do pass all my preliminary tests, checkpatch, build, and ninja-check. As this is the first series that I've received since enabling a lot of new automation, I wanted to say thanks for clean series that is ready review. Nice. -- Darren Hart Intel Open Source Technology Center