powerpc/powernv: Functions to get/set PCI slot state