We have an object of mass $m$ which can go through matter like a ghost. It's only affected by gravity, not by any other force, so it's in free fall.
At the instant $t=0$ it is at the surface of the Earth which is assumed to be a perfect sphere of radius $R=6.371 \times 10^6$ m, of mass $M=5.972 \times 10^{24}$ kg and of uniform density $\rho=5.515 \times 10^3$ kg/m$^3$. $G=6.674 \times 10^{-11}$ m$^3$ kg$^{-1}$ s$^{-2}$.
The object has an initial velocity $v_0$ directed precisely at the center of the Earth. Unlike previous questions the velocity need not be zero.
My question: depending on the variables $m$ and $v_0$, how much time will it take to reach the opposite side of the Earth?