From patchwork Mon Mar 18 06:10:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1057693 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44N5RK4dj9z9s6w for ; Mon, 18 Mar 2019 17:11:25 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="MHJ+vnhO"; 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 44N5RK3TMTzDqJN for ; Mon, 18 Mar 2019 17:11:25 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::431; helo=mail-pf1-x431.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="MHJ+vnhO"; dkim-atps=neutral Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 44N5R85j1fzDqHw for ; Mon, 18 Mar 2019 17:11:14 +1100 (AEDT) Received: by mail-pf1-x431.google.com with SMTP id d25so10547454pfn.8 for ; Sun, 17 Mar 2019 23:11:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tZnpdg9iPMaAFjDi2imuU9YV7a4a5XzJsrceewvI2S4=; b=MHJ+vnhOYdQjULGNaTYHqJtJAWJ+DdjVoufNhg9uVX5wP6mh4gV5xnUcB73QG6dRRX MONMlBJ9UZzioxvAFDWwh1zM95ekLam5VLM0z4dHliV7aYzGbAkTbmqYfHC/zb6rmJQT liG9im0BmvyncApHLrK/QTtjLmyhv3fh6xQ10zCd4NnADDMB9aVJU119JgJpX+3vg8/I yHgLngVo/fsQtDddLtMec6ljPlW6QSnxNT0LKJvNV/hJ8qgXnAvdyh34QnsHTwnvOs28 8p7Ka/UiUjJqRDDK0+j0hZLLX82/E4ikhotHhP0HuL9Mb6VXMgBOqnBvuO7LCqKWt5N4 jujQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tZnpdg9iPMaAFjDi2imuU9YV7a4a5XzJsrceewvI2S4=; b=NIZJ3lwXpSrWldXOKdXi/MFrTVoYTR5lUEX35PGLCn01uKEKYfrRKMiOwfw2pOpBV6 u+4KOrX54qW8e/tmJiOHf441TzEpIilczQzAFo/aNr0HC/iUMTNBEkCUOD+QyJt18B2W DFRxUCs12VwnFWlasSCzalSNlm3E5AZ7NG3p9JEIqdyGcj8FLxIkVptkigLlZjd6FGAX 4Y68FhAwxLb4zyt8k3VVKZ36Ts+Sqi+zajczvi1yb4c4u/iXWrv8T9P/nQOKTn6hA/Fk AqA2DnWusvShWTWilKfL+NzuudFC8q/m5whq28o4jn86RHsXVyGI6IqFkB2YYjEjD3xt BJZg== X-Gm-Message-State: APjAAAXynDUhJOB7LcoJaQrli/9zpyRAcgi9pLSJXsKLQsd7rjb5H18y 6/FCtQbdudhZrPfGdLGSV/WKAyMj X-Google-Smtp-Source: APXvYqxFTT8Ko8uD1USU09u/GycTprVOi5kBEDikcU1frDOj/nbKRWRC9AFiwTMp/oOUI40OL4aHPQ== X-Received: by 2002:aa7:8443:: with SMTP id r3mr17265613pfn.143.1552889470804; Sun, 17 Mar 2019 23:11:10 -0700 (PDT) Received: from wafer.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id r82sm15205334pfa.161.2019.03.17.23.11.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Mar 2019 23:11:09 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Mon, 18 Mar 2019 17:10:51 +1100 Message-Id: <20190318061058.3753-1-oohall@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Skiboot] [PATCH 1/8] hdata/iohub: Look for IOVPD on P9 X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" P8 and P9 use the same IO VPD setup, so we need to load the IOHUB VPD on P9 systems too. Signed-off-by: Oliver O'Halloran Tested-by: Vasant Hegde --- hdata/iohub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hdata/iohub.c b/hdata/iohub.c index ad1ddae401f0..6b7f0bcf2786 100644 --- a/hdata/iohub.c +++ b/hdata/iohub.c @@ -924,7 +924,7 @@ static void io_parse_fru(const void *sp_iohubs) } /* On P8, grab the CEC VPD */ - if (proc_gen == proc_gen_p8) + if (proc_gen == proc_gen_p8 || proc_gen == proc_gen_p9) io_add_p8_cec_vpd(sp_iohubs); }