[PATCH openEuler-1.0-LTS 15/30] psi: introduce state_mask to represent stalled psi states