mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-15 19:12:15 +00:00
In exploring the various return codes and failure modes of runtime PM APIs, I found it helpful to verify and codify many of them in unit tests, especially given that even the kerneldoc can be rather complex to reason through, and it also has had subtle errors of its own. Notably, I avoid testing the return codes for pm_runtime_put() and pm_runtime_put_autosuspend(), since code that checks them is probably wrong, and we're considering making them return 'void' altogether. I still test the sync() variants, since those have a bit more meaning to them. Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
10 lines
388 B
Makefile
10 lines
388 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_PM) += sysfs.o generic_ops.o common.o qos.o runtime.o wakeirq.o
|
|
obj-$(CONFIG_PM_SLEEP) += main.o wakeup.o wakeup_stats.o
|
|
obj-$(CONFIG_PM_TRACE_RTC) += trace.o
|
|
obj-$(CONFIG_HAVE_CLK) += clock_ops.o
|
|
obj-$(CONFIG_PM_QOS_KUNIT_TEST) += qos-test.o
|
|
obj-$(CONFIG_PM_RUNTIME_KUNIT_TEST) += runtime-test.o
|
|
|
|
ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
|