OSDN Git Service

platform/x86: dell-smbios-smm: test for WSMT
authorMario Limonciello <mario.limonciello@dell.com>
Wed, 1 Nov 2017 19:25:33 +0000 (14:25 -0500)
committerDarren Hart (VMware) <dvhart@infradead.org>
Fri, 3 Nov 2017 23:33:59 +0000 (16:33 -0700)
commitda1f607ed6e6a904463396bb6a28bf96584c61cc
tree393d0d966e034f03f017f64f34c54441a4ddbfc5
parent1a258e670434f404a4500b65ba1afea2c2b29bba
platform/x86: dell-smbios-smm: test for WSMT

WSMT is as an attestation to the OS that the platform won't
modify memory outside of pre-defined areas.

If a platform has WSMT enabled in BIOS setup, SMM calls through
dcdbas will fail.  The only way to access platform data in these
instances is through the WMI SMBIOS calling interface.

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>
drivers/platform/x86/dell-smbios-smm.c
drivers/platform/x86/dell-smbios.h