Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp28076imu; Fri, 14 Dec 2018 12:52:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/U8SzA3+KqsVrplC2BvNMncuzNsU+Wxk1jlCZblWEWtY6xAXIpx6wjKKihU7OkDlx2Qfs8z X-Received: by 2002:a17:902:7402:: with SMTP id g2mr4142767pll.198.1544820764222; Fri, 14 Dec 2018 12:52:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544820764; cv=none; d=google.com; s=arc-20160816; b=j10AD39962b0ZCK8OVwbcffa4uE5VNsy2L4uwTnI47K/XlxYk4Z2272jxB1kW/tZHc 2bEePEjI52/6yo+BEJwF2SVfr7x1OU4bXuxDIw573yv9pYgCCHKSNU10TUt8FfRSxCCo efR2Bo6d7BT8AwXzgKT0cZIruApIgZgtWFxDvi0b1ly04xriEcOySwkFzDDuuQU5R5aK wJSNFEB/82/0FbHay5EwfRxUVBUl7IVPZuxNWJkEFAKMYfCA1Iwj1riEBnxVdphFCiVt JAZLDfx9BN1KDGXAaByrWlJb4MVyrf45qv8dytTCQBopEP4EG8jJhdjPmCuZ5i0WJbhK 3rhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:user-agent:date:cc:to:from:subject; bh=L/vAZ43ElGx1D86/0mZSCQUq8WW5GGdkLBJofVEQLo4=; b=Qpg9kZv8LRMD/d70/OAncC04FYFvAIbgpHHglSkVGFCRl0S5CyIZnL600r6nIrGMBO oz+md4nME9f2jh7x49fxSQHXJ2/SD1t9xyrBjZwiQuCGFNHXbBAAho7NcHl8WojlziqD blO/wfm3F95D3yg29rAKl+StwFMY+Z9hW/tM2zu8od6Ozu+pCL5KgfepS7YN3VumWlTj 59QcCwkFW6lFWM19ceD/pHycwj+iIDI1En4gWrIl2kurN0qX6VwnXqxnd5o/p8X7xymK TmUgbh1VTmFhI7Cif238qg2+ByAQGKsrI7anCWfcArlvECWI6zt390orzOLpn8jPBj1q LaQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y17si4781036pgh.353.2018.12.14.12.52.29; Fri, 14 Dec 2018 12:52:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731104AbeLNUt7 (ORCPT + 99 others); Fri, 14 Dec 2018 15:49:59 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:58756 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730906AbeLNUt6 (ORCPT ); Fri, 14 Dec 2018 15:49:58 -0500 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wBEKmuoI061802 for ; Fri, 14 Dec 2018 15:49:57 -0500 Received: from e15.ny.us.ibm.com (e15.ny.us.ibm.com [129.33.205.205]) by mx0a-001b2d01.pphosted.com with ESMTP id 2pcjn832e2-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 14 Dec 2018 15:49:56 -0500 Received: from localhost by e15.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 14 Dec 2018 20:49:56 -0000 Received: from b01cxnp22033.gho.pok.ibm.com (9.57.198.23) by e15.ny.us.ibm.com (146.89.104.202) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 14 Dec 2018 20:49:54 -0000 Received: from b01ledav005.gho.pok.ibm.com (b01ledav005.gho.pok.ibm.com [9.57.199.110]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id wBEKnrsn21364880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 Dec 2018 20:49:53 GMT Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4983BAE06D; Fri, 14 Dec 2018 20:49:53 +0000 (GMT) Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2D4B3AE068; Fri, 14 Dec 2018 20:49:53 +0000 (GMT) Received: from powerkvm6.aus.stglabs.ibm.com (unknown [9.40.192.78]) by b01ledav005.gho.pok.ibm.com (Postfix) with ESMTP; Fri, 14 Dec 2018 20:49:53 +0000 (GMT) Received: from powerkvm6.aus.stglabs.ibm.com (localhost [IPv6:::1]) by powerkvm6.aus.stglabs.ibm.com (Postfix) with ESMTP id 5E6F340E516A; Fri, 14 Dec 2018 14:49:52 -0600 (CST) Subject: [RFC 0/6] powerpc/pseries: Refactor code to centralize drcinfo parsing From: Michael Bringmann To: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: Nathan Fontenot , John Allen , Tyrel Datwyler , Thomas Falcon Date: Fri, 14 Dec 2018 14:49:52 -0600 User-Agent: StGit/0.18-105-g416a-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18121420-0068-0000-0000-00000371EEA7 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010225; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000271; SDB=6.01131804; UDB=6.00588226; IPR=6.00911935; MB=3.00024694; MTD=3.00000008; XFM=3.00000015; UTC=2018-12-14 20:49:55 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18121420-0069-0000-0000-000046C5A3C6 Message-Id: <20181214204914.16435.59083.stgit@powerkvm6.aus.stglabs.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-12-14_12:,, 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=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=600 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1812140176 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The implementation of the pseries-specific drc info information feature is currently implemented within and outside of the powerpc pseries code. This patch set moves the parsing code for the pseries-specific device-tree properties ibm,drc-indexes, ibm,drc-names, ibm,drc-types, ibm,drc-power-domains, and the compressed ibm,drc-info into the platform-specific code for the Pseries features. Signed-off-by: Michael W. Bringmann Michael Bringmann (6): powerpc:/drc Define interface to acquire arch-specific drc info pseries/drcinfo: Fix bug parsing ibm,drc-info pseries/drcinfo: Pseries impl of arch_find_drc_info powerpc/pseries: Use common drcinfo parsing powerpc/pci/hotplug: Use common drcinfo parsing powerpc: Enable support for ibm,drc-info devtree property