Re: grab global lock during acpi_powerdown

2016-08-06 Thread Mike Larkin
On Wed, Aug 03, 2016 at 01:16:11PM +0200, Mark Kettenis wrote: > > Date: Wed, 3 Aug 2016 13:22:33 +0300 > > From: Paul Irofti > > > > Hi, > > > > I was looking at fixing powerdown on the x260 Skylake machine and ran > > into the EC XXX comment from acpi_powerdown(). > > > > I

Re: grab global lock during acpi_powerdown

2016-08-03 Thread Mark Kettenis
> Date: Wed, 3 Aug 2016 13:22:33 +0300 > From: Paul Irofti > > Hi, > > I was looking at fixing powerdown on the x260 Skylake machine and ran > into the EC XXX comment from acpi_powerdown(). > > I think that grabbing the global lock before doing the AML calls is a > good start.

grab global lock during acpi_powerdown

2016-08-03 Thread Paul Irofti
Hi, I was looking at fixing powerdown on the x260 Skylake machine and ran into the EC XXX comment from acpi_powerdown(). I think that grabbing the global lock before doing the AML calls is a good start. What we are missing now is incrementing the global_lock_count variable from the ACPI thread