Iranian state media say Mr. Erdogan raised Iraq 's security situation during the talks .