From patchwork Mon Mar 18 06:10:55 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: 1057697 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 44N5SN5t2dz9s6w for ; Mon, 18 Mar 2019 17:12:20 +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="W4OuSBMS"; 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 44N5SN4mnDzDqKf for ; Mon, 18 Mar 2019 17:12:20 +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::444; helo=mail-pf1-x444.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="W4OuSBMS"; dkim-atps=neutral Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (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 44N5RG2XcGzDqHw for ; Mon, 18 Mar 2019 17:11:22 +1100 (AEDT) Received: by mail-pf1-x444.google.com with SMTP id i17so784498pfo.6 for ; Sun, 17 Mar 2019 23:11:22 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=Gy72w1ayx1u7QSvQeLYah9w+FnRrsfGSvvrjhF3Z1t4=; b=W4OuSBMSSvgtEvGv53uV7gTErZwCtCzJC4voq9wfbtEWxYjAL19c84CWfFrzqUmexv K07RMj7SXR2WzcfVh1UcaXean1oRe873CdFRnRm1npMrhhqwOj7bGZx78PfXRDl93p8b Y1HnMKPrgeqgZNq5kOoS7HAtn3UA7pBcwmQ7Xm5GCRaZ1S0CGi7HTd3gWYH8iSjjlk4P abg3CZoXZGYb8ghISrLd5FM41GVYWKG9xX0MbVdYp9JjtZ6cyxWo21Jt21/gmHO9DOw/ HBA/t21+OD/ezlnVRxHXj+qaPsbSOiFiaiHRgl1qdywKCWoEJtG28bdiU4xiY9zerFWw wl+Q== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Gy72w1ayx1u7QSvQeLYah9w+FnRrsfGSvvrjhF3Z1t4=; b=QAU6/o02miDYXF9M2xoxpobG4U4ZSSVhn6Te2VRVOvsTy8221noTmlvC5mrfdiZHJi xDvIgPOqHxAJkxMlr3dAxq+MTTbUVoUPLp5wUQK1LhR0ZhXMmSsujAILTrInlQTGWfLR KO9autE9KbJwBJ6pZMSignTIbhpNsDdgZIojcMfYoaFXQO5xEDFzIRlkYLt1HRP/Ht2D Svz47IhMYbzIETntwXpr7r/sisbglPYYDGLSpPoXLRPr1dRDP2LyY2W5Fw1dHEQxJK4M ffGW8qQKBzgK4omSypCm1Ct335VOOkTAXACTSkkhtPilTVv/sSBI9NjtktCII2rIbI0+ fp6w== X-Gm-Message-State: APjAAAVeze4aozBiiVCMixEsmAsAv1Sp8jYZ4UDiAt6iZ7KjFVj3fG5d CdKfaBCzZC1LRWKgbpp6UEy6I2lV X-Google-Smtp-Source: APXvYqyctRScK3jBRHzXagCzwDMvovCqsjnA7KTzCAO+9f6k7+TpjjfgVjgkziIqfVpmMVBB7QgZMg== X-Received: by 2002:a65:62d4:: with SMTP id m20mr16260673pgv.416.1552889479884; Sun, 17 Mar 2019 23:11:19 -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.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Mar 2019 23:11:19 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Mon, 18 Mar 2019 17:10:55 +1100 Message-Id: <20190318061058.3753-5-oohall@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318061058.3753-1-oohall@gmail.com> References: <20190318061058.3753-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 5/8] fsp/lxvpd: Print more LXVPD slot information 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" Useful to know since it changes the behaviour of the slot core. Signed-off-by: Oliver O'Halloran --- platforms/ibm-fsp/lxvpd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platforms/ibm-fsp/lxvpd.c b/platforms/ibm-fsp/lxvpd.c index 72512b7f3b40..4317c5928c69 100644 --- a/platforms/ibm-fsp/lxvpd.c +++ b/platforms/ibm-fsp/lxvpd.c @@ -149,6 +149,9 @@ void lxvpd_extract_info(struct pci_slot *slot, struct lxvpd_pci_slot *s) slot->card_desc = s->card_desc; slot->card_mech = s->card_mech; slot->wired_lanes = s->wired_lanes; + + prlog(PR_DEBUG, "[%s]: pluggable: %d power_ctrl: %d\n", + s->label, (int) s->pluggable, (int) s->power_ctl); } static struct lxvpd_pci_slot_data *lxvpd_alloc_slots(struct phb *phb,