partial update for gdt/pm switch
partial update for gdt/pm switch