Re: [PATCH 1/2] ACPI / scan: Make namespace scanning and trimming mutually exclusive

2013-02-03 Thread Steven Newbury
On Sat, 2013-02-02 at 23:27 +0100, Rafael J. Wysocki wrote: > On Saturday, February 02, 2013 08:28:01 PM Steven Newbury wrote: > > > > Tried merging with linux-pm/bleeding-edge, same behaviour: > > > > > > > > [ 3589.013578] ACPI: \_SB_.PCI0.PCIE.GDCK: undocking > > > > [ 3589.585356] vgaarb: devi

Re: [PATCH 1/2] ACPI / scan: Make namespace scanning and trimming mutually exclusive

2013-02-02 Thread Rafael J. Wysocki
On Saturday, February 02, 2013 08:28:01 PM Steven Newbury wrote: > On Sat, 2 Feb 2013, 20:18:28 GMT, Rafael J. Wysocki wrote: > > > On Saturday, February 02, 2013 11:58:41 AM Steven Newbury wrote: > > > On Sat, 2013-01-26 at 15:19 -0800, Yinghai Lu wrote: > > > > On Sat, Jan 26, 2013 at 2:41 PM

Re: [PATCH 1/2] ACPI / scan: Make namespace scanning and trimming mutually exclusive

2013-02-02 Thread Steven Newbury
On Sat,  2 Feb 2013, 20:18:28 GMT, Rafael J. Wysocki wrote: > On Saturday, February 02, 2013 11:58:41 AM Steven Newbury wrote: > > On Sat, 2013-01-26 at 15:19 -0800, Yinghai Lu wrote: > > > On Sat, Jan 26, 2013 at 2:41 PM, Rafael J. Wysocki > > > wrote: > > > > From: Rafael J. Wysocki > > > >

Re: [PATCH 1/2] ACPI / scan: Make namespace scanning and trimming mutually exclusive

2013-02-02 Thread Rafael J. Wysocki
On Saturday, February 02, 2013 11:58:41 AM Steven Newbury wrote: > On Sat, 2013-01-26 at 15:19 -0800, Yinghai Lu wrote: > > On Sat, Jan 26, 2013 at 2:41 PM, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > > > There is no guarantee that acpi_bus_scan() and acpi_bus_trim() will > > >

Re: [PATCH 1/2] ACPI / scan: Make namespace scanning and trimming mutually exclusive

2013-02-02 Thread Steven Newbury
On Sat, 2013-01-26 at 15:19 -0800, Yinghai Lu wrote: > On Sat, Jan 26, 2013 at 2:41 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > There is no guarantee that acpi_bus_scan() and acpi_bus_trim() will > > not be run in parallel for the same scope of the ACPI namespace, > > which m

Re: [PATCH 1/2] ACPI / scan: Make namespace scanning and trimming mutually exclusive

2013-01-29 Thread Steven Newbury
On Sat, 2013-01-26 at 15:19 -0800, Yinghai Lu wrote: > On Sat, Jan 26, 2013 at 2:41 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > There is no guarantee that acpi_bus_scan() and acpi_bus_trim() will > > not be run in parallel for the same scope of the ACPI namespace, > > which m

Re: [PATCH 1/2] ACPI / scan: Make namespace scanning and trimming mutually exclusive

2013-01-26 Thread Yinghai Lu
On Sat, Jan 26, 2013 at 2:41 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > There is no guarantee that acpi_bus_scan() and acpi_bus_trim() will > not be run in parallel for the same scope of the ACPI namespace, > which may lead to a great deal of confusion, so introduce a new mutex >

[PATCH 1/2] ACPI / scan: Make namespace scanning and trimming mutually exclusive

2013-01-26 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There is no guarantee that acpi_bus_scan() and acpi_bus_trim() will not be run in parallel for the same scope of the ACPI namespace, which may lead to a great deal of confusion, so introduce a new mutex to prevent that from happening. Signed-off-by: Rafael J. Wysocki ---