[PATCH v6 04/15] net: e100: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher

[PATCH v6 04/15] net: e100: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12

[PATCH v6 10/15] scsi: lpfc: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. It also updates some comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin ---

[PATCH v6 10/15] scsi: lpfc: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. It also updates some comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/lpfc/lpfc.h | 14 +++---

[PATCH v6 07/15] wireless: ipw2200: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/net/wireless/intel/ipw2x00/ipw2200.c |

[PATCH v6 11/15] scsi: megaraid: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Sumit Saxena

[PATCH v6 09/15] scsi: csiostor: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. It also updates the name of some variables and the content of comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna

[PATCH v6 07/15] wireless: ipw2200: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 13 +++-- 1 file changed, 7 insertions(+), 6

[PATCH v6 11/15] scsi: megaraid: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Sumit Saxena --- drivers/scsi/megaraid/megaraid_mbox.c | 33 +++

[PATCH v6 09/15] scsi: csiostor: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. It also updates the name of some variables and the content of comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin ---

Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver

2017-03-19 Thread Michael Zoran
On Sun, 2017-03-19 at 13:58 -0300, Mauro Carvalho Chehab wrote: > Em Fri, 17 Mar 2017 17:34:36 -0700 > Eric Anholt escreveu: > > > Mauro Carvalho Chehab writes: > > > > > Em Wed, 15 Mar 2017 18:46:24 -0700 > > > Michael Zoran

Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver

2017-03-19 Thread Michael Zoran
On Sun, 2017-03-19 at 13:58 -0300, Mauro Carvalho Chehab wrote: > Em Fri, 17 Mar 2017 17:34:36 -0700 > Eric Anholt escreveu: > > > Mauro Carvalho Chehab writes: > > > > > Em Wed, 15 Mar 2017 18:46:24 -0700 > > > Michael Zoran escreveu: > > > > > > > On Wed, 2017-03-15 at 22:08 -0300, Mauro

[PATCH v6 13/15] scsi: mvsas: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mvsas/mv_init.c | 6 +++---

[PATCH v6 12/15] scsi: mpt3sas: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mpt3sas/mpt3sas_base.c | 73

[PATCH v6 13/15] scsi: mvsas: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mvsas/mv_init.c | 6 +++--- drivers/scsi/mvsas/mv_sas.c | 6 +++--- 2 files changed, 6

[PATCH v6 12/15] scsi: mpt3sas: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mpt3sas/mpt3sas_base.c | 73 + 1 file changed, 34

[PATCH v6 08/15] scsi: be2iscsi: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v6 02/15] dmaengine: pch_dma: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v6 08/15] scsi: be2iscsi: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/scsi/be2iscsi/be_iscsi.c | 6 +++---

[PATCH v6 02/15] dmaengine: pch_dma: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/dma/pch_dma.c | 12 ++-- 1 file changed, 6

[PATCH v6 01/15] block: DAC960: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v6 01/15] block: DAC960: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/block/DAC960.c | 38 ++

Re: [PATCH v6 2/8] debugfs: prevent access to removed files' private data

2017-03-19 Thread Arkady
Nicolai, Regarding the debugfs_create_file() which ignores .mmap field in the struct file_operations. The patch is a part of the kernel 4.8 in the Ubuntu 16.10 and breaks quite a few online code examples of mmap drivers. Is is acceptable to replace the debugfs_create_file() by a macro and fail

Re: [PATCH v6 2/8] debugfs: prevent access to removed files' private data

2017-03-19 Thread Arkady
Nicolai, Regarding the debugfs_create_file() which ignores .mmap field in the struct file_operations. The patch is a part of the kernel 4.8 in the Ubuntu 16.10 and breaks quite a few online code examples of mmap drivers. Is is acceptable to replace the debugfs_create_file() by a macro and fail

Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver

2017-03-19 Thread Mauro Carvalho Chehab
Em Fri, 17 Mar 2017 17:34:36 -0700 Eric Anholt escreveu: > Mauro Carvalho Chehab writes: > > > Em Wed, 15 Mar 2017 18:46:24 -0700 > > Michael Zoran escreveu: > > > >> On Wed, 2017-03-15 at 22:08 -0300, Mauro Carvalho Chehab

Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver

2017-03-19 Thread Mauro Carvalho Chehab
Em Fri, 17 Mar 2017 17:34:36 -0700 Eric Anholt escreveu: > Mauro Carvalho Chehab writes: > > > Em Wed, 15 Mar 2017 18:46:24 -0700 > > Michael Zoran escreveu: > > > >> On Wed, 2017-03-15 at 22:08 -0300, Mauro Carvalho Chehab wrote: > >> > >> > No, I didn't. Thanks! Applied it but,

Re: [PATCH tip] x86/mm: Correct fixmap header usage on adaptable MODULES_END

2017-03-19 Thread Thomas Garnier
On Sun, Mar 19, 2017 at 9:03 AM, Wei Yang wrote: > On Fri, Mar 17, 2017 at 10:50:34AM -0700, Thomas Garnier wrote: >>This patch remove fixmap header usage on non-x86 code that was >>introduced by the adaptable MODULE_END change. > > Hi, Thomas > > In this patch, it

Re: [PATCH tip] x86/mm: Correct fixmap header usage on adaptable MODULES_END

2017-03-19 Thread Thomas Garnier
On Sun, Mar 19, 2017 at 9:03 AM, Wei Yang wrote: > On Fri, Mar 17, 2017 at 10:50:34AM -0700, Thomas Garnier wrote: >>This patch remove fixmap header usage on non-x86 code that was >>introduced by the adaptable MODULE_END change. > > Hi, Thomas > > In this patch, it looks you are trying to do two

Re: [PATCH v4 00/13] mm: sub-section memory hotplug support

2017-03-19 Thread Michal Hocko
On Thu 16-03-17 12:04:48, Dan Williams wrote: > On Thu, Mar 16, 2017 at 10:48 AM, Michal Hocko wrote: > > Hi, > > I didn't get to look through the patch series yet and I might not be > > able before LSF/MM. How urgent is this? I am primarily asking because > > the memory

Re: [PATCH v4 00/13] mm: sub-section memory hotplug support

2017-03-19 Thread Michal Hocko
On Thu 16-03-17 12:04:48, Dan Williams wrote: > On Thu, Mar 16, 2017 at 10:48 AM, Michal Hocko wrote: > > Hi, > > I didn't get to look through the patch series yet and I might not be > > able before LSF/MM. How urgent is this? I am primarily asking because > > the memory hotplug is really

Google Summer of Code: WireGuard & kernel hacking

2017-03-19 Thread Jason A. Donenfeld
Hey guys, WireGuard is accepting students for Google Summer of Code. If you're a student and want to spend the summer writing kernel networking code, cryptography code, security code, and all sorts of interesting things, this might be somewhat appealing to you. A few project ideas are listed

Google Summer of Code: WireGuard & kernel hacking

2017-03-19 Thread Jason A. Donenfeld
Hey guys, WireGuard is accepting students for Google Summer of Code. If you're a student and want to spend the summer writing kernel networking code, cryptography code, security code, and all sorts of interesting things, this might be somewhat appealing to you. A few project ideas are listed

Re: [PATCH v4 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-19 Thread Wolfgang Grandegger
Hello Akshay, I still see some improvements... Am 17.03.2017 um 22:10 schrieb Akshay Bhat: This patch adds support for the Holt HI-311x CAN controller. The HI311x CAN controller is capable of transmitting and receiving standard data frames, extended data frames and remote frames. The HI311x

Re: [PATCH v4 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-19 Thread Wolfgang Grandegger
Hello Akshay, I still see some improvements... Am 17.03.2017 um 22:10 schrieb Akshay Bhat: This patch adds support for the Holt HI-311x CAN controller. The HI311x CAN controller is capable of transmitting and receiving standard data frames, extended data frames and remote frames. The HI311x

Re: [PATCH tip] x86/mm: Correct fixmap header usage on adaptable MODULES_END

2017-03-19 Thread Wei Yang
On Fri, Mar 17, 2017 at 10:50:34AM -0700, Thomas Garnier wrote: >This patch remove fixmap header usage on non-x86 code that was >introduced by the adaptable MODULE_END change. Hi, Thomas In this patch, it looks you are trying to do two things for my understanding: 1. To include in

Re: [PATCH tip] x86/mm: Correct fixmap header usage on adaptable MODULES_END

2017-03-19 Thread Wei Yang
On Fri, Mar 17, 2017 at 10:50:34AM -0700, Thomas Garnier wrote: >This patch remove fixmap header usage on non-x86 code that was >introduced by the adaptable MODULE_END change. Hi, Thomas In this patch, it looks you are trying to do two things for my understanding: 1. To include in

Re: [PATCH 4/4] mfd: cpcap: Fix bad use of IRQ sense register

2017-03-19 Thread Tony Lindgren
* Sebastian Reichel [170318 19:03]: > On Thu, Mar 16, 2017 at 05:36:33PM -0700, Tony Lindgren wrote: > > The cpcap INTS registers are for getting the value of the line, > > not for configuring the type. > > > > Cc: Lee Jones > > Cc: Marcel Partap

Re: [PATCH 4/4] mfd: cpcap: Fix bad use of IRQ sense register

2017-03-19 Thread Tony Lindgren
* Sebastian Reichel [170318 19:03]: > On Thu, Mar 16, 2017 at 05:36:33PM -0700, Tony Lindgren wrote: > > The cpcap INTS registers are for getting the value of the line, > > not for configuring the type. > > > > Cc: Lee Jones > > Cc: Marcel Partap > > Cc: Michael Scott > > Cc: Sebastian

Re: [PATCH 4.4 08/35] MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change

2017-03-19 Thread Ben Hutchings
On Thu, 2017-03-16 at 23:29 +0900, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Arnd Bergmann > > commit b3f6046186ef45acfeebc5a59c9fb45cefc685e7 upstream. > > Since linux-4.8,

Re: [PATCH 4.4 08/35] MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change

2017-03-19 Thread Ben Hutchings
On Thu, 2017-03-16 at 23:29 +0900, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Arnd Bergmann > > commit b3f6046186ef45acfeebc5a59c9fb45cefc685e7 upstream. > > Since linux-4.8, CPU_FREQ_STAT is a bool

Re: [Outreachy kernel] [PATCH v3] staging: sm750fb: Code readability is improved

2017-03-19 Thread Geert Uytterhoeven
On Sun, Mar 19, 2017 at 4:52 PM, Arushi Singhal wrote: > On Sun, Mar 19, 2017 at 7:34 PM, Geert Uytterhoeven > wrote: >> >> On Sun, Mar 19, 2017 at 2:11 PM, Julia Lawall >> wrote: >> > On Sun, 19 Mar 2017, Arushi

Re: [Outreachy kernel] [PATCH v3] staging: sm750fb: Code readability is improved

2017-03-19 Thread Geert Uytterhoeven
On Sun, Mar 19, 2017 at 4:52 PM, Arushi Singhal wrote: > On Sun, Mar 19, 2017 at 7:34 PM, Geert Uytterhoeven > wrote: >> >> On Sun, Mar 19, 2017 at 2:11 PM, Julia Lawall >> wrote: >> > On Sun, 19 Mar 2017, Arushi Singhal wrote: >> >> New variables are added to make the code more readable. >> >>

Re: [PATCH] mm: use BITS_PER_LONG to unify the definition in page->flags

2017-03-19 Thread Wei Yang
On Sun, Mar 19, 2017 at 11:08:22AM -0400, Michal Hocko wrote: >On Sun 19-03-17 23:03:45, Wei Yang wrote: >> On Sun, Mar 19, 2017 at 10:30:13AM -0400, Michal Hocko wrote: >> >On Sat 18-03-17 08:39:14, Wei Yang wrote: >> >> The field page->flags is defined as unsigned long and is divided into >> >>

Re: [PATCH] mm: use BITS_PER_LONG to unify the definition in page->flags

2017-03-19 Thread Wei Yang
On Sun, Mar 19, 2017 at 11:08:22AM -0400, Michal Hocko wrote: >On Sun 19-03-17 23:03:45, Wei Yang wrote: >> On Sun, Mar 19, 2017 at 10:30:13AM -0400, Michal Hocko wrote: >> >On Sat 18-03-17 08:39:14, Wei Yang wrote: >> >> The field page->flags is defined as unsigned long and is divided into >> >>

Re: Still OOM problems with 4.9er/4.10er kernels

2017-03-19 Thread Gerhard Wiesinger
On 19.03.2017 16:18, Michal Hocko wrote: On Fri 17-03-17 21:08:31, Gerhard Wiesinger wrote: On 17.03.2017 18:13, Michal Hocko wrote: On Fri 17-03-17 17:37:48, Gerhard Wiesinger wrote: [...] Why does the kernel prefer to swapin/out and not use a.) the free memory? It will use all the free

Re: Still OOM problems with 4.9er/4.10er kernels

2017-03-19 Thread Gerhard Wiesinger
On 19.03.2017 16:18, Michal Hocko wrote: On Fri 17-03-17 21:08:31, Gerhard Wiesinger wrote: On 17.03.2017 18:13, Michal Hocko wrote: On Fri 17-03-17 17:37:48, Gerhard Wiesinger wrote: [...] Why does the kernel prefer to swapin/out and not use a.) the free memory? It will use all the free

Re: [PATCH] f2fs: don't allow volatile writes for non-regular file

2017-03-19 Thread kbuild test robot
-for-non-regular-file/20170319-221605 base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) include

Re: [PATCH] f2fs: don't allow volatile writes for non-regular file

2017-03-19 Thread kbuild test robot
-for-non-regular-file/20170319-221605 base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) include

Re: [PATCH] braille-console: Fix value returned by _braille_console_setup

2017-03-19 Thread Samuel Thibault
Aleksey Makarov, on dim. 19 mars 2017 18:44:23 +0300, wrote: > On 03/19/2017 05:37 PM, Samuel Thibault wrote: > > commit bbeddf52adc1 ("printk: move braille console support into > > separate braille.[ch] files") introduced _braille_console_setup() > > to outline the braille initialization code.

Re: [PATCH] braille-console: Fix value returned by _braille_console_setup

2017-03-19 Thread Samuel Thibault
Aleksey Makarov, on dim. 19 mars 2017 18:44:23 +0300, wrote: > On 03/19/2017 05:37 PM, Samuel Thibault wrote: > > commit bbeddf52adc1 ("printk: move braille console support into > > separate braille.[ch] files") introduced _braille_console_setup() > > to outline the braille initialization code.

[PATCH v4] staging: sm750fb: Code readability is improved

2017-03-19 Thread Arushi Singhal
New variables are added to make the code more readable. Signed-off-by: Arushi Singhal --- changes in v4 -try to make the code much more readable. - defined the variable at the top of a block. --- drivers/staging/sm750fb/ddk750_mode.c | 57

[PATCH v4] staging: sm750fb: Code readability is improved

2017-03-19 Thread Arushi Singhal
New variables are added to make the code more readable. Signed-off-by: Arushi Singhal --- changes in v4 -try to make the code much more readable. - defined the variable at the top of a block. --- drivers/staging/sm750fb/ddk750_mode.c | 57 +++ 1 file changed,

Re: [PATCH] braille-console: Fix value returned by _braille_console_setup

2017-03-19 Thread Aleksey Makarov
On 03/19/2017 05:37 PM, Samuel Thibault wrote: commit bbeddf52adc1 ("printk: move braille console support into separate braille.[ch] files") introduced _braille_console_setup() to outline the braille initialization code. There was however some confusion over the value it was supposed to

Re: [PATCH] braille-console: Fix value returned by _braille_console_setup

2017-03-19 Thread Aleksey Makarov
On 03/19/2017 05:37 PM, Samuel Thibault wrote: commit bbeddf52adc1 ("printk: move braille console support into separate braille.[ch] files") introduced _braille_console_setup() to outline the braille initialization code. There was however some confusion over the value it was supposed to

[PATCH v3 02/12] irqchip: mtk-sysirq: extend intpol base to arbitrary number

2017-03-19 Thread Mars Cheng
Originally driver only supports one base. However, MT6797 has more than one bases to configure interrupt polarity. To support possible design change, here comes a solution to use arbitrary number of bases. Signed-off-by: Mars Cheng --- drivers/irqchip/irq-mtk-sysirq.c |

[PATCH v3 02/12] irqchip: mtk-sysirq: extend intpol base to arbitrary number

2017-03-19 Thread Mars Cheng
Originally driver only supports one base. However, MT6797 has more than one bases to configure interrupt polarity. To support possible design change, here comes a solution to use arbitrary number of bases. Signed-off-by: Mars Cheng --- drivers/irqchip/irq-mtk-sysirq.c | 116

[PATCH v3 06/12] dt-bindings: arm: mediatek: document clk bindings for MT6797

2017-03-19 Thread Mars Cheng
From: Kevin-CW Chen This patch adds the binding documentation for apmixedsys, imgsys, infracfg, mmsys, topckgen, vdecsys and vencsys for MT6797. Signed-off-by: Kevin-CW Chen Signed-off-by: Mars Cheng Acked-by:

[PATCH v3 06/12] dt-bindings: arm: mediatek: document clk bindings for MT6797

2017-03-19 Thread Mars Cheng
From: Kevin-CW Chen This patch adds the binding documentation for apmixedsys, imgsys, infracfg, mmsys, topckgen, vdecsys and vencsys for MT6797. Signed-off-by: Kevin-CW Chen Signed-off-by: Mars Cheng Acked-by: Rob Herring --- .../bindings/arm/mediatek/mediatek,apmixedsys.txt |1 +

[PATCH v3 05/12] arm64: dts: mediatek: add mt6797 support

2017-03-19 Thread Mars Cheng
This adds basic chip support for MT6797 SoC. Signed-off-by: Mars Cheng --- arch/arm64/boot/dts/mediatek/Makefile |1 + arch/arm64/boot/dts/mediatek/mt6797-evb.dts | 36 ++ arch/arm64/boot/dts/mediatek/mt6797.dtsi| 182 +++ 3

[PATCH v3 00/12] Add Basic SoC support for MT6797

2017-03-19 Thread Mars Cheng
This patch set adds basic SoC support for mediatek's first 10-core chip, X20, also known as MT6797. - based on 4.11-rc1 - support multiple base address for sysirq - support common clk framework Changes since v2: - prevent uncessary #intpol-bases for mtk-sysirq - add fast path for mtk-sysirq

[PATCH v3 08/12] soc: mediatek: avoid using fixed spm power status defines

2017-03-19 Thread Mars Cheng
Use variables to replace fixed defines since the offset of the status of spm power might be different for some chips Signed-off-by: Mars Cheng Signed-off-by: Kevin-CW Chen --- drivers/soc/mediatek/mtk-scpsys.c | 33

[PATCH v3 05/12] arm64: dts: mediatek: add mt6797 support

2017-03-19 Thread Mars Cheng
This adds basic chip support for MT6797 SoC. Signed-off-by: Mars Cheng --- arch/arm64/boot/dts/mediatek/Makefile |1 + arch/arm64/boot/dts/mediatek/mt6797-evb.dts | 36 ++ arch/arm64/boot/dts/mediatek/mt6797.dtsi| 182 +++ 3 files changed, 219

[PATCH v3 00/12] Add Basic SoC support for MT6797

2017-03-19 Thread Mars Cheng
This patch set adds basic SoC support for mediatek's first 10-core chip, X20, also known as MT6797. - based on 4.11-rc1 - support multiple base address for sysirq - support common clk framework Changes since v2: - prevent uncessary #intpol-bases for mtk-sysirq - add fast path for mtk-sysirq

[PATCH v3 08/12] soc: mediatek: avoid using fixed spm power status defines

2017-03-19 Thread Mars Cheng
Use variables to replace fixed defines since the offset of the status of spm power might be different for some chips Signed-off-by: Mars Cheng Signed-off-by: Kevin-CW Chen --- drivers/soc/mediatek/mtk-scpsys.c | 33 +++-- 1 file changed, 27 insertions(+), 6

[PATCH v3 09/12] soc: mediatek: add vdec item for scpsys

2017-03-19 Thread Mars Cheng
for some chips, there is vdec item in scpsys, this patch adds it. Signed-off-by: Mars Cheng --- drivers/soc/mediatek/mtk-scpsys.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/mediatek/mtk-scpsys.c index

[PATCH v3 09/12] soc: mediatek: add vdec item for scpsys

2017-03-19 Thread Mars Cheng
for some chips, there is vdec item in scpsys, this patch adds it. Signed-off-by: Mars Cheng --- drivers/soc/mediatek/mtk-scpsys.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/mediatek/mtk-scpsys.c index eadbf0d..a8ba800 100644 ---

[PATCH v3 12/12] arm64: dts: mediatek: add clk and scp nodes for MT6797

2017-03-19 Thread Mars Cheng
This adds clk and scp nodes for MT6797 Signed-off-by: Mars Cheng --- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 71 -- 1 file changed, 67 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi

[PATCH v3 04/12] dt-bindings: mediatek: Add bindings for mediatek MT6797 Platform

2017-03-19 Thread Mars Cheng
This adds dt-binding documentation for Mediatek MT6797. Only include very basic items, gic, uart timer and cpu. Signed-off-by: Mars Cheng Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/mediatek.txt |4

[PATCH v3 04/12] dt-bindings: mediatek: Add bindings for mediatek MT6797 Platform

2017-03-19 Thread Mars Cheng
This adds dt-binding documentation for Mediatek MT6797. Only include very basic items, gic, uart timer and cpu. Signed-off-by: Mars Cheng Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/mediatek.txt |4 .../interrupt-controller/mediatek,sysirq.txt |1 +

[PATCH v3 12/12] arm64: dts: mediatek: add clk and scp nodes for MT6797

2017-03-19 Thread Mars Cheng
This adds clk and scp nodes for MT6797 Signed-off-by: Mars Cheng --- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 71 -- 1 file changed, 67 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi

[PATCH v3 11/12] soc: mediatek: add MT6797 scysys support

2017-03-19 Thread Mars Cheng
This adds scysys support for MT6797 Signed-off-by: Mars Cheng Signed-off-by: Kevin-CW Chen --- drivers/soc/mediatek/mtk-scpsys.c| 114 ++ include/dt-bindings/power/mt6797-power.h | 30 2 files

[PATCH v3 10/12] dt-bindings: mediatek: add MT6797 power dt-bindings

2017-03-19 Thread Mars Cheng
This adds scpsys dt-bindings for MT6797 Signed-off-by: Mars Cheng Signed-off-by: Kevin-CW Chen --- .../devicetree/bindings/soc/mediatek/scpsys.txt|6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH v3 11/12] soc: mediatek: add MT6797 scysys support

2017-03-19 Thread Mars Cheng
This adds scysys support for MT6797 Signed-off-by: Mars Cheng Signed-off-by: Kevin-CW Chen --- drivers/soc/mediatek/mtk-scpsys.c| 114 ++ include/dt-bindings/power/mt6797-power.h | 30 2 files changed, 144 insertions(+) create mode 100644

[PATCH v3 10/12] dt-bindings: mediatek: add MT6797 power dt-bindings

2017-03-19 Thread Mars Cheng
This adds scpsys dt-bindings for MT6797 Signed-off-by: Mars Cheng Signed-off-by: Kevin-CW Chen --- .../devicetree/bindings/soc/mediatek/scpsys.txt|6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt

[PATCH v3 03/12] irqchip: mtk-sysirq: prevent unnecessary visibility when set_type

2017-03-19 Thread Mars Cheng
This prevent unnecessary visibility when configuring trigger type Signed-off-by: Mars Cheng --- drivers/irqchip/irq-mtk-sysirq.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-mtk-sysirq.c b/drivers/irqchip/irq-mtk-sysirq.c

[PATCH v3 07/12] clk: mediatek: add clk support for MT6797

2017-03-19 Thread Mars Cheng
From: Kevin-CW Chen Add MT6797 clock support, include topckgen, apmixedsys, infracfg and subsystem clocks Signed-off-by: Kevin-CW Chen Signed-off-by: Mars Cheng Tested-by: Matthias Brugger

[PATCH v3 03/12] irqchip: mtk-sysirq: prevent unnecessary visibility when set_type

2017-03-19 Thread Mars Cheng
This prevent unnecessary visibility when configuring trigger type Signed-off-by: Mars Cheng --- drivers/irqchip/irq-mtk-sysirq.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-mtk-sysirq.c b/drivers/irqchip/irq-mtk-sysirq.c index 9ba969c..eeac512

[PATCH v3 07/12] clk: mediatek: add clk support for MT6797

2017-03-19 Thread Mars Cheng
From: Kevin-CW Chen Add MT6797 clock support, include topckgen, apmixedsys, infracfg and subsystem clocks Signed-off-by: Kevin-CW Chen Signed-off-by: Mars Cheng Tested-by: Matthias Brugger --- drivers/clk/mediatek/Kconfig | 32 ++ drivers/clk/mediatek/Makefile |5 +

[PATCH v3 01/12] dt-bindings: mediatek: multiple bases support for sysirq

2017-03-19 Thread Mars Cheng
This describes how to specify multiple base addresses for sysirq in mediatek platforms. Signed-off-by: Mars Cheng --- .../interrupt-controller/mediatek,sysirq.txt | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git

[PATCH v3 01/12] dt-bindings: mediatek: multiple bases support for sysirq

2017-03-19 Thread Mars Cheng
This describes how to specify multiple base addresses for sysirq in mediatek platforms. Signed-off-by: Mars Cheng --- .../interrupt-controller/mediatek,sysirq.txt | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v5 38/39] media: imx: csi: fix crop rectangle reset in sink set_fmt

2017-03-19 Thread Russell King - ARM Linux
On Thu, Mar 09, 2017 at 08:53:18PM -0800, Steve Longerbeam wrote: > From: Philipp Zabel > > The csi_try_crop call in set_fmt should compare the cropping rectangle > to the currently set input format, not to the previous input format. Are we really sure that the cropping

Re: [PATCH v5 38/39] media: imx: csi: fix crop rectangle reset in sink set_fmt

2017-03-19 Thread Russell King - ARM Linux
On Thu, Mar 09, 2017 at 08:53:18PM -0800, Steve Longerbeam wrote: > From: Philipp Zabel > > The csi_try_crop call in set_fmt should compare the cropping rectangle > to the currently set input format, not to the previous input format. Are we really sure that the cropping support is implemented

Re: Still OOM problems with 4.9er/4.10er kernels

2017-03-19 Thread Michal Hocko
On Fri 17-03-17 21:08:31, Gerhard Wiesinger wrote: > On 17.03.2017 18:13, Michal Hocko wrote: > >On Fri 17-03-17 17:37:48, Gerhard Wiesinger wrote: > >[...] > >>Why does the kernel prefer to swapin/out and not use > >> > >>a.) the free memory? > >It will use all the free memory up to min watermark

Re: Still OOM problems with 4.9er/4.10er kernels

2017-03-19 Thread Michal Hocko
On Fri 17-03-17 21:08:31, Gerhard Wiesinger wrote: > On 17.03.2017 18:13, Michal Hocko wrote: > >On Fri 17-03-17 17:37:48, Gerhard Wiesinger wrote: > >[...] > >>Why does the kernel prefer to swapin/out and not use > >> > >>a.) the free memory? > >It will use all the free memory up to min watermark

Re: [PATCH v6 0/4] i.MX7 PCI support

2017-03-19 Thread Dong Aisheng
On Tue, Mar 14, 2017 at 08:18:23AM -0700, Andrey Smirnov wrote: > Hello, everyone: > > This is a sixth iteration of the code that adds PCI-subsystem bits > necessary for enabling PCI support on i.MX7. > > Andrey Smirnov (4): > PCI: imx6: Add code to support i.MX7D > PCI: imx6: Do not

Re: [PATCH v6 0/4] i.MX7 PCI support

2017-03-19 Thread Dong Aisheng
On Tue, Mar 14, 2017 at 08:18:23AM -0700, Andrey Smirnov wrote: > Hello, everyone: > > This is a sixth iteration of the code that adds PCI-subsystem bits > necessary for enabling PCI support on i.MX7. > > Andrey Smirnov (4): > PCI: imx6: Add code to support i.MX7D > PCI: imx6: Do not

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-19 Thread Russell King - ARM Linux
On Sun, Mar 19, 2017 at 05:00:08PM +0200, Vladimir Zapolskiy wrote: > On 03/19/2017 04:22 PM, Russell King - ARM Linux wrote: > > On Sun, Mar 19, 2017 at 02:21:10PM +, Russell King - ARM Linux wrote: > >> There's a good reason why I dumped a full debug log using GST_DEBUG=*:9, > >> analysed it

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-19 Thread Russell King - ARM Linux
On Sun, Mar 19, 2017 at 05:00:08PM +0200, Vladimir Zapolskiy wrote: > On 03/19/2017 04:22 PM, Russell King - ARM Linux wrote: > > On Sun, Mar 19, 2017 at 02:21:10PM +, Russell King - ARM Linux wrote: > >> There's a good reason why I dumped a full debug log using GST_DEBUG=*:9, > >> analysed it

Re: [PATCH] mm: use BITS_PER_LONG to unify the definition in page->flags

2017-03-19 Thread Michal Hocko
On Sun 19-03-17 23:03:45, Wei Yang wrote: > On Sun, Mar 19, 2017 at 10:30:13AM -0400, Michal Hocko wrote: > >On Sat 18-03-17 08:39:14, Wei Yang wrote: > >> The field page->flags is defined as unsigned long and is divided into > >> several parts to store different information of the page, like

Re: [PATCH v6 2/2] soc/imx: Add GPCv2 power gating driver

2017-03-19 Thread Dong Aisheng
On Thu, Mar 16, 2017 at 06:30:50AM -0700, Andrey Smirnov wrote: > Add code allowing for control of various power domains managed by GPCv2 > IP block found in i.MX7 series of SoCs. Power domains covered by this > patch are: > > - PCIE PHY > - MIPI PHY > - USB HSIC PHY > - USB

Re: [PATCH] mm: use BITS_PER_LONG to unify the definition in page->flags

2017-03-19 Thread Michal Hocko
On Sun 19-03-17 23:03:45, Wei Yang wrote: > On Sun, Mar 19, 2017 at 10:30:13AM -0400, Michal Hocko wrote: > >On Sat 18-03-17 08:39:14, Wei Yang wrote: > >> The field page->flags is defined as unsigned long and is divided into > >> several parts to store different information of the page, like

Re: [PATCH v6 2/2] soc/imx: Add GPCv2 power gating driver

2017-03-19 Thread Dong Aisheng
On Thu, Mar 16, 2017 at 06:30:50AM -0700, Andrey Smirnov wrote: > Add code allowing for control of various power domains managed by GPCv2 > IP block found in i.MX7 series of SoCs. Power domains covered by this > patch are: > > - PCIE PHY > - MIPI PHY > - USB HSIC PHY > - USB

Re: [PATCH] mm: use BITS_PER_LONG to unify the definition in page->flags

2017-03-19 Thread Wei Yang
On Sun, Mar 19, 2017 at 10:30:13AM -0400, Michal Hocko wrote: >On Sat 18-03-17 08:39:14, Wei Yang wrote: >> The field page->flags is defined as unsigned long and is divided into >> several parts to store different information of the page, like section, >> node, zone. Which means all parts must sit

Re: [PATCH] mm: use BITS_PER_LONG to unify the definition in page->flags

2017-03-19 Thread Wei Yang
On Sun, Mar 19, 2017 at 10:30:13AM -0400, Michal Hocko wrote: >On Sat 18-03-17 08:39:14, Wei Yang wrote: >> The field page->flags is defined as unsigned long and is divided into >> several parts to store different information of the page, like section, >> node, zone. Which means all parts must sit

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-19 Thread Vladimir Zapolskiy
On 03/19/2017 04:22 PM, Russell King - ARM Linux wrote: > On Sun, Mar 19, 2017 at 02:21:10PM +, Russell King - ARM Linux wrote: >> There's a good reason why I dumped a full debug log using GST_DEBUG=*:9, >> analysed it for the cause of the failure, and tried several different >> pipelines,

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-19 Thread Vladimir Zapolskiy
On 03/19/2017 04:22 PM, Russell King - ARM Linux wrote: > On Sun, Mar 19, 2017 at 02:21:10PM +, Russell King - ARM Linux wrote: >> There's a good reason why I dumped a full debug log using GST_DEBUG=*:9, >> analysed it for the cause of the failure, and tried several different >> pipelines,

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-19 Thread Nicolas Dufresne
Le dimanche 19 mars 2017 à 00:54 +, Russell King - ARM Linux a écrit : > > > > In practice, I have the impression there is a fair reason why > > framerate > > enumeration isn't implemented (considering there is only 1 valid > > rate). > > That's actually completely incorrect. > > With the

Re: [PATCH v5 00/39] i.MX Media Driver

2017-03-19 Thread Nicolas Dufresne
Le dimanche 19 mars 2017 à 00:54 +, Russell King - ARM Linux a écrit : > > > > In practice, I have the impression there is a fair reason why > > framerate > > enumeration isn't implemented (considering there is only 1 valid > > rate). > > That's actually completely incorrect. > > With the

[PATCH v2 1/2] staging: speakup: Moved OR operator to previous line.

2017-03-19 Thread Arushi Singhal
Moved logical OR operator to previous line to fix the following checkpatch issue: CHECK: Logical continuations should be on the previous line. Signed-off-by: Arushi Singhal --- changes in v2 -change the commit message and subject.

[PATCH v2 1/2] staging: speakup: Moved OR operator to previous line.

2017-03-19 Thread Arushi Singhal
Moved logical OR operator to previous line to fix the following checkpatch issue: CHECK: Logical continuations should be on the previous line. Signed-off-by: Arushi Singhal --- changes in v2 -change the commit message and subject. drivers/staging/speakup/main.c | 8 1 file changed,

<    1   2   3   4   5   6   >