Mahindra & Mahindra has reported a surge in its second quarter profits on the back of a strong performance at both its automotive and farming divisions.