mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
07c455ee22
For this cycle we have quite an update for the Dell SMBIOS driver including WMI work to provide an interface for SMBIOS tokens via sysfs and WMI support for 2017+ Dell laptop models. SMM dispatcher code is split into a separate driver followed by a new WMI dispatcher. The latter provides a character device interface to user space. The pull request contains a merge of immutable branch from Wolfram Sang in order to apply a dependent fix to the Intel CherryTrail Battery Management driver. Other Intel drivers got a lot of cleanups. The Turbo Boost Max 3.0 support is added for Intel Skylake. Peaq WMI hotkeys driver gets its own maintainer and white list of supported models. Silead DMI is expanded to support few additional platforms. Tablet mode via GMMS ACPI method is added to support some ThinkPad tablets. Two commits appear here which were previously merged during the v4.14-rcX cycle: -d7ca5ebf24
platform/x86: intel_pmc_ipc: Use devm_* calls in driver probe function -e3075fd6f8
platform/x86: intel_pmc_ipc: Use spin_lock to protect GCR updates Add driver to force WMI Thunderbolt controller power status: - Add driver to force WMI Thunderbolt controller power status asus-wmi: - Add lightbar led support dell-laptop: - Allocate buffer before rfkill use dell-smbios: - fix string overflow - Add filtering support - Introduce dispatcher for SMM calls - Add a sysfs interface for SMBIOS tokens - only run if proper oem string is detected - Prefix class/select with cmd_ - Add pr_fmt definition to driver dell-smbios-smm: - test for WSMT dell-smbios-wmi: - release mutex lock on WMI call failure - introduce userspace interface - Add new WMI dispatcher driver dell-smo8800: - remove redundant assignments to byte_data dell-wmi: - don't check length returned - clean up wmi descriptor check - increase severity of some failures - Do not match on descriptor GUID modalias - Label driver as handling notifications dell-*wmi*: - Relay failed initial probe to dependent drivers dell-wmi-descriptor: - check if memory was allocated - split WMI descriptor into it's own driver fujitsu-laptop: - Fix radio LED detection - Don't oops when FUJ02E3 is not presnt hp_accel: - Add quirk for HP ProBook 440 G4 hp-wmi: - Fix tablet mode detection for convertibles ideapad-laptop: - Add Lenovo Yoga 920-13IKB to no_hw_rfkill dmi list intel_cht_int33fe: - Update fusb302 type string, add properties - make a couple of local functions static - Work around BIOS bug on some devices intel-hid: - Power button suspend on Dell Latitude 7275 intel_ips: - Convert timers to use timer_setup() - Remove FSF address from GPL notice - Remove unneeded fields and label - Keep pointer to struct device - Use PCI_VDEVICE() macro - Switch to new PCI IRQ allocation API - Simplify error handling via devres API intel_pmc_ipc: - Revert Use MFD framework to create dependent devices - Use MFD framework to create dependent devices - Use spin_lock to protect GCR updates - Use devm_* calls in driver probe function intel_punit_ipc: - Fix resource ioremap warning intel_telemetry: - Remove useless default in Kconfig - Add needed inclusion - cleanup redundant headers - Fix typos - Fix load failure info intel_telemetry_debugfs: - Use standard ARRAY_SIZE() macro intel_turbo_max_3: - Add Skylake platform intel-wmi-thunderbolt: - Silence error cases MAINTAINERS: - Add entry for the PEAQ WMI hotkeys driver mlx-platform: - make a couple of structures static peaq_wmi: - Fix missing terminating entry for peaq_dmi_table peaq-wmi: - Remove unnecessary checks from peaq_wmi_exit - Add DMI check before binding to the WMI interface - Revert Blacklist Lenovo ideapad 700-15ISK - Blacklist Lenovo ideapad 700-15ISK silead_dmi: - Add silead, home-button property to some tablets - Add entry for the Digma e200 tablet - Fix GP-electronic T701 entry - Add entry for the Chuwi Hi8 Pro tablet sony-laptop: - Drop variable assignment in sony_nc_setup_rfkill() - Fix error handling in sony_nc_setup_rfkill() thinkpad_acpi: - Implement tablet mode using GMMS method tools/wmi: - add a sample for dell smbios communication over WMI wmi: - release mutex on module acquistion failure - create userspace interface for drivers - Don't allow drivers to get each other's GUIDs - Add new method wmidev_evaluate_method - Destroy on cleanup rather than unregister - Cleanup exit routine in reverse order of init - Sort include list -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEhiZOUlnC9oKN3n3AmT3/83c5Sy0FAloQcs0ACgkQmT3/83c5 Sy2agQ//WJirmlqR4WMSDynq0w/rKomx7qMZvabbIxFc7n5beCUrlc61lt4x/cPN 0HrdkNcYvkW21j8q/Lk5RDlK45JLZLgtDb1rIGjx8Pkf+EXyKwNb4UtqaZuwZRN6 nVnSGAdShF6f4OqVQU+ZuRr2nQvBlK4OyopKuRaq0kuejJjMLq1sc7VNidvb9zdj w4zfhh8RQ2KV3NK8g0k/uQu573Y+tCDUQvxQj5YIgC4RWbv4ZTuZD1Hbjc3Vdy9+ z0RvrUBCikM0CTqVyXn/ncgiMnAj6oeLdB76F1dlaIaAH/WtisEWr3hLWHskdJwW N+qGBB0K72gUHwr4Ck4x2s/S76XeiFYD0BeHL3ODn6ZlKoh7gV2NVwYFDNQHd+uc MXN9Xzs3lRkiDFyoXbtBG0wZRn2rS1rhGSYDYQUKg8Qf7MirwEVdYA0CZKeXAA78 2V29FNdvUmWiL/ZiA/2peeuUTWgPdzENDLHXzE/jOCGBS2/pL4znYv2ZSJ+HIeyW oCVMxasSI3pMLxCU8KxgA1QwrbDoiFTYYXCa1Ighq9o2ZEoy7Ub1XmpBB9HKHby7 K6zQcCYcf+SyscIqvu50ZImZ8nt5FnIdPSrTOX/FMM0Niv42mfKwD+UniG+P5K1z OLCIEm74NE9jRjzxuW5E1DSo56gJHUbxxy1rOFzgJnGQ+CAVXKo= =upqs -----END PGP SIGNATURE----- Merge tag 'platform-drivers-x86-v4.15-1' of git://git.infradead.org/linux-platform-drivers-x86 Pull x86 platform driver updates from Andy Shevchenko: "Here is the collected material against Platform Drivers x86 subsystem. It's rather bit busy cycle for PDx86, mostly due to Dell SMBIOS driver activity For this cycle we have quite an update for the Dell SMBIOS driver including WMI work to provide an interface for SMBIOS tokens via sysfs and WMI support for 2017+ Dell laptop models. SMM dispatcher code is split into a separate driver followed by a new WMI dispatcher. The latter provides a character device interface to user space. The git history also contains a merge of immutable branch from Wolfram Sang in order to apply a dependent fix to the Intel CherryTrail Battery Management driver. Other Intel drivers got a lot of cleanups. The Turbo Boost Max 3.0 support is added for Intel Skylake. Peaq WMI hotkeys driver gets its own maintainer and white list of supported models. Silead DMI is expanded to support few additional platforms. Tablet mode via GMMS ACPI method is added to support some ThinkPad tablets. new driver: - Add driver to force WMI Thunderbolt controller power status asus-wmi: - Add lightbar led support dell-laptop: - Allocate buffer before rfkill use dell-smbios: - fix string overflow - Add filtering support - Introduce dispatcher for SMM calls - Add a sysfs interface for SMBIOS tokens - only run if proper oem string is detected - Prefix class/select with cmd_ - Add pr_fmt definition to driver dell-smbios-smm: - test for WSMT dell-smbios-wmi: - release mutex lock on WMI call failure - introduce userspace interface - Add new WMI dispatcher driver dell-smo8800: - remove redundant assignments to byte_data dell-wmi: - don't check length returned - clean up wmi descriptor check - increase severity of some failures - Do not match on descriptor GUID modalias - Label driver as handling notifications dell-*wmi*: - Relay failed initial probe to dependent drivers dell-wmi-descriptor: - check if memory was allocated - split WMI descriptor into it's own driver fujitsu-laptop: - Fix radio LED detection - Don't oops when FUJ02E3 is not presnt hp_accel: - Add quirk for HP ProBook 440 G4 hp-wmi: - Fix tablet mode detection for convertibles ideapad-laptop: - Add Lenovo Yoga 920-13IKB to no_hw_rfkill dmi list intel_cht_int33fe: - Update fusb302 type string, add properties - make a couple of local functions static - Work around BIOS bug on some devices intel-hid: - Power button suspend on Dell Latitude 7275 intel_ips: - Convert timers to use timer_setup() - Remove FSF address from GPL notice - Remove unneeded fields and label - Keep pointer to struct device - Use PCI_VDEVICE() macro - Switch to new PCI IRQ allocation API - Simplify error handling via devres API intel_pmc_ipc: - Revert Use MFD framework to create dependent devices - Use MFD framework to create dependent devices - Use spin_lock to protect GCR updates - Use devm_* calls in driver probe function intel_punit_ipc: - Fix resource ioremap warning intel_telemetry: - Remove useless default in Kconfig - Add needed inclusion - cleanup redundant headers - Fix typos - Fix load failure info intel_telemetry_debugfs: - Use standard ARRAY_SIZE() macro intel_turbo_max_3: - Add Skylake platform intel-wmi-thunderbolt: - Silence error cases mlx-platform: - make a couple of structures static peaq_wmi: - Fix missing terminating entry for peaq_dmi_table peaq-wmi: - Remove unnecessary checks from peaq_wmi_exit - Add DMI check before binding to the WMI interface - Revert Blacklist Lenovo ideapad 700-15ISK - Blacklist Lenovo ideapad 700-15ISK silead_dmi: - Add silead, home-button property to some tablets - Add entry for the Digma e200 tablet - Fix GP-electronic T701 entry - Add entry for the Chuwi Hi8 Pro tablet sony-laptop: - Drop variable assignment in sony_nc_setup_rfkill() - Fix error handling in sony_nc_setup_rfkill() thinkpad_acpi: - Implement tablet mode using GMMS method tools/wmi: - add a sample for dell smbios communication over WMI wmi: - release mutex on module acquistion failure - create userspace interface for drivers - Don't allow drivers to get each other's GUIDs - Add new method wmidev_evaluate_method - Destroy on cleanup rather than unregister - Cleanup exit routine in reverse order of init - Sort include list" * tag 'platform-drivers-x86-v4.15-1' of git://git.infradead.org/linux-platform-drivers-x86: (74 commits) platform/x86: silead_dmi: Add silead, home-button property to some tablets platform/x86: dell-laptop: Allocate buffer before rfkill use platform/x86: dell-*wmi*: Relay failed initial probe to dependent drivers platform/x86: dell-wmi-descriptor: check if memory was allocated platform/x86: Revert intel_pmc_ipc: Use MFD framework to create dependent devices platform/x86: dell-smbios-wmi: release mutex lock on WMI call failure platform/x86: wmi: release mutex on module acquistion failure platform/x86: dell-smbios: fix string overflow platform/x86: intel_pmc_ipc: Use MFD framework to create dependent devices platform/x86: intel_punit_ipc: Fix resource ioremap warning platform/x86: dell-smo8800: remove redundant assignments to byte_data platform/x86: hp-wmi: Fix tablet mode detection for convertibles platform/x86: intel_ips: Convert timers to use timer_setup() platform/x86: sony-laptop: Drop variable assignment in sony_nc_setup_rfkill() platform/x86: sony-laptop: Fix error handling in sony_nc_setup_rfkill() tools/wmi: add a sample for dell smbios communication over WMI platform/x86: dell-smbios-wmi: introduce userspace interface platform/x86: wmi: create userspace interface for drivers platform/x86: dell-smbios: Add filtering support platform/x86: dell-smbios-smm: test for WSMT ...
180 lines
5.4 KiB
Makefile
180 lines
5.4 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Some of the tools (perf) use same make variables
|
|
# as in kernel build.
|
|
export srctree=
|
|
export objtree=
|
|
|
|
include scripts/Makefile.include
|
|
|
|
help:
|
|
@echo 'Possible targets:'
|
|
@echo ''
|
|
@echo ' acpi - ACPI tools'
|
|
@echo ' cgroup - cgroup tools'
|
|
@echo ' cpupower - a tool for all things x86 CPU power'
|
|
@echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
|
|
@echo ' freefall - laptop accelerometer program for disk protection'
|
|
@echo ' gpio - GPIO tools'
|
|
@echo ' hv - tools used when in Hyper-V clients'
|
|
@echo ' iio - IIO tools'
|
|
@echo ' kvm_stat - top-like utility for displaying kvm statistics'
|
|
@echo ' leds - LEDs tools'
|
|
@echo ' liblockdep - user-space wrapper for kernel locking-validator'
|
|
@echo ' bpf - misc BPF tools'
|
|
@echo ' perf - Linux performance measurement and analysis tool'
|
|
@echo ' selftests - various kernel selftests'
|
|
@echo ' spi - spi tools'
|
|
@echo ' objtool - an ELF object analysis tool'
|
|
@echo ' tmon - thermal monitoring and tuning tool'
|
|
@echo ' turbostat - Intel CPU idle stats and freq reporting tool'
|
|
@echo ' usb - USB testing tools'
|
|
@echo ' virtio - vhost test module'
|
|
@echo ' vm - misc vm tools'
|
|
@echo ' wmi - WMI interface examples'
|
|
@echo ' x86_energy_perf_policy - Intel energy policy tool'
|
|
@echo ''
|
|
@echo 'You can do:'
|
|
@echo ' $$ make -C tools/ <tool>_install'
|
|
@echo ''
|
|
@echo ' from the kernel command line to build and install one of'
|
|
@echo ' the tools above'
|
|
@echo ''
|
|
@echo ' $$ make tools/all'
|
|
@echo ''
|
|
@echo ' builds all tools.'
|
|
@echo ''
|
|
@echo ' $$ make tools/install'
|
|
@echo ''
|
|
@echo ' installs all tools.'
|
|
@echo ''
|
|
@echo 'Cleaning targets:'
|
|
@echo ''
|
|
@echo ' all of the above with the "_clean" string appended cleans'
|
|
@echo ' the respective build directory.'
|
|
@echo ' clean: a summary clean target to clean _all_ folders'
|
|
|
|
acpi: FORCE
|
|
$(call descend,power/$@)
|
|
|
|
cpupower: FORCE
|
|
$(call descend,power/$@)
|
|
|
|
cgroup firewire hv guest spi usb virtio vm bpf iio gpio objtool leds wmi: FORCE
|
|
$(call descend,$@)
|
|
|
|
liblockdep: FORCE
|
|
$(call descend,lib/lockdep)
|
|
|
|
libapi: FORCE
|
|
$(call descend,lib/api)
|
|
|
|
# The perf build does not follow the descend function setup,
|
|
# invoking it via it's own make rule.
|
|
PERF_O = $(if $(O),$(O)/tools/perf,)
|
|
|
|
perf: FORCE
|
|
$(Q)mkdir -p $(PERF_O) .
|
|
$(Q)$(MAKE) --no-print-directory -C perf O=$(PERF_O) subdir=
|
|
|
|
selftests: FORCE
|
|
$(call descend,testing/$@)
|
|
|
|
turbostat x86_energy_perf_policy: FORCE
|
|
$(call descend,power/x86/$@)
|
|
|
|
tmon: FORCE
|
|
$(call descend,thermal/$@)
|
|
|
|
freefall: FORCE
|
|
$(call descend,laptop/$@)
|
|
|
|
kvm_stat: FORCE
|
|
$(call descend,kvm/$@)
|
|
|
|
all: acpi cgroup cpupower gpio hv firewire liblockdep \
|
|
perf selftests spi turbostat usb \
|
|
virtio vm bpf x86_energy_perf_policy \
|
|
tmon freefall iio objtool kvm_stat wmi
|
|
|
|
acpi_install:
|
|
$(call descend,power/$(@:_install=),install)
|
|
|
|
cpupower_install:
|
|
$(call descend,power/$(@:_install=),install)
|
|
|
|
cgroup_install firewire_install gpio_install hv_install iio_install perf_install spi_install usb_install virtio_install vm_install bpf_install objtool_install wmi_install:
|
|
$(call descend,$(@:_install=),install)
|
|
|
|
liblockdep_install:
|
|
$(call descend,lib/lockdep,install)
|
|
|
|
selftests_install:
|
|
$(call descend,testing/$(@:_install=),install)
|
|
|
|
turbostat_install x86_energy_perf_policy_install:
|
|
$(call descend,power/x86/$(@:_install=),install)
|
|
|
|
tmon_install:
|
|
$(call descend,thermal/$(@:_install=),install)
|
|
|
|
freefall_install:
|
|
$(call descend,laptop/$(@:_install=),install)
|
|
|
|
kvm_stat_install:
|
|
$(call descend,kvm/$(@:_install=),install)
|
|
|
|
install: acpi_install cgroup_install cpupower_install gpio_install \
|
|
hv_install firewire_install iio_install liblockdep_install \
|
|
perf_install selftests_install turbostat_install usb_install \
|
|
virtio_install vm_install bpf_install x86_energy_perf_policy_install \
|
|
tmon_install freefall_install objtool_install kvm_stat_install \
|
|
wmi_install
|
|
|
|
acpi_clean:
|
|
$(call descend,power/acpi,clean)
|
|
|
|
cpupower_clean:
|
|
$(call descend,power/cpupower,clean)
|
|
|
|
cgroup_clean hv_clean firewire_clean spi_clean usb_clean virtio_clean vm_clean wmi_clean bpf_clean iio_clean gpio_clean objtool_clean leds_clean:
|
|
$(call descend,$(@:_clean=),clean)
|
|
|
|
liblockdep_clean:
|
|
$(call descend,lib/lockdep,clean)
|
|
|
|
libapi_clean:
|
|
$(call descend,lib/api,clean)
|
|
|
|
libbpf_clean:
|
|
$(call descend,lib/bpf,clean)
|
|
|
|
libsubcmd_clean:
|
|
$(call descend,lib/subcmd,clean)
|
|
|
|
perf_clean:
|
|
$(Q)mkdir -p $(PERF_O) .
|
|
$(Q)$(MAKE) --no-print-directory -C perf O=$(PERF_O) subdir= clean
|
|
|
|
selftests_clean:
|
|
$(call descend,testing/$(@:_clean=),clean)
|
|
|
|
turbostat_clean x86_energy_perf_policy_clean:
|
|
$(call descend,power/x86/$(@:_clean=),clean)
|
|
|
|
tmon_clean:
|
|
$(call descend,thermal/tmon,clean)
|
|
|
|
freefall_clean:
|
|
$(call descend,laptop/freefall,clean)
|
|
|
|
build_clean:
|
|
$(call descend,build,clean)
|
|
|
|
clean: acpi_clean cgroup_clean cpupower_clean hv_clean firewire_clean \
|
|
perf_clean selftests_clean turbostat_clean spi_clean usb_clean virtio_clean \
|
|
vm_clean bpf_clean iio_clean x86_energy_perf_policy_clean tmon_clean \
|
|
freefall_clean build_clean libbpf_clean libsubcmd_clean liblockdep_clean \
|
|
gpio_clean objtool_clean leds_clean wmi_clean
|
|
|
|
.PHONY: FORCE
|