Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp272109ybi; Tue, 2 Jul 2019 20:19:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeyb35RlJIJnnlLUKNLnNWAS6u1SD2OyfT1EwLvrPOpRPB67TfLMzQnufVGzHkpxWjpSn9 X-Received: by 2002:a65:55c9:: with SMTP id k9mr21614938pgs.142.1562123969901; Tue, 02 Jul 2019 20:19:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562123969; cv=none; d=google.com; s=arc-20160816; b=JnMgBFHmCeRKVZy0dQBOAV0fEkc4w4Y23hcebvi4bYFTzfl+1TaK1zlkufysIwzGEU KYHB87XnbRE+3ZWyMgHPjL3izhC5kH02sP2Md/hQpXAh/A8Nw90ZCPknBPJADsH23DMF 9sgCzNfx01bKlpO26sP9UdU/uZNJSyZoFXiRuRDFRwbtvztOctyc5VjyETW+7JBVIiW1 vR10yqcoj2GmCEpN68BHSXbkehZnYWErAJFzbbFMvYYvpY2R0aOwacKYtAM/jSPdEJCE HiO4SztSITDt+cv3UyHX5RAv7jZjEVmqR8F+pM0Jt8fORUYrGsXoJCFI2zqUSc4LkDaT N8Uw== 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 :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject; bh=qgcx3KmV/zhK9tvoIhAUBM2N6bYT06/+vrqDQSAFUKE=; b=FroFpj018Ylo9W8miaJ3UKuSfCk0FFSI6DEupuLpSIcsVlEZ2dP5cDkiWtKwNtOzuW vcBV7bU/7nC+nBq0RQwUnLS0r3I/j9W7LDl2H9zHhMaZALxNCdepf5cHtgLOpEeMEGgR r+PlWkDn2FrUYVYuKWu8OW5NfOM17lKRwc0caXgnpEDi4RLHBWULsbC1dJ/MdXN/gGtN Qcxkyhf+rhCavJffIFXS6NkjO8NaS4Ffh/WTJVQ+P1Oixt0mUCho94O0rhMlasdvzafw FNlpnt8uc8ACwKKUrBlrK/Jo+5Chwu9yqcMCAhBeDTTE1/JAvx1+si+LGNEBLO1smaCz UsJA== 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 x13si808892pgh.116.2019.07.02.20.19.14; Tue, 02 Jul 2019 20:19:29 -0700 (PDT) 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 S1727174AbfGCDST (ORCPT + 99 others); Tue, 2 Jul 2019 23:18:19 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:6914 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727049AbfGCDST (ORCPT ); Tue, 2 Jul 2019 23:18:19 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x633HYDC080429 for ; Tue, 2 Jul 2019 23:18:18 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0b-001b2d01.pphosted.com with ESMTP id 2tgm3e8ej2-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 02 Jul 2019 23:18:18 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 3 Jul 2019 04:18:16 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 3 Jul 2019 04:18:12 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x633ICfc60948496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 3 Jul 2019 03:18:12 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E0501AE04D; Wed, 3 Jul 2019 03:18:11 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9B7CAAE051; Wed, 3 Jul 2019 03:18:09 +0000 (GMT) Received: from [9.85.75.18] (unknown [9.85.75.18]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 3 Jul 2019 03:18:09 +0000 (GMT) Subject: Re: [RFC PATCH v2 11/12] powerpc/ptrace: create ppc_gethwdinfo() To: Christophe Leroy Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , mikey@neuling.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Ravi Bangoria References: From: Ravi Bangoria Date: Wed, 3 Jul 2019 08:48:08 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19070303-0012-0000-0000-0000032EAEF1 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19070303-0013-0000-0000-00002167FF34 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-03_01:,, 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=863 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907030038 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/28/19 9:18 PM, Christophe Leroy wrote: > Create ippc_gethwdinfo() to handle PPC_PTRACE_GETHWDBGINFO and > reduce ifdef mess > > Signed-off-by: Christophe Leroy > --- Reviewed-by: Ravi Bangoria