From patchwork Fri Dec 16 13:28:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ppaidipe X-Patchwork-Id: 706441 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 ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tgB3C0sZpz9t6g for ; Sat, 17 Dec 2016 00:28:39 +1100 (AEDT) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3tgB3B6gvXzDwCZ for ; Sat, 17 Dec 2016 00:28:38 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 3tgB344VSdzDw63 for ; Sat, 17 Dec 2016 00:28:31 +1100 (AEDT) Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id uBGDOYEX098469 for ; Fri, 16 Dec 2016 08:28:29 -0500 Received: from e28smtp09.in.ibm.com (e28smtp09.in.ibm.com [125.16.236.9]) by mx0a-001b2d01.pphosted.com with ESMTP id 27cg7d3mha-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 16 Dec 2016 08:28:29 -0500 Received: from localhost by e28smtp09.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 16 Dec 2016 18:58:25 +0530 Received: from d28dlp03.in.ibm.com (9.184.220.128) by e28smtp09.in.ibm.com (192.168.1.139) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 16 Dec 2016 18:58:23 +0530 Received: from d28relay08.in.ibm.com (d28relay08.in.ibm.com [9.184.220.159]) by d28dlp03.in.ibm.com (Postfix) with ESMTP id 013A8125805F for ; Fri, 16 Dec 2016 18:59:37 +0530 (IST) Received: from d28av07.in.ibm.com (d28av07.in.ibm.com [9.184.220.146]) by d28relay08.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id uBGDRgvf27328766 for ; Fri, 16 Dec 2016 18:57:42 +0530 Received: from d28av07.in.ibm.com (localhost [127.0.0.1]) by d28av07.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id uBGDSKaZ029388 for ; Fri, 16 Dec 2016 18:58:21 +0530 Received: from localhost.in.ibm.com ([9.124.158.167]) by d28av07.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id uBGDSIro029251; Fri, 16 Dec 2016 18:58:18 +0530 From: Pridhiviraj Paidipeddi To: skiboot@lists.ozlabs.org Date: Fri, 16 Dec 2016 18:58:11 +0530 X-Mailer: git-send-email 2.7.4 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16121613-0032-0000-0000-000001AD2796 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16121613-0033-0000-0000-00001166F2D5 Message-Id: <1481894891-12612-1-git-send-email-ppaidipe@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-12-16_09:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1612160221 Subject: [Skiboot] [PATCH] habanero/slottable: Remove Network Mezz(2, 0) from PHB1. X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.23 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" With addition of latest callback of check_all_slot_table found below error message in habanero platform. [ 17.069198739,3] PCI: built-in device not found: Network Mezz (loc: 10) https://github.com/open-power/skiboot/issues/54 So PHB1 already having one Network Mezz(1,0) which is the only one there in the habanero platform design layout. check_all_slot_table found the additional Network Mezz(2,0) in slot table is in-correct. Fix this by removing it. Signed-off-by: Pridhiviraj Paidipeddi --- platforms/astbmc/habanero.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/platforms/astbmc/habanero.c b/platforms/astbmc/habanero.c index 0d3a01f..2856a97 100644 --- a/platforms/astbmc/habanero.c +++ b/platforms/astbmc/habanero.c @@ -39,11 +39,6 @@ static const struct slot_table_entry habanero_plx_slots[] = { .name = "Network Mezz", }, { - .etype = st_pluggable_slot, - .location = ST_LOC_DEVFN(2,0), - .name = "Network Mezz", - }, - { .etype = st_builtin_dev, .location = ST_LOC_DEVFN(8,0), .name = "Storage Mezz",