[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [PATCH V6 1/2] virtio-gpio: Add the device specification
On 26-07-21, 13:30, Geert Uytterhoeven wrote: > Hi Viresh, > > On Mon, Jul 26, 2021 at 12:16 PM Viresh Kumar <viresh.kumar@linaro.org> wrote: > > On 26-07-21, 11:18, Arnd Bergmann wrote: > > > Here I have the opposite question: what is the benefit of allowing the requests > > > to be processed out of order? Should these not all be instantaneous, and easier > > > to handle by making the request queue serialized? > > > > Lets say the guest sends two requests, almost at the same time to > > the host and they are queued on the vq in this order only: > > > > - set direction-out-with-value-1 for line 5. > > - set direction-in for line 11. > > > > Now, if the host is able to process them in parallel, then the second > > request for line 11 may finish before the requests for line 5 (as it > > has lesser amount of work to do). > > Speaking about parallel processing, have you already envisioned > support for .[sg]et_multiple()? Not yet, but we can surely do that once someone needs it. Same goes for lots of other gpio pinwise operations. -- viresh
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]