RE: 答复: [iscsi] Deadlock occurred when network is in error

2017-08-15 Thread Tangchen (UVP)
> On Tue, 2017-08-15 at 02:16 +, Tangchen (UVP) wrote: > > But I'm not using mq, and I run into these two problems in a non-mq system. > > The patch you pointed out is fix for mq, so I don't think it can resolve > > this > problem. > > > > IIUC, mq is for SSD ? I'm not using ssd, so mq is

RE: 答复: [iscsi] Deadlock occurred when network is in error

2017-08-15 Thread Tangchen (UVP)
> On Tue, 2017-08-15 at 02:16 +, Tangchen (UVP) wrote: > > But I'm not using mq, and I run into these two problems in a non-mq system. > > The patch you pointed out is fix for mq, so I don't think it can resolve > > this > problem. > > > > IIUC, mq is for SSD ? I'm not using ssd, so mq is

Re: [PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-15 Thread kemi
On 2017年08月16日 00:55, Tim Chen wrote: > On 08/15/2017 02:58 AM, Mel Gorman wrote: >> On Tue, Aug 15, 2017 at 04:45:36PM +0800, Kemi Wang wrote: >> I'm fairly sure this pushes the size of that structure into the next >> cache line which is not welcome. vm_numa_stat_diff is an always

Re: [GIT] Networking

2017-08-15 Thread David Miller
From: Linus Torvalds Date: Tue, 15 Aug 2017 19:21:16 -0700 > On Tue, Aug 15, 2017 at 5:52 PM, David Miller wrote: >> >> dingtianhong (4): >> PCI: Disable PCIe Relaxed Ordering if unsupported >> PCI: Disable Relaxed Ordering for

Re: [GIT] Networking

2017-08-15 Thread David Miller
From: Linus Torvalds Date: Tue, 15 Aug 2017 19:21:16 -0700 > On Tue, Aug 15, 2017 at 5:52 PM, David Miller wrote: >> >> dingtianhong (4): >> PCI: Disable PCIe Relaxed Ordering if unsupported >> PCI: Disable Relaxed Ordering for some Intel processors >> PCI: Disable Relaxed

Re: [PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-15 Thread kemi
On 2017年08月16日 00:55, Tim Chen wrote: > On 08/15/2017 02:58 AM, Mel Gorman wrote: >> On Tue, Aug 15, 2017 at 04:45:36PM +0800, Kemi Wang wrote: >> I'm fairly sure this pushes the size of that structure into the next >> cache line which is not welcome. vm_numa_stat_diff is an always

[GIT PULL] ARM: dts: uniphier: UniPhier DT updates for v4.14

2017-08-15 Thread Masahiro Yamada
Hi Arnd, Olof, Here are UniPhier DT (32bit) updates for the v4.14 merge window. Please pull! The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at:

[GIT PULL] arm64: dts: uniphier: UniPhier DT updates (64bit) for v4.14

2017-08-15 Thread Masahiro Yamada
Hi Arnd, Olof, Here are UniPhier DT (64bit) updates for the v4.14 merge window. Please pull! The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at:

[GIT PULL] ARM: dts: uniphier: UniPhier DT updates for v4.14

2017-08-15 Thread Masahiro Yamada
Hi Arnd, Olof, Here are UniPhier DT (32bit) updates for the v4.14 merge window. Please pull! The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at:

[GIT PULL] arm64: dts: uniphier: UniPhier DT updates (64bit) for v4.14

2017-08-15 Thread Masahiro Yamada
Hi Arnd, Olof, Here are UniPhier DT (64bit) updates for the v4.14 merge window. Please pull! The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at:

[PATCH] usb: quirks: add delay init quirk for Corsair Strafe RGB keyboard

2017-08-15 Thread Kai-Heng Feng
Corsair Strafe RGB keyboard has trouble to initialize: [ 1.679455] usb 3-6: new full-speed USB device number 4 using xhci_hcd [ 6.871136] usb 3-6: unable to read config index 0 descriptor/all [ 6.871138] usb 3-6: can't read configurations, error -110 [ 6.991019] usb 3-6: new full-speed USB device

[PATCH] usb: quirks: add delay init quirk for Corsair Strafe RGB keyboard

2017-08-15 Thread Kai-Heng Feng
Corsair Strafe RGB keyboard has trouble to initialize: [ 1.679455] usb 3-6: new full-speed USB device number 4 using xhci_hcd [ 6.871136] usb 3-6: unable to read config index 0 descriptor/all [ 6.871138] usb 3-6: can't read configurations, error -110 [ 6.991019] usb 3-6: new full-speed USB device

Re: [PATCH 6/6] arm64: dts: uniphier: add Denali NAND controller nodes

2017-08-15 Thread Masahiro Yamada
2017-08-10 1:43 GMT+09:00 Masahiro Yamada : > Add NAND controller node to LD11 and LD20. Neither of them supports > the CS1 line, so pinctrl is set up for a single CS line. > > Signed-off-by: Masahiro Yamada > --- Applied to

Re: [PATCH 6/6] arm64: dts: uniphier: add Denali NAND controller nodes

2017-08-15 Thread Masahiro Yamada
2017-08-10 1:43 GMT+09:00 Masahiro Yamada : > Add NAND controller node to LD11 and LD20. Neither of them supports > the CS1 line, so pinctrl is set up for a single CS line. > > Signed-off-by: Masahiro Yamada > --- Applied to linux-uniphier. -- Best Regards Masahiro Yamada

Re: [PATCH 5/6] ARM: dts: uniphier: add Denali NAND controller node

2017-08-15 Thread Masahiro Yamada
2017-08-10 1:43 GMT+09:00 Masahiro Yamada : > Add NAND controller node to LD4, Pro4, sLD8, Pro5, and PXs2. > Set up pinctrl to enable 2 chip select lines except Pro4. The CS1 > for Pro4 is multiplexed with other peripherals such as UART2, so > I did not enable it. >

Re: [PATCH 5/6] ARM: dts: uniphier: add Denali NAND controller node

2017-08-15 Thread Masahiro Yamada
2017-08-10 1:43 GMT+09:00 Masahiro Yamada : > Add NAND controller node to LD4, Pro4, sLD8, Pro5, and PXs2. > Set up pinctrl to enable 2 chip select lines except Pro4. The CS1 > for Pro4 is multiplexed with other peripherals such as UART2, so > I did not enable it. > > Signed-off-by: Masahiro

[PATCH] arm64: dts: rk3399: init vop clock rates

2017-08-15 Thread Kever Yang
We need to init vop aclk and hclk incase the U-Boot does not do the initialize. Signed-off-by: Kever Yang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi

[PATCH] arm64: dts: rk3399: init vop clock rates

2017-08-15 Thread Kever Yang
We need to init vop aclk and hclk incase the U-Boot does not do the initialize. Signed-off-by: Kever Yang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi

Re: [PATCH v2] zsmalloc: zs_page_migrate: schedule free_work if zspage is ZS_EMPTY

2017-08-15 Thread Hui Zhu
Hi Minchan, 2017-08-16 10:13 GMT+08:00 Minchan Kim : > Hi Hui, > > On Mon, Aug 14, 2017 at 05:56:30PM +0800, Hui Zhu wrote: >> After commit e2846124f9a2 ("zsmalloc: zs_page_migrate: skip unnecessary > > This patch is not merged yet so the hash is invalid. > That means we may

Re: [PATCH v2] zsmalloc: zs_page_migrate: schedule free_work if zspage is ZS_EMPTY

2017-08-15 Thread Hui Zhu
Hi Minchan, 2017-08-16 10:13 GMT+08:00 Minchan Kim : > Hi Hui, > > On Mon, Aug 14, 2017 at 05:56:30PM +0800, Hui Zhu wrote: >> After commit e2846124f9a2 ("zsmalloc: zs_page_migrate: skip unnecessary > > This patch is not merged yet so the hash is invalid. > That means we may fold this patch to

Re: Do we really need d_weak_revalidate???

2017-08-15 Thread NeilBrown
On Mon, Aug 14 2017, Jeff Layton wrote: > On Mon, 2017-08-14 at 09:36 +1000, NeilBrown wrote: >> On Fri, Aug 11 2017, Jeff Layton wrote: >> >> > On Fri, 2017-08-11 at 05:55 +, Trond Myklebust wrote: >> > > On Fri, 2017-08-11 at 14:31 +1000, NeilBrown wrote: >> > > > Funny story. 4.5 years

Re: Do we really need d_weak_revalidate???

2017-08-15 Thread NeilBrown
On Mon, Aug 14 2017, Jeff Layton wrote: > On Mon, 2017-08-14 at 09:36 +1000, NeilBrown wrote: >> On Fri, Aug 11 2017, Jeff Layton wrote: >> >> > On Fri, 2017-08-11 at 05:55 +, Trond Myklebust wrote: >> > > On Fri, 2017-08-11 at 14:31 +1000, NeilBrown wrote: >> > > > Funny story. 4.5 years

[PATCH v2] swap: choose swap device according to numa node

2017-08-15 Thread Aaron Lu
On Tue, Aug 15, 2017 at 03:09:47PM -0700, Andrew Morton wrote: > On Tue, 15 Aug 2017 13:49:45 +0800 Aaron Lu wrote: > > > > I'm not sure what to do...any hint? > > Adding a pr_err() perhaps? > > pr_emerg(), probably. Would it make sense to disable all swapon()s > after

[PATCH v2] swap: choose swap device according to numa node

2017-08-15 Thread Aaron Lu
On Tue, Aug 15, 2017 at 03:09:47PM -0700, Andrew Morton wrote: > On Tue, 15 Aug 2017 13:49:45 +0800 Aaron Lu wrote: > > > > I'm not sure what to do...any hint? > > Adding a pr_err() perhaps? > > pr_emerg(), probably. Would it make sense to disable all swapon()s > after this? Right! I should

Re: [GIT PULL] seccomp updates for next

2017-08-15 Thread James Morris
On Tue, 15 Aug 2017, Kees Cook wrote: > Hi James, > > Please pull these seccomp changes for next. > Pulled to -next, thanks! -- James Morris

Re: [GIT PULL] seccomp updates for next

2017-08-15 Thread James Morris
On Tue, 15 Aug 2017, Kees Cook wrote: > Hi James, > > Please pull these seccomp changes for next. > Pulled to -next, thanks! -- James Morris

[PATCH 3/5] autofs: use AUTOFS_DEV_IOCTL_SIZE

2017-08-15 Thread Ian Kent
From: Tomohiro Kusumi Use a macro which defines misc-dev ioctl parameter size (excluding a path beyond [0]) since it's been used to initialize and copy this structure ever since it first appeared in 8d7b48e0 in 2008. (or simply get rid of this if this is just unnecessary

Re: [PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-15 Thread kemi
>> >> -static inline unsigned long zone_numa_state(struct zone *zone, >> +static inline unsigned long zone_numa_state_snapshot(struct zone *zone, >> enum zone_numa_stat_item item) >> { >> long x = atomic_long_read(>vm_numa_stat[item]); >> +int cpu;

[PATCH 3/5] autofs: use AUTOFS_DEV_IOCTL_SIZE

2017-08-15 Thread Ian Kent
From: Tomohiro Kusumi Use a macro which defines misc-dev ioctl parameter size (excluding a path beyond [0]) since it's been used to initialize and copy this structure ever since it first appeared in 8d7b48e0 in 2008. (or simply get rid of this if this is just unnecessary abstraction when all it

Re: [PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-15 Thread kemi
>> >> -static inline unsigned long zone_numa_state(struct zone *zone, >> +static inline unsigned long zone_numa_state_snapshot(struct zone *zone, >> enum zone_numa_stat_item item) >> { >> long x = atomic_long_read(>vm_numa_stat[item]); >> +int cpu;

[PATCH 1/5] autofs: remove unused AUTOFS_IOC_EXPIRE_DIRECT/INDIRECT

2017-08-15 Thread Ian Kent
From: Tomohiro Kusumi These are not used by either kernel or userspace, although AUTOFS_IOC_EXPIRE_DIRECT once seems to have been used by userspace in around 2006-2008, which was technically just an alias of the existing ioctl AUTOFS_IOC_EXPIRE_MULTI. ioctls for autofs are

[PATCH 1/5] autofs: remove unused AUTOFS_IOC_EXPIRE_DIRECT/INDIRECT

2017-08-15 Thread Ian Kent
From: Tomohiro Kusumi These are not used by either kernel or userspace, although AUTOFS_IOC_EXPIRE_DIRECT once seems to have been used by userspace in around 2006-2008, which was technically just an alias of the existing ioctl AUTOFS_IOC_EXPIRE_MULTI. ioctls for autofs are already complicated

[PATCH 2/5] autofs: non functional header inclusion cleanup

2017-08-15 Thread Ian Kent
From: Tomohiro Kusumi Having header includes before any macro (without any dependency) simply looks normal. No reason to have these macros in between. Signed-off-by: Tomohiro Kusumi Signed-off-by: Ian Kent --- fs/autofs4/autofs_i.h |

[PATCH 5/5] autofs: use unsigned int/long instead of uint/ulong for ioctl args

2017-08-15 Thread Ian Kent
From: Tomohiro Kusumi The standard types unsigned int and unsigned long should be used for .compat_ioctl. autofs is the only fs using uing/ulong for this, and these are even the only uint/ulong in the entire autofs code. Drop unneeded long cast in return value of

[PATCH 2/5] autofs: non functional header inclusion cleanup

2017-08-15 Thread Ian Kent
From: Tomohiro Kusumi Having header includes before any macro (without any dependency) simply looks normal. No reason to have these macros in between. Signed-off-by: Tomohiro Kusumi Signed-off-by: Ian Kent --- fs/autofs4/autofs_i.h | 22 +++--- 1 file changed, 11

[PATCH 5/5] autofs: use unsigned int/long instead of uint/ulong for ioctl args

2017-08-15 Thread Ian Kent
From: Tomohiro Kusumi The standard types unsigned int and unsigned long should be used for .compat_ioctl. autofs is the only fs using uing/ulong for this, and these are even the only uint/ulong in the entire autofs code. Drop unneeded long cast in return value of autofs_dev_ioctl_compat(). It's

[PATCH 4/5] autofs: drop wrong comment

2017-08-15 Thread Ian Kent
From: Tomohiro Kusumi This comment was correct when it was added in 8d7b48e0 in 2008, but not after 4e44b685 in 2009 which introduced find_autofs_mount(). Signed-off-by: Tomohiro Kusumi Signed-off-by: Ian Kent ---

[PATCH 4/5] autofs: drop wrong comment

2017-08-15 Thread Ian Kent
From: Tomohiro Kusumi This comment was correct when it was added in 8d7b48e0 in 2008, but not after 4e44b685 in 2009 which introduced find_autofs_mount(). Signed-off-by: Tomohiro Kusumi Signed-off-by: Ian Kent --- fs/autofs4/dev-ioctl.c |5 - 1 file changed, 5 deletions(-) diff

[PATCH v1 2/4] perf annotate: Display multiple events for stdio mode

2017-08-15 Thread Jin Yao
For example: perf record -e cycles,branches ./div perf annotate main --stdio Percent | Source code & Disassembly of div for branches,cycles (90966 samples) ..

[PATCH v1 2/4] perf annotate: Display multiple events for stdio mode

2017-08-15 Thread Jin Yao
For example: perf record -e cycles,branches ./div perf annotate main --stdio Percent | Source code & Disassembly of div for branches,cycles (90966 samples) ..

[PATCH v1 4/4] perf annotate: Display multiple events for gtk mode

2017-08-15 Thread Jin Yao
For example: perf record -e cycles,branches ./div perf annotate main --gtk Both the cycles and branches are displayed at the left column in gtk window. Signed-off-by: Jin Yao --- tools/perf/ui/gtk/annotate.c | 35 ++- 1 file

[PATCH v1 4/4] perf annotate: Display multiple events for gtk mode

2017-08-15 Thread Jin Yao
For example: perf record -e cycles,branches ./div perf annotate main --gtk Both the cycles and branches are displayed at the left column in gtk window. Signed-off-by: Jin Yao --- tools/perf/ui/gtk/annotate.c | 35 ++- 1 file changed, 22 insertions(+), 13

[PATCH v1 0/4] perf annotate: Display multiple events on the left side of annotate view

2017-08-15 Thread Jin Yao
perf record -e cycles,branches ... perf annotate main --stdio The result only shows cycles. It should show both cycles and branches on the left side of annotate view. It works with "--group", but need this to work even without groups. The patch series supports to display multiple events on the

[PATCH v1 3/4] perf annotate: Display multiple events for tui mode

2017-08-15 Thread Jin Yao
For example: perf record -e cycles,branches ./div perf annotate main │for (i = 0; i < 20; i++) { │flag = compute_flag(); 5.77 4.85 │38: xor%eax,%eax 0.01 0.01 │→ callq compute_flag │

[PATCH v1 1/4] perf annotate: create a new hists to manage multiple events samples

2017-08-15 Thread Jin Yao
An issue is found during using perf annotate. perf record -e cycles,branches ... perf annotate main --stdio The result only shows cycles. It should show both cycles and branches on the left side. It works with "--group", but need this to work even without groups. In current design, the hists is

[PATCH v1 0/4] perf annotate: Display multiple events on the left side of annotate view

2017-08-15 Thread Jin Yao
perf record -e cycles,branches ... perf annotate main --stdio The result only shows cycles. It should show both cycles and branches on the left side of annotate view. It works with "--group", but need this to work even without groups. The patch series supports to display multiple events on the

[PATCH v1 3/4] perf annotate: Display multiple events for tui mode

2017-08-15 Thread Jin Yao
For example: perf record -e cycles,branches ./div perf annotate main │for (i = 0; i < 20; i++) { │flag = compute_flag(); 5.77 4.85 │38: xor%eax,%eax 0.01 0.01 │→ callq compute_flag │

[PATCH v1 1/4] perf annotate: create a new hists to manage multiple events samples

2017-08-15 Thread Jin Yao
An issue is found during using perf annotate. perf record -e cycles,branches ... perf annotate main --stdio The result only shows cycles. It should show both cycles and branches on the left side. It works with "--group", but need this to work even without groups. In current design, the hists is

Re: [PATCH 4/6] arm64: dts: uniphier: use cross-arch include instead of symlinks

2017-08-15 Thread Masahiro Yamada
2017-08-10 1:43 GMT+09:00 Masahiro Yamada : > On UniPhier platform, some DTSI files are shared between arm and arm64. > Recently, inclusion of DT material of different architectures has been > supported by the build system level. Use #include , which > will work

Re: [PATCH 4/6] arm64: dts: uniphier: use cross-arch include instead of symlinks

2017-08-15 Thread Masahiro Yamada
2017-08-10 1:43 GMT+09:00 Masahiro Yamada : > On UniPhier platform, some DTSI files are shared between arm and arm64. > Recently, inclusion of DT material of different architectures has been > supported by the build system level. Use #include , which > will work without relying on the exact same

Re: [GIT] Networking

2017-08-15 Thread Linus Torvalds
On Tue, Aug 15, 2017 at 5:52 PM, David Miller wrote: > > dingtianhong (4): > PCI: Disable PCIe Relaxed Ordering if unsupported > PCI: Disable Relaxed Ordering for some Intel processors > PCI: Disable Relaxed Ordering Attributes for AMD A1100 > PCI: fix

Re: [GIT] Networking

2017-08-15 Thread Linus Torvalds
On Tue, Aug 15, 2017 at 5:52 PM, David Miller wrote: > > dingtianhong (4): > PCI: Disable PCIe Relaxed Ordering if unsupported > PCI: Disable Relaxed Ordering for some Intel processors > PCI: Disable Relaxed Ordering Attributes for AMD A1100 > PCI: fix oops when try to

Re: [PATCH v3 1/2] dt-bindings: i2c: Add MediaTek MT7622 i2c binding

2017-08-15 Thread Sean Wang
On Tue, 2017-08-15 at 21:08 +0800, Jun Gao wrote: > From: Jun Gao > > Add MT7622 i2c binding to binding file and change the compatible > information formats of all SoCs to the same. > > Signed-off-by: Jun Gao > --- >

Re: [PATCH v3 1/2] dt-bindings: i2c: Add MediaTek MT7622 i2c binding

2017-08-15 Thread Sean Wang
On Tue, 2017-08-15 at 21:08 +0800, Jun Gao wrote: > From: Jun Gao > > Add MT7622 i2c binding to binding file and change the compatible > information formats of all SoCs to the same. > > Signed-off-by: Jun Gao > --- > Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 11 ++- > 1 file

Re: [PATCH v6 1/2] sched/deadline: Add support for SD_PREFER_SIBLING on find_later_rq()

2017-08-15 Thread Byungchul Park
On Tue, Aug 15, 2017 at 09:42:01PM -0400, Steven Rostedt wrote: > > > > @@ -1385,6 +1407,17 @@ static int find_later_rq(struct task_struct > > > > *task) > > > > * already under consideration through > > > > later_mask. > > > > */ > > > >

Re: [PATCH v6 1/2] sched/deadline: Add support for SD_PREFER_SIBLING on find_later_rq()

2017-08-15 Thread Byungchul Park
On Tue, Aug 15, 2017 at 09:42:01PM -0400, Steven Rostedt wrote: > > > > @@ -1385,6 +1407,17 @@ static int find_later_rq(struct task_struct > > > > *task) > > > > * already under consideration through > > > > later_mask. > > > > */ > > > >

Re: [PATCH 2/2] mm,fork: introduce MADV_WIPEONFORK

2017-08-15 Thread Rik van Riel
On Tue, 2017-08-15 at 15:51 -0700, Andrew Morton wrote: > On Fri, 11 Aug 2017 17:28:29 -0400 r...@redhat.com wrote: > > > A further complication is the proliferation of clone flags, > > programs bypassing glibc's functions to call clone directly, > > and programs calling unshare, causing the

Re: [PATCH 2/2] mm,fork: introduce MADV_WIPEONFORK

2017-08-15 Thread Rik van Riel
On Tue, 2017-08-15 at 15:51 -0700, Andrew Morton wrote: > On Fri, 11 Aug 2017 17:28:29 -0400 r...@redhat.com wrote: > > > A further complication is the proliferation of clone flags, > > programs bypassing glibc's functions to call clone directly, > > and programs calling unshare, causing the

Re: [PATCH v3 5/5] usb: xhci: Handle USB transaction error on address command

2017-08-15 Thread Lu Baolu
Hi, On 08/15/2017 07:30 PM, Mathias Nyman wrote: > On 11.08.2017 05:41, Lu Baolu wrote: >> Xhci driver handles USB transaction errors on transfer events, >> but transaction errors are possible on address device command >> completion events as well. >> >> The xHCI specification (section 4.6.5)

Re: [PATCH v3 5/5] usb: xhci: Handle USB transaction error on address command

2017-08-15 Thread Lu Baolu
Hi, On 08/15/2017 07:30 PM, Mathias Nyman wrote: > On 11.08.2017 05:41, Lu Baolu wrote: >> Xhci driver handles USB transaction errors on transfer events, >> but transaction errors are possible on address device command >> completion events as well. >> >> The xHCI specification (section 4.6.5)

Re: [PATCH v2] zsmalloc: zs_page_migrate: schedule free_work if zspage is ZS_EMPTY

2017-08-15 Thread Minchan Kim
Hi Hui, On Mon, Aug 14, 2017 at 05:56:30PM +0800, Hui Zhu wrote: > After commit e2846124f9a2 ("zsmalloc: zs_page_migrate: skip unnecessary This patch is not merged yet so the hash is invalid. That means we may fold this patch to [1] in current mmotm. [1]

Re: [PATCH v2] zsmalloc: zs_page_migrate: schedule free_work if zspage is ZS_EMPTY

2017-08-15 Thread Minchan Kim
Hi Hui, On Mon, Aug 14, 2017 at 05:56:30PM +0800, Hui Zhu wrote: > After commit e2846124f9a2 ("zsmalloc: zs_page_migrate: skip unnecessary This patch is not merged yet so the hash is invalid. That means we may fold this patch to [1] in current mmotm. [1]

Re: [PATCH 1/2] mm: Change the call sites of numa statistics items

2017-08-15 Thread kemi
On 2017年08月15日 17:49, Mel Gorman wrote: > On Tue, Aug 15, 2017 at 04:45:35PM +0800, Kemi Wang wrote: >> In this patch, NUMA statistics is separated from zone statistics >> framework, all the call sites of NUMA stats are changed to use >> numa-stats-specific functions, it does not have any

Re: [PATCH 1/2] mm: Change the call sites of numa statistics items

2017-08-15 Thread kemi
On 2017年08月15日 17:49, Mel Gorman wrote: > On Tue, Aug 15, 2017 at 04:45:35PM +0800, Kemi Wang wrote: >> In this patch, NUMA statistics is separated from zone statistics >> framework, all the call sites of NUMA stats are changed to use >> numa-stats-specific functions, it does not have any

[PATCH] spi: rockchip: configure CTRLR1 according to size and data frame

2017-08-15 Thread Huibin Hong
CTRLR1 is number of data frames, when rx only. When data frame is 8 bit, CTRLR1 is len-1. When data frame is 16 bit, CTRLR1 is (len/2)-1. Signed-off-by: Huibin Hong --- drivers/spi/spi-rockchip.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff

[PATCH] spi: rockchip: configure CTRLR1 according to size and data frame

2017-08-15 Thread Huibin Hong
CTRLR1 is number of data frames, when rx only. When data frame is 8 bit, CTRLR1 is len-1. When data frame is 16 bit, CTRLR1 is (len/2)-1. Signed-off-by: Huibin Hong --- drivers/spi/spi-rockchip.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] scsi: cxlflash: Fix an error handling path in 'cxlflash_disk_attach()'

2017-08-15 Thread Martin K. Petersen
Christophe, > 'rc' is known to be 0 at this point. > If 'create_context()' fails, returns -ENOMEM instead of 0 which means > success. Applied to 4.14/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: cxlflash: Fix an error handling path in 'cxlflash_disk_attach()'

2017-08-15 Thread Martin K. Petersen
Christophe, > 'rc' is known to be 0 at this point. > If 'create_context()' fails, returns -ENOMEM instead of 0 which means > success. Applied to 4.14/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

[RESEND v9 12/12] pinctrl: dt-bindings: add bindings for Rockchip RK805 PMIC

2017-08-15 Thread Joseph Chen
Signed-off-by: Joseph Chen Acked-by: Linus Walleij --- .../devicetree/bindings/pinctrl/pinctrl-rk805.txt | 63 ++ 1 file changed, 63 insertions(+) create mode 100644

[RESEND v9 12/12] pinctrl: dt-bindings: add bindings for Rockchip RK805 PMIC

2017-08-15 Thread Joseph Chen
Signed-off-by: Joseph Chen Acked-by: Linus Walleij --- .../devicetree/bindings/pinctrl/pinctrl-rk805.txt | 63 ++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-rk805.txt diff --git

[RESEND v9 11/12] mfd: rk808: Add RK805 power key support

2017-08-15 Thread Joseph Chen
Signed-off-by: Joseph Chen Acked-for-MFD-by: Lee Jones --- drivers/mfd/rk808.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c index c803d2d..216fbf6 100644 --- a/drivers/mfd/rk808.c

[RESEND v9 11/12] mfd: rk808: Add RK805 power key support

2017-08-15 Thread Joseph Chen
Signed-off-by: Joseph Chen Acked-for-MFD-by: Lee Jones --- drivers/mfd/rk808.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c index c803d2d..216fbf6 100644 --- a/drivers/mfd/rk808.c +++ b/drivers/mfd/rk808.c @@ -94,6 +94,19 @@

[RESEND v9 09/12] Input: Add power key driver for Rockchip RK805 PMIC

2017-08-15 Thread Joseph Chen
This driver provides a input driver for the power key on the Rockchip RK805 PMIC. Signed-off-by: Joseph Chen --- drivers/input/misc/Kconfig| 6 +++ drivers/input/misc/Makefile | 1 + drivers/input/misc/rk805-pwrkey.c | 111

[RESEND v9 09/12] Input: Add power key driver for Rockchip RK805 PMIC

2017-08-15 Thread Joseph Chen
This driver provides a input driver for the power key on the Rockchip RK805 PMIC. Signed-off-by: Joseph Chen --- drivers/input/misc/Kconfig| 6 +++ drivers/input/misc/Makefile | 1 + drivers/input/misc/rk805-pwrkey.c | 111 ++ 3 files

[RESEND v9 10/12] mfd: rk808: Add RK805 pinctrl support

2017-08-15 Thread Joseph Chen
Signed-off-by: Joseph Chen Acked-by: Linus Walleij Acked-for-MFD-by: Lee Jones --- drivers/mfd/rk808.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c index 18329c8..c803d2d

[RESEND v9 08/12] pinctrl: Add pinctrl driver for the RK805 PMIC

2017-08-15 Thread Joseph Chen
RK805 is one of Rockchip PMICs family, it has 2 output only GPIOs. This driver is also designed for other Rockchip PMICs to expend. Different PMIC maybe have different pin features, for example, RK816 has one pin which can be used for TS or GPIO(input/out). The mainly difference between PMICs

[RESEND v9 10/12] mfd: rk808: Add RK805 pinctrl support

2017-08-15 Thread Joseph Chen
Signed-off-by: Joseph Chen Acked-by: Linus Walleij Acked-for-MFD-by: Lee Jones --- drivers/mfd/rk808.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c index 18329c8..c803d2d 100644 --- a/drivers/mfd/rk808.c +++ b/drivers/mfd/rk808.c @@ -97,6 +97,7

[RESEND v9 08/12] pinctrl: Add pinctrl driver for the RK805 PMIC

2017-08-15 Thread Joseph Chen
RK805 is one of Rockchip PMICs family, it has 2 output only GPIOs. This driver is also designed for other Rockchip PMICs to expend. Different PMIC maybe have different pin features, for example, RK816 has one pin which can be used for TS or GPIO(input/out). The mainly difference between PMICs

[RESEND v9 06/12] rtc: Kconfig: Name RK805 in Kconfig for RTC_DRV_RK808

2017-08-15 Thread Joseph Chen
From: Elaine Zhang The RK808 and RK805 PMICs are using a similar register map. We can reuse the rtc driver for the RK805 PMIC. So let's add the RK805 in the Kconfig description. Signed-off-by: Elaine Zhang Signed-off-by: Joseph Chen

[RESEND v9 06/12] rtc: Kconfig: Name RK805 in Kconfig for RTC_DRV_RK808

2017-08-15 Thread Joseph Chen
From: Elaine Zhang The RK808 and RK805 PMICs are using a similar register map. We can reuse the rtc driver for the RK805 PMIC. So let's add the RK805 in the Kconfig description. Signed-off-by: Elaine Zhang Signed-off-by: Joseph Chen --- drivers/rtc/Kconfig | 4 ++-- 1 file changed, 2

[RESEND v9 05/12] clk: Kconfig: Name RK805 in Kconfig for COMMON_CLK_RK808

2017-08-15 Thread Joseph Chen
From: Elaine Zhang The RK808 and RK805 PMICs are using a similar register map. We can reuse the clk driver for the RK805 PMIC. So let's add the RK805 in the Kconfig description. Signed-off-by: Elaine Zhang Signed-off-by: Joseph Chen

[RESEND v9 05/12] clk: Kconfig: Name RK805 in Kconfig for COMMON_CLK_RK808

2017-08-15 Thread Joseph Chen
From: Elaine Zhang The RK808 and RK805 PMICs are using a similar register map. We can reuse the clk driver for the RK805 PMIC. So let's add the RK805 in the Kconfig description. Signed-off-by: Elaine Zhang Signed-off-by: Joseph Chen --- drivers/clk/Kconfig | 4 ++-- 1 file changed, 2

[RESEND v9 07/12] mfd: dt-bindings: Add RK805 device tree bindings document

2017-08-15 Thread Joseph Chen
From: Elaine Zhang Add device tree bindings documentation for Rockchip's RK805 PMIC. Signed-off-by: Elaine Zhang Signed-off-by: Joseph Chen Acked-by: Rob Herring Acked-for-MFD-by: Lee Jones

[RESEND v9 07/12] mfd: dt-bindings: Add RK805 device tree bindings document

2017-08-15 Thread Joseph Chen
From: Elaine Zhang Add device tree bindings documentation for Rockchip's RK805 PMIC. Signed-off-by: Elaine Zhang Signed-off-by: Joseph Chen Acked-by: Rob Herring Acked-for-MFD-by: Lee Jones --- Documentation/devicetree/bindings/mfd/rk808.txt | 22 +- 1 file changed, 21

[RESEND v9 04/12] mfd: rk808: Add RK805 support

2017-08-15 Thread Joseph Chen
From: Elaine Zhang The RK805 chip is a Power Management IC (PMIC) for multimedia and handheld devices. It contains the following components: - Regulators - RTC - Clocking Both RK808 and RK805 chips are using a similar register map, so we can reuse the RTC

[RESEND v9 04/12] mfd: rk808: Add RK805 support

2017-08-15 Thread Joseph Chen
From: Elaine Zhang The RK805 chip is a Power Management IC (PMIC) for multimedia and handheld devices. It contains the following components: - Regulators - RTC - Clocking Both RK808 and RK805 chips are using a similar register map, so we can reuse the RTC and Clocking

[RESEND v9 03/12] regulator: rk808: Add regulator driver for RK805

2017-08-15 Thread Joseph Chen
From: Elaine Zhang Add support for the rk805 regulator. The regulator module consists of 4 DCDCs, 3 LDOs. The output voltages are configurable and are meant to supply power to the main processor and other components. Signed-off-by: Elaine Zhang

[RESEND v9 03/12] regulator: rk808: Add regulator driver for RK805

2017-08-15 Thread Joseph Chen
From: Elaine Zhang Add support for the rk805 regulator. The regulator module consists of 4 DCDCs, 3 LDOs. The output voltages are configurable and are meant to supply power to the main processor and other components. Signed-off-by: Elaine Zhang Signed-off-by: Joseph Chen Acked-by: Mark Brown

[RESEND v9 02/12] mfd: rk808: add rk805 regs addr and ID

2017-08-15 Thread Joseph Chen
From: Elaine Zhang Signed-off-by: Elaine Zhang Signed-off-by: Joseph Chen Acked-for-MFD-by: Lee Jones --- include/linux/mfd/rk808.h | 120 ++ 1 file

[RESEND v9 00/12] rk808: Add RK805 support

2017-08-15 Thread Joseph Chen
change in RESEND v9: None changes, add Lee Jones and other related email address. change in v9: PATCH V9 1/12: (1) fix spelling issue: s/Chip/chip/ (2) apply tag: Acked-for-MFD-by: Lee Jones PATCH V9 2/12: apply tag: Acked-for-MFD-by: Lee Jones

[RESEND v9 01/12] mfd: rk808: fix up the chip id get failed

2017-08-15 Thread Joseph Chen
From: Elaine Zhang the rk8xx chip id is: ((MSB << 8) | LSB) & 0xfff0 Signed-off-by: Elaine Zhang Signed-off-by: Joseph Chen Acked-for-MFD-by: Lee Jones --- drivers/mfd/rk808.c | 21

[RESEND v9 02/12] mfd: rk808: add rk805 regs addr and ID

2017-08-15 Thread Joseph Chen
From: Elaine Zhang Signed-off-by: Elaine Zhang Signed-off-by: Joseph Chen Acked-for-MFD-by: Lee Jones --- include/linux/mfd/rk808.h | 120 ++ 1 file changed, 120 insertions(+) diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h

[RESEND v9 00/12] rk808: Add RK805 support

2017-08-15 Thread Joseph Chen
change in RESEND v9: None changes, add Lee Jones and other related email address. change in v9: PATCH V9 1/12: (1) fix spelling issue: s/Chip/chip/ (2) apply tag: Acked-for-MFD-by: Lee Jones PATCH V9 2/12: apply tag: Acked-for-MFD-by: Lee Jones PATCH V9 3/12: None PATCH V9 4/12:

[RESEND v9 01/12] mfd: rk808: fix up the chip id get failed

2017-08-15 Thread Joseph Chen
From: Elaine Zhang the rk8xx chip id is: ((MSB << 8) | LSB) & 0xfff0 Signed-off-by: Elaine Zhang Signed-off-by: Joseph Chen Acked-for-MFD-by: Lee Jones --- drivers/mfd/rk808.c | 21 +++-- include/linux/mfd/rk808.h | 1 + 2 files changed, 16 insertions(+), 6

Re: [PATCH 3/6] arm64: dts: uniphier: use #include instead of /include/

2017-08-15 Thread Masahiro Yamada
2017-08-10 1:43 GMT+09:00 Masahiro Yamada : > To include dt-bindings headers. > > Signed-off-by: Masahiro Yamada Applied to linux-uniphier. -- Best Regards Masahiro Yamada

Re: [PATCH 3/6] arm64: dts: uniphier: use #include instead of /include/

2017-08-15 Thread Masahiro Yamada
2017-08-10 1:43 GMT+09:00 Masahiro Yamada : > To include dt-bindings headers. > > Signed-off-by: Masahiro Yamada Applied to linux-uniphier. -- Best Regards Masahiro Yamada

Re: [PATCH -next 2/2] zram: fix typo in comment

2017-08-15 Thread Minchan Kim
On Mon, Aug 14, 2017 at 06:44:07PM +0800, Yisheng Xie wrote: > ZRAM_SAME means page consists the same element not the entirely zero page. > > Signed-off-by: Yisheng Xie Acked-by: Minchan Kim Thanks!

Re: [PATCH -next 2/2] zram: fix typo in comment

2017-08-15 Thread Minchan Kim
On Mon, Aug 14, 2017 at 06:44:07PM +0800, Yisheng Xie wrote: > ZRAM_SAME means page consists the same element not the entirely zero page. > > Signed-off-by: Yisheng Xie Acked-by: Minchan Kim Thanks!

Re: [PATCH -next 1/2] zram: fix compr_data_size stat

2017-08-15 Thread Minchan Kim
On Mon, Aug 14, 2017 at 06:44:06PM +0800, Yisheng Xie wrote: > The compr_data_size is a stat for compressed size of pages stored, which > should be updated when we compresse a page. > > Meanwhile fix a typo in comment: > * read_from_bdev_async() return 1 to avoid call page_endio() in

Re: [PATCH -next 1/2] zram: fix compr_data_size stat

2017-08-15 Thread Minchan Kim
On Mon, Aug 14, 2017 at 06:44:06PM +0800, Yisheng Xie wrote: > The compr_data_size is a stat for compressed size of pages stored, which > should be updated when we compresse a page. > > Meanwhile fix a typo in comment: > * read_from_bdev_async() return 1 to avoid call page_endio() in

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