OSDN Git Service

cdx: add MCDI protocol interface for firmware interaction
authorNipun Gupta <nipun.gupta@amd.com>
Mon, 13 Mar 2023 13:26:33 +0000 (18:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2023 10:26:32 +0000 (12:26 +0200)
commiteb96b740192b2a09720aaed8a8c132e6a29d5bdb
tree0b94313a670abd7ecbb9285b4d9525c0597f2df1
parentc47a88e1930fa0f2df8aaa643a5cc86bcf5812bf
cdx: add MCDI protocol interface for firmware interaction

The MCDI (Management CPU Driver Interface) is used as a
protocol to communicate with the RPU firmware. It has
pre-defined set of messages for different message exchanges
between APU and RPU.

Signed-off-by: Puneet Gupta <puneet.gupta@amd.com>
Signed-off-by: Nipun Gupta <nipun.gupta@amd.com>
Signed-off-by: Tarak Reddy <tarak.reddy@amd.com>
Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>
Tested-by: Nikhil Agarwal <nikhil.agarwal@amd.com>
Link: https://lore.kernel.org/r/20230313132636.31850-5-nipun.gupta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/cdx/Kconfig
drivers/cdx/Makefile
drivers/cdx/controller/Kconfig [new file with mode: 0644]
drivers/cdx/controller/Makefile [new file with mode: 0644]
drivers/cdx/controller/bitfield.h [new file with mode: 0644]
drivers/cdx/controller/mc_cdx_pcol.h [new file with mode: 0644]
drivers/cdx/controller/mcdi.c [new file with mode: 0644]
drivers/cdx/controller/mcdi.h [new file with mode: 0644]