linux/drivers/platform/x86
Mario Limonciello 33b9ca1e53 platform/x86: dell-smbios: Add a sysfs interface for SMBIOS tokens
Currently userspace tools can access system tokens via the dcdbas
kernel module and a SMI call that will cause the platform to execute
SMM code.

With a goal in mind of deprecating the dcdbas kernel module a different
method for accessing these tokens from userspace needs to be created.

This is intentionally marked to only be readable as a process with
CAP_SYS_ADMIN as it can contain sensitive information about the
platform's configuration.

While adding this interface I found that some tokens are duplicated.
These need to be ignored from sysfs to avoid duplicate files.

MAINTAINERS was missing for this driver.  Add myself and Pali to
maintainers list for it.

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>
2017-11-03 16:33:59 -07:00
..
acer-wmi.c
acerhdf.c
alienware-wmi.c
amilo-rfkill.c
apple-gmux.c
asus-laptop.c
asus-nb-wmi.c
asus-wireless.c
asus-wmi.c platform/x86: asus-wmi: Add lightbar led support 2017-09-27 00:26:54 -07:00
asus-wmi.h
classmate-laptop.c
compal-laptop.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
dell-laptop.c
dell-rbtn.c
dell-rbtn.h
dell-smbios.c platform/x86: dell-smbios: Add a sysfs interface for SMBIOS tokens 2017-11-03 16:33:59 -07:00
dell-smbios.h platform/x86: dell-smbios: Prefix class/select with cmd_ 2017-11-03 16:33:57 -07:00
dell-smo8800.c
dell-wmi-aio.c
dell-wmi-descriptor.c platform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver 2017-11-03 16:33:58 -07:00
dell-wmi-descriptor.h platform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver 2017-11-03 16:33:58 -07:00
dell-wmi-led.c
dell-wmi.c platform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver 2017-11-03 16:33:58 -07:00
eeepc-laptop.c
eeepc-wmi.c
fujitsu-laptop.c platform/x86: fujitsu-laptop: Fix radio LED detection 2017-10-30 13:20:11 +02:00
fujitsu-tablet.c
hdaps.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
hp-wireless.c
hp-wmi.c platform/x86: hp-wmi: Remove unused macro helper 2017-08-13 15:26:54 +03:00
hp_accel.c platform/x86: hp_accel: Add quirk for HP ProBook 440 G4 2017-10-27 20:54:01 +03:00
ibm_rtl.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
ideapad-laptop.c platform/x86: ideapad-laptop: Add Lenovo Yoga 920-13IKB to no_hw_rfkill dmi list 2017-10-31 14:33:47 -07:00
intel-hid.c platform/x86: intel-hid: Power button suspend on Dell Latitude 7275 2017-09-22 16:49:47 -07:00
intel-rst.c
intel-smartconnect.c
intel-vbtn.c platform/x86: intel-vbtn: reduce unnecessary messages for normal users 2017-08-18 16:23:15 -07:00
intel-wmi-thunderbolt.c platform/x86: intel-wmi-thunderbolt: Silence error cases 2017-09-22 15:08:19 -07:00
intel_bxtwc_tmu.c
intel_cht_int33fe.c platform/x86: intel_cht_int33fe: Update fusb302 type string, add properties 2017-11-03 13:52:28 +02:00
intel_int0002_vgpio.c
intel_ips.c platform/x86: intel_ips: Remove FSF address from GPL notice 2017-10-08 21:07:15 +03:00
intel_ips.h platform/x86: intel_ips: Remove FSF address from GPL notice 2017-10-08 21:07:15 +03:00
intel_menlow.c
intel_mid_powerbtn.c platform/x86: intel_mid_powerbtn: make mid_pb_ddata const 2017-08-13 15:27:10 +03:00
intel_mid_thermal.c
intel_oaktrail.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
intel_pmc_core.c platform/x86: intel_pmc_core: Make the driver PCH family agnostic 2017-08-13 16:01:22 +03:00
intel_pmc_core.h platform/x86: intel_pmc_core: Make the driver PCH family agnostic 2017-08-13 16:01:22 +03:00
intel_pmc_ipc.c platform/x86: intel_pmc_ipc: Use spin_lock to protect GCR updates 2017-10-23 20:17:49 +03:00
intel_punit_ipc.c
intel_scu_ipc.c platform/x86: intel_scu_ipc: make intel_scu_ipc_pdata_t const 2017-08-13 15:27:10 +03:00
intel_scu_ipcutil.c
intel_telemetry_core.c platform/x86: intel_telemetry: cleanup redundant headers 2017-10-23 20:01:52 +03:00
intel_telemetry_debugfs.c platform/x86: intel_telemetry: cleanup redundant headers 2017-10-23 20:01:52 +03:00
intel_telemetry_pltdrv.c platform/x86: intel_telemetry: Add needed inclusion 2017-10-27 19:18:43 +03:00
intel_turbo_max_3.c platform/x86: intel_turbo_max_3: Add Skylake platform 2017-10-27 20:54:01 +03:00
Kconfig platform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver 2017-11-03 16:33:58 -07:00
Makefile platform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver 2017-11-03 16:33:58 -07:00
mlx-platform.c platform/x86: mlx-platform: make a couple of structures static 2017-10-16 13:45:07 -07:00
mlxcpld-hotplug.c
msi-laptop.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
msi-wmi.c
mxm-wmi.c platform/x86: mxm-wmi: Evaluate wmi method with instance number 0x0 2017-08-13 15:55:05 +03:00
panasonic-laptop.c
peaq-wmi.c platform/x86: peaq-wmi: Remove unnecessary checks from peaq_wmi_exit 2017-11-03 13:32:09 +02:00
pmc_atom.c
pvpanic.c
samsung-laptop.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
samsung-q10.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
silead_dmi.c platform/x86: silead_dmi: Add entry for the Digma e200 tablet 2017-11-03 13:32:09 +02:00
sony-laptop.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
surface3-wmi.c
surface3_button.c
surfacepro3_button.c
tc1100-wmi.c
thinkpad_acpi.c platform/x86: thinkpad_acpi: Implement tablet mode using GMMS method 2017-10-01 17:33:13 +03:00
topstar-laptop.c
toshiba-wmi.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
toshiba_acpi.c
toshiba_bluetooth.c
toshiba_haps.c
wmi-bmof.c
wmi.c platform/x86: wmi: Don't allow drivers to get each other's GUIDs 2017-11-03 16:33:58 -07:00
xo1-rfkill.c
xo15-ebook.c