Re: [PATCH] firmware: xilinx: Add TF_A_PM_REGISTER_SGI SMC call

From: Michal Simek
Date: Tue Jun 07 2022 - 05:19:26 EST




On 5/26/22 21:39, Tanmay Shah wrote:
SGI interrupt register and reset is performed by EEMI ioctl
IOCTL_REGISTER_SGI. However, this is not correct use of EEMI call.
SGI registration functionality does not qualify as energy management
activity and so shouldn't be mapped to EEMI call.

This new call will replace IOCTL_REGISTER_SGI and will be handled by TF-A
specific handler in TF-A. To maintain backward compatibility for a while
firmware driver will still use IOCTL_REGISTER_SGI as fallback strategy if
new call fails or is not supported by TF-A.

This new design also helps to make TF-A as pass through layer for EEMI
calls. So we don't have to maintain PM_IOCTL as EEMI API ID in TF-A.

here should be newline.

Signed-off-by: Tanmay Shah <tanmay.shah@xxxxxxxxxx>

Other then this:
Acked-by: Michal Simek <michal.simek@xxxxxxx>

Thanks,
Michal