peci: Add core infrastructure
authorIwona Winiarska <iwona.winiarska@intel.com>
Tue, 8 Feb 2022 15:36:30 +0000 (16:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Feb 2022 07:04:43 +0000 (08:04 +0100)
commit6523d3b2ffa238ac033c34a726617061d6a744aa
tree9d38dab516e5ddd69fccbec568526b5812295138
parentac2743a7f6bd46106ec65320971add5605c0c3a1
peci: Add core infrastructure

Intel processors provide access for various services designed to support
processor and DRAM thermal management, platform manageability and
processor interface tuning and diagnostics.
Those services are available via the Platform Environment Control
Interface (PECI) that provides a communication channel between the
processor and the Baseboard Management Controller (BMC) or other
platform management device.

This change introduces PECI subsystem by adding the initial core module
and API for controller drivers.

Co-developed-by: Jason M Bills <jason.m.bills@linux.intel.com>
Co-developed-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Jason M Bills <jason.m.bills@linux.intel.com>
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
Link: https://lore.kernel.org/r/20220208153639.255278-5-iwona.winiarska@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
MAINTAINERS
drivers/Kconfig
drivers/Makefile
drivers/peci/Kconfig [new file with mode: 0644]
drivers/peci/Makefile [new file with mode: 0644]
drivers/peci/core.c [new file with mode: 0644]
drivers/peci/internal.h [new file with mode: 0644]
include/linux/peci.h [new file with mode: 0644]