Re: [PATCH] acpi: implement Generic Event Device

2016-01-26 Thread Sinan Kaya
On 1/26/2016 7:38 AM, Andy Shevchenko wrote: > On Mon, Jan 25, 2016 at 11:29 PM, Sinan Kaya wrote: > > Few comments below. > >> Generic Event Device described in ACPI 6.1 allows platforms to handle >> platform interrupts in ACPI ASL statements. It borrows constructs like >> _EVT from GPIO

Re: [PATCH] acpi: implement Generic Event Device

2016-01-26 Thread Andy Shevchenko
On Mon, Jan 25, 2016 at 11:29 PM, Sinan Kaya wrote: Few comments below. > Generic Event Device described in ACPI 6.1 allows platforms to handle > platform interrupts in ACPI ASL statements. It borrows constructs like > _EVT from GPIO events. Can it share code with gpiolib-acpi.c ? I see some

Re: [PATCH] acpi: implement Generic Event Device

2016-01-26 Thread Sinan Kaya
On 1/26/2016 7:38 AM, Andy Shevchenko wrote: > On Mon, Jan 25, 2016 at 11:29 PM, Sinan Kaya wrote: > > Few comments below. > >> Generic Event Device described in ACPI 6.1 allows platforms to handle >> platform interrupts in ACPI ASL statements. It borrows constructs like

Re: [PATCH] acpi: implement Generic Event Device

2016-01-26 Thread Andy Shevchenko
On Mon, Jan 25, 2016 at 11:29 PM, Sinan Kaya wrote: Few comments below. > Generic Event Device described in ACPI 6.1 allows platforms to handle > platform interrupts in ACPI ASL statements. It borrows constructs like > _EVT from GPIO events. Can it share code with

Re: [PATCH] acpi: implement Generic Event Device

2016-01-25 Thread kbuild test robot
Hi Sinan, [auto build test WARNING on pm/linux-next] [also build test WARNING on v4.5-rc1 next-20160125] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

[PATCH] acpi: implement Generic Event Device

2016-01-25 Thread Sinan Kaya
Generic Event Device described in ACPI 6.1 allows platforms to handle platform interrupts in ACPI ASL statements. It borrows constructs like _EVT from GPIO events. All interrupts are listed in _CRS and the handler is written in _EVT method. Here is an example. Device (GED0) { Name (_HID,

[PATCH] acpi: implement Generic Event Device

2016-01-25 Thread Sinan Kaya
Generic Event Device described in ACPI 6.1 allows platforms to handle platform interrupts in ACPI ASL statements. It borrows constructs like _EVT from GPIO events. All interrupts are listed in _CRS and the handler is written in _EVT method. Here is an example. Device (GED0) { Name (_HID,

Re: [PATCH] acpi: implement Generic Event Device

2016-01-25 Thread kbuild test robot
Hi Sinan, [auto build test WARNING on pm/linux-next] [also build test WARNING on v4.5-rc1 next-20160125] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: