RE: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-10 Thread PINTU KUMAR
Hi, > -Original Message- > From: Andrew Morton [mailto:a...@linux-foundation.org] > Sent: Saturday, August 08, 2015 4:06 AM > To: PINTU KUMAR > Cc: 'Michal Hocko'; linux-kernel@vger.kernel.org; linux...@kvack.org; > minc...@kernel.org; d...@stgolabs.net; koc...@gmail.com; > mgor...@suse.de

Re: [RFC v3 1/2] mm, compaction: introduce kcompactd

2015-08-10 Thread Vlastimil Babka
On 08/09/2015 05:37 PM, PINTU KUMAR wrote: Waking up of the kcompactd threads is also tied to kswapd activity and follows these rules: - we don't want to affect any fastpaths, so wake up kcompactd only from the slowpath, as it's done for kswapd - if kswapd is doing reclaim, it's more important

Re: Warning at mm/truncate.c:740

2015-08-10 Thread Jan Kara
Hi, On Sun 09-08-15 10:49:33, Sasha Levin wrote: > I saw the following warning while fuzzing with trinity: > > [385644.689209] WARNING: CPU: 1 PID: 23536 at mm/truncate.c:740 > pagecache_isize_extended+0x124/0x180() > [385644.691780] Modules linked in: > [385644.692695] CPU: 1 PID: 23536 Comm:

Re: [PATCH] Staging: dgnc: Fixed line over 80 characters in dgnc_mgmt.c

2015-08-10 Thread Dan Carpenter
On Sun, Aug 09, 2015 at 06:15:36PM +0530, Bhaktipriya Shridhar wrote: > Fixed coding style issue "warning line over 80 characters" > detected by checkpatch.pl in dgnc_mgmt.c No signed off by. > --- > drivers/staging/dgnc/dgnc_mgmt.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >

Re: [PATCH] staging: wilc100: Remove pointer and integer comparision

2015-08-10 Thread Dan Carpenter
On Sun, Aug 09, 2015 at 08:50:02PM +0530, Chandra S Gorentla wrote: > Removed pointer check with integer; this fixes 'sparse' error - > error: incompatible types for operation (>) >left side has type unsigned char [usertype] *[usertype] pu8Tail >right side has type int > > Signed-off-by: C

RE: [PATCH 3/8][v2]usb:fsl:otg: Add support to add/remove usb host driver

2015-08-10 Thread Ramneek Mehresh
> -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: Saturday, August 08, 2015 2:04 AM > To: Mehresh Ramneek-B31383 > Cc: linux-kernel@vger.kernel.org; ba...@ti.com; > gre...@linuxfoundation.org; linux-...@vger.kernel.org; Li Yang-Leo-R58472 > Subject: Re: [P

[PATCH] Clean up whitespace in vfs.txt

2015-08-10 Thread Raymond Jennings
I noticed that vfs.txt looked kinda funky, so I went ahead and reformatted it. Signed-off-by: Raymond Jennings Cc: Andrew Morton --- diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt index 5eb8456..8ddfe06 100644 --- a/Documentation/filesystems/vfs.txt +++ b/Doc

Re: [RFC PATCH 1/4] vhost: Introduce a universal thread to serve all users

2015-08-10 Thread Michael S. Tsirkin
On Mon, Jul 13, 2015 at 12:07:32AM -0400, Bandan Das wrote: > vhost threads are per-device, but in most cases a single thread > is enough. This change creates a single thread that is used to > serve all guests. > > However, this complicates cgroups associations. The current policy > is to attach t

Re: windfarm: make wf_critical_overtemp() static

2015-08-10 Thread Michael Ellerman
On Fri, 2015-31-07 at 12:12:20 UTC, Paul Bolle wrote: > wf_critical_overtemp() is exported. But nothing uses that export. > That's unsurprising because there's no header that defines it. Stop > exporting that function and make it static. > > Signed-off-by: Paul Bolle Applied to powerpc next, tha

Re: windfarm: decrement client count when unregistering

2015-08-10 Thread Michael Ellerman
On Fri, 2015-31-07 at 12:08:58 UTC, Paul Bolle wrote: > wf_unregister_client() increments the client count when a client > unregisters. That is obviously incorrect. Decrement that client count > instead. > > Fixes: 75722d3992f5 ("[PATCH] ppc64: Thermal control for SMU based machines") > > Signed-

Re: windfarm: remove three exported but unused functions

2015-08-10 Thread Michael Ellerman
On Fri, 2015-31-07 at 12:14:20 UTC, Paul Bolle wrote: > wf_find_control(), wf_find_sensor(), and wf_is_overtemp() are exported > but unused. Remove these three functions. > > Signed-off-by: Paul Bolle Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/a368c29cf105485d2c34 cheers

Re: powerpc: Remove redundant breaks

2015-08-10 Thread Michael Ellerman
On Mon, 2015-29-06 at 21:30:39 UTC, Joe Perches wrote: > break; break; isn't useful. > > Remove one. > > Signed-off-by: Joe Perches Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/a825ac078b50266fb091 cheers -- To unsubscribe from this list: send the line "unsubscribe linux-

Re: powerpc/4xx: Fix return value check in hsta_msi_probe()

2015-08-10 Thread Michael Ellerman
On Thu, 2015-16-04 at 12:18:50 UTC, weiyj...@163.com wrote: > From: Wei Yongjun > > In case of error, the functions platform_get_resource() and kmalloc() > returns NULL not ERR_PTR(). The IS_ERR() test in the return value check > should be replaced with NULL test. > > Signed-off-by: Wei Yongjun

Re: [PATCH] video: fbdev: pxa3xx_gcu: prepare the clocks

2015-08-10 Thread Tomi Valkeinen
On 03/08/15 23:15, Robert Jarzmik wrote: > The clocks need to be prepared before being enabled. Without it a > warning appears in the drivers probe path : > > WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:707 clk_core_enable+0x84/0xa0() > Modules linked in: > CPU: 0 PID: 1 Comm: swapper Not tainte

Re: [PATCH] SH: use PFN_DOWN macro

2015-08-10 Thread Geert Uytterhoeven
On Sun, Aug 9, 2015 at 8:28 PM, Alexander Kuleshov wrote: > Replace ((x) >> PAGE_SHIFT) with the predefined PFN_DOWN macro. > > Signed-off-by: Alexander Kuleshov Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyon

Re: [PATCH 2/2] mm/hwpoison: fix refcount of THP head page in no-injection case

2015-08-10 Thread Wanpeng Li
On 8/10/15 5:20 PM, Naoya Horiguchi wrote: > On Mon, Aug 10, 2015 at 05:06:25PM +0800, Wanpeng Li wrote: > ... > diff --git a/mm/hwpoison-inject.c b/mm/hwpoison-inject.c > index 5015679..c343a45 100644 > --- a/mm/hwpoison-inject.c > +++ b/mm/hwpoison-inject.c > @@ -56,6 +56,8

Re: [PATCH v7 3/4] drivers: nvmem: Add Vybrid OCOTP support

2015-08-10 Thread maitysanchayan
Hello, On 15-08-10 10:17:53, Srinivas Kandagatla wrote: > Hi Sanchayan, > > > Could you add Greg to the "to list" so that we can request him to pick > this via his tree. Will add Greg in cc with the next revision. > > > Few nits, other than that driver looks good. > > > On 06/08/15 16:27,

Re: [PATCH 2/2] arm64: VDSO: fix coarse clock monotonicity regression

2015-08-10 Thread Will Deacon
Hi Nathan, On Sat, Aug 08, 2015 at 03:03:23AM +0100, Nathan Lynch wrote: > Since 906c55579a63 ("timekeeping: Copy the shadow-timekeeper over the > real timekeeper last") it has become possible on arm64 to: > > - Obtain a CLOCK_MONOTONIC_COARSE or CLOCK_REALTIME_COARSE timestamp > via syscall. >

Re: [PATCH 2/2] mm/hwpoison: fix refcount of THP head page in no-injection case

2015-08-10 Thread Naoya Horiguchi
On Mon, Aug 10, 2015 at 05:06:25PM +0800, Wanpeng Li wrote: ... > >>>diff --git a/mm/hwpoison-inject.c b/mm/hwpoison-inject.c > >>>index 5015679..c343a45 100644 > >>>--- a/mm/hwpoison-inject.c > >>>+++ b/mm/hwpoison-inject.c > >>>@@ -56,6 +56,8 @@ inject: > >>> return memory_failure(pfn, 18, M

Re: [PATCH v7 4/4] nvmem: Add DT binding documentation for Vybrid OCOTP driver

2015-08-10 Thread maitysanchayan
Hello, On 15-08-10 10:18:01, Srinivas Kandagatla wrote: > > > On 06/08/15 16:27, Sanchayan Maity wrote: > > Add the devicetree bindings for the Freescale Vybrid On-Chip > > OTP driver. > > > > Signed-off-by: Sanchayan Maity > > --- > > .../devicetree/bindings/nvmem/vf610-ocotp.txt| 20

Re: [PATCH v7 4/4] nvmem: Add DT binding documentation for Vybrid OCOTP driver

2015-08-10 Thread Srinivas Kandagatla
On 06/08/15 16:27, Sanchayan Maity wrote: Add the devicetree bindings for the Freescale Vybrid On-Chip OTP driver. Signed-off-by: Sanchayan Maity --- .../devicetree/bindings/nvmem/vf610-ocotp.txt| 20 1 file changed, 20 insertions(+) create mode 100644 Docume

Re: [PATCH v7 3/4] drivers: nvmem: Add Vybrid OCOTP support

2015-08-10 Thread Srinivas Kandagatla
Hi Sanchayan, Could you add Greg to the "to list" so that we can request him to pick this via his tree. Few nits, other than that driver looks good. On 06/08/15 16:27, Sanchayan Maity wrote: The patch adds support for the On Chip One Time Programmable Peripheral (OCOTP) on the Vybrid plat

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-10 Thread Hannes Frederic Sowa
Hello, Zang MingJie writes: > Days ago I mistakenly set the gateway address on my box, then add the > default router, after I deleted the address my box can't access > Internet and all things looks fine. It takes me several hours to > figure out it is an kernel bug. I don't consider this a kerne

Re: [PATCH 1/2] mm/hwpoison: fix fail to split THP w/ refcount held

2015-08-10 Thread Wanpeng Li
On 8/10/15 4:50 PM, Naoya Horiguchi wrote: > On Mon, Aug 10, 2015 at 04:29:18PM +0800, Wanpeng Li wrote: >> Hi Naoya, >> >> On 8/10/15 4:10 PM, Naoya Horiguchi wrote: >>> On Mon, Aug 10, 2015 at 02:32:30PM +0800, Wanpeng Li wrote: THP pages will get a refcount in madvise_hwpoison() w/ MF_COU

[PATCH] isdn:remove reverse_bits(), use revbit8()

2015-08-10 Thread yalin wang
This change isdn driver, remove reverse_bits() function, use the generic revbit8() function instead. Signed-off-by: yalin wang --- drivers/isdn/mISDN/dsp_audio.c | 22 +- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/drivers/isdn/mISDN/dsp_audio.c b/drivers/i

Re: [PATCH 1/2] ARM: VDSO: fix coarse clock monotonicity regression

2015-08-10 Thread Will Deacon
On Sat, Aug 08, 2015 at 03:03:22AM +0100, Nathan Lynch wrote: > Since 906c55579a63 ("timekeeping: Copy the shadow-timekeeper over the > real timekeeper last") it has become possible on ARM to: > > - Obtain a CLOCK_MONOTONIC_COARSE or CLOCK_REALTIME_COARSE timestamp > via syscall. > - Subsequentl

Re: [PATCH 2/2] mm/hwpoison: fix refcount of THP head page in no-injection case

2015-08-10 Thread Wanpeng Li
On 8/10/15 4:54 PM, Wanpeng Li wrote: On 8/10/15 4:35 PM, Naoya Horiguchi wrote: On Mon, Aug 10, 2015 at 02:32:31PM +0800, Wanpeng Li wrote: Hwpoison injection takes a refcount of target page and another refcount of head page of THP if the target page is the tail page of a THP. However, cu

Re: [PATCH] [4.2 fix] x86, mpx: do not set ->vm_ops on mpx VMAs

2015-08-10 Thread Luis Henriques
On Tue, Aug 04, 2015 at 12:39:13AM +0300, Kirill A. Shutemov wrote: > On Mon, Aug 03, 2015 at 01:36:23PM -0700, Greg KH wrote: > > On Mon, Aug 03, 2015 at 10:40:55PM +0300, Kirill A. Shutemov wrote: > > > On Mon, Aug 03, 2015 at 09:19:14AM -0700, Greg KH wrote: > > > > On Mon, Aug 03, 2015 at 01:34

[PATCH] sched: ensure a task has a non-normalized vruntime when returning back to cfs

2015-08-10 Thread byungchul . park
From: Byungchul Park current code ensures a task has a normalized vruntime when switching off from fair class, but it does not ensure the task has a non-normalized vruntime when switching back to the fair class. this is an example breaking this consistency. 1. a task is in fair class and !queue

Re: [PATCH] ARM/EP93xx/timer: Migrate to new 'set-state' interface

2015-08-10 Thread Viresh Kumar
On 10-08-15, 11:01, Linus Walleij wrote: > Sure, but does it work right off or does Olof have to > pull a branch from your tree in for it to work? In that > case I suggest you take this in the -rc phase. Anyways: > Acked-by: Linus Walleij It should work with latest 4.2 rc.. -- viresh -- To unsu

Re: [PATCH] ARM/EP93xx/timer: Migrate to new 'set-state' interface

2015-08-10 Thread Linus Walleij
On Thu, Aug 6, 2015 at 11:11 AM, Viresh Kumar wrote: > Migrate EP93xx driver to the new 'set-state' interface provided by > clockevents core, the earlier 'set-mode' interface is marked obsolete > now. > > This also enables us to implement callbacks for new states of clockevent > devices, for exam

Re: [PATCH 2/2] mm/hwpoison: fix refcount of THP head page in no-injection case

2015-08-10 Thread Naoya Horiguchi
On Mon, Aug 10, 2015 at 04:54:39PM +0800, Wanpeng Li wrote: > On 8/10/15 4:35 PM, Naoya Horiguchi wrote: > >On Mon, Aug 10, 2015 at 02:32:31PM +0800, Wanpeng Li wrote: > >>Hwpoison injection takes a refcount of target page and another refcount > >>of head page of THP if the target page is the tail

Re: [PATCH 2/3] nvmem: rockchip-efuse: implement eFuse driver

2015-08-10 Thread Srinivas Kandagatla
Hi Shunqian, On 10/08/15 04:22, Shunqian Zheng wrote: From: ZhengShunQian There are some SoC specified values store in eFuse, such as the cpu_leakage and cpu_version, this driver can expose these values to /sys base on nvmem. Also add the docs of efuse bindings and the rk3288's efuse config.

Re: [PATCH] eventfd: implementation of EFD_MASK flag

2015-08-10 Thread Damian Hobson-Garcia
Hi Martin, Thanks for your comments. On 2015-08-10 3:39 PM, Martin Sustrik wrote: > On 2015-08-10 08:23, Damian Hobson-Garcia wrote: >> Replying to my own post, but I had the following comments/questions. >> Martin, if you have any response to my comments I would be very happy to >> hear them. >>

Re: [PATCH 2/2] mm/hwpoison: fix refcount of THP head page in no-injection case

2015-08-10 Thread Wanpeng Li
On 8/10/15 4:35 PM, Naoya Horiguchi wrote: On Mon, Aug 10, 2015 at 02:32:31PM +0800, Wanpeng Li wrote: Hwpoison injection takes a refcount of target page and another refcount of head page of THP if the target page is the tail page of a THP. However, current code doesn't release the refcount of

Re: [PATCH v5 3/6] mmc: sdhci-esdhc-imx: add compatible string in bingding doc

2015-08-10 Thread Dong Aisheng
On Mon, Aug 10, 2015 at 04:18:05PM +0800, Haibo Chen wrote: > Add a required property "fsl,imx7d-usdhc" in binding doc. > Add an optional property "fsl,tuning-step" in binding doc. > > Signed-off-by: Haibo Chen You missed my former comments. The patch title is too generous. Better to change to

Re: [RFC zsmalloc 2/4] zsmalloc: squeeze inuse into page->mapping

2015-08-10 Thread Sergey Senozhatsky
On (08/10/15 16:12), Minchan Kim wrote: [..] > diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c > index 491491a..75fefba 100644 > --- a/mm/zsmalloc.c > +++ b/mm/zsmalloc.c > @@ -35,7 +35,7 @@ > * metadata. > * page->lru: links together first pages of various zspages. > * Basic

Re: [PATCH v2 3/4] Add support for driver cross-timestamp to PTP_SYS_OFFSET ioctl

2015-08-10 Thread Richard Cochran
On Fri, Aug 07, 2015 at 04:01:34PM -0700, Christopher Hall wrote: > This patch allows system and device time ("cross-timestamp") to be > performed by the driver. Currently, the cross-timestamping is performed > in the PTP_SYS_OFFSET ioctl. The PTP clock driver reads gettimeofday() > and the gettim

Re: [RFC PATCH 0/3] mailbox: hisilicon: add mailbox driver

2015-08-10 Thread Leo Yan
Hi Jassi, On Mon, Aug 10, 2015 at 12:32:05PM +0530, Jassi Brar wrote: > On Thu, Aug 6, 2015 at 4:47 AM, Leo Yan wrote: > > Hi Jassi, > > > > Thanks for review. > > > > On Wed, Aug 05, 2015 at 04:22:01PM +0530, Jassi Brar wrote: > >> On Mon, Aug 3, 2015 at 6:43 AM, Leo Yan wrote: > > > > [...] >

Re: [PATCH 1/2] mm/hwpoison: fix fail to split THP w/ refcount held

2015-08-10 Thread Naoya Horiguchi
On Mon, Aug 10, 2015 at 04:29:18PM +0800, Wanpeng Li wrote: > Hi Naoya, > > On 8/10/15 4:10 PM, Naoya Horiguchi wrote: > >On Mon, Aug 10, 2015 at 02:32:30PM +0800, Wanpeng Li wrote: > >>THP pages will get a refcount in madvise_hwpoison() w/ MF_COUNT_INCREASED > >>flag, however, the refcount is sti

Re: [PATCH 1/3] nvmem: fix the out-of-range leak in read/write()

2015-08-10 Thread Srinivas Kandagatla
On 10/08/15 04:22, Shunqian Zheng wrote: From: ZhengShunQian The position to read/write must be less than max register size. Signed-off-by: ZhengShunQian --- drivers/nvmem/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/nvmem/core.c b/drivers/nvm

Re: [PATCH v2 4/4] Added getsynctime64() callback

2015-08-10 Thread Richard Cochran
On Fri, Aug 07, 2015 at 04:01:35PM -0700, Christopher Hall wrote: > --- a/drivers/net/ethernet/intel/e1000e/defines.h > +++ b/drivers/net/ethernet/intel/e1000e/defines.h > @@ -527,6 +527,13 @@ > #define E1000_RXCW_C 0x2000/* Receive config */ > #define E1000_RXCW_SYNCH 0

Re: [PATCH 3/3] clk: rockchip: do not gate the efuse256 clock

2015-08-10 Thread Srinivas Kandagatla
On 10/08/15 04:22, Shunqian Zheng wrote: From: ZhengShunQian Always enable the clock of efuse256. Base on the nvmem framework, it seems like there is not a good way to enable the clock when actual needed. No, thats not true. NVMEM does not mandate anything, it give more flexibity to provider

Re: [PATCH v2 2/6] mailbox: dt-bindings: Add shared [driver <=> device tree] defines

2015-08-10 Thread Jassi Brar
On Mon, Aug 10, 2015 at 1:54 PM, Lee Jones wrote: > On Mon, 10 Aug 2015, Jassi Brar wrote: >> On Mon, Jul 27, 2015 at 3:14 PM, Lee Jones wrote: >> > This header is currently only used for defines pertaining to data >> > direction i.e. Rx, Tx or Loopback. >> > >> > Signed-off-by: Lee Jones >> > -

Re: [PATCH v4 5/5] KVM: eventfd: add irq bypass consumer management

2015-08-10 Thread Eric Auger
Hi Alex, On 08/07/2015 10:09 PM, Alex Williamson wrote: > On Mon, 2015-08-03 at 19:20 +0200, Eric Auger wrote: >> This patch adds the registration/unregistration of an >> irq_bypass_consumer on irqfd assignment/deassignment. >> >> Signed-off-by: Eric Auger >> Signed-off-by: Feng Wu >> >> --- >> >

Re: [PATCH 2/2] mm/hwpoison: fix refcount of THP head page in no-injection case

2015-08-10 Thread Naoya Horiguchi
On Mon, Aug 10, 2015 at 02:32:31PM +0800, Wanpeng Li wrote: > Hwpoison injection takes a refcount of target page and another refcount > of head page of THP if the target page is the tail page of a THP. However, > current code doesn't release the refcount of head page if the THP is not > supported

Re: [linux-sunxi] [PATCH] ARM: dts: sunxi: enable otg port on the sun7i-a20-olinuxino-lime2

2015-08-10 Thread Olliver Schinagl
Yeah I just noticed as well that for some reason i've sent a merged patch :( I all ready fixed it locally this morning and will re-send the patches. I wonder what I did though .. Sorry again, Olliver On 10-08-15 01:05, Iain Paton wrote: NAK. This does much more than enabling the otg port.

Re: [PATCH v4 4/5] KVM: introduce kvm_arch functions for IRQ bypass

2015-08-10 Thread Eric Auger
On 08/07/2015 10:09 PM, Alex Williamson wrote: > On Mon, 2015-08-03 at 19:20 +0200, Eric Auger wrote: >> This patch introduces >> - kvm_arch_irq_bypass_add_producer >> - kvm_arch_irq_bypass_del_producer >> - kvm_arch_irq_bypass_stop >> - kvm_arch_irq_bypass_start >> >> They make possible to special

Re: [PATCH v8 1/3] sysfs: added sysfs_link_entry_to_kobj()

2015-08-10 Thread Jarkko Sakkinen
On Wed, Aug 05, 2015 at 01:11:23PM -0700, Greg Kroah-Hartman wrote: > On Fri, Jul 03, 2015 at 05:27:18PM +0300, Jarkko Sakkinen wrote: > > Added a new function sysfs_link_group_to_kobj() that adds a symlink > > from attribute or group to a kobject. Exported kernfs_remove_by_name_ns > > in order to

Re: [PATCH 3/3] clk: rockchip: do not gate the efuse256 clock

2015-08-10 Thread Shunqian Zheng
Hi Heiko, On 2015年08月10日 16:08, Heiko Stübner wrote: Hi, Am Montag, 10. August 2015, 11:22:43 schrieb Shunqian Zheng: From: ZhengShunQian Always enable the clock of efuse256. Base on the nvmem framework, it seems like there is not a good way to enable the clock when actual needed. Signed-of

Re: [PATCH v4 1/2] extcon: palmas: Support GPIO based USB ID detection

2015-08-10 Thread Lee Jones
On Mon, 03 Aug 2015, Roger Quadros wrote: > Some palmas based chip variants do not have OTG based ID logic. > For these variants we rely on GPIO based USB ID detection. > > These chips do have VBUS comparator for VBUS detection so we > continue to use the old way of detecting VBUS. > > Acked-by:

Re: [PATCH v5 2/6] mmc: sdhci-esdhc-imx: add tuning-step seting support

2015-08-10 Thread Dong Aisheng
On Mon, Aug 10, 2015 at 04:18:04PM +0800, Haibo Chen wrote: > tuning-step is the delay cell steps in tuning procedure. The default value > of tuning-step is 1. Some boards or cards need another value to pass the > tuning procedure. For example, imx7d-sdb board need the tuning-step value > as 2, oth

Re: [PATCH v5 1/6] mmc: sdhci-esdhc-imx: add imx7d support and support HS400

2015-08-10 Thread Dong Aisheng
On Mon, Aug 10, 2015 at 04:18:03PM +0800, Haibo Chen wrote: > The imx7d usdhc is derived from imx6sx, the difference is that > imx7d support HS400. > > So introduce a new compatible string for imx7d and add HS400 > support for imx7d usdhc. > > Signed-off-by: Haibo Chen > --- > drivers/mmc/host/

Re: [PATCH 1/2] mm/hwpoison: fix fail to split THP w/ refcount held

2015-08-10 Thread Wanpeng Li
Hi Naoya, On 8/10/15 4:10 PM, Naoya Horiguchi wrote: On Mon, Aug 10, 2015 at 02:32:30PM +0800, Wanpeng Li wrote: THP pages will get a refcount in madvise_hwpoison() w/ MF_COUNT_INCREASED flag, however, the refcount is still held when fail to split THP pages. Fix it by reducing the refcount of

Re: [PATCH v2 0/8] ARCv2 port to Linux - (C) perf

2015-08-10 Thread Alexey Brodkin
Hi Peter, On Wed, 2015-08-05 at 18:13 +0300, Alexey Brodkin wrote: > Hi Peter, > > This mini-series adds perf support for ARCv2 based cores, which brings in > overflow interupts and SMP. Additionally now raw events are supported as well. > > Please review ! > > Compared to v1 this series has: >

Re: [PATCH v2 2/6] mailbox: dt-bindings: Add shared [driver <=> device tree] defines

2015-08-10 Thread Lee Jones
On Mon, 10 Aug 2015, Jassi Brar wrote: > On Mon, Jul 27, 2015 at 3:14 PM, Lee Jones wrote: > > This header is currently only used for defines pertaining to data > > direction i.e. Rx, Tx or Loopback. > > > > Signed-off-by: Lee Jones > > --- > > include/dt-bindings/mailbox/mailbox.h | 14

Re: linux-next: error when fetching the osd tree

2015-08-10 Thread Boaz Harrosh
On 08/07/2015 04:24 AM, Joe Perches wrote: > On Fri, 2015-08-07 at 09:01 +1000, Stephen Rothwell wrote: >> Hi Boaz, >> >> Fetching the osd tree >> (git://git.open-osd.org/linux-open-osd.git#linux-next) for the past few >> days has produced this error: >> >> connection reset by peer > > And mail se

Re: [PATCH v5 3/6] cpufreq: powernv: Register for OCC related opal_message notification

2015-08-10 Thread Stewart Smith
Shilpasri G Bhat writes: >> Also, do we export this information via sysfs somewhere? It would seem >> to want to go along with other cpufreq/cpu info there. > > No we don't export the throttling status of the cpu via sysfs. Since the > throttling state is common across the chip, the per_cpu export

Re: [PATCH 1/2] mm/hwpoison: fix fail to split THP w/ refcount held

2015-08-10 Thread Naoya Horiguchi
On Mon, Aug 10, 2015 at 02:32:30PM +0800, Wanpeng Li wrote: > THP pages will get a refcount in madvise_hwpoison() w/ MF_COUNT_INCREASED > flag, however, the refcount is still held when fail to split THP pages. > > Fix it by reducing the refcount of THP pages when fail to split THP. > > Signed-of

[PATCH v5 3/6] mmc: sdhci-esdhc-imx: add compatible string in bingding doc

2015-08-10 Thread Haibo Chen
Add a required property "fsl,imx7d-usdhc" in binding doc. Add an optional property "fsl,tuning-step" in binding doc. Signed-off-by: Haibo Chen --- Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/m

[PATCH v5 1/6] mmc: sdhci-esdhc-imx: add imx7d support and support HS400

2015-08-10 Thread Haibo Chen
The imx7d usdhc is derived from imx6sx, the difference is that imx7d support HS400. So introduce a new compatible string for imx7d and add HS400 support for imx7d usdhc. Signed-off-by: Haibo Chen --- drivers/mmc/host/sdhci-esdhc-imx.c | 88 -- 1 file changed,

[PATCH v5 6/6] mmc: sdhci-esdhc-imx: change default watermark level and burst length

2015-08-10 Thread Haibo Chen
By default, for all imx SoC types, the watermark level is 16, and the burst length is 8. But if the SDIO/SD/MMC I/O speed is fast enough, this default watermark level and burst length will be the performance bottleneck. For example, i.MX7D support eMMC HS400 mode, this mode can run in 8 bit, 200MH

Re: [PATCH 25/31] fs/ubifs: use kmemdup rather than duplicating its implementation

2015-08-10 Thread Artem Bityutskiy
On Fri, 2015-08-07 at 09:59 +0200, Andrzej Hajda wrote: > The patch was generated using fixed coccinelle semantic patch > scripts/coccinelle/api/memdup.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 > > Signed-off-by: Andrzej Hajda Picked to 'linux-ubifs.git', thanks!

[PATCH v5 0/6] mmc: imx: a few fixes and new feature

2015-08-10 Thread Haibo Chen
Changes for v5: -move the clear exist timing setting to a common place rather than only in HS200 mode. -put the patch 6 ahead of patch 5. Haibo Chen (6): mmc: sdhci-esdhc-imx: add imx7d support and support HS400 mmc: sdhci-esdhc-imx: add tuning-step seting support mmc: sdhci-esdhc-imx: add

[PATCH v5 5/6] mmc: sdhci-esdhc-imx: set back the burst_length_enable bit to 1

2015-08-10 Thread Haibo Chen
Currently we find that if a usdhc is choosed to boot system, then ROM code will set the burst length enable bit of this usdhc as 0. This will make performance drop a lot if this usdhc's burst length is configed. So this patch set back the burst_length_enable bit as 1, which is the default value, a

Re: [PATCH] ipc/sem.c: Update/correct memory barriers

2015-08-10 Thread Peter Zijlstra
On Sun, Aug 09, 2015 at 07:55:39PM +0200, Manfred Spraul wrote: > sem_lock() did not properly pair memory barriers: > > !spin_is_locked() and spin_unlock_wait() are both only control barriers. > The code needs an acquire barrier, otherwise the cpu might perform > read operations before the lock te

[PATCH v5 2/6] mmc: sdhci-esdhc-imx: add tuning-step seting support

2015-08-10 Thread Haibo Chen
tuning-step is the delay cell steps in tuning procedure. The default value of tuning-step is 1. Some boards or cards need another value to pass the tuning procedure. For example, imx7d-sdb board need the tuning-step value as 2, otherwise it can't pass the tuning procedure. So this patch add the tu

[PATCH v5 4/6] ARM: dts: imx7d-sdb: add eMMC5.0 support

2015-08-10 Thread Haibo Chen
imx7d-sdb board has a eMMC5.0 on usdhc3. This eMMC support HS400. This patch add usdhc3 support for HS400 Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx7d-sdb.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb

Re: [PATCH 0/3] Make workingset detection logic memcg aware

2015-08-10 Thread Vladimir Davydov
On Sun, Aug 09, 2015 at 11:12:25PM +0900, Kamezawa Hiroyuki wrote: > On 2015/08/08 22:05, Vladimir Davydov wrote: > >On Fri, Aug 07, 2015 at 10:38:16AM +0900, Kamezawa Hiroyuki wrote: ... > >>All ? hmm. It seems that mixture of record of global memory pressure and of > >>local memory > >>pressure

Re: [PATCH v2 02/11] nios2: Export strncpy_from_user / strnlen_user to modules

2015-08-10 Thread Ley Foon Tan
On Fri, Aug 7, 2015 at 11:21 PM, James Hogan wrote: > Update the nios2 architecture code to export strncpy_from_user() and > strnlen_user() to modules. The test_user_copy module will soon test > them. > > Signed-off-by: James Hogan > Cc: Ley Foon Tan > Cc: nios2-...@lists.rocketboards.org > ---

Re: [PATCH v9 6/6] block: loop: support DIO & AIO

2015-08-10 Thread Christoph Hellwig
On Sun, Aug 09, 2015 at 10:50:41PM -0400, Ming Lei wrote: > Christoph, could you share your idea again about this approch? > > If you still don't think it is good to switch between buffered I/O > and direct I/O, I will not do that in next post. If we epxose a 512 byte block size to the loop devic

Re: [PATCH 3/3] clk: rockchip: do not gate the efuse256 clock

2015-08-10 Thread Heiko Stübner
Hi, Am Montag, 10. August 2015, 11:22:43 schrieb Shunqian Zheng: > From: ZhengShunQian > > Always enable the clock of efuse256. Base on the nvmem framework, > it seems like there is not a good way to enable the clock > when actual needed. > > Signed-off-by: ZhengShunQian actually regmap alrea

Re: [RFC zsmalloc 1/4] zsmalloc: keep max_object in size_class

2015-08-10 Thread Sergey Senozhatsky
On (08/10/15 16:12), Minchan Kim wrote: > Every zspage in a size_class has same max_objects so we could > move it to a size_class. > > Signed-off-by: Minchan Kim > --- > mm/zsmalloc.c | 22 ++ > 1 file changed, 10 insertions(+), 12 deletions(-) > > diff --git a/mm/zsmalloc.c

Re: [PATCHv7 2/2] mailbox: Adding driver for Xilinx LogiCORE IP mailbox.

2015-08-10 Thread Jassi Brar
On Wed, Jul 15, 2015 at 6:30 AM, Moritz Fischer wrote: > + > +static void xilinx_mbox_rx_data(struct mbox_chan *chan) > +{ > + struct xilinx_mbox *mbox = mbox_chan_to_xilinx_mbox(chan); > + u32 data; > + > + if (xilinx_mbox_pending(mbox)) { > + data = readl_relaxed

Re: [PATCH] thermal: of: Introduce governor selection in dts

2015-08-10 Thread 王崇懿
This patch was originally introduced when we made power_allocator the default governor where we had issues in binding a thermal zone w/o parameters to. Then we came out this facility for binding a specific governor to a thermal zone in dts instead of the default governor. Javi seems like this idea

[PATCH 3/3] Staging: unisys: Remove useless cast on void pointer

2015-08-10 Thread Shraddha Barke
void pointers do not need to be cast to other pointer types. The semantic patch used to find this: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T *)x)->f | - (T *) e ) Signed-off-by: Shraddha Barke --- drivers/staging/unisys/visorbus/visorbus_main

[PATCH 1/3] Staging: wilc1000: Remove null check before kfree

2015-08-10 Thread Shraddha Barke
kfree on NULL pointer is a no-op. This patch uses the following semantic patch to find such an instance where NULL check is present before kfree. // @@ expression E; @@ - if (E != NULL) { kfree(E); } + kfree(E); @@ expression E; @@ - if (E != NULL) { kfree(E); E = NULL; } + kfree(E); + E = NULL;

[PATCHv4 0/1] Document how to add a new syscall

2015-08-10 Thread David Drysdale
Given that I've gotten some of the details wrong in the past (and I've seen others do likewise), I thought it might be helpful to collate the best practices for adding a new system call to the kernel. Apologies for the wide circulation -- I've tried to include folk who've recently added or propose

[PATCH 2/3] Staging: lustre: libcfs: Remove unnecessary cast on void*

2015-08-10 Thread Shraddha Barke
This patch does away with the cast on void * as it is unnecessary. Semantic patch used is as follows: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T *)x)->f | - (void *) e ) Signed-off-by: Shraddha Barke --- drivers/staging/lustre/lustre/libcfs/mo

[PATCHv4 1/1] Documentation: describe how to add a system call

2015-08-10 Thread David Drysdale
Add a document describing the process of adding a new system call, including the need for a flags argument for future compatibility, and covering 32-bit/64-bit concerns (albeit in an x86-centric way). Signed-off-by: David Drysdale Reviewed-by: Michael Kerrisk Reviewed-by: Eric B Munson Reviewed

Re: [PATCH] thermal: rockchip: fix handling of invalid readings

2015-08-10 Thread Dmitry Torokhov
Hi Caesar, On Sun, Aug 9, 2015 at 11:30 PM, Caesar Wang wrote: > Dear Dmitry, > > Thanks your patch. > > The code looks like fine,but I don't think the TS-ADC will work on rk3288 > SoC. What do you mean? It seems to work when I ran it... > > > 在 2015年08月08日 04:59, Dmitry Torokhov 写道: >> >> We a

Re: [PATCH v5 3/6] cpufreq: powernv: Register for OCC related opal_message notification

2015-08-10 Thread Viresh Kumar
On 10-08-15, 13:21, Shilpasri G Bhat wrote: > Okay will change the messages. This series is already applied by Rafael. So send a new patch if there is any code change. Else, just let it go :) -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: [PATCH v5 3/6] cpufreq: powernv: Register for OCC related opal_message notification

2015-08-10 Thread Shilpasri G Bhat
On 08/10/2015 07:11 AM, Stewart Smith wrote: > Shilpasri G Bhat writes: >> diff --git a/drivers/cpufreq/powernv-cpufreq.c >> b/drivers/cpufreq/powernv-cpufreq.c >> index d0c18c9..a634199 100644 >> --- a/drivers/cpufreq/powernv-cpufreq.c >> +++ b/drivers/cpufreq/powernv-cpufreq.c >> @@ -33,6 +33

Re: [PATCH 2/4] loop: Enable correct physical blocksize

2015-08-10 Thread Ming Lei
On Fri, Aug 7, 2015 at 4:54 AM, Hannes Reinecke wrote: > When running on files the physical blocksize is actually 4k, > so we should be announcing it as such. This is enabled with > a new LO_FLAGS_BLOCKSIZE flag value to the existing ioctl. > > Signed-off-by: Hannes Reinecke > --- > drivers/bloc

Re: [PATCH 5/6] mm: export shmem_zero_setup for modules

2015-08-10 Thread Christoph Hellwig
On Mon, Aug 10, 2015 at 09:24:20AM +0300, Mike Rapoport wrote: > to allow building Android ASHMEM as module NAK. This is not functionality that should be used by a module to start, and even if it was exporting functionality is only acceptable for proper mainline modules, not code in the staging t

Re: [PATCH v2 4/9] usb: host: ehci-st: Simplify return statement

2015-08-10 Thread Maxime Coquelin
Hi Saurabh, On 08/04/2015 04:02 PM, Karajgaonkar, Saurabh (S.) wrote: From: Saurabh Karajgaonkar Replace redundant variable use in return statement. Signed-off-by: Saurabh Karajgaonkar --- drivers/usb/host/ehci-st.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) Acked-by:

Re: [PATCHv3 1/1] Documentation: describe how to add a system call

2015-08-10 Thread David Drysdale
On Wed, Aug 5, 2015 at 5:21 PM, Pavel Machek wrote: > Hi! > >> Add a document describing the process of adding a new system call, >> including the need for a flags argument for future compatibility, and >> covering 32-bit/64-bit concerns (albeit in an x86-centric way). >> >> Signed-off-by: David D

Re: regression introduced by "block: Add support for DAX reads/writes to block devices"

2015-08-10 Thread Boaz Harrosh
On 08/07/2015 11:41 PM, Jeff Moyer wrote: <> > >> We need to cope with the case where the end of a partition isn't on a >> page boundary though. > > Well, that's usually done by falling back to buffered I/O. I gave that > a try and panicked the box. :) I'll keep looking into it, but probably >

Re: [PATCH 5/6] crypto/omap-sham: remove an open coded access to ->page_link

2015-08-10 Thread Herbert Xu
On Fri, Aug 07, 2015 at 06:15:15PM +0200, Christoph Hellwig wrote: > Signed-off-by: Dan Williams > [hch: split from a larger patch by Dan] > Signed-off-by: Christoph Hellwig Acked-by: Herbert Xu -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.

Re: [PATCH v5 2/6] powerpc/powernv: Add definition of OPAL_MSG_OCC message type

2015-08-10 Thread Shilpasri G Bhat
Hi Stewart, On 08/10/2015 05:53 AM, Stewart Smith wrote: > Shilpasri G Bhat writes: >> Add OPAL_MSG_OCC message definition to opal_message_type to receive >> OCC events like reset, load and throttled. Host performance can be >> affected when OCC is reset or OCC throttles the max Pstate. >> We can

[PATCH v6 1/2] usb: make xhci platform driver use 64 bit or 32 bit DMA

2015-08-10 Thread Duc Dang
The xhci platform driver needs to work on systems that either only support 64-bit DMA or only support 32-bit DMA. Attempt to set a coherent dma mask for 64-bit DMA, and attempt again with 32-bit DMA if that fails. [dhdang: regenerate the patch over 4.2-rc5 and address new comments] Signed-off-by:

[PATCH v6 2/2] usb: Add support for ACPI identification to xhci-platform

2015-08-10 Thread Duc Dang
Provide the methods to let ACPI identify the need to use xhci-platform. Change the Kconfig files so the xhci-plat.o file is selectable during kernel config. This has been tested on an ARM64 machine with platform XHCI, an x86_64 machine with XHCI, and an x86_64 machine without XHCI. There were no r

Re: [PATCH 3/6] crypto: replace scatterwalk_sg_chain with sg_chain

2015-08-10 Thread Herbert Xu
On Fri, Aug 07, 2015 at 06:15:13PM +0200, Christoph Hellwig wrote: > From: Dan Williams > > Signed-off-by: Dan Williams > [hch: split from a larger patch by Dan] > Signed-off-by: Christoph Hellwig Acked-by: Herbert Xu -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP

[PATCHv1 bluetooth-next] cc2520: set the default fifo pin value from platform data

2015-08-10 Thread LIYONG
In case of the device tree support is disabled, the fifo_pin is uninitialized, this patch will set the fifo_pin value based on platform data Signed-off-by: Yong Li ---  drivers/net/ieee802154/cc2520.c | 1 +  1 file changed, 1 insertion(+) diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/n

Re: Build regressions/improvements in v4.2-rc6

2015-08-10 Thread Geert Uytterhoeven
On Mon, Aug 10, 2015 at 9:21 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.2-rc6[1] to v4.2-rc5[3], the summaries are: > - build errors: +19/-7 + /home/kisskb/slave/src/drivers/base/regmap/regmap-i2c.c: error: implicit declaration of function 'i2c_check_functionality' [-Werror=impli

Build regressions/improvements in v4.2-rc6

2015-08-10 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.2-rc6[1] compared to v4.1[2]. Summarized: - build errors: +19/-51 - build warnings: +144/-260 JFYI, when comparing v4.2-rc6[1] to v4.2-rc5[3], the summaries are: - build errors: +19/-7 - build warnings: +38/-39 Note

Re: [PATCH 2/4] mm/compaction: enable mobile-page migration

2015-08-10 Thread Minchan Kim
On Fri, Jul 31, 2015 at 07:43:09PM +0900, Minchan Kim wrote: > Hi Gioh, > > On Mon, Jul 13, 2015 at 05:35:17PM +0900, Gioh Kim wrote: > > From: Gioh Kim > > > > Add framework to register callback functions and check page mobility. > > There are some modes for page isolation so that isolate inter

[RFC zsmalloc 2/4] zsmalloc: squeeze inuse into page->mapping

2015-08-10 Thread Minchan Kim
Currently, we store class:fullness into page->mapping. The number of class we can support is 255 and fullness is 4 so 10bit is enough to represent them. IOW, we have room (sizeof(void *) * 8 - 10) in mapping. Meanwhile, the bits we need to store in-use objects in zspage is just 11bit like below.

[RFC zsmalloc 1/4] zsmalloc: keep max_object in size_class

2015-08-10 Thread Minchan Kim
Every zspage in a size_class has same max_objects so we could move it to a size_class. Signed-off-by: Minchan Kim --- mm/zsmalloc.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index f135b1b..491491a 100644 --- a/mm/zs

[RFC zsmalloc 4/4] zsmalloc: move struct zs_meta from mapping to somewhere

2015-08-10 Thread Minchan Kim
For supporting runtime compaction with VM, we need to have proper address_space on every page so zsmalloc shouldn't use page->mapping. This patch moves zsmalloc metadata from mapping to freelist. Signed-off-by: Minchan Kim --- mm/zsmalloc.c | 18 +- 1 file changed, 9 insertions(

<    5   6   7   8   9   10   11   >