RE: [RFC PATCH v12 10/11] arm64: add mechanism to let user choose which counter to return

From
Jianyong Wu <hidden>
Date
2020-05-25 06:29:55
Also in
kvm, kvmarm, lkml, netdev
Reply to
Richard Cochran, 2020-05-25
Hi Richard,
-----Original Message-----
From: Richard Cochran <richardcochran@gmail.com>
Sent: Monday, May 25, 2020 2:16 PM
To: Jianyong Wu <redacted>
Cc: maz@kernel.org; <redacted>; yangbo.lu@nxp.com;
john.stultz@linaro.org; tglx@linutronix.de; pbonzini@redhat.com;
sean.j.christopherson@intel.com; Mark Rutland [off-list ref];
will@kernel.org; Suzuki Poulose [off-list ref]; Steven Price
[off-list ref]; linux-kernel@vger.kernel.org; linux-arm-
kernel@lists.infradead.org; kvmarm@lists.cs.columbia.edu;
kvm@vger.kernel.org; Steve Capper [off-list ref]; Kaly Xin
[off-list ref]; Justin He [off-list ref]; Wei Chen
[off-list ref]; nd [off-list ref]
Subject: Re: [RFC PATCH v12 10/11] arm64: add mechanism to let user choose
which counter to return

On Mon, May 25, 2020 at 04:50:28AM +0000, Jianyong Wu wrote:
quoted
How about adding an extra argument in struct ptp_clock_info to serve as a
flag, then we can control this flag using IOCTL to determine the counter type.

no, No, NO!
Ok, 
quoted
quoted
From your description, this "flag" really should be a module parameter.
Maybe use flag as a module parameter is a better way.
Yes.
It's fine for me, if @maz@kernel.org is not against with it.
 
Thanks
Jianyong 
Thanks,
Richard
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (31 messages) 31 messages, 6 authors, last reply 2020-05-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help