Path: blob/master/arch/powerpc/platforms/iseries/processor_vpd.h
10820 views
/*1* Copyright (C) 2001 Mike Corrigan IBM Corporation2*3* This program is free software; you can redistribute it and/or modify4* it under the terms of the GNU General Public License as published by5* the Free Software Foundation; either version 2 of the License, or6* (at your option) any later version.7*8* This program is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11* GNU General Public License for more details.12*13* You should have received a copy of the GNU General Public License14* along with this program; if not, write to the Free Software15* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA16*/17#ifndef _ISERIES_PROCESSOR_VPD_H18#define _ISERIES_PROCESSOR_VPD_H1920#include <asm/types.h>2122/*23* This struct maps Processor Vpd that is DMAd to SLIC by CSP24*/25struct IoHriProcessorVpd {26u8 xFormat; // VPD format indicator x00-x0027u8 xProcStatus:8; // Processor State x01-x0128u8 xSecondaryThreadCount; // Secondary thread cnt x02-x0229u8 xSrcType:1; // Src Type x03-x0330u8 xSrcSoft:1; // Src stay soft ...31u8 xSrcParable:1; // Src parable ...32u8 xRsvd1:5; // Reserved ...33u16 xHvPhysicalProcIndex; // Hypervisor physical proc index04-x0534u16 xRsvd2; // Reserved x06-x0735u32 xHwNodeId; // Hardware node id x08-x0B36u32 xHwProcId; // Hardware processor id x0C-x0F3738u32 xTypeNum; // Card Type/CCIN number x10-x1339u32 xModelNum; // Model/Feature number x14-x1740u64 xSerialNum; // Serial number x18-x1F41char xPartNum[12]; // Book Part or FPU number x20-x2B42char xMfgID[4]; // Manufacturing ID x2C-x2F4344u32 xProcFreq; // Processor Frequency x30-x3345u32 xTimeBaseFreq; // Time Base Frequency x34-x374647u32 xChipEcLevel; // Chip EC Levels x38-x3B48u32 xProcIdReg; // PIR SPR value x3C-x3F49u32 xPVR; // PVR value x40-x4350u8 xRsvd3[12]; // Reserved x44-x4F5152u32 xInstCacheSize; // Instruction cache size in KB x50-x5353u32 xInstBlockSize; // Instruction cache block size x54-x5754u32 xDataCacheOperandSize; // Data cache operand size x58-x5B55u32 xInstCacheOperandSize; // Inst cache operand size x5C-x5F5657u32 xDataL1CacheSizeKB; // L1 data cache size in KB x60-x6358u32 xDataL1CacheLineSize; // L1 data cache block size x64-x6759u64 xRsvd4; // Reserved x68-x6F6061u32 xDataL2CacheSizeKB; // L2 data cache size in KB x70-x7362u32 xDataL2CacheLineSize; // L2 data cache block size x74-x7763u64 xRsvd5; // Reserved x78-x7F6465u32 xDataL3CacheSizeKB; // L3 data cache size in KB x80-x8366u32 xDataL3CacheLineSize; // L3 data cache block size x84-x8767u64 xRsvd6; // Reserved x88-x8F6869u64 xFruLabel; // Card Location Label x90-x9770u8 xSlotsOnCard; // Slots on card (0=no slots) x98-x9871u8 xPartLocFlag; // Location flag (0-pluggable 1-imbedded) x99-x9972u16 xSlotMapIndex; // Index in slot map table x9A-x9B73u8 xSmartCardPortNo; // Smart card port number x9C-x9C74u8 xRsvd7; // Reserved x9D-x9D75u16 xFrameIdAndRackUnit; // Frame ID and rack unit adr x9E-x9F7677u8 xRsvd8[24]; // Reserved xA0-xB77879char xProcSrc[72]; // CSP format SRC xB8-xFF80};8182extern struct IoHriProcessorVpd xIoHriProcessorVpd[];8384#endif /* _ISERIES_PROCESSOR_VPD_H */858687