Magnetic phase diagram of MnSi