From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 3zg2Qw6YxfzF0cY for ; Mon, 12 Feb 2018 21:46:29 +1100 (AEDT) Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1CAd0iU080291 for ; Mon, 12 Feb 2018 05:46:26 -0500 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0b-001b2d01.pphosted.com with ESMTP id 2g392kgyxe-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 12 Feb 2018 05:46:26 -0500 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 12 Feb 2018 10:46:24 -0000 Subject: Re: [PATCH 2/3] cxl: Introduce module parameter 'enable_psltrace' To: Vaibhav Jain , linuxppc-dev@lists.ozlabs.org, Frederic Barrat Cc: Philippe Bergheaud , "Alastair D'Silva" , Christophe Lombard , Andrew Donnellan References: <20180209042535.16845-1-vaibhav@linux.vnet.ibm.com> <20180209042535.16845-3-vaibhav@linux.vnet.ibm.com> <87a7wf4flx.fsf@vajain21.in.ibm.com> From: christophe lombard Date: Mon, 12 Feb 2018 11:46:21 +0100 MIME-Version: 1.0 In-Reply-To: <87a7wf4flx.fsf@vajain21.in.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Message-Id: <55b0ae17-9cd5-6613-8466-39be09b931b0@linux.vnet.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Le 11/02/2018 à 18:10, Vaibhav Jain a écrit : > Thanks for reviewing the patch Christophe, > > christophe lombard writes: >>> +bool cxl_enable_psltrace = true; >>> +module_param_named(enable_psltrace, cxl_enable_psltrace, bool, 0600); >>> +MODULE_PARM_DESC(enable_psltrace, "Set PSL traces on probe. default: on"); >>> + >> I am not too agree to add a new parameter. This can cause doubts. >> PSL team has confirmed that enabling traces has no impact. >> Do you see any reason to disable the traces ? > > Traces on PSL follow a 'set and fetch' model. So once the trace buffer for > a specific array is full it will stop and switch to 'FIN' state and at > that point we need to fetch the trace-data and reinit the array to > re-arm it. > > There might be some circumstances where this model may lead to confusion > specifically when AFU developers assume that the trace arrays are > already armed and dont re-arm it causing miss of trace data. > > So this module param is a compromise to keep the old behaviour of traces > array intact where in the arming/disarming of the trace arrays is > controlled completely by userspace tooling and not by cxl. > and about P8 ? This new parameter is only useful for P9. It will be confusing.