Re: 6b41030fdc790 broke dmatest badly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 07, 2020 at 12:03:26PM +0100, Vladimir Murzin wrote:
> On 9/4/20 6:34 PM, Andy Shevchenko wrote:
> > It becomes a bit annoying to fix dmatest after almost each release.
> > The commit 6b41030fdc79 ("dmaengine: dmatest: Restore default for channel")
> > broke my use case when I tried to start busy channel.
> > 
> > So, before this patch
> > 	...
> > 	echo "busy_chan" > channel
> > 	echo 1 > run
> > 	sh: write error: Device or resource busy
> > 	[ 1013.868313] dmatest: Could not start test, no channels configured
> > 
> > After I have got it run on *ALL* available channels.
> 
> Is not that controlled with max_channels? 

How? I would like to run the test against specific channel. That channel is
occupied and thus I should get an error. This is how it suppose to work and
actually did before your patch.

> > dmatest compiled as a module.
> > 
> > Fix this ASAP, otherwise I will send revert of this and followed up patch next
> > week.
> 
> I don't quite get it, you are sending revert and then a fix rather then helping
> with a fix?

Correct.

> What is reason for such extreme (and non-cooperative) flow?

There are few reasons:
 - the patch made a clear regression
 - I do not understand what that patch is doing and how
 - I do not have time to look at it
 - we are now at v5.9-rc4 and it seems like one or two weeks time to get it
   into v5.9 release
 - and I'm annoyed by breaking this module not the first time for the last
   couple of years

And on top of that it's not how OSS community works. Since you replied, I give
you time to figure out what's going on and provide necessary testing if needed.

> P.S.
> Unfortunately, I do not have access to hardware to run reproducer.

So, please, propose a fix without it. I will test myself.

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux