In this work, we conducted a numerical study on the cavitation flow around a circular cylinder through the implementation of a porous coating. The primary objective addressed the effectiveness of utilizing a porous surface to control cavitation. We analyzed the cavitation dynamics around the cylinder and the hydrodynamic performance at different permeability levels of the porous surfaces. The flow was governed by the density based homogeneous mixture model and the volume penalization method was used to deal with the porous layer. A high-order accurate numerical method was adopted for the simulation of the cavitating flow through solving the preconditioned multiphase equations. The results revealed that the application of porous layer led to effective suppression of the cavitation vortex shedding. In addition, a reduction of the shedding frequency was obtained which accompanied by thinner and elongated vortices in the wake region of the cylinder. With the proper porous layer, the inception of the cavitation on the cylinder was suppressed and the amplitude of pressure pulsations due to the cavitation shedding mechanism was mitigated.