Mr. Erdogan 's visit coincides with an upsurge in violence blamed on the outlawed Kurdistan Workers Party said to be operating from bases in northern Iraq .