Re: acpiec(4): clear events based on vendor

2014-06-11 Thread Paul Irofti
On Tue, Jun 10, 2014 at 11:50:02PM +0200, Remi Locherer wrote: On Tue, Jun 10, 2014 at 06:25:33PM +0300, Paul Irofti wrote: After discussions with Theo we decided to walk the table where needed instead of using the soft state variables. Also adding all the Samsung models to the quirks

Re: acpiec(4): clear events based on vendor

2014-06-11 Thread Remi Locherer
On Wed, Jun 11, 2014 at 09:11:54AM +0300, Paul Irofti wrote: On Tue, Jun 10, 2014 at 11:50:02PM +0200, Remi Locherer wrote: On Tue, Jun 10, 2014 at 06:25:33PM +0300, Paul Irofti wrote: After discussions with Theo we decided to walk the table where needed instead of using the soft state

Re: acpiec(4): clear events based on vendor

2014-06-11 Thread Mark Kettenis
Date: Wed, 11 Jun 2014 08:40:51 +0200 From: Remi Locherer remi.loche...@relo.ch On Wed, Jun 11, 2014 at 09:11:54AM +0300, Paul Irofti wrote: On Tue, Jun 10, 2014 at 11:50:02PM +0200, Remi Locherer wrote: On Tue, Jun 10, 2014 at 06:25:33PM +0300, Paul Irofti wrote: After discussions

Re: acpiec(4): clear events based on vendor

2014-06-11 Thread Paul Irofti
On Wed, Jun 11, 2014 at 09:42:56PM +0200, Mark Kettenis wrote: Date: Wed, 11 Jun 2014 08:40:51 +0200 From: Remi Locherer remi.loche...@relo.ch On Wed, Jun 11, 2014 at 09:11:54AM +0300, Paul Irofti wrote: On Tue, Jun 10, 2014 at 11:50:02PM +0200, Remi Locherer wrote: On Tue, Jun 10,

Re: acpiec(4): clear events based on vendor

2014-06-11 Thread Mike Larkin
On Thu, Jun 12, 2014 at 12:45:23AM +0300, Paul Irofti wrote: On Wed, Jun 11, 2014 at 09:42:56PM +0200, Mark Kettenis wrote: Date: Wed, 11 Jun 2014 08:40:51 +0200 From: Remi Locherer remi.loche...@relo.ch On Wed, Jun 11, 2014 at 09:11:54AM +0300, Paul Irofti wrote: On Tue, Jun 10,

Re: acpiec(4): clear events based on vendor

2014-06-11 Thread Paul Irofti
On Wed, Jun 11, 2014 at 02:49:41PM -0700, Mike Larkin wrote: On Thu, Jun 12, 2014 at 12:45:23AM +0300, Paul Irofti wrote: On Wed, Jun 11, 2014 at 09:42:56PM +0200, Mark Kettenis wrote: Date: Wed, 11 Jun 2014 08:40:51 +0200 From: Remi Locherer remi.loche...@relo.ch On Wed, Jun

acpiec(4): clear events based on vendor

2014-06-10 Thread Paul Irofti
Hi, This is adding vendor-based support to my initial acpiec(4) clear events work[1]. It seems some machines need this only during resume, while other need it at attach (boot) as well. And then there's the group of machines that completely rely on having events in the queue on both boot and

Re: acpiec(4): clear events based on vendor

2014-06-10 Thread Paul Irofti
After discussions with Theo we decided to walk the table where needed instead of using the soft state variables. Also adding all the Samsung models to the quirks table (as per the Linux EC quirks table). Index: acpiec.c === RCS

Re: acpiec(4): clear events based on vendor

2014-06-10 Thread Mark Kettenis
Date: Tue, 10 Jun 2014 18:25:33 +0300 From: Paul Irofti p...@irofti.net After discussions with Theo we decided to walk the table where needed instead of using the soft state variables. Also adding all the Samsung models to the quirks table (as per the Linux EC quirks table). This diff

Re: acpiec(4): clear events based on vendor

2014-06-10 Thread Remi Locherer
On Tue, Jun 10, 2014 at 06:25:33PM +0300, Paul Irofti wrote: After discussions with Theo we decided to walk the table where needed instead of using the soft state variables. Also adding all the Samsung models to the quirks table (as per the Linux EC quirks table). I tried this diff with