memory: dfl-emif: add the DFL EMIF private feature driver
authorXu Yilun <yilun.xu@intel.com>
Thu, 7 Jan 2021 04:37:14 +0000 (20:37 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jan 2021 14:21:27 +0000 (15:21 +0100)
commit477dfdccfcae4665f073260446199933369cd50e
tree8ab7cdca5bd6e7f3eea342f6b1cc3aaab2eed221
parent56172ab35338e3bb13c6bff65dea96b12e8c41ea
memory: dfl-emif: add the DFL EMIF private feature driver

This driver is for the EMIF private feature implemented under FPGA
Device Feature List (DFL) framework. It is used to expose memory
interface status information as well as memory clearing control.

The purpose of memory clearing block is to zero out all private memory
when FPGA is to be reprogrammed. This gives users a reliable method to
prevent potential data leakage.

[mdf@kernel.org: Fixed up ABI doc]

Reviewed-by: Tom Rix <trix@redhat.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Russ Weight <russell.h.weight@intel.com>
Link: https://lore.kernel.org/r/20210107043714.991646-9-mdf@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-dfl-devices-emif [new file with mode: 0644]
drivers/memory/Kconfig
drivers/memory/Makefile
drivers/memory/dfl-emif.c [new file with mode: 0644]