Question on basics of EMC
Typically a common mode choke will be used to prevent common-mode noise from any sort of switching power device from going upstream.

Notice however that the presence of a common mode choke will represent a high impedance for common-mode signals for a given loop, so in practice it's preventing noisy current from flowing on this entire loop, which may include many more elements.