[PATCH v3 1/7] drivers: dio: Avoids building driver if CONFIG_DIO is disabled

2018-09-27 Thread Leonardo Brás
Avoids building driver if 'make drivers/dio/' is called and CONFIG_DIO is disabled. Signed-off-by: Leonardo Brás --- drivers/dio/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dio/Makefile b/drivers/dio/Makefile index ae92d17083f2..8fc80e805b90 100644 ---

[PATCH v3 1/7] drivers: dio: Avoids building driver if CONFIG_DIO is disabled

2018-09-27 Thread Leonardo Brás
Avoids building driver if 'make drivers/dio/' is called and CONFIG_DIO is disabled. Signed-off-by: Leonardo Brás --- drivers/dio/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dio/Makefile b/drivers/dio/Makefile index ae92d17083f2..8fc80e805b90 100644 ---

[PATCH v2 2/3] serial: 8250_uniphier: flatten probe function

2018-09-27 Thread Masahiro Yamada
Currently, the DT-related settings are split out to uniphier_of_serial_setup(), but it turned out to be not nice. The next commit will add a DT property, but it will not fit in the helper. Merge the helper into the probe function. Signed-off-by: Masahiro Yamada --- Changes in v2: None

[PATCH v2 0/3] serial: 8250_uniphier: remove unused code and add auto-flow-control

2018-09-27 Thread Masahiro Yamada
- Remove never-used DT property - Refactor code - Add auto-flow-control support Dai Okamura (1): serial: 8250_uniphier: add auto-flow-control support Masahiro Yamada (2): serial: 8250_uniphier: remove unused "fifo-size" property serial: 8250_uniphier: flatten probe function

[PATCH v2 2/3] serial: 8250_uniphier: flatten probe function

2018-09-27 Thread Masahiro Yamada
Currently, the DT-related settings are split out to uniphier_of_serial_setup(), but it turned out to be not nice. The next commit will add a DT property, but it will not fit in the helper. Merge the helper into the probe function. Signed-off-by: Masahiro Yamada --- Changes in v2: None

[PATCH v2 0/3] serial: 8250_uniphier: remove unused code and add auto-flow-control

2018-09-27 Thread Masahiro Yamada
- Remove never-used DT property - Refactor code - Add auto-flow-control support Dai Okamura (1): serial: 8250_uniphier: add auto-flow-control support Masahiro Yamada (2): serial: 8250_uniphier: remove unused "fifo-size" property serial: 8250_uniphier: flatten probe function

[PATCH v2 1/3] serial: 8250_uniphier: remove unused "fifo-size" property

2018-09-27 Thread Masahiro Yamada
The FIFO size of the UART devices is 64 on almost all UniPhier SoCs with the exception Pro4TV SoC (MN2WS0235), which used 128 FIFO size. However, Pro4TV SoC was never upstreamed, and out of production. So, this property has never been used in a useful way. Let's remove old unused code.

[PATCH v2 3/3] serial: 8250_uniphier: add auto-flow-control support

2018-09-27 Thread Masahiro Yamada
From: Dai Okamura Add selective auto-flow-control support for UniPhier serial driver. Signed-off-by: Dai Okamura Signed-off-by: Masahiro Yamada Reviewed-by: Rob Herring --- Changes in v2: None Documentation/devicetree/bindings/serial/uniphier-uart.txt | 3 +++

[PATCH v2 1/3] serial: 8250_uniphier: remove unused "fifo-size" property

2018-09-27 Thread Masahiro Yamada
The FIFO size of the UART devices is 64 on almost all UniPhier SoCs with the exception Pro4TV SoC (MN2WS0235), which used 128 FIFO size. However, Pro4TV SoC was never upstreamed, and out of production. So, this property has never been used in a useful way. Let's remove old unused code.

[PATCH v2 3/3] serial: 8250_uniphier: add auto-flow-control support

2018-09-27 Thread Masahiro Yamada
From: Dai Okamura Add selective auto-flow-control support for UniPhier serial driver. Signed-off-by: Dai Okamura Signed-off-by: Masahiro Yamada Reviewed-by: Rob Herring --- Changes in v2: None Documentation/devicetree/bindings/serial/uniphier-uart.txt | 3 +++

RE: [RFC PATCH 00/10] arch/x86: AMD QoS support

2018-09-27 Thread Moger, Babu
Thomas, > -Original Message- > From: Thomas Gleixner > Sent: Thursday, September 27, 2018 3:14 PM > To: Moger, Babu > Cc: mi...@redhat.com; h...@zytor.com; fenghua...@intel.com; > reinette.cha...@intel.com; vikas.shiva...@linux.intel.com; > tony.l...@intel.com; x...@kernel.org;

RE: [RFC PATCH 00/10] arch/x86: AMD QoS support

2018-09-27 Thread Moger, Babu
Thomas, > -Original Message- > From: Thomas Gleixner > Sent: Thursday, September 27, 2018 3:14 PM > To: Moger, Babu > Cc: mi...@redhat.com; h...@zytor.com; fenghua...@intel.com; > reinette.cha...@intel.com; vikas.shiva...@linux.intel.com; > tony.l...@intel.com; x...@kernel.org;

Re: [PATCH v2 6/7] drivers: oprofile: Avoids building driver from direct make command

2018-09-27 Thread Leonardo Brás
Hello Eike, > > Oh, it's a Makefile, and as all text files, it have to end with newline. > > If I am wrong, please let me know. > > No, that's fine. But it means it has to have one LF after "tree.". It had > none, now it hat 2. > > Eike Oh, i haven't noticed. Sorry for the trouble. Thanks for

Re: [PATCH v2 6/7] drivers: oprofile: Avoids building driver from direct make command

2018-09-27 Thread Leonardo Brás
Hello Eike, > > Oh, it's a Makefile, and as all text files, it have to end with newline. > > If I am wrong, please let me know. > > No, that's fine. But it means it has to have one LF after "tree.". It had > none, now it hat 2. > > Eike Oh, i haven't noticed. Sorry for the trouble. Thanks for

Response to SFConservancy: Under US copyright, permission regarding a GPL version 2 licensed work is revocable by the grantor .

2018-09-27 Thread viwfrward
The software freedom conservancy has tendered its response: http://sfconservancy.org/news/2018/sep/26/GPLv2-irrevocability/ http://copyleft.org/guide/comprehensive-gpl-guidech8.html#x11-540007.4 "" "The GPLv2 have several provisions that, when taken together, can be construed as an

Response to SFConservancy: Under US copyright, permission regarding a GPL version 2 licensed work is revocable by the grantor .

2018-09-27 Thread viwfrward
The software freedom conservancy has tendered its response: http://sfconservancy.org/news/2018/sep/26/GPLv2-irrevocability/ http://copyleft.org/guide/comprehensive-gpl-guidech8.html#x11-540007.4 "" "The GPLv2 have several provisions that, when taken together, can be construed as an

[PATCH v3 7/7] drivers: hwtracing: Adds Makefile to enable building from directory.

2018-09-27 Thread Leonardo Brás
Adds Makefile to enable building the driver using 'make drivers/hwtracing/'. Changes drivers/Makefile to call the new Makefile directly. It enables user building this driver without building the whole drivers/ subtree. Signed-off-by: Leonardo Brás --- drivers/Makefile | 4 +---

[PATCH v3 7/7] drivers: hwtracing: Adds Makefile to enable building from directory.

2018-09-27 Thread Leonardo Brás
Adds Makefile to enable building the driver using 'make drivers/hwtracing/'. Changes drivers/Makefile to call the new Makefile directly. It enables user building this driver without building the whole drivers/ subtree. Signed-off-by: Leonardo Brás --- drivers/Makefile | 4 +---

[PATCH v3 5/7] drivers: s390: Avoids building drivers if ARCH is not s390.

2018-09-27 Thread Leonardo Brás
Avoids building s390 drivers if 'make drivers/s390/' is called but ARCH is not s390. Signed-off-by: Leonardo Brás --- drivers/s390/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/s390/Makefile b/drivers/s390/Makefile index a863b0462b43..0575f02dba45

[PATCH v3 5/7] drivers: s390: Avoids building drivers if ARCH is not s390.

2018-09-27 Thread Leonardo Brás
Avoids building s390 drivers if 'make drivers/s390/' is called but ARCH is not s390. Signed-off-by: Leonardo Brás --- drivers/s390/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/s390/Makefile b/drivers/s390/Makefile index a863b0462b43..0575f02dba45

[PATCH v3 6/7] drivers: oprofile: Avoids building driver from direct make command

2018-09-27 Thread Leonardo Brás
Creates new Makefile to avoid building driver if 'make drivers/oprofile/' is called directly. This driver is usually built from arch/$ARCH and seems to have no meaning building alone. Signed-off-by: Leonardo Brás --- drivers/oprofile/Makefile | 1 + 1 file changed, 1 insertion(+) create mode

[PATCH v3 6/7] drivers: oprofile: Avoids building driver from direct make command

2018-09-27 Thread Leonardo Brás
Creates new Makefile to avoid building driver if 'make drivers/oprofile/' is called directly. This driver is usually built from arch/$ARCH and seems to have no meaning building alone. Signed-off-by: Leonardo Brás --- drivers/oprofile/Makefile | 1 + 1 file changed, 1 insertion(+) create mode

[PATCH v3 4/7] drivers: zorro: Avoids building proc.o if CONFIG_ZORRO is disabled

2018-09-27 Thread Leonardo Brás
Avoids building proc.o if 'make drivers/zorro/' is called and CONFIG_ZORRO is disabled, even if CONFIG_PROC_FS is enabled. Signed-off-by: Leonardo Brás --- drivers/zorro/Makefile | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/zorro/Makefile

[PATCH v3 4/7] drivers: zorro: Avoids building proc.o if CONFIG_ZORRO is disabled

2018-09-27 Thread Leonardo Brás
Avoids building proc.o if 'make drivers/zorro/' is called and CONFIG_ZORRO is disabled, even if CONFIG_PROC_FS is enabled. Signed-off-by: Leonardo Brás --- drivers/zorro/Makefile | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/zorro/Makefile

[PATCH v3 2/7] drivers: nubus: Avoids building driver if CONFIG_NUBUS is disabled

2018-09-27 Thread Leonardo Brás
Avoids building driver if 'make drivers/nubus/' is called and CONFIG_NUBUS is disabled. Avoids building proc.o if CONFIG_PROC_FS is enabled but CONFIG_NUBUS is disabled. Signed-off-by: Leonardo Brás --- drivers/nubus/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff

(Response to SFConservancy) Under US copyright, permission regarding a GPL version 2 licensed work is revocable by the grantor.

2018-09-27 Thread vweforwd
The software freedom conservancy has tendered its response: http://sfconservancy.org/news/2018/sep/26/GPLv2-irrevocability/ http://copyleft.org/guide/comprehensive-gpl-guidech8.html#x11-540007.4 "" "The GPLv2 have several provisions that, when taken together, can be construed as an irrevocable

[PATCH v3 2/7] drivers: nubus: Avoids building driver if CONFIG_NUBUS is disabled

2018-09-27 Thread Leonardo Brás
Avoids building driver if 'make drivers/nubus/' is called and CONFIG_NUBUS is disabled. Avoids building proc.o if CONFIG_PROC_FS is enabled but CONFIG_NUBUS is disabled. Signed-off-by: Leonardo Brás --- drivers/nubus/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff

(Response to SFConservancy) Under US copyright, permission regarding a GPL version 2 licensed work is revocable by the grantor.

2018-09-27 Thread vweforwd
The software freedom conservancy has tendered its response: http://sfconservancy.org/news/2018/sep/26/GPLv2-irrevocability/ http://copyleft.org/guide/comprehensive-gpl-guidech8.html#x11-540007.4 "" "The GPLv2 have several provisions that, when taken together, can be construed as an irrevocable

[PATCH v3 3/7] drivers: parisc: Avoids building driver if CONFIG_PARISC is disabled

2018-09-27 Thread Leonardo Brás
Avoids building driver if 'make drivers/parisc/' is called and CONFIG_PARISC is disabled. Signed-off-by: Leonardo Brás --- drivers/parisc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/parisc/Makefile b/drivers/parisc/Makefile index

[PATCH v3 3/7] drivers: parisc: Avoids building driver if CONFIG_PARISC is disabled

2018-09-27 Thread Leonardo Brás
Avoids building driver if 'make drivers/parisc/' is called and CONFIG_PARISC is disabled. Signed-off-by: Leonardo Brás --- drivers/parisc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/parisc/Makefile b/drivers/parisc/Makefile index

[PATCH v3 1/7] drivers: dio: Avoids building driver if CONFIG_DIO is disabled

2018-09-27 Thread Leonardo Brás
Avoids building driver if 'make drivers/dio/' is called and CONFIG_DIO is disabled. Signed-off-by: Leonardo Brás --- drivers/dio/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dio/Makefile b/drivers/dio/Makefile index ae92d17083f2..8fc80e805b90 100644 ---

[PATCH v3 1/7] drivers: dio: Avoids building driver if CONFIG_DIO is disabled

2018-09-27 Thread Leonardo Brás
Avoids building driver if 'make drivers/dio/' is called and CONFIG_DIO is disabled. Signed-off-by: Leonardo Brás --- drivers/dio/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dio/Makefile b/drivers/dio/Makefile index ae92d17083f2..8fc80e805b90 100644 ---

[PATCH v3 0/7] Remove errors building drivers/DRIVERNAME

2018-09-27 Thread Leonardo Brás
Special thanks for the feedback from: - Finn Thain (I fixed the build problem) - Geert Uytterhoeven (The cross compilers were very useful) - Rolf Eike Beer (Was unintentional, thanks for the help!) This Patchset changes some driver's Makefile to allow them building using the command 'make

[PATCH v3 0/7] Remove errors building drivers/DRIVERNAME

2018-09-27 Thread Leonardo Brás
Special thanks for the feedback from: - Finn Thain (I fixed the build problem) - Geert Uytterhoeven (The cross compilers were very useful) - Rolf Eike Beer (Was unintentional, thanks for the help!) This Patchset changes some driver's Makefile to allow them building using the command 'make

Re: [PATCH RFC] x86/earlyprintk: Don't fail the pciserial device with incorrect class code

2018-09-27 Thread Feng Tang
Hi Borislav, Thanks for the review. On Thu, Sep 27, 2018 at 03:30:50PM +0200, Borislav Petkov wrote: > On Thu, Sep 27, 2018 at 08:43:20PM +0800, Feng Tang wrote: > > "pciserial" earlyprintk helps much on many modern x86 platforms, > > but unfortunately there are some platforms whose PCI UART

Re: [PATCH RFC] x86/earlyprintk: Don't fail the pciserial device with incorrect class code

2018-09-27 Thread Feng Tang
Hi Borislav, Thanks for the review. On Thu, Sep 27, 2018 at 03:30:50PM +0200, Borislav Petkov wrote: > On Thu, Sep 27, 2018 at 08:43:20PM +0800, Feng Tang wrote: > > "pciserial" earlyprintk helps much on many modern x86 platforms, > > but unfortunately there are some platforms whose PCI UART

Re: [PATCH v2 6/7] drivers: oprofile: Avoids building driver from direct make command

2018-09-27 Thread Leonardo Brás
Hello Eike, > No, that's fine. But it means it has to have one LF after "tree.". It had > none, now it hat 2. > > Eike Oh, i haven't noticed. Sorry for the trouble. Thanks for the feedback! Leonardo Brás

Re: [PATCH v2 6/7] drivers: oprofile: Avoids building driver from direct make command

2018-09-27 Thread Leonardo Brás
Hello Eike, > No, that's fine. But it means it has to have one LF after "tree.". It had > none, now it hat 2. > > Eike Oh, i haven't noticed. Sorry for the trouble. Thanks for the feedback! Leonardo Brás

Re: [PATCH net-next v6 00/23] WireGuard: Secure Network Tunnel

2018-09-27 Thread Eric Biggers
On Thu, Sep 27, 2018 at 11:35:39PM +0200, Jason A. Donenfeld wrote: > Hi Eric, > > On Thu, Sep 27, 2018 at 8:29 PM Eric Biggers wrote: > > Why is Herbert Xu's existing crypto tree being circumvented, especially for > > future patches (the initial merge isn't quite as important as that's a > >

Re: [PATCH net-next v6 00/23] WireGuard: Secure Network Tunnel

2018-09-27 Thread Eric Biggers
On Thu, Sep 27, 2018 at 11:35:39PM +0200, Jason A. Donenfeld wrote: > Hi Eric, > > On Thu, Sep 27, 2018 at 8:29 PM Eric Biggers wrote: > > Why is Herbert Xu's existing crypto tree being circumvented, especially for > > future patches (the initial merge isn't quite as important as that's a > >

Re: [PATCH] mfd: cros_ec: Avoid unneeded internal declaration warning

2018-09-27 Thread Nathan Chancellor
On Wed, Sep 26, 2018 at 08:33:17PM -0700, Nathan Chancellor wrote: > Clang warns: > > drivers/mfd/cros_ec_dev.c:509:40: warning: variable 'cros_ec_id' is not > needed and will not be emitted [-Wunneeded-internal-declaration] > static const struct platform_device_id cros_ec_id[] = { >

Re: [PATCH] mfd: cros_ec: Avoid unneeded internal declaration warning

2018-09-27 Thread Nathan Chancellor
On Wed, Sep 26, 2018 at 08:33:17PM -0700, Nathan Chancellor wrote: > Clang warns: > > drivers/mfd/cros_ec_dev.c:509:40: warning: variable 'cros_ec_id' is not > needed and will not be emitted [-Wunneeded-internal-declaration] > static const struct platform_device_id cros_ec_id[] = { >

Re: [PATCH] Raise maximum number of memory controllers

2018-09-27 Thread Mauro Carvalho Chehab
Em Fri, 28 Sep 2018 00:03:55 +0200 Borislav Petkov escreveu: > On Thu, Sep 27, 2018 at 02:44:01PM -0700, Luck, Tony wrote: > > The problem with your patch that gets rid of EDAC_MAX_MCS is making > > device links under /sys/bus/edac. Which is hinted at in some of the > > code your patch deleted:

Re: [PATCH] Raise maximum number of memory controllers

2018-09-27 Thread Mauro Carvalho Chehab
Em Fri, 28 Sep 2018 00:03:55 +0200 Borislav Petkov escreveu: > On Thu, Sep 27, 2018 at 02:44:01PM -0700, Luck, Tony wrote: > > The problem with your patch that gets rid of EDAC_MAX_MCS is making > > device links under /sys/bus/edac. Which is hinted at in some of the > > code your patch deleted:

linux-next: build warning after merge of the block tree

2018-09-27 Thread Stephen Rothwell
Hi Jens, After merging the block tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: block/kyber-iosched.c:84:22: warning: integer overflow in expression of type 'long int' results in '705032704' [-Woverflow] [KYBER_DISCARD] = 5 * NSEC_PER_SEC,

linux-next: build warning after merge of the block tree

2018-09-27 Thread Stephen Rothwell
Hi Jens, After merging the block tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: block/kyber-iosched.c:84:22: warning: integer overflow in expression of type 'long int' results in '705032704' [-Woverflow] [KYBER_DISCARD] = 5 * NSEC_PER_SEC,

Re: [PATCH net-next v6 23/23] net: WireGuard secure network tunnel

2018-09-27 Thread Jason A. Donenfeld
On Fri, Sep 28, 2018 at 12:37 AM Jason A. Donenfeld wrote: > Will do. v7 will include the wg_ prefix. $ nm *.o | while read a b c; do [[ $b == T ]] && echo $c; done | grep -v ^wg_ cleanup_module init_module Success.

Re: [PATCH net-next v6 23/23] net: WireGuard secure network tunnel

2018-09-27 Thread Jason A. Donenfeld
On Fri, Sep 28, 2018 at 12:37 AM Jason A. Donenfeld wrote: > Will do. v7 will include the wg_ prefix. $ nm *.o | while read a b c; do [[ $b == T ]] && echo $c; done | grep -v ^wg_ cleanup_module init_module Success.

Re: [PATCH V5 23/30] dt-bindings: interrupt-controller: C-SKY SMP intc

2018-09-27 Thread Guo Ren
On Thu, Sep 27, 2018 at 11:50:44AM -0500, Rob Herring wrote: > On Tue, Sep 25, 2018 at 07:39:26AM +0800, Guo Ren wrote: > > - Dt-bindings doc about C-SKY Multi-processors interrupt controller. > > > > Signed-off-by: Guo Ren > > --- > > .../bindings/interrupt-controller/csky,mpintc.txt | 40 >

Re: [PATCH V5 23/30] dt-bindings: interrupt-controller: C-SKY SMP intc

2018-09-27 Thread Guo Ren
On Thu, Sep 27, 2018 at 11:50:44AM -0500, Rob Herring wrote: > On Tue, Sep 25, 2018 at 07:39:26AM +0800, Guo Ren wrote: > > - Dt-bindings doc about C-SKY Multi-processors interrupt controller. > > > > Signed-off-by: Guo Ren > > --- > > .../bindings/interrupt-controller/csky,mpintc.txt | 40 >

Re: [PATCH V5 18/30] dt-bindings: csky CPU Bindings

2018-09-27 Thread Guo Ren
On Thu, Sep 27, 2018 at 11:43:17AM -0500, Rob Herring wrote: > On Tue, Sep 25, 2018 at 07:39:21AM +0800, Guo Ren wrote: > > This patch adds the documentation to describe that how to add cpu nodes in > > dts for SMP. > > > > Signed-off-by: Guo Ren > > --- > >

Re: [PATCH V5 18/30] dt-bindings: csky CPU Bindings

2018-09-27 Thread Guo Ren
On Thu, Sep 27, 2018 at 11:43:17AM -0500, Rob Herring wrote: > On Tue, Sep 25, 2018 at 07:39:21AM +0800, Guo Ren wrote: > > This patch adds the documentation to describe that how to add cpu nodes in > > dts for SMP. > > > > Signed-off-by: Guo Ren > > --- > >

Re: [PATCH] IB/mlx4: Avoid implicit enumerated type conversion

2018-09-27 Thread Nick Desaulniers
On Thu, Sep 27, 2018 at 3:58 PM Jason Gunthorpe wrote: > > On Thu, Sep 27, 2018 at 03:42:24PM -0700, Nick Desaulniers wrote: > > On Thu, Sep 27, 2018 at 3:33 PM Bart Van Assche wrote: > > > > > > On Thu, 2018-09-27 at 16:28 -0600, Jason Gunthorpe wrote: > > > > On Thu, Sep 27, 2018 at 01:34:16PM

Re: [PATCH] IB/mlx4: Avoid implicit enumerated type conversion

2018-09-27 Thread Nick Desaulniers
On Thu, Sep 27, 2018 at 3:58 PM Jason Gunthorpe wrote: > > On Thu, Sep 27, 2018 at 03:42:24PM -0700, Nick Desaulniers wrote: > > On Thu, Sep 27, 2018 at 3:33 PM Bart Van Assche wrote: > > > > > > On Thu, 2018-09-27 at 16:28 -0600, Jason Gunthorpe wrote: > > > > On Thu, Sep 27, 2018 at 01:34:16PM

[PATCH] staging: bcm2835-camera: Avoid unneeded internal declaration warning

2018-09-27 Thread Nathan Chancellor
Clang warns: drivers/staging/vc04_services/bcm2835-camera/controls.c:59:18: warning: variable 'mains_freq_qmenu' is not needed and will not be emitted [-Wunneeded-internal-declaration] static const s64 mains_freq_qmenu[] = { ^ 1 warning generated. This is because

[PATCH] staging: bcm2835-camera: Avoid unneeded internal declaration warning

2018-09-27 Thread Nathan Chancellor
Clang warns: drivers/staging/vc04_services/bcm2835-camera/controls.c:59:18: warning: variable 'mains_freq_qmenu' is not needed and will not be emitted [-Wunneeded-internal-declaration] static const s64 mains_freq_qmenu[] = { ^ 1 warning generated. This is because

[PATCH V6 32/33] csky: fix flush_cache_range and tlb_start_vma

2018-09-27 Thread Guo Ren
In flush_cache_range(vma, ...) cache_wbinv_range() couldn't deal with vma->mm's asid for cache_flush_line. So we use cache_wbinv_all() first and we'll improve with cache_flush(vma, start, end) in future. For tlb_start_vma, we make it the same as other arch. Signed-off-by: Guo Ren ---

[PATCH V6 32/33] csky: fix flush_cache_range and tlb_start_vma

2018-09-27 Thread Guo Ren
In flush_cache_range(vma, ...) cache_wbinv_range() couldn't deal with vma->mm's asid for cache_flush_line. So we use cache_wbinv_all() first and we'll improve with cache_flush(vma, start, end) in future. For tlb_start_vma, we make it the same as other arch. Signed-off-by: Guo Ren ---

[PATCH V6 29/33] dt-bindings: timer: gx6605s SOC timer

2018-09-27 Thread Guo Ren
- Dt-bindings doc for gx6605s SOC's system timer. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- .../bindings/timer/csky,gx6605s-timer.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644

[PATCH V6 29/33] dt-bindings: timer: gx6605s SOC timer

2018-09-27 Thread Guo Ren
- Dt-bindings doc for gx6605s SOC's system timer. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- .../bindings/timer/csky,gx6605s-timer.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644

[PATCH V6 31/33] csky: fix compile error in linux/bug.h with SMP enabled

2018-09-27 Thread Guo Ren
In linux-4.19 we couldn't include linux/bug.h here when SMP enabled. It'll cause compile error for bad include. In file included from ./arch/csky/include/asm/bitops.h:70:0, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from

[PATCH V6 30/33] clocksource: add gx6605s SOC system timer

2018-09-27 Thread Guo Ren
Changelog: - Add License and Copyright - Use timer-of framework - Change name with upstream feedback - Use clksource_mmio framework Signed-off-by: Guo Ren --- drivers/clocksource/Kconfig | 8 ++ drivers/clocksource/Makefile| 1 + drivers/clocksource/timer-gx6605s.c | 150

[PATCH V6 31/33] csky: fix compile error in linux/bug.h with SMP enabled

2018-09-27 Thread Guo Ren
In linux-4.19 we couldn't include linux/bug.h here when SMP enabled. It'll cause compile error for bad include. In file included from ./arch/csky/include/asm/bitops.h:70:0, from ./include/linux/bitops.h:19, from ./include/linux/kernel.h:11, from

[PATCH V6 30/33] clocksource: add gx6605s SOC system timer

2018-09-27 Thread Guo Ren
Changelog: - Add License and Copyright - Use timer-of framework - Change name with upstream feedback - Use clksource_mmio framework Signed-off-by: Guo Ren --- drivers/clocksource/Kconfig | 8 ++ drivers/clocksource/Makefile| 1 + drivers/clocksource/timer-gx6605s.c | 150

[PATCH V6 19/33] dt-bindings: Add vendor prefix for csky

2018-09-27 Thread Guo Ren
Add csky vendor definition. Signed-off-by: Guo Ren --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 2c3fc51..a728ee3

[PATCH V6 25/33] dt-bindings: timer: C-SKY Multi-processor timer

2018-09-27 Thread Guo Ren
- Dt-bingdings doc for C-SKY SMP system setting. Signed-off-by: Guo Ren --- .../devicetree/bindings/timer/csky,mptimer.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/csky,mptimer.txt diff --git

[PATCH V6 19/33] dt-bindings: Add vendor prefix for csky

2018-09-27 Thread Guo Ren
Add csky vendor definition. Signed-off-by: Guo Ren --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 2c3fc51..a728ee3

[PATCH V6 25/33] dt-bindings: timer: C-SKY Multi-processor timer

2018-09-27 Thread Guo Ren
- Dt-bingdings doc for C-SKY SMP system setting. Signed-off-by: Guo Ren --- .../devicetree/bindings/timer/csky,mptimer.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/csky,mptimer.txt diff --git

[PATCH V6 33/33] csky: use asm-generic/bitops/atomic.h for all

2018-09-27 Thread Guo Ren
Specific implementation do not improve the performance, fall back to asm-generic/bitops/atomic.h. Signed-off-by: Guo Ren --- arch/csky/include/asm/bitops.h | 201 - 1 file changed, 201 deletions(-) diff --git a/arch/csky/include/asm/bitops.h

[PATCH V6 24/33] clocksource: add C-SKY SMP timer

2018-09-27 Thread Guo Ren
This timer is used by SMP system and use mfcr/mtcr instruction to access the regs. Changelog: - Remove #define CPUHP_AP_CSKY_TIMER_STARTING - Add CPUHP_AP_CSKY_TIMER_STARTING in cpuhotplug.h - Support csky mp timer alpha version. - Just use low-counter with 32bit width as clocksource. -

[PATCH V6 23/33] dt-bindings: interrupt-controller: C-SKY SMP intc

2018-09-27 Thread Guo Ren
- Dt-bindings doc about C-SKY Multi-processors interrupt controller. Signed-off-by: Guo Ren --- .../bindings/interrupt-controller/csky,mpintc.txt | 40 ++ 1 file changed, 40 insertions(+) create mode 100644

[PATCH V6 21/33] csky: remove irq_mapping from smp.c

2018-09-27 Thread Guo Ren
There are some feedbacks from irqchip, and we need to adjust "smp.c & smp.h" to match the csky_mptimer modification. - Move IPI_IRQ define into drivers/irqchip/csky_mpintc.c, because it's a interrupt controller specific. - Bugfix request_irq with IPI_IRQ, we must use irq_mapping return value

[PATCH V6 27/33] dt-bindings: interrupt-controller: C-SKY APB intc

2018-09-27 Thread Guo Ren
- Dt-bindings doc about C-SKY apb bus interrupt controller. Signed-off-by: Guo Ren --- .../interrupt-controller/csky,apb-intc.txt | 62 ++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt

[PATCH V6 33/33] csky: use asm-generic/bitops/atomic.h for all

2018-09-27 Thread Guo Ren
Specific implementation do not improve the performance, fall back to asm-generic/bitops/atomic.h. Signed-off-by: Guo Ren --- arch/csky/include/asm/bitops.h | 201 - 1 file changed, 201 deletions(-) diff --git a/arch/csky/include/asm/bitops.h

[PATCH V6 24/33] clocksource: add C-SKY SMP timer

2018-09-27 Thread Guo Ren
This timer is used by SMP system and use mfcr/mtcr instruction to access the regs. Changelog: - Remove #define CPUHP_AP_CSKY_TIMER_STARTING - Add CPUHP_AP_CSKY_TIMER_STARTING in cpuhotplug.h - Support csky mp timer alpha version. - Just use low-counter with 32bit width as clocksource. -

[PATCH V6 23/33] dt-bindings: interrupt-controller: C-SKY SMP intc

2018-09-27 Thread Guo Ren
- Dt-bindings doc about C-SKY Multi-processors interrupt controller. Signed-off-by: Guo Ren --- .../bindings/interrupt-controller/csky,mpintc.txt | 40 ++ 1 file changed, 40 insertions(+) create mode 100644

[PATCH V6 21/33] csky: remove irq_mapping from smp.c

2018-09-27 Thread Guo Ren
There are some feedbacks from irqchip, and we need to adjust "smp.c & smp.h" to match the csky_mptimer modification. - Move IPI_IRQ define into drivers/irqchip/csky_mpintc.c, because it's a interrupt controller specific. - Bugfix request_irq with IPI_IRQ, we must use irq_mapping return value

[PATCH V6 27/33] dt-bindings: interrupt-controller: C-SKY APB intc

2018-09-27 Thread Guo Ren
- Dt-bindings doc about C-SKY apb bus interrupt controller. Signed-off-by: Guo Ren --- .../interrupt-controller/csky,apb-intc.txt | 62 ++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt

[PATCH V6 26/33] MAINTAINERS: Add csky

2018-09-27 Thread Guo Ren
Add a maintainer information for the csky(C-SKY) architecture. Signed-off-by: Guo Ren --- MAINTAINERS | 16 1 file changed, 16 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d870cb5..6b7c1be 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3211,6 +3211,22 @@ T:

[PATCH V6 18/33] dt-bindings: csky CPU Bindings

2018-09-27 Thread Guo Ren
This patch adds the documentation to describe that how to add cpu nodes in dts for SMP. Signed-off-by: Guo Ren --- Documentation/devicetree/bindings/csky/cpus.txt | 70 + 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/csky/cpus.txt

[PATCH V6 20/33] csky/dma: fix up dma_mapping error

2018-09-27 Thread Guo Ren
The arch_sync_dma_for_cpu()/arch_sync_dma_for_device() implementation is broken for some combinations that end up in a BUG() instead of performing the necessary flushes. The implementation of arch should follow the following rules: map for_cpu for_device unmap

[PATCH V6 22/33] irqchip: add C-SKY SMP interrupt controller

2018-09-27 Thread Guo Ren
- Irq-csky-mpintc is C-SKY smp system interrupt controller and it could support 16 soft irqs, 16 private irqs, and 992 max common irqs. Changelog: - Move IPI_IRQ into the driver - Remove irq_set_default_host() and use set_ipi_irq_mapping() - Change name with upstream feed-back - Change

[PATCH V6 28/33] irqchip: add C-SKY APB bus interrupt controller

2018-09-27 Thread Guo Ren
- irq-csky-apb-intc is a simple SOC interrupt controller which is used in a lot of C-SKY CPU SOC products. Changelog: - use "bool ret" instead of "int ret" - add support-pulse-signal in irq-csky-apb-intc.c - change name with upstream feed-back - add INTC_IFR to clear irq-pending - remove

[PATCH V6 26/33] MAINTAINERS: Add csky

2018-09-27 Thread Guo Ren
Add a maintainer information for the csky(C-SKY) architecture. Signed-off-by: Guo Ren --- MAINTAINERS | 16 1 file changed, 16 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d870cb5..6b7c1be 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3211,6 +3211,22 @@ T:

[PATCH V6 18/33] dt-bindings: csky CPU Bindings

2018-09-27 Thread Guo Ren
This patch adds the documentation to describe that how to add cpu nodes in dts for SMP. Signed-off-by: Guo Ren --- Documentation/devicetree/bindings/csky/cpus.txt | 70 + 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/csky/cpus.txt

[PATCH V6 20/33] csky/dma: fix up dma_mapping error

2018-09-27 Thread Guo Ren
The arch_sync_dma_for_cpu()/arch_sync_dma_for_device() implementation is broken for some combinations that end up in a BUG() instead of performing the necessary flushes. The implementation of arch should follow the following rules: map for_cpu for_device unmap

[PATCH V6 22/33] irqchip: add C-SKY SMP interrupt controller

2018-09-27 Thread Guo Ren
- Irq-csky-mpintc is C-SKY smp system interrupt controller and it could support 16 soft irqs, 16 private irqs, and 992 max common irqs. Changelog: - Move IPI_IRQ into the driver - Remove irq_set_default_host() and use set_ipi_irq_mapping() - Change name with upstream feed-back - Change

[PATCH V6 28/33] irqchip: add C-SKY APB bus interrupt controller

2018-09-27 Thread Guo Ren
- irq-csky-apb-intc is a simple SOC interrupt controller which is used in a lot of C-SKY CPU SOC products. Changelog: - use "bool ret" instead of "int ret" - add support-pulse-signal in irq-csky-apb-intc.c - change name with upstream feed-back - add INTC_IFR to clear irq-pending - remove

Re: [PATCH v4 3/6] ima: refactor ima_init_policy()

2018-09-27 Thread Mimi Zohar
Hi Nayna, On Wed, 2018-09-26 at 17:52 +0530, Nayna Jain wrote: > +static void add_rules(struct ima_rule_entry *entries, int count, > + enum policy_rule_list file) Using "file" to refer to the policy_rule_list enumeration is unusual.  Please change the variable name to

Re: [PATCH v4 3/6] ima: refactor ima_init_policy()

2018-09-27 Thread Mimi Zohar
Hi Nayna, On Wed, 2018-09-26 at 17:52 +0530, Nayna Jain wrote: > +static void add_rules(struct ima_rule_entry *entries, int count, > + enum policy_rule_list file) Using "file" to refer to the policy_rule_list enumeration is unusual.  Please change the variable name to

Re: [PATCH] sched/fair: vruntime should normalize when switching from fair

2018-09-27 Thread Wanpeng Li
On Thu, 27 Sep 2018 at 21:23, Dietmar Eggemann wrote: > > On 09/27/2018 03:19 AM, Wanpeng Li wrote: > > On Thu, 27 Sep 2018 at 06:38, Dietmar Eggemann > > wrote: > >> > >> Hi, > >> > >> On 09/26/2018 11:50 AM, Wanpeng Li wrote: > >>> Hi Dietmar, > >>> On Tue, 28 Aug 2018 at 22:55, Dietmar

Re: [PATCH] sched/fair: vruntime should normalize when switching from fair

2018-09-27 Thread Wanpeng Li
On Thu, 27 Sep 2018 at 21:23, Dietmar Eggemann wrote: > > On 09/27/2018 03:19 AM, Wanpeng Li wrote: > > On Thu, 27 Sep 2018 at 06:38, Dietmar Eggemann > > wrote: > >> > >> Hi, > >> > >> On 09/26/2018 11:50 AM, Wanpeng Li wrote: > >>> Hi Dietmar, > >>> On Tue, 28 Aug 2018 at 22:55, Dietmar

Re: [PATCH v7 RESEND 1/4] x86/ioremap: add a function ioremap_encrypted() to remap kdump old memory

2018-09-27 Thread lijiang
在 2018年09月28日 00:10, Borislav Petkov 写道: > On Thu, Sep 27, 2018 at 10:53:47PM +0800, lijiang wrote: >> If no need to break this line, it will cause a warning of exceeding 80 >> characters per line. > > That's fine - we don't take the 80 cols rule blindly but apply common > sense. In this

Re: [PATCH v7 RESEND 1/4] x86/ioremap: add a function ioremap_encrypted() to remap kdump old memory

2018-09-27 Thread lijiang
在 2018年09月28日 00:10, Borislav Petkov 写道: > On Thu, Sep 27, 2018 at 10:53:47PM +0800, lijiang wrote: >> If no need to break this line, it will cause a warning of exceeding 80 >> characters per line. > > That's fine - we don't take the 80 cols rule blindly but apply common > sense. In this

[PATCH v4 1/2] dt-bindings: iio: light: bh1750: Add device tree binding documentation

2018-09-27 Thread ryang
Document device tree bindings for ROHM BH1750 ambient light sensor driver. Signed-off-by: ryang --- Changes in v4: - Change example node-name to light-sensor .../devicetree/bindings/iio/light/bh1750.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644

[PATCH v4 1/2] dt-bindings: iio: light: bh1750: Add device tree binding documentation

2018-09-27 Thread ryang
Document device tree bindings for ROHM BH1750 ambient light sensor driver. Signed-off-by: ryang --- Changes in v4: - Change example node-name to light-sensor .../devicetree/bindings/iio/light/bh1750.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644

Re: [PATCH linux-next 10/10] ASoC: rsnd: Add kctrl to configure dai's busif

2018-09-27 Thread Kuninori Morimoto
Hi Jiada Thank you for your patch > ssi0, ssi1, ssi2, ssi3, ssi4 and ssi9 have busif0 to busif7, > currently only busif0 is used by all ssi. > But tdm split and tdm ex-split mode, which require busif1 to > busif7. > > This patch adds kctrl in ssi for dai-link, to make it possible > to

[PATCH v4 2/2] iio: light: bh1750: Add device tree support

2018-09-27 Thread ryang
Add device tree support for ROHM BH1750 series ambient light sensors. Signed-off-by: ryang --- drivers/iio/light/bh1750.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/iio/light/bh1750.c b/drivers/iio/light/bh1750.c index c3a481452b67..28347df78cff 100644 ---

Re: [PATCH linux-next 10/10] ASoC: rsnd: Add kctrl to configure dai's busif

2018-09-27 Thread Kuninori Morimoto
Hi Jiada Thank you for your patch > ssi0, ssi1, ssi2, ssi3, ssi4 and ssi9 have busif0 to busif7, > currently only busif0 is used by all ssi. > But tdm split and tdm ex-split mode, which require busif1 to > busif7. > > This patch adds kctrl in ssi for dai-link, to make it possible > to

[PATCH v4 2/2] iio: light: bh1750: Add device tree support

2018-09-27 Thread ryang
Add device tree support for ROHM BH1750 series ambient light sensors. Signed-off-by: ryang --- drivers/iio/light/bh1750.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/iio/light/bh1750.c b/drivers/iio/light/bh1750.c index c3a481452b67..28347df78cff 100644 ---

<    1   2   3   4   5   6   7   8   9   10   >