2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved. 2N/A * Enumerates the processing chips, or sockets, (as distinct from cores) in a 2N/A * system. For each chip found, the necessary nodes (one or more cores, and 2N/A * possibly a memory controller) are constructed underneath. 2N/A/* ID counts for SMBIOS structures */ 2N/A return (-
1);
/* mod errno set */ 2N/A "create_node: nvlist_add_string failed\n");
2N/A * Inherit FRU from core node, in native use cpu scheme ASRU, 2N/A * in xpv, use hc scheme ASRU. 2N/A * From the inherited FRU, extract the Serial 2N/A * number(if SMBIOS donates) and set it in the ASRU 2N/A "create_strand: topo_prop_get_fmri failed\n");
2N/A "create_strand: nvlist_lookup_string failed: \n");
2N/A "topo_node_resource failed\n");
2N/A "cpu_fmri_create() failed\n");
2N/A "topo_method_register failed\n");
2N/A "topo_node_resource failed\n");
2N/A "create_strand: nvlist_lookup_string failed\n");
2N/A * Inherit FRU from the chip node, for native, we use hc 2N/A * scheme ASRU for the core node. 2N/A * From the inherited FRU, extract the Serial 2N/A * number if SMBIOS donates and set it in the ASRU 2N/A "create_core: topo_prop_get_fmri failed\n");
2N/A "nvlist_lookup_string failed\n");
2N/A "topo_node_resource failed\n");
2N/A "topo_method_register failed\n");
2N/A * In native mode, we're in favor of cpu scheme ASRU for 2N/A * printing reason. More work needs to be done to support 2N/A * multi-strand cpu: the ASRU will be a list of cpuid then. 2N/A "cpu_fmri_create() failed\n");
2N/A "topo_node_resource failed\n");
2N/A "create_core: nvlist_lookup_string failed\n");
2N/A * /dev/fm will export the chipid based on SMBIOS' ordering 2N/A * of Type-4 structures, if SMBIOS meets FMA needs 2N/A "create_chip: lookup smbios_id failed" 2N/A ": enumerating x86pi & chip topology, but" 2N/A " no Chip properties from SMBIOS" 2N/A * Lets reset the module specific 2N/A * data to NULL, overriding any 2N/A * SMBIOS capability encoded earlier. 2N/A * This will fail all subsequent 2N/A * FM_AWARE_SMBIOS checks. 2N/A * Do not register XML map methods if SMBIOS can provide 2N/A * serial, part, revision & label 2N/A "topo_method_register failed\n");
2N/A * Chip is not a FRU, set the FRU fmri of parent node 2N/A "topo_node_resource failed\n");
2N/A "topo_node_fru_set failed\n");
2N/A "create_chip: nvlist_lookup_string" 2N/A "create_chip: topo_prop_set_string" 2N/A "topo_node_label_set failed\n");
2N/A "topo_node_resource failed\n");
2N/A "topo_method_register failed\n");
2N/A * CPU Socket Populated 2N/A * CPU Socket Unpopulated 2N/A * Populated : Enabled 2N/A * Populated : Disabled by BIOS (Setup) 2N/A * Populated : Disabled by BIOS (Error) 2N/A * Enumerate core & strand only for Populated : Enabled 2N/A * Enumerate Off-Chip Memory Controller only for 2N/A * Populated : Enabled 2N/A "CPU Socket is not populated or is disabled\n");
2N/A * Create memory-controller node under a chip for architectures 2N/A * that may have on-chip memory-controller(s). 2N/A * If SMBIOS meets FMA needs, when Multi-Chip-Module is 2N/A * addressed, mc instances should be derived from SMBIOS 2N/A * Create nothing if we're running in domU. 2N/A /* Initailize SMBIOS struct ID counts */ 2N/A * Set Chip Enumerator Module's private data with the value passed by 2N/A * x86pi Enumerator, defining SMBIOS capabilities 2N/A "init_chip_smbios() failed, " 2N/A " enumerating x86pi & chip topology, but no" 2N/A " CPU & Memory properties will be" 2N/A " derived from SMBIOS\n");
2N/A * Lets reset the module specific 2N/A * data to NULL, overriding any 2N/A * SMBIOS capability encoded earlier. 2N/A * This will fail all subsequent 2N/A * FM_AWARE_SMBIOS checks.