to saute and grind: heat oil in a pan and add cinnamon, cloves, coriander, cumin seeds, pepper corns, onions, green chilli and curry leaves.
fry until transparent. add grated coconut, poppy seeds and fry for a minute.
lastly add turmeric powder and mix well. cool and grind it to a fine paste.
for the curry: heat oil in the pan and crackle mustard seeds.
add curry leaves and chopped onions and add crushed ginger and garlic.
fry until raw smell leaves.
further add tomatoes and fry for a minute.
after a minute, add mushrooms and fry for a minute again.
furthermore, add prepared masala, 1.5-2 cups water, salt, turmeric powder and mix well.
close and cook for 10 - 15 minutes on high heat.
open and add chopped coriander leaves. mix once and serve hot with idli /dosa.