From patchwork Sat Oct 29 14:36:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasant Hegde X-Patchwork-Id: 688804 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3t5jsv0D54z9ryk for ; Sun, 30 Oct 2016 01:38:27 +1100 (AEDT) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3t5jst6Y5ZzDvZB for ; Sun, 30 Oct 2016 01:38:26 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org 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 3t5jrR1lsrzDvRf for ; Sun, 30 Oct 2016 01:37:11 +1100 (AEDT) Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u9TEXnqk086882 for ; Sat, 29 Oct 2016 10:37:09 -0400 Received: from e23smtp05.au.ibm.com (e23smtp05.au.ibm.com [202.81.31.147]) by mx0b-001b2d01.pphosted.com with ESMTP id 26cqy02xc5-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Sat, 29 Oct 2016 10:37:08 -0400 Received: from localhost by e23smtp05.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 30 Oct 2016 00:37:06 +1000 Received: from d23dlp03.au.ibm.com (202.81.31.214) by e23smtp05.au.ibm.com (202.81.31.211) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sun, 30 Oct 2016 00:37:04 +1000 Received: from d23relay07.au.ibm.com (d23relay07.au.ibm.com [9.190.26.37]) by d23dlp03.au.ibm.com (Postfix) with ESMTP id 2F20A3578056 for ; Sun, 30 Oct 2016 01:37:04 +1100 (EST) Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay07.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u9TEb4rP18350236 for ; Sun, 30 Oct 2016 01:37:04 +1100 Received: from d23av03.au.ibm.com (localhost [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u9TEb3i9010337 for ; Sun, 30 Oct 2016 01:37:03 +1100 Received: from hegdevasant.ibm.com ([9.126.238.44]) by d23av03.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u9TEaeha009981; Sun, 30 Oct 2016 01:37:02 +1100 From: Vasant Hegde To: skiboot@lists.ozlabs.org Date: Sat, 29 Oct 2016 20:06:34 +0530 X-Mailer: git-send-email 2.5.5 In-Reply-To: <1477751795-20128-1-git-send-email-hegdevasant@linux.vnet.ibm.com> References: <1477751795-20128-1-git-send-email-hegdevasant@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16102914-0016-0000-0000-000001E4BB49 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16102914-0017-0000-0000-000005BB0358 Message-Id: <1477751795-20128-12-git-send-email-hegdevasant@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-10-29_06:, , 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-1609300000 definitions=main-1610290264 Subject: [Skiboot] [PATCH v2 11/12] hdat: Add PSI HB xscom details 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" Add PSI HB XSCOM address. SCOM address and length is taken from p9 example dts (doc/device-tree/examples/power9-phb4.dts). Signed-off-by: Vasant Hegde CC: Benjamin Herrenschmidt --- hdata/spira.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hdata/spira.c b/hdata/spira.c index 590e929..14efb91 100644 --- a/hdata/spira.c +++ b/hdata/spira.c @@ -313,6 +313,11 @@ static void add_psihb_node(struct dt_node *np) psi_slen = 0x20; psi_comp = "ibm,power8-psihb-x"; break; + case proc_gen_p9: + psi_scom = 0x5012900; + psi_slen = 0x100; + psi_comp = "ibm,power9-psihb-x"; + break; default: psi_comp = NULL; }