Message ID | 20210804072137.1147875-12-hegdevasant@linux.vnet.ibm.com |
---|---|
State | Accepted |
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 Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=m1FNu8S1; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 4GfjrX1HHrz9sT6 for <incoming@patchwork.ozlabs.org>; Wed, 4 Aug 2021 17:23:08 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4GfjrX060Hz3bjD for <incoming@patchwork.ozlabs.org>; Wed, 4 Aug 2021 17:23:08 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=m1FNu8S1; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=linux.vnet.ibm.com (client-ip=148.163.158.5; helo=mx0b-001b2d01.pphosted.com; envelope-from=hegdevasant@linux.vnet.ibm.com; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=m1FNu8S1; dkim-atps=neutral Received: from mx0b-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 4Gfjql59kJz3cGT for <skiboot@lists.ozlabs.org>; Wed, 4 Aug 2021 17:22:26 +1000 (AEST) Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 17474u1Y024890 for <skiboot@lists.ozlabs.org>; Wed, 4 Aug 2021 03:22:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=ToAxjbwMiu+cq00SNBXZsPqP7FyJsC0JFfhHAstEK2Y=; b=m1FNu8S1lQXvnkwMVDkuyYyNUv0U1KeKKnspQ7Qiy7hwVFGsUQNzQNHsNzuDJGTNx96q jglBCca41E5KEWitkv4YaURPZ+Fvaj9J5sKjGSYzfzyOOqPRdQuJ7YThmSye8bqjmeDR iBRDEGJnoaqKREn4T8a9w+800xzb3IDU8QHkoGqZ+64nnHQfNaDcz0/G/ism2yXEoEGP 2GC4X5Xj5TLJI0WWVnlkZmwjTIWgogdmRURaTP1tKhowfwI77du8W/wH9ETe9s7xnhcj 4K0ynH7itil6CyN/9IKLUuTobWtz69wMF9xAodd6qQQuuYcXtSCnqcCxVj9LZ4N7p7az 1w== Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 3a7b77xm2w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <skiboot@lists.ozlabs.org>; Wed, 04 Aug 2021 03:22:24 -0400 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 1746lT3U005793 for <skiboot@lists.ozlabs.org>; Wed, 4 Aug 2021 07:22:23 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma04ams.nl.ibm.com with ESMTP id 3a4x590qh6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <skiboot@lists.ozlabs.org>; Wed, 04 Aug 2021 07:22:23 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 1747MKQH46989746 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 4 Aug 2021 07:22:20 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6E1BBAE045; Wed, 4 Aug 2021 07:22:20 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5DE88AE05F; Wed, 4 Aug 2021 07:22:19 +0000 (GMT) Received: from hegdevasant.in.ibm.com (unknown [9.85.83.73]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 4 Aug 2021 07:22:19 +0000 (GMT) From: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> To: skiboot@lists.ozlabs.org Date: Wed, 4 Aug 2021 12:50:49 +0530 Message-Id: <20210804072137.1147875-12-hegdevasant@linux.vnet.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210804072137.1147875-1-hegdevasant@linux.vnet.ibm.com> References: <20210804072137.1147875-1-hegdevasant@linux.vnet.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: bfllp6U_MANFSP83Ey8p-j4I9qZtVXYK X-Proofpoint-ORIG-GUID: bfllp6U_MANFSP83Ey8p-j4I9qZtVXYK X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-08-04_02:2021-08-03, 2021-08-04 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1015 mlxscore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 suspectscore=0 adultscore=0 spamscore=0 mlxlogscore=999 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108040036 Subject: [Skiboot] [PATCH v2 11/59] external/xscom-utils: Add P10 chip info X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 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> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
P10 Enablement
|
expand
|
diff --git a/external/xscom-utils/adu_scoms.py b/external/xscom-utils/adu_scoms.py index d651b7e9f..e90634190 100755 --- a/external/xscom-utils/adu_scoms.py +++ b/external/xscom-utils/adu_scoms.py @@ -176,6 +176,8 @@ class GetSCom(object): name = "P9 (Cumulus) processor" elif id == 0xd9: name = "P9P (Axone) processor" + elif id == 0xda: + name = "P10 processor" elif id == 0xe9: name = "Centaur memory buffer" else: diff --git a/external/xscom-utils/getscom.c b/external/xscom-utils/getscom.c index c18a04972..67596e618 100644 --- a/external/xscom-utils/getscom.c +++ b/external/xscom-utils/getscom.c @@ -56,6 +56,9 @@ static void print_chip_info(uint32_t chip_id) case 0xd9: name = "P9P (Axone) processor"; break; + case 0xda: + name = "P10 processor"; + break; case 0xe9: name = "Centaur memory buffer"; break; diff --git a/external/xscom-utils/sram.c b/external/xscom-utils/sram.c index 87df70e10..efe08d8e7 100644 --- a/external/xscom-utils/sram.c +++ b/external/xscom-utils/sram.c @@ -28,6 +28,7 @@ #define PVR_TYPE_P8NVL 0x004c /* Naples */ #define PVR_TYPE_P9 0x004e #define PVR_TYPE_P9P 0x004f /* Axone */ +#define PVR_TYPE_P10 0x0080 #ifdef __powerpc__ static uint64_t get_xscom_base(void) @@ -39,6 +40,7 @@ static uint64_t get_xscom_base(void) switch (pvr >> 16) { case PVR_TYPE_P9: case PVR_TYPE_P9P: + case PVR_TYPE_P10: /* P10 OCB_PIB OCC Control Register is same for P9 and P10 */ return OCB_PIB_BASE_P9; case PVR_TYPE_P8E:
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> --- external/xscom-utils/adu_scoms.py | 2 ++ external/xscom-utils/getscom.c | 3 +++ external/xscom-utils/sram.c | 2 ++ 3 files changed, 7 insertions(+)