Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp113925ybh; Tue, 10 Mar 2020 20:40:46 -0700 (PDT) X-Google-Smtp-Source: ADFU+vudYs6yfQ4PjketnzeUJq9VxON+k2PSsFfXp8Do0ASwevorpiZx1W8QjW/5FRwpxf9+jewR X-Received: by 2002:a9d:7d89:: with SMTP id j9mr715591otn.47.1583898046155; Tue, 10 Mar 2020 20:40:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583898046; cv=none; d=google.com; s=arc-20160816; b=jB9QWRv1mGc1I68Bd1BrS5w2LSfy1EsL9/8doa83DuBqLDNiA2kNRWiPr8rXZaSWD3 bsYVVCy+TYZIZBtzVEiBsmCUmR5K5we3yKzxyfy/O30ceJSxZofWpd66iBp7+ZDaZ5Le QCJ6hhKU9r/e90YAQis7BFpQo4fh5m0y9bnknfp2Sy+ylQz45ZvReKO8AcdSMAPCJ6g1 zVRD0yZq3cWee9YjP0fexqkJxI7WyV74xCnBW91oo60aLGkGIi5o+MVoaDr1ktN+DIpA if5eznFZ6g8sJZp27oGz7RUKrbxJ0TDlVGO8yJv7+kFlBCK/OKyEKXxj4Uts19ofwolE GlWg== 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:organization:references:in-reply-to:date:cc :to:from:subject; bh=5x3k6a5nxr4AfgOM6+RxBVJa90b2U5gIyD0+PgYRuG8=; b=NMaT0gK3lwkU5ZixDm/P+xYx9htPdMBo9eWCtojfXAn6CrEAWXM+0vXUh/OKPHgi35 6IUb2r1N6kwTVkOizwrkDKaUoSqFS0Ff+JibB+mkgB23KisIIxJ2gEa2OQMpxA/tqsTw nGTTDuCPCK6ttJXhwL9em6/sKGyhu0e/Z7/uAIWgw8EaWslBZseQ48+RuaT0L+CZUoGF uDC1/9TXeHCTrTR/lAX8oEvSDOps/VRRWQC7ibJMCxi18tuS0POyBnt19bznARdpPcL/ OF2jTFldEYxJWBeVma/kPUlK7KpCZ5gZs3dZHWZjbeKZoHH3FK+8QNay6KGPzE7w0mw+ Ixhw== 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 d21si380272otq.72.2020.03.10.20.40.33; Tue, 10 Mar 2020 20:40:46 -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 S1727984AbgCKDiu (ORCPT + 99 others); Tue, 10 Mar 2020 23:38:50 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:15314 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727648AbgCKDit (ORCPT ); Tue, 10 Mar 2020 23:38:49 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 02B3Topf127702 for ; Tue, 10 Mar 2020 23:38:48 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0b-001b2d01.pphosted.com with ESMTP id 2ypjxd56mu-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 10 Mar 2020 23:38:48 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 11 Mar 2020 03:38:45 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 11 Mar 2020 03:38:38 -0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 02B3cbIQ25952406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 11 Mar 2020 03:38:37 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2237242041; Wed, 11 Mar 2020 03:38:37 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BAE7D4203F; Wed, 11 Mar 2020 03:38:36 +0000 (GMT) Received: from ozlabs.au.ibm.com (unknown [9.192.253.14]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 11 Mar 2020 03:38:36 +0000 (GMT) Received: from adsilva.ozlabs.ibm.com (haven.au.ibm.com [9.192.254.114]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.au.ibm.com (Postfix) with ESMTPSA id 97549A0130; Wed, 11 Mar 2020 14:38:31 +1100 (AEDT) Subject: Re: [PATCH v3 21/27] powerpc/powernv/pmem: Add an IOCTL to request controller health & perf data From: "Alastair D'Silva" To: Frederic Barrat , Andrew Donnellan Cc: "Aneesh Kumar K . V" , "Oliver O'Halloran" , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Arnd Bergmann , Greg Kroah-Hartman , Dan Williams , Vishal Verma , Dave Jiang , Ira Weiny , Andrew Morton , Mauro Carvalho Chehab , "David S. Miller" , Rob Herring , Anton Blanchard , Krzysztof Kozlowski , Mahesh Salgaonkar , Madhavan Srinivasan , =?ISO-8859-1?Q?C=E9dric?= Le Goater , Anju T Sudhakar , Hari Bathini , Thomas Gleixner , Greg Kurz , Nicholas Piggin , Masahiro Yamada , Alexey Kardashevskiy , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-nvdimm@lists.01.org, linux-mm@kvack.org Date: Wed, 11 Mar 2020 14:38:35 +1100 In-Reply-To: <3ecb49e3-8828-ab7b-4391-5dd6127e76e0@linux.ibm.com> References: <20200221032720.33893-1-alastair@au1.ibm.com> <20200221032720.33893-22-alastair@au1.ibm.com> <3ecb49e3-8828-ab7b-4391-5dd6127e76e0@linux.ibm.com> Organization: IBM Australia Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 20031103-0020-0000-0000-000003B288B6 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20031103-0021-0000-0000-0000220AD6ED Message-Id: <97d52eefea5f362fee47e378a3e7ae51d565b291.camel@au1.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-03-10_17:2020-03-10,2020-03-10 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 adultscore=0 mlxscore=0 mlxlogscore=560 bulkscore=0 phishscore=0 spamscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003110020 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2020-03-04 at 12:06 +0100, Frederic Barrat wrote: > > Le 28/02/2020 à 07:12, Andrew Donnellan a écrit : > > On 21/2/20 2:27 pm, Alastair D'Silva wrote: > > > From: Alastair D'Silva > > > > > > When health & performance data is requested from the controller, > > > it responds with an error log containing the requested > > > information. > > > > > > This patch allows the request to me issued via an IOCTL. > > > > A better explanation would be good - this IOCTL triggers a request > > to > > the controller to collect controller health/perf data, and the > > controller will later respond with an error log that can be picked > > up > > via the error log IOCTL that you've defined earlier. > > And even more precisely (to also check my understanding): > > > this IOCTL triggers a request to > > the controller to collect controller health/perf data, and the > > controller will later respond > > by raising an interrupt to let the user app know that > > > an error log that can be picked up > > via the error log IOCTL that you've defined earlier. > > > The rest of the patch looks ok to me. > > Fred Ok -- Alastair D'Silva Open Source Developer Linux Technology Centre, IBM Australia mob: 0423 762 819