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>
18 lines
715 B
Plaintext
18 lines
715 B
Plaintext
menu "Intel Speed Select Technology interface support"
|
|
depends on PCI
|
|
depends on X86_64 || COMPILE_TEST
|
|
|
|
config INTEL_SPEED_SELECT_INTERFACE
|
|
tristate "Intel(R) Speed Select Technology interface drivers"
|
|
help
|
|
This config enables the Intel(R) Speed Select Technology interface
|
|
drivers. The Intel(R) speed select technology features are non
|
|
architectural and only supported on specific Xeon(R) servers.
|
|
These drivers provide interface to directly communicate with hardware
|
|
via MMIO and Mail boxes to enumerate and control all the speed select
|
|
features.
|
|
|
|
Enable this config, if there is a need to enable and control the
|
|
Intel(R) Speed Select Technology features from the user space.
|
|
endmenu
|