Message ID | 20180412124526.12662-1-fbarrat@linux.ibm.com |
---|---|
Headers | show
Return-Path: <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> 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.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40MLH66Q06z9s2M for <incoming@patchwork.ozlabs.org>; Thu, 12 Apr 2018 22:45:38 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 40MLH64pklzF1RD for <incoming@patchwork.ozlabs.org>; Thu, 12 Apr 2018 22:45:38 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=linux.ibm.com (client-ip=148.163.158.5; helo=mx0a-001b2d01.pphosted.com; envelope-from=fbarrat@linux.ibm.com; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (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 40MLH21Qy3zDqyL for <skiboot@lists.ozlabs.org>; Thu, 12 Apr 2018 22:45:33 +1000 (AEST) Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3CCeinu119344 for <skiboot@lists.ozlabs.org>; Thu, 12 Apr 2018 08:45:31 -0400 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0b-001b2d01.pphosted.com with ESMTP id 2ha5aff0xx-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for <skiboot@lists.ozlabs.org>; Thu, 12 Apr 2018 08:45:30 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <skiboot@lists.ozlabs.org> from <fbarrat@linux.ibm.com>; Thu, 12 Apr 2018 13:45:29 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 12 Apr 2018 13:45:28 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3CCjRdZ34209854; Thu, 12 Apr 2018 12:45:27 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8E7475204B; Thu, 12 Apr 2018 12:36:23 +0100 (BST) Received: from borneo.lab.toulouse-stg.fr.ibm.com (unknown [9.101.4.34]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 5BDBE5203F; Thu, 12 Apr 2018 12:36:23 +0100 (BST) From: Frederic Barrat <fbarrat@linux.ibm.com> To: andrew.donnellan@au1.ibm.com, skiboot@lists.ozlabs.org Date: Thu, 12 Apr 2018 14:45:21 +0200 X-Mailer: git-send-email 2.14.1 X-TM-AS-GCONF: 00 x-cbid: 18041212-0040-0000-0000-0000044CBF12 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18041212-0041-0000-0000-000020F0F2E1 Message-Id: <20180412124526.12662-1-fbarrat@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-12_07:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804120127 Subject: [Skiboot] [PATCH 0/5] npu2-opencapi: Use presence detection and reset X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Mailing list for skiboot development <skiboot.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/skiboot/> List-Post: <mailto:skiboot@lists.ozlabs.org> List-Help: <mailto:skiboot-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
npu2-opencapi: Use presence detection and reset
|
expand
|
From: Frederic Barrat <fbarrat@linux.vnet.ibm.com> This series enables presence detection for opencapi devices on platform where it's supported... Only zaius for now, but ZZ should be around the corner. It also reorders how we train the links, to use the PHB reset callbacks. This is a first step to be able to reset the link from linux. Boot time is improved, especially on zaius. Frederic Barrat (5): npu2-opencapi: Use presence detection npu2-opencapi: Rework adapter reset npu2-opencapi: Train links on fundamental reset npu2-opencapi: Cleanup traces printed during link training npu2-opencapi: Fix link state to report link down core/platform.c | 27 ++- hw/npu2-opencapi.c | 463 ++++++++++++++++++++++++++++++++++++----------- include/platform.h | 10 +- platforms/astbmc/zaius.c | 22 ++- platforms/ibm-fsp/zz.c | 27 ++- 5 files changed, 423 insertions(+), 126 deletions(-)