Lines Matching refs:uv_cpuid
53 } uv_cpuid; variable
103 uv_cpuid.m_skt = 0; in early_get_pnodeid()
108 uv_cpuid.n_skt = m_n_config.s.n_skt; in early_get_pnodeid()
109 uv_cpuid.nasid_shift = 0; in early_get_pnodeid()
114 uv_cpuid.n_skt = m_n_config.s.n_skt; in early_get_pnodeid()
116 uv_cpuid.m_skt = m_n_config.s3.m_skt; in early_get_pnodeid()
118 uv_cpuid.m_skt = m_n_config.s2.m_skt; in early_get_pnodeid()
119 uv_cpuid.nasid_shift = 1; in early_get_pnodeid()
125 uv_cpuid.n_skt = 0; in early_get_pnodeid()
126 uv_cpuid.nasid_shift = 0; in early_get_pnodeid()
130 uv_cpuid.gnode_shift = 2; /* min partition is 4 sockets */ in early_get_pnodeid()
132 uv_cpuid.pnode_mask = (1 << uv_cpuid.n_skt) - 1; in early_get_pnodeid()
133 pnode = (uv_node_id >> uv_cpuid.nasid_shift) & uv_cpuid.pnode_mask; in early_get_pnodeid()
134 uv_cpuid.gpa_shift = 46; /* Default unless changed */ in early_get_pnodeid()
137 uv_cpuid.n_skt, uv_cpuid.pnode_mask, pnode); in early_get_pnodeid()
281 uv_cpuid.apicid_shift = 0; in set_x2apic_bits()
282 uv_cpuid.apicid_mask = (~(-1 << sid_shift)); in set_x2apic_bits()
283 uv_cpuid.socketid_shift = sid_shift; in set_x2apic_bits()
293 pr_info("UV: apicid_shift:%d apicid_mask:0x%x\n", uv_cpuid.apicid_shift, uv_cpuid.apicid_mask); in early_get_apic_socketid_shift()
294 pr_info("UV: socketid_shift:%d pnode_mask:0x%x\n", uv_cpuid.socketid_shift, uv_cpuid.pnode_mask); in early_get_apic_socketid_shift()
1223 mnp->n_val = uv_cpuid.n_skt; in get_mn()
1230 mnp->m_val = uv_cpuid.m_skt; in get_mn()
1234 mnp->m_val = uv_cpuid.m_skt; in get_mn()
1247 (1UL << uv_cpuid.gpa_shift) - 1; in uv_init_hub_info()
1255 hi->pnode_mask = uv_cpuid.pnode_mask; in uv_init_hub_info()
1256 hi->nasid_shift = uv_cpuid.nasid_shift; in uv_init_hub_info()
1266 uv_cpuid.gnode_shift = max_t(unsigned int, uv_cpuid.gnode_shift, mn.n_val); in uv_init_hub_info()
1267 hi->gnode_extra = (uv_node_id & ~((1 << uv_cpuid.gnode_shift) - 1)) >> 1; in uv_init_hub_info()
1287 hi->apic_pnode_shift = uv_cpuid.socketid_shift; in uv_init_hub_info()
1457 s_mask = (1 << uv_cpuid.n_skt) - 1; in boot_init_possible_blades()
1595 sockid = apicid >> uv_cpuid.socketid_shift; in build_socket_tables()