Re: How to test device driver?

2021-05-18 Thread Jeffrey Walton
On Mon, May 17, 2021 at 11:28 AM Hyeonggon Yoo <42.hye...@gmail.com> wrote: > ... > - what to do if there's a bug (like syzbot report), fixed it, > but if we don't have that device? You could also ping the mailing list and ask if someone has the hardware available for testing. I make most

Re: How to test device driver?

2021-05-18 Thread Valdis Klētnieks
On Tue, 18 May 2021 08:53:58 +0900, Hyeonggon Yoo said: > I recently was tracking syzbot report that is occured in > sound driver. I don't have the device, but was curious about > what the test method is. Depends what the bug was. > well, build tests are useful but it is not enough, we should

Re: How to test device driver?

2021-05-17 Thread jim . cromie
On Mon, May 17, 2021 at 5:54 PM Hyeonggon Yoo <42.hye...@gmail.com> wrote: > > On Mon, May 17, 2021 at 12:48:38PM -0600, jim.cro...@gmail.com wrote: > > On Mon, May 17, 2021 at 9:28 AM Hyeonggon Yoo <42.hye...@gmail.com> wrote: > > > > > > Hello, there are lots of drivers in linux. > > > > > > My

Re: How to test device driver?

2021-05-17 Thread Hyeonggon Yoo
On Mon, May 17, 2021 at 12:48:38PM -0600, jim.cro...@gmail.com wrote: > On Mon, May 17, 2021 at 9:28 AM Hyeonggon Yoo <42.hye...@gmail.com> wrote: > > > > Hello, there are lots of drivers in linux. > > > > My questions are: > > > > - how can we test driver? is it just using that device for a

Re: How to test device driver?

2021-05-17 Thread jim . cromie
On Mon, May 17, 2021 at 9:28 AM Hyeonggon Yoo <42.hye...@gmail.com> wrote: > > Hello, there are lots of drivers in linux. > > My questions are: > > - how can we test driver? is it just using that device for a long > time as a user? > testing is hard. Having the device is highly recommended.

How to test device driver?

2021-05-17 Thread Hyeonggon Yoo
Hello, there are lots of drivers in linux. My questions are: - how can we test driver? is it just using that device for a long time as a user? - what to do if there's a bug (like syzbot report), fixed it, but if we don't have that device?