platform/x86: dell-smbios-wmi: Add new WMI dispatcher driver
authorMario Limonciello <mario.limonciello@dell.com>
Wed, 1 Nov 2017 19:25:32 +0000 (14:25 -0500)
committerDarren Hart (VMware) <dvhart@infradead.org>
Fri, 3 Nov 2017 23:33:59 +0000 (16:33 -0700)
commit1a258e670434f404a4500b65ba1afea2c2b29bba
treef0bc6479ccd0b82a10b3eb1f4f459097f64010d7
parent549b4930f057658dc50d8010e66219233119a4d8
platform/x86: dell-smbios-wmi: Add new WMI dispatcher driver

The dell-smbios stack only currently uses an SMI interface which grants
direct access to physical memory to the firmware SMM methods via a pointer.

This dispatcher driver adds a WMI-ACPI interface that is detected by WMI
probe and preferred over the SMI interface in dell-smbios.

Changing this to operate over WMI-ACPI will use an ACPI OperationRegion
for a buffer of data storage when SMM calls are performed.

This is a safer approach to use in kernel drivers as the SMM will
only have access to that OperationRegion.

Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Reviewed-by: Edward O'Callaghan <quasisec@google.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
MAINTAINERS
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/dell-smbios-wmi.c [new file with mode: 0644]