[PATCH v6 1/2] drivers: hv: vmbus: Introduce latency testing

2019-10-03 Thread Branden Bonaby
Introduce user specified latency in the packet reception path By exposing the test parameters as part of the debugfs channel attributes. We will control the testing state via these attributes. Signed-off-by: Branden Bonaby --- changes in v6: - changed kernel version in Documentation/ABI

[PATCH v6 2/2] tools: hv: add vmbus testing tool

2019-10-03 Thread Branden Bonaby
This is a userspace tool to drive the testing. Currently it supports introducing user specified delay in the host to guest communication path on a per-channel basis. Signed-off-by: Branden Bonaby --- Changes in v4: - Based on Harrys comments, made the tool more user friendly and added more

[PATCH v6 0/2] hv: vmbus: add fuzz testing to hv device

2019-10-03 Thread Branden Bonaby
Updated testing tool with new debugfs location. Branden Bonaby (2): drivers: hv: vmbus: Introduce latency testing tools: hv: add vmbus testing tool Documentation/ABI/testing/debugfs-hyperv | 23 ++ MAINTAINERS | 1 + drivers/hv/Makefile |

Re: [PATCH v5 1/2] drivers: hv: vmbus: Introduce latency testing

2019-10-03 Thread Branden Bonaby
On Thu, Sep 19, 2019 at 10:52:41PM +, Michael Kelley wrote: > From: Branden Bonaby Sent: Thursday, September > 12, 2019 7:32 PM > > > > + > > +static int hv_debugfs_delay_set(void *data, u64 val) > > +{ > > + int ret = 0; > > + > > + if

[PATCH v5 1/2] drivers: hv: vmbus: Introduce latency testing

2019-09-12 Thread Branden Bonaby
Introduce user specified latency in the packet reception path By exposing the test parameters as part of the debugfs channel attributes. We will control the testing state via these attributes. Signed-off-by: Branden Bonaby --- changes in v5: - As per Stephen's suggestion, Moved

[PATCH v5 2/2] tools: hv: add vmbus testing tool

2019-09-12 Thread Branden Bonaby
This is a userspace tool to drive the testing. Currently it supports introducing user specified delay in the host to guest communication path on a per-channel basis. Signed-off-by: Branden Bonaby --- Changes in v4: - Based on Harrys comments, made the tool more user friendly and added more

[PATCH v5 0/2] hv: vmbus: add fuzz testing to hv device

2019-09-12 Thread Branden Bonaby
new debugfs-hyperv file under the section for hyperv. Patch 3: Updated testing tool with new debugfs location. Branden Bonaby (2): drivers: hv: vmbus: Introduce latency testing tools: hv: add vmbus testing tool Documentation/ABI/testing/debugfs-hyperv | 23 ++ MAINTAINERS

Re: [PATCH v4 1/2] drivers: hv: vmbus: Introduce latency testing

2019-09-05 Thread Branden Bonaby
On Mon, Sep 02, 2019 at 06:31:04PM +, Michael Kelley wrote: > From: Branden Bonaby Sent: Wednesday, August 28, > 2019 9:24 PM > > > > Introduce user specified latency in the packet reception path > > By exposing the test parameters as part of the debugfs ch

[PATCH v4 1/2] drivers: hv: vmbus: Introduce latency testing

2019-08-28 Thread Branden Bonaby
Introduce user specified latency in the packet reception path By exposing the test parameters as part of the debugfs channel attributes. We will control the testing state via these attributes. Signed-off-by: Branden Bonaby --- changes in v4: - Combined v3 patch 2 into this patch, and changed

[PATCH v4 0/2] hv: vmbus: add fuzz testing to hv device

2019-08-28 Thread Branden Bonaby
ated MAINTAINERS file with new debugfs-hyperv file under the section for hyperv. Patch 3: Updated testing tool with new debugfs location. Branden Bonaby (2): drivers: hv: vmbus: Introduce latency testing tools: hv: add vmbus testing tool Documentation/ABI/testing/debugf

[PATCH v4 2/2] tools: hv: add vmbus testing tool

2019-08-28 Thread Branden Bonaby
This is a userspace tool to drive the testing. Currently it supports introducing user specified delay in the host to guest communication path on a per-channel basis. Signed-off-by: Branden Bonaby --- Changes in v4: - Based on Harrys comments, made the tool more user friendly and added more

Re: [PATCH v2 1/3] drivers: hv: vmbus: Introduce latency testing

2019-08-23 Thread Branden Bonaby
On Fri, Aug 23, 2019 at 04:44:09PM +, Michael Kelley wrote: > From: Branden Bonaby Sent: Thursday, August 22, > 2019 8:39 PM > > > > diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c > > > > index 09829e15d4a0..c9c63a4033cd 100644 > &g

Re: [PATCH v2 1/3] drivers: hv: vmbus: Introduce latency testing

2019-08-22 Thread Branden Bonaby
> > endmenu > > diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c > > index 09829e15d4a0..c9c63a4033cd 100644 > > --- a/drivers/hv/connection.c > > +++ b/drivers/hv/connection.c > > @@ -357,6 +357,9 @@ void vmbus_on_event(unsigned long data) > > > >

Re: [PATCH v3 2/3] drivers: hv: vmbus: add test attributes to debugfs

2019-08-21 Thread Branden Bonaby
> > +What: /sys/kernel/debug/hyperv//fuzz_test_state > > +Date: August 2019 > > +KernelVersion: 5.3 > > +Contact:Branden Bonaby > > +Description:Fuzz testing status of a vmbus device, whether its in an ON > > +

Re: [PATCH v3 3/3] tools: hv: add vmbus testing tool

2019-08-21 Thread Branden Bonaby
devices; -E would enable it for all devices and change the state to On 'Y' if it wasn't already. let me know your thoughts branden bonaby

[PATCH v3 3/3] tools: hv: add vmbus testing tool

2019-08-20 Thread Branden Bonaby
This is a userspace tool to drive the testing. Currently it supports introducing user specified delay in the host to guest communication path on a per-channel basis. Signed-off-by: Branden Bonaby --- Changes in v3: - Align python tool to match Linux coding style. Changes in v2: - Move testing

[PATCH v3 2/3] drivers: hv: vmbus: add test attributes to debugfs

2019-08-20 Thread Branden Bonaby
Expose the test parameters as part of the debugfs channel attributes. We will control the testing state via these attributes. Signed-off-by: Branden Bonaby --- Changes in v3: - Change call to IS_ERR_OR_NULL, to IS_ERR. Changes in v2: - Move test attributes to debugfs. - Wrap test code under

[PATCH v3 1/3] drivers: hv: vmbus: Introduce latency testing

2019-08-20 Thread Branden Bonaby
Introduce user specified latency in the packet reception path. Signed-off-by: Branden Bonaby --- Changes in v2: - Add #ifdef in Kconfig file so test code will not interfere with non-test code. - Move test code functions for delay to hyperv_vmbus header file. - Wrap test code under

[PATCH v3 0/3] hv: vmbus: add fuzz testing to hv device

2019-08-20 Thread Branden Bonaby
it under the new ifdef. Updated MAINTAINERS file with new debugfs-hyperv file under the section for hyperv. Patch 3: Updated testing tool with new debugfs location. Branden Bonaby (3): drivers: hv: vmbus: Introduce latency testing drivers: hv: vmbus: add fuzz

Re: [PATCH v2 2/3] drivers: hv: vmbus: add test attributes to debugfs

2019-08-20 Thread Branden Bonaby
On Mon, Aug 19, 2019 at 10:44:48PM -0400, Branden Bonaby wrote: > Expose the test parameters as part of the debugfs channel attributes. > We will control the testing state via these attributes. > > Signed-off-by: Branden Bonaby > --- > Changes in v2: > - Move test

[PATCH v2 3/3] tools: hv: add vmbus testing tool

2019-08-19 Thread Branden Bonaby
This is a userspace tool to drive the testing. Currently it supports introducing user specified delay in the host to guest communication path on a per-channel basis. Signed-off-by: Branden Bonaby --- Changes in v2: - Move testing location to new location in debugfs. tools/hv/vmbus_testing

[PATCH v2 2/3] drivers: hv: vmbus: add test attributes to debugfs

2019-08-19 Thread Branden Bonaby
Expose the test parameters as part of the debugfs channel attributes. We will control the testing state via these attributes. Signed-off-by: Branden Bonaby --- Changes in v2: - Move test attributes to debugfs. - Wrap test code under #ifdef statements. - Add new documentation file under

[PATCH v2 0/3] hv: vmbus: add fuzz testing to hv device

2019-08-19 Thread Branden Bonaby
for hyperv. Patch 3: Updated testing tool with new debugfs location. Branden Bonaby (3): drivers: hv: vmbus: Introduce latency testing drivers: hv: vmbus: add fuzz test attributes to debugfs tools: hv: add vmbus testing tool Documentation/ABI/testing/debugfs-hyperv | 21 ++ MAINTAINERS

[PATCH v2 1/3] drivers: hv: vmbus: Introduce latency testing

2019-08-19 Thread Branden Bonaby
Introduce user specified latency in the packet reception path. Signed-off-by: Branden Bonaby --- Changes in v2: - Add #ifdef in Kconfig file so test code will not interfere with non-test code. - Move test code functions for delay to hyperv_vmbus header file. - Wrap test code under

Re: [PATCH 1/3] drivers: hv: vmbus: Introduce latency testing

2019-08-02 Thread Branden Bonaby
On Fri, Aug 02, 2019 at 09:32:59AM +0200, Vitaly Kuznetsov wrote: > Branden Bonaby writes: > > > Introduce user specified latency in the packet reception path. > > > > Signed-off-by: Branden Bonaby > > --- > > drivers/hv/connection.c | 5

Re: [PATCH 2/3] drivers: hv: vmbus: add fuzz test attributes to sysfs

2019-08-02 Thread Branden Bonaby
On Fri, Aug 02, 2019 at 09:34:40AM +0200, Vitaly Kuznetsov wrote: > Branden Bonaby writes: > > > Expose the test parameters as part of the sysfs channel attributes. > > We will control the testing state via these attributes. > > > > Signed-off-by: Branden Bonaby

Re: [PATCH 0/3] hv: vmbus: add fuzz testing to hv devices

2019-08-02 Thread Branden Bonaby
On Fri, Aug 02, 2019 at 09:30:18AM +0200, Vitaly Kuznetsov wrote: > Branden Bonaby writes: > > > This patchset introduces a testing framework for Hyper-V drivers. > > This framework allows us to introduce delays in the packet receive > > path on a per-device basis. Whi

[PATCH 3/3] tools: hv: add vmbus testing tool

2019-08-01 Thread Branden Bonaby
This is a userspace tool to drive the testing. Currently it supports introducing user specified delay in the host to guest communication path on a per-channel basis. Signed-off-by: Branden Bonaby --- tools/hv/vmbus_testing | 326 + 1 file changed, 326

[PATCH 2/3] drivers: hv: vmbus: add fuzz test attributes to sysfs

2019-08-01 Thread Branden Bonaby
Expose the test parameters as part of the sysfs channel attributes. We will control the testing state via these attributes. Signed-off-by: Branden Bonaby --- Documentation/ABI/stable/sysfs-bus-vmbus | 22 ++ drivers/hv/vmbus_drv.c | 97 +++- 2 files

[PATCH 1/3] drivers: hv: vmbus: Introduce latency testing

2019-08-01 Thread Branden Bonaby
Introduce user specified latency in the packet reception path. Signed-off-by: Branden Bonaby --- drivers/hv/connection.c | 5 + drivers/hv/ring_buffer.c | 10 ++ include/linux/hyperv.h | 14 ++ 3 files changed, 29 insertions(+) diff --git a/drivers/hv/connection.c b

[PATCH 0/3] hv: vmbus: add fuzz testing to hv devices

2019-08-01 Thread Branden Bonaby
this to support error injection in the future. Branden Bonaby (3): drivers: hv: vmbus: Introduce latency testing drivers: hv: vmbus: add fuzz test attributes to sysfs tools: hv: add vmbus testing tool Documentation/ABI/stable/sysfs-bus-vmbus | 22 ++ drivers/hv/connection.c | 5

Re: [PATCH] scsi: storvsc: Add ability to change scsi queue depth

2019-06-18 Thread Branden Bonaby
On Tue, Jun 18, 2019 at 09:08:59PM -0400, Martin K. Petersen wrote: > > Branden, > > > Adding functionality to allow the SCSI queue depth to be changed, by > > utilizing the "scsi_change_queue_depth" function. > > Applied to 5.3/scsi-queue. Please run checkpatch before submission. I > fixed it

[PATCH] scsi: storvsc: Add ability to change scsi queue depth

2019-06-14 Thread Branden Bonaby
Adding functionality to allow the SCSI queue depth to be changed, by utilizing the "scsi_change_queue_depth" function. Signed-off-by: Branden Bonaby --- drivers/scsi/storvsc_drv.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/scsi/storvsc_drv.c b/dr