linux/tools/power/x86/intel-speed-select
Srinivas Pandruvada 95f8e56945 tools/power/x86/intel-speed-select: Kernel interface error handling
Treat a case when mailbox/mmio command can't be handled by the kernel
drivers when the module is removed or send a command which no driver can
handle. In this case ENOTTY result is returned, so print error.

Also when the isst_if_mmio module is removed, we can't send CLOS message
messages via Mailbox on non SKX based platforms. When this module is
removed,  isst_platform_info.mmio_supported is set to 0. So it can't be
used as a condition to send via mailbox. Here replace check for Skylake
based platform to send via mailbox, other platforms can't use mailbox in
lieu of MMIO.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2020-03-20 14:46:22 +02:00
..
.gitignore tools/power/x86/intel-speed-select: Add .gitignore file 2019-07-12 16:00:38 +03:00
Build
Makefile
isst-config.c tools/power/x86/intel-speed-select: Kernel interface error handling 2020-03-20 14:46:22 +02:00
isst-core.c tools/power/x86/intel-speed-select: Improve error display for turbo-freq feature 2020-03-20 14:46:22 +02:00
isst-display.c tools/power/x86/intel-speed-select: Improve error display for turbo-freq feature 2020-03-20 14:46:22 +02:00
isst.h tools/power/x86/intel-speed-select: Improve error display for turbo-freq feature 2020-03-20 14:46:22 +02:00