mirror of
https://github.com/torvalds/linux.git
synced 2024-12-17 00:21:32 +00:00
35f2c14d2a
Encapsulate common functions which all Intel Speed Select Technology interface drivers can use. This creates API to register misc device for user kernel communication and handle all common IOCTLs. As part of the registry it allows a callback which is to handle domain specific ioctl processing. There can be multiple drivers register for services, which can be built as modules. So this driver handle contention during registry and as well as during removal. Once user space opened the misc device, the registered driver will be prevented from removal. Also once misc device is opened by the user space new client driver can't register, till the misc device is closed. There are two types of client drivers, one to handle mail box interface and the other is to allow direct read/write to some specific MMIO space. This common driver implements IOCTL ISST_IF_GET_PLATFORM_INFO. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
8 lines
194 B
Makefile
8 lines
194 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile - Intel Speed Select Interface drivers
|
|
# Copyright (c) 2019, Intel Corporation.
|
|
#
|
|
|
|
obj-$(CONFIG_INTEL_SPEED_SELECT_INTERFACE) += isst_if_common.o
|