Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-09-12 Thread Geert Uytterhoeven
Hi Linus, On Thu, Sep 12, 2019 at 10:56 AM Linus Walleij wrote: > On Fri, Jul 5, 2019 at 5:05 PM Geert Uytterhoeven > wrote: > > GPIO controllers are exported to userspace using /dev/gpiochip* > > character devices. Access control to these devices is provided by > > standard UNIX file system pe

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-09-12 Thread Linus Walleij
On Fri, Jul 5, 2019 at 5:05 PM Geert Uytterhoeven wrote: > GPIO controllers are exported to userspace using /dev/gpiochip* > character devices. Access control to these devices is provided by > standard UNIX file system permissions, on an all-or-nothing basis: > either a GPIO controller is access

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-09-06 Thread Geert Uytterhoeven
Hi Bartosz, On Fri, Jul 12, 2019 at 11:27 AM Bartosz Golaszewski wrote: > wt., 9 lip 2019 o 17:59 Geert Uytterhoeven napisał(a): > > On Tue, Jul 9, 2019 at 4:59 PM Bartosz Golaszewski > > wrote: > > > pon., 8 lip 2019 o 12:24 Geert Uytterhoeven > > > napisał(a): > > > > On Mon, Jul 8, 2019 at

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-09-06 Thread Geert Uytterhoeven
On Tue, Jul 9, 2019 at 4:59 PM Bartosz Golaszewski wrote: > pon., 8 lip 2019 o 12:24 Geert Uytterhoeven napisał(a): > > On Mon, Jul 8, 2019 at 11:45 AM Bartosz Golaszewski > > wrote: > > > pt., 5 lip 2019 o 18:05 Geert Uytterhoeven > > > napisał(a): > > > > +static int gpio_virt_agg_set_config

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-08-05 Thread Linus Walleij
On Mon, Aug 5, 2019 at 12:21 PM Marc Zyngier wrote: > On 01/08/2019 09:41, Linus Walleij wrote: > > I would even go so far as to call it "gpio-virtualization" or > > "gpio-virtualized" rather than "gpio-virtual" so it is clear what the > > intended usecase is. We have a bit of confusion in the ke

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-08-05 Thread Marc Zyngier
On 01/08/2019 09:41, Linus Walleij wrote: > Hi Geert! > > Thanks for this very interesting patch! > > On Fri, Jul 5, 2019 at 6:05 PM Geert Uytterhoeven > wrote: > >> GPIO controllers are exported to userspace using /dev/gpiochip* >> character devices. Access control to these devices is provide

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-08-01 Thread Linus Walleij
Hi Geert! Thanks for this very interesting patch! On Fri, Jul 5, 2019 at 6:05 PM Geert Uytterhoeven wrote: > GPIO controllers are exported to userspace using /dev/gpiochip* > character devices. Access control to these devices is provided by > standard UNIX file system permissions, on an all-or

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-07-12 Thread Bartosz Golaszewski
wt., 9 lip 2019 o 17:59 Geert Uytterhoeven napisał(a): > > Hi Bartosz, > > On Tue, Jul 9, 2019 at 4:59 PM Bartosz Golaszewski > wrote: > > pon., 8 lip 2019 o 12:24 Geert Uytterhoeven > > napisał(a): > > > On Mon, Jul 8, 2019 at 11:45 AM Bartosz Golaszewski > > > wrote: > > > > pt., 5 lip 2019

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-07-11 Thread Geert Uytterhoeven
Hi Phil, On Thu, Jul 11, 2019 at 11:24 AM Phil Reid wrote: > On 10/07/2019 18:21, Geert Uytterhoeven wrote: > > On Wed, Jul 10, 2019 at 4:00 AM Phil Reid wrote: > >> On 6/07/2019 00:05, Geert Uytterhoeven wrote: > >>> GPIO controllers are exported to userspace using /dev/gpiochip* > >>> characte

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-07-11 Thread Phil Reid
On 10/07/2019 18:21, Geert Uytterhoeven wrote: Hi Phil, On Wed, Jul 10, 2019 at 4:00 AM Phil Reid wrote: On 6/07/2019 00:05, Geert Uytterhoeven wrote: GPIO controllers are exported to userspace using /dev/gpiochip* character devices. Access control to these devices is provided by standard UN

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-07-10 Thread Phil Reid
G'day Geert, On 6/07/2019 00:05, Geert Uytterhoeven wrote: GPIO controllers are exported to userspace using /dev/gpiochip* character devices. Access control to these devices is provided by standard UNIX file system permissions, on an all-or-nothing basis: either a GPIO controller is accessible

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-07-10 Thread Geert Uytterhoeven
Hi Phil, On Wed, Jul 10, 2019 at 4:00 AM Phil Reid wrote: > On 6/07/2019 00:05, Geert Uytterhoeven wrote: > > GPIO controllers are exported to userspace using /dev/gpiochip* > > character devices. Access control to these devices is provided by > > standard UNIX file system permissions, on an all

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-07-09 Thread Geert Uytterhoeven
Hi Bartosz, On Tue, Jul 9, 2019 at 4:59 PM Bartosz Golaszewski wrote: > pon., 8 lip 2019 o 12:24 Geert Uytterhoeven napisał(a): > > On Mon, Jul 8, 2019 at 11:45 AM Bartosz Golaszewski > > wrote: > > > pt., 5 lip 2019 o 18:05 Geert Uytterhoeven > > > napisał(a): > > > > GPIO controllers are ex

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-07-09 Thread Bartosz Golaszewski
pon., 8 lip 2019 o 12:24 Geert Uytterhoeven napisał(a): > > Hi Bartosz, > > On Mon, Jul 8, 2019 at 11:45 AM Bartosz Golaszewski > wrote: > > pt., 5 lip 2019 o 18:05 Geert Uytterhoeven > > napisał(a): > > > GPIO controllers are exported to userspace using /dev/gpiochip* > > > character devices.

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-07-08 Thread Bartosz Golaszewski
pt., 5 lip 2019 o 18:05 Geert Uytterhoeven napisał(a): > > GPIO controllers are exported to userspace using /dev/gpiochip* > character devices. Access control to these devices is provided by > standard UNIX file system permissions, on an all-or-nothing basis: > either a GPIO controller is accessi

Re: [Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-07-08 Thread Geert Uytterhoeven
Hi Bartosz, On Mon, Jul 8, 2019 at 11:45 AM Bartosz Golaszewski wrote: > pt., 5 lip 2019 o 18:05 Geert Uytterhoeven > napisał(a): > > GPIO controllers are exported to userspace using /dev/gpiochip* > > character devices. Access control to these devices is provided by > > standard UNIX file sys

[Qemu-devel] [PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-07-05 Thread Geert Uytterhoeven
GPIO controllers are exported to userspace using /dev/gpiochip* character devices. Access control to these devices is provided by standard UNIX file system permissions, on an all-or-nothing basis: either a GPIO controller is accessible for a user, or it is not. Currently no mechanism exists to con