Lines Matching +full:num +full:- +full:cs
40 * Any cs info it has will not be used - we will reconstruct cs info.
41 * This is because cs is not in the topology used for diagnosis.
48 uint64_t num, holesz; in mcamd_unumtopa() local
51 "mc %d dimm %d offset 0x%llx\n", unump->unum_chip, unump->unum_mc, in mcamd_unumtopa()
52 unump->unum_dimms[0], unump->unum_offset); in mcamd_unumtopa()
54 if (!MCAMD_RC_OFFSET_VALID(unump->unum_offset)) { in mcamd_unumtopa()
67 mc, MCAMD_PROP_NUM, &num, in mcamd_unumtopa()
71 "failed to lookup num, dramhole for MC 0x%p\n", mc); in mcamd_unumtopa()
74 if (num == unump->unum_chip) in mcamd_unumtopa()
79 "no match for MC %d\n", unump->unum_chip); in mcamd_unumtopa()
85 * first dimm in the unum - if there is more than one they all in mcamd_unumtopa()
86 * share the same chip-selects anyway and the pa we will resolve in mcamd_unumtopa()
87 * to is not finer grained than the 128-bits of a dimm pair. in mcamd_unumtopa()
91 if (!mcamd_get_numprop(hdl, dimm, MCAMD_PROP_NUM, &num)) { in mcamd_unumtopa()
93 "failed to lookup num for dimm 0xx%p\n", in mcamd_unumtopa()
97 if (num == unump->unum_dimms[0]) in mcamd_unumtopa()
102 "no match for dimm %d cs %d on MC %d\n", in mcamd_unumtopa()
103 unump->unum_dimms[0], unump->unum_cs, unump->unum_chip); in mcamd_unumtopa()
109 mc, dimm, unump->unum_offset); in mcamd_unumtopa()
111 if (mc_offset_to_pa(hdl, mc, dimm, unump->unum_offset, pa) < 0) { in mcamd_unumtopa()
114 return (-1); /* errno already set */ in mcamd_unumtopa()
126 if (*pa >= 0x100000000 - holesz) in mcamd_unumtopa()