]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
platform/x86: dell-smbios-wmi: Disable userspace interface if missing hotfix
authorMario Limonciello <mario.limonciello@dell.com>
Fri, 17 Nov 2017 04:13:12 +0000 (22:13 -0600)
committerDarren Hart (VMware) <dvhart@infradead.org>
Mon, 20 Nov 2017 20:38:43 +0000 (12:38 -0800)
commit4255c30fe88ee3cc99bbeac7974db27e4217a497
tree4950a7b7da05a1b76e52ba02278fab796faf302b
parentaaa40965d2342137d756121993c395e2a7463a8d
platform/x86: dell-smbios-wmi: Disable userspace interface if missing hotfix

The Dell SMBIOS WMI interface will fail for some more complex calls unless
a WMI hotfix has been included.  Most platforms have this fix available in
a maintenance BIOS release.  In the case the driver is loaded on a
platform without this fix, disable the userspace interface.

A hotfix indicator is present in the dell-wmi-descriptor that represents
whether or not more complex calls will work properly.

"Simple" calls such as those used by dell-laptop and dell-wmi will continue
to work properly so dell-smbios-wmi should not be blocked from binding and
being used as the dell-smbios dispatcher.

Suggested-by: Girish Prakash <girish.prakash@dell.com>
Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/dell-smbios-wmi.c
drivers/platform/x86/dell-wmi-descriptor.c
drivers/platform/x86/dell-wmi-descriptor.h