From mboxrd@z Thu Jan 1 00:00:00 1970 From: vkoul@kernel.org (Vinod) Date: Sat, 6 Oct 2018 21:58:18 +0530 Subject: [PATCH] samples/rpmsg: Introduce a module parameter for message count In-Reply-To: <20181006062231.GF12063@builder> References: <20180911174643.26199-1-s-anna@ti.com> <20181006062231.GF12063@builder> Message-ID: <20181006162818.GQ2372@vkoul-mobl> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 05-10-18, 23:22, Bjorn Andersson wrote: > On Tue 11 Sep 10:46 PDT 2018, Suman Anna wrote: > > > The current rpmsg_client_sample uses a fixed number of messages to > > be sent to each instance. This is currently set at 100. Introduce > > an optional module parameter 'count' so that the number of messages > > to be exchanged can be made flexible. > > > > Rather than sending N messages as fast as possible to any sample channel > that comes up, how about making the sample create a debugfs entry that > we can write messages to from user space? Wouldn't it be better to make it sysfs rather than debugfs knob? -- ~Vinod