Extensive modelling efforts of the plasma response to the resonant magnetic perturbation fields, utilized for controlling the edge localized mode (ELM), help to identify the edge-peeling response as a key factor, which correlates to the observed ELM mitigation in several tokamak devices, including MAST, ASDEX Upgrade, EAST, and HL-2A. The recently observed edge safety factor window for ELM mitigation in HL-2A experiments is explained in terms of the edge-peeling response. The computed plasma response, based on toroidal single fluid resistive plasma model with different assumption of toroidal flows, is found generally larger in ELM suppressed cases as compared to that of the ELM mitigated cases, in ASDEX Upgrade and DIII-D. The plasma shaping, in particular, the plasma triangularity, contributes to the enhanced plasma response. But the shaping does not appear to be the sole factor—other factors such as the (higher) pedestal pressure and/or current can also lead to increased edge-peeling response.