Turkey's peace deal with PKK came under immense pressure from kurds themselves especially KRG whom are economically tied with Turkey now . After the brutal civil war in Syria and the atrocities kurds faced from Both Assad soldiers and Salafi extremists they realized that they would be much better off dealing with Turkey rather than allying themselves with sectarian extremist sunni Arabs and the crazy Iranian clown mullas
Iraq itself will cease to exist after Assad falls , most of central Iraq want to have their own confederation similar to the KRG and Malki will be left with southern Iraq. This was the American plan from beginning , divide Iraq into three federal states . The Sunni Arabs , Turkmens and Kurds in Iraq are allied with Turkey while Shia Arabs are with Iran .
In the Future simply there will be 2 entities Arab Sunni state in central Iraq and the KRG in the north both tied with Turkey while southern Iraq will be isolated relying on a bankrupt Isolated Iran . Central Iraq shares more than 1000 km of border line with Saudi Arabia thus giving Turkey direct land access to the gulf .