In a pan, heat 2 tbsp oil. Add ½ tsp mustard seeds, a pinch of hing, ½ tsp urad dal, and ½ tsp chana dal. Sauté briefly.
Add a few curry leaves, 3 chopped green chilies, 1 tbsp chopped ginger, and 1 tbsp chopped garlic. Sauté well.
Add 3 medium-sized sliced onions and cook until they turn translucent.
Add 1 cup hot water and bring it to a boil. This step makes the masala soft and moist.
Add 3 medium-sized boiled and mashed potatoes, salt, ½ tsp turmeric powder, and a pinch of sugar. Mix well and cook until the water is absorbed.
Garnish with chopped coriander leaves and mix well.
Hotel-style dosa masala is ready.