RE: [PATCH] ACPICA: Export mutex functions

2017-04-18 Thread Zheng, Lv
Hi, > From: Devel [mailto:devel-boun...@acpica.org] On Behalf Of Zheng, Lv > Subject: Re: [Devel] [PATCH] ACPICA: Export mutex functions > > Hi, > > > From: Guenter Roeck [mailto:li...@roeck-us.net] > > Subject: Re: [PATCH] ACPICA: Export mutex functions > >

RE: [PATCH] ACPICA: Export mutex functions

2017-04-18 Thread Zheng, Lv
Hi, > From: Guenter Roeck [mailto:li...@roeck-us.net] > Subject: Re: [PATCH] ACPICA: Export mutex functions > > On 04/18/2017 12:14 AM, Zheng, Lv wrote: > > Hi, > > > >> From: Zheng, Lv > >> Subject: RE: [PATCH] ACPICA: Export mutex functions &g

RE: [PATCH] ACPICA: Export mutex functions

2017-04-18 Thread Moore, Robert
acpica.org; linux- > ker...@vger.kernel.org; Box, David E > Subject: Re: [PATCH] ACPICA: Export mutex functions > > On Tuesday, April 18, 2017 06:50:26 AM Guenter Roeck wrote: > > On 04/18/2017 12:14 AM, Zheng, Lv wrote: > > > Hi, > > [cut] > > > >

Re: [PATCH] ACPICA: Export mutex functions

2017-04-18 Thread Rafael J. Wysocki
On Tuesday, April 18, 2017 06:50:26 AM Guenter Roeck wrote: > On 04/18/2017 12:14 AM, Zheng, Lv wrote: > > Hi, [cut] > > > > Maybe I should provide more detailed examples for this solution. > > > > For example: > > OperationRegion (SIOT, SuperIOAddressSpace, Zero, 100) > > Field (SIOT, ByteAcc, L

Re: [PATCH] ACPICA: Export mutex functions

2017-04-18 Thread Guenter Roeck
On 04/18/2017 12:14 AM, Zheng, Lv wrote: Hi, From: Zheng, Lv Subject: RE: [PATCH] ACPICA: Export mutex functions Hi, From: Guenter Roeck [mailto:li...@roeck-us.net] Subject: Re: [PATCH] ACPICA: Export mutex functions On 04/17/2017 04:53 PM, Zheng, Lv wrote: Hi, From: Guenter Roeck

RE: [PATCH] ACPICA: Export mutex functions

2017-04-18 Thread Zheng, Lv
Hi, > From: Zheng, Lv > Subject: RE: [PATCH] ACPICA: Export mutex functions > > Hi, > > > From: Guenter Roeck [mailto:li...@roeck-us.net] > > Subject: Re: [PATCH] ACPICA: Export mutex functions > > > > On 04/17/2017 04:53 PM, Zheng, Lv wrote: >

RE: [PATCH] ACPICA: Export mutex functions

2017-04-18 Thread Zheng, Lv
Hi, > From: Guenter Roeck [mailto:li...@roeck-us.net] > Subject: Re: [PATCH] ACPICA: Export mutex functions > > On 04/17/2017 04:53 PM, Zheng, Lv wrote: > > Hi, > > > >> From: Guenter Roeck [mailto:li...@roeck-us.net] > >> Subject: Re: [PATCH] ACPICA: Ex

Re: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Guenter Roeck
On 04/17/2017 04:53 PM, Zheng, Lv wrote: Hi, From: Guenter Roeck [mailto:li...@roeck-us.net] Subject: Re: [PATCH] ACPICA: Export mutex functions On Mon, Apr 17, 2017 at 11:29:38PM +0200, Rafael J. Wysocki wrote: On Mon, Apr 17, 2017 at 11:03 PM, Guenter Roeck wrote: On Mon, Apr 17, 2017 at

RE: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Zheng, Lv
Hi, > From: Guenter Roeck [mailto:li...@roeck-us.net] > Subject: Re: [PATCH] ACPICA: Export mutex functions > > On Mon, Apr 17, 2017 at 11:29:38PM +0200, Rafael J. Wysocki wrote: > > On Mon, Apr 17, 2017 at 11:03 PM, Guenter Roeck wrote: > > > On Mon, Apr 17, 2017

RE: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Zheng, Lv
Hi, > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: Tuesday, April 18, 2017 3:45 AM > Subject: Re: [PATCH] ACPICA: Export mutex functions > > On Mon, Apr 17, 2017 at 07:27:37PM +, Moore, Robert wrote: > > > > > -Original Message- > > >

RE: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Zheng, Lv
eng, Lv > > Cc: Wysocki, Rafael J ; Len Brown > > ; linux-a...@vger.kernel.org; de...@acpica.org; linux- > > ker...@vger.kernel.org > > Subject: RE: [PATCH] ACPICA: Export mutex functions > > > > There is a model for the drivers to directly acquire an AML mutex > > objec

RE: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Zheng, Lv
Hi, > From: Guenter Roeck [mailto:li...@roeck-us.net] > Subject: Re: [PATCH] ACPICA: Export mutex functions > > Hi, > > On Mon, Apr 17, 2017 at 09:39:35AM +, Zheng, Lv wrote: > > Hi, > > > > > From: Guenter Roeck [mailto:li...@roeck-us.net] > >

RE: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Zheng, Lv
Hi, > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Guenter > Roeck > Subject: Re: [PATCH] ACPICA: Export mutex functions > > On 04/17/2017 02:48 AM, Zheng, Lv wrote: > > Hi, > > > >> From: Devel [mailto

Re: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Rafael J. Wysocki
On Tue, Apr 18, 2017 at 12:32 AM, Guenter Roeck wrote: > On Mon, Apr 17, 2017 at 11:29:38PM +0200, Rafael J. Wysocki wrote: >> On Mon, Apr 17, 2017 at 11:03 PM, Guenter Roeck wrote: >> > On Mon, Apr 17, 2017 at 08:40:38PM +, Moore, Robert wrote: >> >> [cut] >> >> [Moore, Robert] >> >> >> >>

Re: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Guenter Roeck
re, Robert wrote: > >> > > > >> > > > -Original Message- > >> > > > From: Moore, Robert > >> > > > Sent: Monday, April 17, 2017 10:13 AM > >> > > > To: Guenter Roeck ; Zheng, Lv > >> > > >

Re: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Rafael J. Wysocki
>> > To: Moore, Robert >> > Cc: Zheng, Lv ; Wysocki, Rafael J >> > ; 'Len Brown' ; 'linux- >> > a...@vger.kernel.org' ; 'de...@acpica.org' >> > ; 'linux-kernel@vger.kernel.org' > > ker...@vger.kernel.org>;

Re: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Guenter Roeck
J > > ; 'Len Brown' ; 'linux- > > a...@vger.kernel.org' ; 'de...@acpica.org' > > ; 'linux-kernel@vger.kernel.org' > ker...@vger.kernel.org>; Box, David E > > Subject: Re: [PATCH] ACPICA: Export mutex functions > > > > On Mo

RE: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Moore, Robert
a.org' > ; 'linux-kernel@vger.kernel.org' ker...@vger.kernel.org>; Box, David E > Subject: Re: [PATCH] ACPICA: Export mutex functions > > On Mon, Apr 17, 2017 at 07:27:37PM +, Moore, Robert wrote: > > > > > -Original Message- > > >

Re: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Guenter Roeck
ger.kernel.org; de...@acpica.org; linux- > > ker...@vger.kernel.org > > Subject: RE: [PATCH] ACPICA: Export mutex functions > > > > There is a model for the drivers to directly acquire an AML mutex > > object. That is why the acquire/release public interfaces were added t

RE: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Moore, Robert
.org' ; 'linux- > ker...@vger.kernel.org' ; Box, David E > (david.e@intel.com) > Subject: RE: [PATCH] ACPICA: Export mutex functions > > > > -Original Message- > > From: Moore, Robert > > Sent: Monday, April 17, 2017 10:13 AM >

RE: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Moore, Robert
> -Original Message- > From: Moore, Robert > Sent: Monday, April 17, 2017 10:13 AM > To: Guenter Roeck ; Zheng, Lv > Cc: Wysocki, Rafael J ; Len Brown > ; linux-a...@vger.kernel.org; de...@acpica.org; linux- > ker...@vger.kernel.org > Subject: RE: [PATCH] ACPICA

RE: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Moore, Robert
; From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: Monday, April 17, 2017 8:57 AM > To: Zheng, Lv > Cc: Moore, Robert; Wysocki, Rafael J; Len Brown; linux- > a...@vger.kernel.org; de...@acpica.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] ACPICA: Export mutex functions

Re: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Guenter Roeck
Hi, On Mon, Apr 17, 2017 at 09:39:35AM +, Zheng, Lv wrote: > Hi, > > > From: Guenter Roeck [mailto:li...@roeck-us.net] > > Subject: Re: [PATCH] ACPICA: Export mutex functions > > > > On Wed, Apr 12, 2017 at 03:29:55PM +, Moore, Robert wrote: > > >

Re: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Guenter Roeck
: Re: [Devel] [PATCH] ACPICA: Export mutex functions Hi, From: Guenter Roeck [mailto:li...@roeck-us.net] Subject: Re: [PATCH] ACPICA: Export mutex functions On Wed, Apr 12, 2017 at 03:29:55PM +, Moore, Robert wrote: The ACPICA mutex functions are based on the host OS functions, so they don&#

RE: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Zheng, Lv
Devel] [PATCH] ACPICA: Export mutex functions > > Hi, > > > From: Guenter Roeck [mailto:li...@roeck-us.net] > > Subject: Re: [PATCH] ACPICA: Export mutex functions > > > > On Wed, Apr 12, 2017 at 03:29:55PM +, Moore, Robert wrote: > > > The ACP

RE: [PATCH] ACPICA: Export mutex functions

2017-04-17 Thread Zheng, Lv
Hi, > From: Guenter Roeck [mailto:li...@roeck-us.net] > Subject: Re: [PATCH] ACPICA: Export mutex functions > > On Wed, Apr 12, 2017 at 03:29:55PM +, Moore, Robert wrote: > > The ACPICA mutex functions are based on the host OS functions, so they > > don't r

RE: [PATCH] ACPICA: Export mutex functions

2017-04-14 Thread Moore, Robert
23 PM > > > To: Moore, Robert > > > Cc: Zheng, Lv ; Wysocki, Rafael J > > > ; Len Brown ; linux- > > > a...@vger.kernel.org; de...@acpica.org; linux-kernel@vger.kernel.org > > > Subject: Re: [PATCH] ACPICA: Export mutex functions > > > > > &

Re: [PATCH] ACPICA: Export mutex functions

2017-04-14 Thread Rafael J. Wysocki
J > > ; Len Brown ; linux- > > a...@vger.kernel.org; de...@acpica.org; linux-kernel@vger.kernel.org > > Subject: Re: [PATCH] ACPICA: Export mutex functions > > > > On Wed, Apr 12, 2017 at 03:29:55PM +, Moore, Robert wrote: > > > The ACPICA mutex functions are based

Re: [PATCH] ACPICA: Export mutex functions

2017-04-12 Thread Guenter Roeck
ael J > > ; Len Brown ; linux- > > a...@vger.kernel.org; de...@acpica.org; linux-kernel@vger.kernel.org > > Subject: Re: [PATCH] ACPICA: Export mutex functions > > > > On Wed, Apr 12, 2017 at 03:29:55PM +, Moore, Robert wrote: > > > The ACPICA mutex functions are bas

RE: [PATCH] ACPICA: Export mutex functions

2017-04-12 Thread Moore, Robert
> Subject: Re: [PATCH] ACPICA: Export mutex functions > > On Wed, Apr 12, 2017 at 03:29:55PM +, Moore, Robert wrote: > > The ACPICA mutex functions are based on the host OS functions, so they > don't really buy you anything. You should just use the native Linux > functio

Re: [PATCH] ACPICA: Export mutex functions

2017-04-12 Thread Guenter Roeck
On Wed, Apr 12, 2017 at 03:29:55PM +, Moore, Robert wrote: > The ACPICA mutex functions are based on the host OS functions, so they don't > really buy you anything. You should just use the native Linux functions. > You mean they don't really acquire the requested ACPI mutex, and the underlyi

RE: [PATCH] ACPICA: Export mutex functions

2017-04-12 Thread Moore, Robert
The ACPICA mutex functions are based on the host OS functions, so they don't really buy you anything. You should just use the native Linux functions. > -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: Wednesday, April 12, 2017 8:13 AM > To: Moore, Robert ; Zhe