Hello,
I'm using https://github.com/renesas-rcar/arm-trusted-firmware on M3W.
I think that the assert state on line 144 in the plat_pm_compat.c dose not work because the unsigned int powerstate value can not be negative that is same as PSCI_INVALID_DATA=-1.
I suggest that the powerstate should be changed to signed variable.
Regards