From patchwork Fri Sep 16 06:45:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 670707 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sb66c0bmGz9s36 for ; Fri, 16 Sep 2016 17:17:12 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=R91RkczN; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3sb66b6Y1xzDsbR for ; Fri, 16 Sep 2016 17:17:11 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=R91RkczN; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from mail-pf0-x242.google.com (mail-pf0-x242.google.com [IPv6:2607:f8b0:400e:c00::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3sb5RX4rRdzDsZR for ; Fri, 16 Sep 2016 16:46:48 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=R91RkczN; dkim-atps=neutral Received: by mail-pf0-x242.google.com with SMTP id q2so556765pfj.0 for ; Thu, 15 Sep 2016 23:46:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YcgkytdPat6pGZI+qCKZfL9mJAXHw8egKpmVcERK/7w=; b=R91RkczN3rbeF2M4a/x2U1EKEj/rySEgGg4RCZND503Z1sR0/c2n1aVBbFumstqcLY Yp0OCOPXhkFO4BhzLqakRLQsukvnMdfUxLnWHpvdPolo7kTOKEwHHf068iHDM7iq5ID3 vP6N5LwG/SyMFpZ4NA6ptWldk3X8696UUbtdmbkSt1iZ7w173Kj+iAToi7x5ivxUyGWP +odzgrTHzla5CPRz0yAhv5jr4kYEsEYFBAYDssfVtB/bqXLdEQZLb43Egu0ycmBdEGME bT5tYMXxlQDXVALiNo14TplYRbN0uZZp+E/+Mp1/l3CJHu+ZOb+01ofgX+Pnk+59T8gN aLaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YcgkytdPat6pGZI+qCKZfL9mJAXHw8egKpmVcERK/7w=; b=IBd6aKCBHwRczZNEaz/9+4GKFXSHb1j1icNwpvlHQdCDUt68J1cdFf/6zBDDjXva7c BljVCT/fpMqQ+YEekkUfeB/Ch1/ijpWGIuvoXV4PvSZOB7R/LjFH2Ro2l6B25WGiQQms 8JXVy/YF+KJxAswm6EJ1lbPex/SjkufVqjeo5xwXiwWS+mXOtY9kcwrrIl/ibocWrUeR R4rZ1BFuR82YC7jvDpBcGawMx5Fgs2mrXz2P+ZqFL20kWQ0k9mOhI2R3ivvQRJwcNPYo Pb5uDhQmjSVm84eBRotEKsRhPct41YAcd5KgVT9OHZONAiwG8DCCbtWwHfauamOPUSsy HMOQ== X-Gm-Message-State: AE9vXwPz9qwFMiR/d3H4bSsiWaXQVlP3P39BwP1l2MgnlfL17dC7Sw/BF1G6PJPyehTi4g== X-Received: by 10.98.86.154 with SMTP id h26mr20693337pfj.22.1474008407144; Thu, 15 Sep 2016 23:46:47 -0700 (PDT) Received: from canetoad.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id 22sm15920382pft.10.2016.09.15.23.46.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Sep 2016 23:46:46 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 16 Sep 2016 16:45:00 +1000 Message-Id: <1474008303-20365-3-git-send-email-oohall@gmail.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1474008303-20365-1-git-send-email-oohall@gmail.com> References: <1474008303-20365-1-git-send-email-oohall@gmail.com> Subject: [Skiboot] [RFC PATCH 2/5] hdat: add new sppcrd_chip_info fields X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" A number of new fields have been defined over the last few HDAT versions that we have not used up until this point. This patch adds them to the structure. Signed-off-by: Oliver O'Halloran Reviewed-by: Vasant Hegde --- hdata/spira.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/hdata/spira.h b/hdata/spira.h index eabf7f953ab7..1acd5478863b 100644 --- a/hdata/spira.h +++ b/hdata/spira.h @@ -931,6 +931,19 @@ struct sppcrd_chip_info { __be32 reserved; __be32 dbob_id; __be32 occ_state; + /* Version 0xC - none of these are used */ + __be32 processor_fru_id; + __be32 chip_ec_level; + __be32 hw_module_id; + __be32 hw_card_id; + __be32 internal_drawer_nid; + __be32 ccm_nid; + /* Version 0xD */ + __be32 capp0_func_state; + /* Version 0xE */ + __be32 capp1_func_state; + /* Version 0x20 */ + __be32 stop_levels; } __packed; /* Idata index 1 : Chip TOD */