Page MenuHomePhabricator

The Assert State for Checking PSCI_INVALID_DATA dose not work, dose it?
Closed, ResolvedPublic

Description

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

Event Timeline

ta9ya created this task.Apr 1 2021, 7:50 AM
ta9ya closed this task as Resolved.Apr 5 2021, 12:40 AM
ta9ya claimed this task.

I solved this issue by myself.
The assert state works normally.

Thank you.