Re: [PATCH] powercap / RAPL : remove dependency on iosf_mbi

2015-09-25 Thread Pengyu Ma
f69 6400696f 73665f6d 62695f77 el_id.iosf_mbi_w 0x3640 72656700 696f7366 5f6d6269 5f726561 reg.iosf_mbi_rea $ grep -i iosf_mbi .config # CONFIG_IOSF_MBI is not set It is compiled and included by header file. Pengyu On 09/25/2015 12:33 AM, Jacob Pan wrote: On Thu, 24 Sep 2015 18:03:32 +0800 Peng

Re: [PATCH] powercap / RAPL : remove dependency on iosf_mbi

2015-09-25 Thread Pengyu Ma
f69 6400696f 73665f6d 62695f77 el_id.iosf_mbi_w 0x3640 72656700 696f7366 5f6d6269 5f726561 reg.iosf_mbi_rea $ grep -i iosf_mbi .config # CONFIG_IOSF_MBI is not set It is compiled and included by header file. Pengyu On 09/25/2015 12:33 AM, Jacob Pan wrote: On Thu, 24 Sep 2015 18:03:32 +0800 Pengy

Re: [PATCH] powercap / RAPL : remove dependency on iosf_mbi

2015-09-24 Thread Pengyu Ma
On 09/23/2015 01:01 AM, Jacob Pan wrote: On Tue, 22 Sep 2015 11:11:36 +0800 Pengyu Ma wrote: On 09/22/2015 05:36 AM, Jacob Pan wrote: On Mon, 21 Sep 2015 11:48:14 +0800 Pengyu Ma wrote: On 09/18/2015 11:43 PM, Jacob Pan wrote: On Fri, 18 Sep 2015 02:09:55 +0200 "Rafael J. Wy

Re: [PATCH] powercap / RAPL : remove dependency on iosf_mbi

2015-09-24 Thread Pengyu Ma
On 09/23/2015 01:01 AM, Jacob Pan wrote: On Tue, 22 Sep 2015 11:11:36 +0800 Pengyu Ma <pengyu...@windriver.com> wrote: On 09/22/2015 05:36 AM, Jacob Pan wrote: On Mon, 21 Sep 2015 11:48:14 +0800 Pengyu Ma <pengyu...@windriver.com> wrote: On 09/18/2015 11:43 PM, Jacob Pan wr

Re: [PATCH] powercap / RAPL : remove dependency on iosf_mbi

2015-09-21 Thread Pengyu Ma
On 09/22/2015 05:36 AM, Jacob Pan wrote: On Mon, 21 Sep 2015 11:48:14 +0800 Pengyu Ma wrote: On 09/18/2015 11:43 PM, Jacob Pan wrote: On Fri, 18 Sep 2015 02:09:55 +0200 "Rafael J. Wysocki" wrote: On Thursday, September 17, 2015 03:31:41 PM Pengyu Ma wrote: iosf_mbi is

Re: [PATCH] powercap / RAPL : remove dependency on iosf_mbi

2015-09-21 Thread Pengyu Ma
On 09/22/2015 05:36 AM, Jacob Pan wrote: On Mon, 21 Sep 2015 11:48:14 +0800 Pengyu Ma <pengyu...@windriver.com> wrote: On 09/18/2015 11:43 PM, Jacob Pan wrote: On Fri, 18 Sep 2015 02:09:55 +0200 "Rafael J. Wysocki" <r...@rjwysocki.net> wrote: On Thursday, Septembe

Re: [PATCH] powercap / RAPL : remove dependency on iosf_mbi

2015-09-20 Thread Pengyu Ma
On 09/18/2015 11:43 PM, Jacob Pan wrote: On Fri, 18 Sep 2015 02:09:55 +0200 "Rafael J. Wysocki" wrote: On Thursday, September 17, 2015 03:31:41 PM Pengyu Ma wrote: iosf_mbi is supported on Quark, Braswell, Baytrail and some Atom SoC, but RAPL is not limited to these SoC, it suppo

Re: [PATCH] powercap / RAPL : remove dependency on iosf_mbi

2015-09-20 Thread Pengyu Ma
On 09/18/2015 11:43 PM, Jacob Pan wrote: On Fri, 18 Sep 2015 02:09:55 +0200 "Rafael J. Wysocki" <r...@rjwysocki.net> wrote: On Thursday, September 17, 2015 03:31:41 PM Pengyu Ma wrote: iosf_mbi is supported on Quark, Braswell, Baytrail and some Atom SoC, but RAPL is not limi

[PATCH] powercap / RAPL : remove dependency on iosf_mbi

2015-09-17 Thread Pengyu Ma
iosf_mbi is supported on Quark, Braswell, Baytrail and some Atom SoC, but RAPL is not limited to these SoC, it supports almost Intel CPUs. Remove this dependece to make RAPL support more Intel CPUs. Please select IOSF_MBI on Atom SoCs. Signed-off-by: Pengyu Ma --- drivers/powercap/Kconfig | 2

[PATCH] powercap / RAPL : remove dependency on iosf_mbi

2015-09-17 Thread Pengyu Ma
iosf_mbi is supported on Quark, Braswell, Baytrail and some Atom SoC, but RAPL is not limited to these SoC, it supports almost Intel CPUs. Remove this dependece to make RAPL support more Intel CPUs. Please select IOSF_MBI on Atom SoCs. Signed-off-by: Pengyu Ma <pengyu...@windriver.

[PATCH V4] iio: declare struct to fix warning

2015-08-04 Thread Pengyu Ma
inside parameter list struct iio_dev *indio_dev); 'struct iio_dev' and 'struct iio_trigger' was used before declaration, forward declaration for these structs to fix warning. Signed-off-by: Pengyu Ma Acked-by: Daniel Baluta --- include/linux/iio/trigger.h | 3 +++ 1 file changed, 3

[PATCH V3] iio: declare struct to fix warning

2015-08-04 Thread Pengyu Ma
inside parameter list struct iio_dev *indio_dev); 'struct iio_dev' and 'struct iio_trigger' was used before declaration, forward declaration for these structs to fix warning. Signed-off-by: Pengyu Ma --- include/linux/iio/trigger.h | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Pengyu Ma
On 08/04/2015 04:03 PM, Daniel Baluta wrote: On Mon, Aug 3, 2015 at 5:39 AM, Pengyu Ma wrote: When compile iio related driver the following warning shown: include/linux/iio/trigger.h:35:34: warning: 'struct iio_trigger' declared inside parameter list int (*set_trigger_state)(struct

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Pengyu Ma
On 08/04/2015 03:54 PM, Lars-Peter Clausen wrote: On 08/04/2015 09:52 AM, Pengyu Ma wrote: If this patch is fine, could somebody help me to merge into upstream kernel? It will be merged, don't worry. But things typically take a bit longer than just a single day. So it's will be merge

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Pengyu Ma
If this patch is fine, could somebody help me to merge into upstream kernel? Thanks, Pengyu On 08/03/2015 10:39 AM, Pengyu Ma wrote: When compile iio related driver the following warning shown: include/linux/iio/trigger.h:35:34: warning: 'struct iio_trigger' declared inside parameter list

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Pengyu Ma
On 08/04/2015 03:54 PM, Lars-Peter Clausen wrote: On 08/04/2015 09:52 AM, Pengyu Ma wrote: If this patch is fine, could somebody help me to merge into upstream kernel? It will be merged, don't worry. But things typically take a bit longer than just a single day. So it's will be merge

[PATCH V3] iio: declare struct to fix warning

2015-08-04 Thread Pengyu Ma
inside parameter list struct iio_dev *indio_dev); 'struct iio_dev' and 'struct iio_trigger' was used before declaration, forward declaration for these structs to fix warning. Signed-off-by: Pengyu Ma pengyu...@windriver.com --- include/linux/iio/trigger.h | 3 +++ 1 file changed, 3

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Pengyu Ma
If this patch is fine, could somebody help me to merge into upstream kernel? Thanks, Pengyu On 08/03/2015 10:39 AM, Pengyu Ma wrote: When compile iio related driver the following warning shown: include/linux/iio/trigger.h:35:34: warning: 'struct iio_trigger' declared inside parameter list

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Pengyu Ma
On 08/04/2015 04:03 PM, Daniel Baluta wrote: On Mon, Aug 3, 2015 at 5:39 AM, Pengyu Ma pengyu...@windriver.com wrote: When compile iio related driver the following warning shown: include/linux/iio/trigger.h:35:34: warning: 'struct iio_trigger' declared inside parameter list int

[PATCH V4] iio: declare struct to fix warning

2015-08-04 Thread Pengyu Ma
inside parameter list struct iio_dev *indio_dev); 'struct iio_dev' and 'struct iio_trigger' was used before declaration, forward declaration for these structs to fix warning. Signed-off-by: Pengyu Ma pengyu...@windriver.com Acked-by: Daniel Baluta daniel.bal...@intel.com --- include/linux

[PATCH] usb_gadget: fix spin_lock in pch_udc

2015-08-02 Thread Pengyu Ma
module, ttyGSX cann't recieve data and warning on when remove g_serial. It was unlocked before the modification of the structure it was protecting, fix it as "lock -> unlock" to resolve this. Signed-off-by: Pengyu Ma --- drivers/usb/gadget/udc/p

[PATCH V2] iio: declare struct to fix warning

2015-08-02 Thread Pengyu Ma
inside parameter list struct iio_dev *indio_dev); 'struct iio_dev' and 'struct iio_trigger' was used before declaration, forward declaration for these structs to fix warning. Signed-off-by: Pengyu Ma --- include/linux/iio/trigger.h | 4 1 file changed, 4 insertions(+) diff --git

[PATCH] usb_gadget: fix spin_lock in pch_udc

2015-08-02 Thread Pengyu Ma
to resolve this. Signed-off-by: Pengyu Ma pengyu...@windriver.com --- drivers/usb/gadget/udc/pch_udc.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/usb/gadget/udc/pch_udc.c b/drivers/usb/gadget/udc/pch_udc.c index 613547f..2a35dd4

[PATCH V2] iio: declare struct to fix warning

2015-08-02 Thread Pengyu Ma
inside parameter list struct iio_dev *indio_dev); 'struct iio_dev' and 'struct iio_trigger' was used before declaration, forward declaration for these structs to fix warning. Signed-off-by: Pengyu Ma pengyu...@windriver.com --- include/linux/iio/trigger.h | 4 1 file changed, 4

Re: [PATCH] iio: declare struct to fix warning

2015-07-30 Thread Pengyu Ma
Since my email doesn't subscribe lkml, I will send again with my gmail Pengyu On 07/30/2015 05:18 PM, Pengyu Ma wrote: When compile iio related driver the following warning shown: include/linux/iio/trigger.h:35:34: warning: 'struct iio_trigger' declared inside parameter list int

[PATCH] iio: declare struct to fix warning

2015-07-30 Thread Pengyu Ma
inside parameter list struct iio_dev *indio_dev); 1st warning: 'struct iio_trigger' was used before declaration; 2nd warning: 'struct iio_dev' was used without including head file. Signed-off-by: Pengyu Ma --- include/linux/iio/trigger.h | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH] iio: declare struct to fix warning

2015-07-30 Thread Pengyu Ma
inside parameter list struct iio_dev *indio_dev); 1st warning: 'struct iio_trigger' was used before declaration; 2nd warning: 'struct iio_dev' was used without including head file. Signed-off-by: Pengyu Ma pengyu...@windriver.com --- include/linux/iio/trigger.h | 3 +++ 1 file changed, 3

Re: [PATCH] iio: declare struct to fix warning

2015-07-30 Thread Pengyu Ma
Since my email doesn't subscribe lkml, I will send again with my gmail Pengyu On 07/30/2015 05:18 PM, Pengyu Ma wrote: When compile iio related driver the following warning shown: include/linux/iio/trigger.h:35:34: warning: 'struct iio_trigger' declared inside parameter list int