CAST64
cvmx_bootmem_desc = cvmx_phys_to_ptr(CAST64(mem_desc_ptr));
ptr.sio.offset = CAST64(wqp);
if ((CAST64(ptr) >> 62) == 3)
return CAST64(ptr) & cvmx_build_mask(30);
return CAST64(ptr) & cvmx_build_mask(40);
pr_notice("PCIe: BIST FAILED for port %d (0x%016llx)\n", pcie_port, CAST64(pemx_bist_status.u64));
pr_notice("PCIe: BIST2 FAILED for port %d (0x%016llx)\n", pcie_port, CAST64(pemx_bist_status2.u64));
pcie_port, CAST64(pescx_bist_status.u64));