]> git.ipfire.org Git - thirdparty/linux.git/commit
firmware: xilinx: Add missing debug firmware interfaces
authorRonak Jain <ronak.jain@amd.com>
Tue, 30 Jul 2024 08:43:42 +0000 (01:43 -0700)
committerMichal Simek <michal.simek@amd.com>
Wed, 2 Oct 2024 07:15:30 +0000 (09:15 +0200)
commit848f2bbb363d4cdb4202db328a103fd3c34e21a2
tree6a7451e099377491a0e8b284ea56ab19f3d1f861
parent44ed4f90a97ff6f339e50ac01db71544e0990efc
firmware: xilinx: Add missing debug firmware interfaces

Add missing PM EEMI APIs interface in debug firmware driver.

The debugfs firmware driver interface is intended for testing and
debugging the EEMI APIs only. This interface does not contain any
checking regarding improper usage, and the number, type and valid
ranges of the arguments. This interface must be used with a lot of
care. In fact, accessing this interface during normal PM operation
will very likely cause unexpected problems.

The debugfs interface shouldn't be used in the production system and
hence it is disabled by default in defconfig.

Signed-off-by: Ronak Jain <ronak.jain@amd.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20240730084342.1683231-1-ronak.jain@amd.com
drivers/firmware/xilinx/zynqmp-debug.c
include/linux/firmware/xlnx-zynqmp.h