Re: Re: [PATCH v3] zram: try vmalloc() after kmalloc()

2015-11-23 Thread Kyeongdon Kim
Hello Andrew, On 2015-11-24 오전 7:52, Andrew Morton wrote: > On Mon, 23 Nov 2015 15:21:15 +0900 Kyeongdon Kim > wrote: > >> When we're using LZ4 multi compression streams for zram swap, >> we found out page allocation failure message in system running test. >> That was not only once, but a few(2

Re: [PATCH 2/3] zram: try vmalloc() after kmalloc()

2015-11-23 Thread Minchan Kim
On Tue, Nov 24, 2015 at 04:36:36PM +0900, Sergey Senozhatsky wrote: > On (11/24/15 16:03), Minchan Kim wrote: > > > > Good question. > > > > Actually, failure of allocation came from backend->create as Kyeongdon's > > comment because it requires order-3 allocation which is very fragile > > in

Re: MPT2SAS boot fail... due to silently loosing the driver

2015-11-23 Thread Christoph Hellwig
Send a patch so we can understand what you mean :) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: MPT2SAS boot fail... due to silently loosing the driver

2015-11-23 Thread Hannes Reinecke
On 11/24/2015 08:51 AM, Christoph Hellwig wrote: > I wonder what the "classic" way to such transitions is. Adding a mpt2 > option that just selects mpt3 sound easy, but might be very confusing. > Personally, I would rename everything to 'mptXsas', and have the original options map onto that.

Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-11-23 Thread Sascha Hauer
On Tue, Nov 24, 2015 at 02:06:09PM +0800, dawei chien wrote: > Hi Sascha, > > > +static int mtk_thermal_get_calibration_data(struct device *dev, struct > > mtk_thermal *mt) > > +{ > > + struct nvmem_cell *cell; > > + u32 *buf; > > + size_t len; > > + int i, ret; > > + /* Start with

[LINUX PATCH] iio: xadc: fix for extended name remains same issue

2015-11-23 Thread Ranjit Waghmode
If we read channel details based on the device tree entry; channel’s scan_index and channel’s address were overwritten by scan_index and address of channel based on device tree. But extended name were remaining same because of which sysfs entry names were continuous. So this patch takes care of

Re: MPT2SAS boot fail... due to silently loosing the driver

2015-11-23 Thread Christoph Hellwig
I wonder what the "classic" way to such transitions is. Adding a mpt2 option that just selects mpt3 sound easy, but might be very confusing. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: + arc-convert-to-dma_map_ops.patch added to -mm tree

2015-11-23 Thread h...@lst.de
Hi Vineet, the original version went through the buildbot, which succeeded. It seems like the official buildbot does not support arc, and might benefit from helping to set up an arc environment. However in the meantime Guenther send me output from his buildbot and I sent a fix for arc. -- To

Re: [PATCH] cpufreq: imx: Add cpufreq driver for imx7D/Solo SOC

2015-11-23 Thread Bai Ping
On 2015/11/23 17:40, Lucas Stach wrote: Am Montag, den 23.11.2015, 22:07 +0800 schrieb Bai Ping: The i.MX7Dual/Solo is a new series of the i.MX SOC family. The existing cpufreq driver for 'i.MX6' or 'cpufreq-dt' can NOT match the requirement of this new SOC. This patch adds the cpufreq driver

[PATCH v4] i2c: taos-evm: replace simple_strtoul by kstrtou8

2015-11-23 Thread LABBE Corentin
The simple_strtoul function is marked as obsolete. This patch replace it by kstrtou8. Reviewed-by: Jean Delvare Tested-by: Jean Delvare Signed-off-by: LABBE Corentin --- drivers/i2c/busses/i2c-taos-evm.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

Re: [LINUX PATCH] iio: xadc: fix for extended name remains same issue

2015-11-23 Thread Lars-Peter Clausen
On 11/24/2015 07:17 AM, Ranjit Waghmode wrote: > If we read channel details based on the device tree entry; channel’s > scan_index > and channel’s address were overwritten by scan_index and address of channel > based on device tree. But extended name were remaining same because of which > sysfs

[PATCH v4] i2c: taos-evm: replace simple_strtoul by kstrto

2015-11-23 Thread LABBE Corentin
Hello Change since v3 - Added reviewed-by and tested-by - Fix Capital letter and missing dot in the comment. Changes since v2 - removed err variable - fix a spelling issue Changes since v1 - drop the return code of kstrtou8 and return -EPROTO as suggested by Jean Delvare - Added a comment on

Re: [PATCH] thermal: ti-soc-thermal: fix error check

2015-11-23 Thread Sudip Mukherjee
On Mon, Nov 23, 2015 at 03:25:43PM -0800, Eduardo Valentin wrote: > On Mon, Nov 23, 2015 at 06:24:41PM +0530, Sudip Mukherjee wrote: > > We were only checking if data is not NULL but > > ti_bandgap_get_sensor_data() can return NULL or ERR_PTR. > > Do you have a fail case? Can you please send the

[PATCH 2/4] x86/RAS: Remove mce.usable_addr

2015-11-23 Thread Borislav Petkov
From: Borislav Petkov It is useless and we can use the function instead. Besides, mcelog(8) hasn't managed to make use of it yet. So kill it. Signed-off-by: Borislav Petkov Acked-by: Tony Luck --- arch/x86/include/uapi/asm/mce.h | 2 +- arch/x86/kernel/cpu/mcheck/mce.c | 12 2

[PATCH 1/4] x86/mce: Do not enter deferred errors into the generic pool twice

2015-11-23 Thread Borislav Petkov
From: Tony Luck We used to have a special ring buffer for deferred errors that was used to mark problem pages. We replaced that with a generic pool. Then later converted mce_log() to also use the same pool. As a result, we end up adding all deferred errors to the pool twice. Rearrange this

[PATCH 4/4] x86/mce: Make usable address checks Intel-only

2015-11-23 Thread Borislav Petkov
From: Borislav Petkov The MCi_MISC bitfield definitions mce_usable_address() checks are Intel-only. Make them so. While at it, move mce_usable_address() up, before all its callers and get rid of the forward declaration. Signed-off-by: Borislav Petkov Acked-by: Tony Luck ---

[PATCH 0/4] RAS stuff for tip:x86/ras

2015-11-23 Thread Borislav Petkov
From: Borislav Petkov Hi Ingo, here a couple of small fixes for x86/ras for 4.5. Please apply, thanks. Borislav Petkov (3): x86/RAS: Remove mce.usable_addr x86/mce: Add the missing memory error check on AMD x86/mce: Make usable address checks Intel-only Tony Luck (1): x86/mce: Do not

Re: [PATH RESEND v2 03/10] tty: xuartps: Always enable transmitter in start_tx

2015-11-23 Thread Michal Simek
Hi Peter, On 23.11.2015 21:00, Peter Hurley wrote: > Hi Michal, > > On 11/23/2015 02:05 AM, Michal Simek wrote: >> All these tests looks very interesting. Do you have any any >> work-in-progress repo with other tests? It will be good to run all of >> them to validate our drivers. > > I haven't

[PATCH 3/4] x86/mce: Add the missing memory error check on AMD

2015-11-23 Thread Borislav Petkov
From: Borislav Petkov We simply need to look at the extended error code when detecting whether the error is of type memory. Signed-off-by: Borislav Petkov Acked-by: Tony Luck --- arch/x86/kernel/cpu/mcheck/mce.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v4 0/3] ARM: OMAP2+ McASP(3) support for DRA7xx family

2015-11-23 Thread Peter Ujfalusi
Tony, On 11/12/2015 08:00 PM, Tony Lindgren wrote: > * Peter Ujfalusi [15 23:33]: >> Hi Tony, >> >> Changes since v3: >> - rebased on mainline's HEAD >> - Added Tested-by from Felipe >> - Added Acked-by from Paul for the hwmod patches >> >> Changes since v2: >> - DTS patch added which is

Re: [PATCH] mm/compaction: __compact_pgdat() code cleanuup

2015-11-23 Thread Yaowei Bai
On Tue, Nov 24, 2015 at 03:24:42PM +0900, Joonsoo Kim wrote: > This patch uses is_via_compact_memory() to distinguish direct compaction. > And it also reduces indentation on compaction_defer_reset > by filtering failure case. There is no functional change. > > Signed-off-by: Joonsoo Kim > --- >

Re: [RFD] CAT user space interface revisited

2015-11-23 Thread Chao Peng
On Wed, Nov 18, 2015 at 07:25:03PM +0100, Thomas Gleixner wrote: > > Let's look at partitioning itself. We have two options: > >1) Per task partitioning > >2) Per CPU partitioning > > So far we only talked about #1, but I think that #2 has a value as > well. Let me give you a simple

Re: [UNTESTED PATCH] x86, mce: Avoid double entry of deferred errors into the genpool.

2015-11-23 Thread Borislav Petkov
On Tue, Nov 24, 2015 at 12:19:18AM +, Luck, Tony wrote: > > Also, two more fixes I've done while injecting in a kvm guest I'm > > sending as a reply to this message. Will inject on a real box too. > > Ok ... applied those two on top of my "UNTESTED" patch and injected an error > to force a

Re: [RFC/PATCH] perf tools: Introduce perf_thread for backtrace

2015-11-23 Thread Namhyung Kim
Hi Jiri, On Fri, Nov 20, 2015 at 10:29:48AM +0100, Jiri Olsa wrote: > On Fri, Nov 20, 2015 at 03:03:03PM +0900, Namhyung Kim wrote: > > Backtrace is a crucial info for debugging. And upcoming refcnt > > tracking facility also wants to use it. > > > > So instead of relying on glibc's

Re: [PATCH 2/3] zram: try vmalloc() after kmalloc()

2015-11-23 Thread Sergey Senozhatsky
On (11/24/15 16:03), Minchan Kim wrote: > > Good question. > > Actually, failure of allocation came from backend->create as Kyeongdon's > comment because it requires order-3 allocation which is very fragile > in embedded system recenlty(Android, webOS. That's why Joonsoo are solving > the

Re: [RFC/PATCH] perf tools: Introduce perf_thread for backtrace

2015-11-23 Thread Namhyung Kim
On Mon, Nov 23, 2015 at 06:39:36PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Nov 20, 2015 at 03:03:03PM +0900, Namhyung Kim escreveu: > > Backtrace is a crucial info for debugging. And upcoming refcnt > > tracking facility also wants to use it. > > > > So instead of relying on glibc's

Re: [PATCH] libertas: fix possible NULL dereference

2015-11-23 Thread Sudip Mukherjee
On Tue, Nov 24, 2015 at 01:43:38AM +0200, Andy Shevchenko wrote: > On Mon, Nov 23, 2015 at 2:32 PM, Sudip Mukherjee > wrote: > > We were dereferencing cmd first and checking for NULL later. Lets first > > check for NULL. > > However the patch is valid due to reducing error prone part, the >

Re: [PATCH] USB: quirks: Fix another ELAN touchscreen

2015-11-23 Thread Oliver Neukum
On Mon, 2015-11-23 at 18:37 +0100, Adrien Vergé wrote: > > Makes one wonder however whether we shouldn't be applying > ALWAYS_POLL to > > all ELAN devices by default anyway. > > True! But I don't want to risk breaking anything on other models in > this patch. ALWAYS_POLL just extends an existing

Re: [PATCH v5 5/8] watchdog: Simplify update_worker

2015-11-23 Thread Guenter Roeck
Hi Uwe, On 11/23/2015 11:13 PM, Uwe Kleine-König wrote: Hello, On Sun, Nov 22, 2015 at 07:21:02PM -0800, Guenter Roeck wrote: Drop 'cancel' parameter; simply cancel worker unconditionally if not needed. Signed-off-by: Guenter Roeck This is a good change, but given that

Re: [RFC/PATCH] perf tools: Introduce perf_thread for backtrace

2015-11-23 Thread Namhyung Kim
Hi Arnaldo and Masami, On Fri, Nov 20, 2015 at 09:10:44AM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Nov 20, 2015 at 09:05:23AM +, 平松雅巳 / HIRAMATU,MASAMI escreveu: > > >From: Namhyung Kim [mailto:namhy...@kernel.org] > > > > > >Backtrace is a crucial info for debugging. And upcoming

[PATCH V3 1/3] ASoC: fsl_esai: spba clock is needed by esai device

2015-11-23 Thread Shengjiu Wang
ESAI need to enable the spba clock, when sdma is using share peripheral script. In this case, there is two spba master port is used, if don't enable the clock, the spba bus will have arbitration issue, which may cause read/write wrong data from/to ESAI registers. Signed-off-by: Shengjiu Wang ---

Re: [PATCH v3 0/5] Make cpuid <-> nodeid mapping persistent.

2015-11-23 Thread Tang Chen
On 11/24/2015 06:04 AM, Tejun Heo wrote: Hello, On Thu, Nov 19, 2015 at 12:22:10PM +0800, Tang Chen wrote: [Solution] There are four mappings in the kernel: 1. nodeid (logical node id) <-> pxm 2. apicid (physical cpu id) <-> nodeid 3. cpuid (logical cpu id) <-> apicid 4. cpuid

Re: [PATCH v5 1/8] watchdog: Introduce hardware maximum timeout in watchdog core

2015-11-23 Thread Uwe Kleine-König
Hello Guenter, On Sun, Nov 22, 2015 at 07:20:58PM -0800, Guenter Roeck wrote: > Introduce an optional hardware maximum timeout in the watchdog core. > The hardware maximum timeout can be lower than the maximum timeout. > > Drivers can set the maximum hardware timeout value in the watchdog data >

Re: [PATCH v5 5/8] watchdog: Simplify update_worker

2015-11-23 Thread Uwe Kleine-König
Hello, On Sun, Nov 22, 2015 at 07:21:02PM -0800, Guenter Roeck wrote: > Drop 'cancel' parameter; simply cancel worker unconditionally > if not needed. > > Signed-off-by: Guenter Roeck This is a good change, but given that watchdog_update_worker is introduced in this series it should be

Re: [PATCH] Input: smtpe-ts: better way of using of_property_read_u32()

2015-11-23 Thread Viresh Kumar
On 24-11-15, 12:36, Saurabh Sengar wrote: > better way of using of_property_read_u32(), helps remove one variable > and many 'if' conditions > > Signed-off-by: Saurabh Sengar > --- > drivers/input/touchscreen/stmpe-ts.c | 29 ++--- > 1 file changed, 10 insertions(+), 19

Re: [PATCH 1/3] zram/zcomp: use GFP_NOIO to allocate streams

2015-11-23 Thread Minchan Kim
On Tue, Nov 24, 2015 at 03:00:37PM +0900, Sergey Senozhatsky wrote: > [..] > > static struct zcomp_strm *zcomp_strm_alloc(struct zcomp *comp) > > { > > - struct zcomp_strm *zstrm = kmalloc(sizeof(*zstrm), GFP_KERNEL); > > + struct zcomp_strm *zstrm = kmalloc(sizeof(*zstrm),

Re: [PATCH 2/3] zram: try vmalloc() after kmalloc()

2015-11-23 Thread Minchan Kim
On Tue, Nov 24, 2015 at 03:42:49PM +0900, Sergey Senozhatsky wrote: > On (11/24/15 15:12), Sergey Senozhatsky wrote: > > [..] > > > static void *zcomp_lz4_create(void) > > > { > > > - return kzalloc(LZ4_MEM_COMPRESS, GFP_KERNEL); > > > + void *ret; > > > + > > > + /* > > > +

[PATCH] Input: smtpe-ts: better way of using of_property_read_u32()

2015-11-23 Thread Saurabh Sengar
better way of using of_property_read_u32(), helps remove one variable and many 'if' conditions Signed-off-by: Saurabh Sengar --- drivers/input/touchscreen/stmpe-ts.c | 29 ++--- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git

[PATCH V3 3/3] ASoC: fsl_asrc: spba clock is needed by asrc device

2015-11-23 Thread Shengjiu Wang
ASRC need to enable the spba clock, when sdma is using share peripheral script. In this case, there is two spba master port is used, if don't enable the clock, the spba bus will have arbitration issue, which may cause read/write wrong data from/to ASRC registers Signed-off-by: Shengjiu Wang ---

Re: [PATCH 2/3] zram: try vmalloc() after kmalloc()

2015-11-23 Thread Minchan Kim
On Tue, Nov 24, 2015 at 03:12:58PM +0900, Sergey Senozhatsky wrote: > [..] > > static void *zcomp_lz4_create(void) > > { > > - return kzalloc(LZ4_MEM_COMPRESS, GFP_KERNEL); > > + void *ret; > > + > > + /* > > +* This function could be called in swapout/fs write path > >

[PATCH V3 0/3] add spba clock for fsl audio IP

2015-11-23 Thread Shengjiu Wang
add spba clock for fsl audio IP Changes in V3 - update the comments for clock description. Shengjiu Wang (3): ASoC: fsl_esai: spba clock is needed by esai device ASoC: fsl_spdif: spba clk is needed by spdif device ASoC: fsl_asrc: spba clock is needed by asrc device

[PATCH V3 2/3] ASoC: fsl_spdif: spba clk is needed by spdif device

2015-11-23 Thread Shengjiu Wang
SPDIF need to enable the spba clock, when sdma is using share peripheral script. In this case, there is two spba master port is used, if don't enable the clock, the spba bus will have arbitration issue, which may cause read/write wrong data from/to SPDIF registers. Signed-off-by: Shengjiu Wang

Re: [PATCH 2/9] IB: add a proper completion queue abstraction

2015-11-23 Thread Jason Gunthorpe
On Mon, Nov 23, 2015 at 06:35:28PM -0800, Caitlin Bestler wrote: > Is it possible for an IB HCA to transmit a response on a QP and not > in that packet or a previous packet acknowledge something that it > has delivered to the user? AFAIK, the rules of ack coalescing do not interact with the send

Re: crash tool - problem with new Xen linear virtual mapped sparse p2m list

2015-11-23 Thread Juergen Gross
On 23/11/15 21:18, Daniel Kiper wrote: > Hi all, > > Some time ago Linux kernel commit 054954eb051f35e74b75a566a96fe756015352c8 > (xen: switch to linear virtual mapped sparse p2m list) introduced linear > virtual mapped sparse p2m list. It fixed some issues, however, it broke > crash tool too. I

Re: [PATCH v7 0/6] Build and support rk3036 SoC platform

2015-11-23 Thread Xing Zheng
OK, Thanks Heiko. :-) On 2015年11月24日 08:03, Heiko Stübner wrote: Hi Xing Zheng, Am Donnerstag, 5. November 2015, 15:33:54 schrieb Xing Zheng: Hi, We need to support rk3036 soc platform via upstream, there are some primary parts for the initial release of minimum system: dts, clk-pll, smp,

Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node

2015-11-23 Thread Chen-Yu Tsai
On Tue, Nov 24, 2015 at 2:38 PM, Maxime Ripard wrote: > On Tue, Nov 24, 2015 at 11:13:13AM +0800, Chen-Yu Tsai wrote: >> Hi, >> >> On Mon, Nov 23, 2015 at 8:43 PM, Maxime Ripard >> wrote: >> > Hi, >> > >> > On Mon, Nov 23, 2015 at 09:02:48AM +0100, Josef Gajdusek wrote: >> >> Add a node

Re: [PATCH RESEND 06/16] mfd: add TI LMU driver

2015-11-23 Thread Kim, Milo
On 11/24/2015 11:35 AM, Kim, Milo wrote: Hi Lee, Thanks for all your comments. Please see my comments below. On 11/23/2015 7:30 PM, Lee Jones wrote: +int ti_lmu_read_byte(struct ti_lmu *lmu, u8 reg, u8 *read) +{ + int ret; + unsigned int val; + + ret =

Re: [PATCH 2/3] zram: try vmalloc() after kmalloc()

2015-11-23 Thread Sergey Senozhatsky
On (11/24/15 15:12), Sergey Senozhatsky wrote: > [..] > > static void *zcomp_lz4_create(void) > > { > > - return kzalloc(LZ4_MEM_COMPRESS, GFP_KERNEL); > > + void *ret; > > + > > + /* > > +* This function could be called in swapout/fs write path > > +* so we

Re: [PATCH] clk: imx: add 'is_prepared' clk_ops callback for pllv3 clk

2015-11-23 Thread Shawn Guo
On Tue, Nov 03, 2015 at 02:06:09AM +0800, Bai Ping wrote: > Add 'is_prepared' callback function for pllv3 type clk to make sure when > the system is bootup, the unused clk is in a known state to match the > prepare count info. > > Signed-off-by: Bai Ping Please resend the patch with following

Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node

2015-11-23 Thread Maxime Ripard
On Tue, Nov 24, 2015 at 11:13:13AM +0800, Chen-Yu Tsai wrote: > Hi, > > On Mon, Nov 23, 2015 at 8:43 PM, Maxime Ripard > wrote: > > Hi, > > > > On Mon, Nov 23, 2015 at 09:02:48AM +0100, Josef Gajdusek wrote: > >> Add a node describing the Security ID memory to the > >> Allwinner H3 .dtsi file. >

Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node

2015-11-23 Thread Maxime Ripard
On Mon, Nov 23, 2015 at 07:24:40PM -0800, Sugar Wu wrote: > I will give you the right widths as soon. Great, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[PATCH] mm/compaction: __compact_pgdat() code cleanuup

2015-11-23 Thread Joonsoo Kim
This patch uses is_via_compact_memory() to distinguish direct compaction. And it also reduces indentation on compaction_defer_reset by filtering failure case. There is no functional change. Signed-off-by: Joonsoo Kim --- mm/compaction.c | 15 +-- 1 file changed, 9 insertions(+), 6

[PATCH] mm/vmstat: retrieve more accurate vmstat value

2015-11-23 Thread Joonsoo Kim
When I tested compaction in low memory condition, I found that my benchmark is stuck in congestion_wait() at shrink_inactive_list(). This stuck last for 1 sec and after then it can escape. More investigation shows that it is due to stale vmstat value. vmstat is updated every 1 sec so it is stuck

RE: [PATCH v5 0/4] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-11-23 Thread Yoshihiro Shimoda
Hi Kishon, > From: Yoshihiro Shimoda > Sent: Tuesday, October 20, 2015 5:58 PM > > This patch is based on the latest linux-phy / next branch. > (commit id = 0f8669e343982ac66f4420335777cb5456b8abb0) Would you review this patch set? I confirmed the patch set could apply the latest linux-phy /

Re: [PATCH 2/3] zram: try vmalloc() after kmalloc()

2015-11-23 Thread Sergey Senozhatsky
[..] > static void *zcomp_lz4_create(void) > { > - return kzalloc(LZ4_MEM_COMPRESS, GFP_KERNEL); > + void *ret; > + > + /* > +* This function could be called in swapout/fs write path > +* so we couldn't use GFP_FS|IO. And it assumes we already > +* have

Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-11-23 Thread dawei chien
Hi Sascha, On Wed, 2015-11-18 at 09:24 +0100, Sascha Hauer wrote: > This adds support for the Mediatek thermal controller found on MT8173 > and likely other SoCs. > The controller is a bit special. It does not have its own ADC, instead > it controls the on-SoC AUXADC via AHB bus accesses. For

Re: linux-next: build failure after merge of the drm-panel tree

2015-11-23 Thread Bjorn Andersson
^ > > Caused by commit > > 086ceb6b42ca ("drm/panel: Add Panasonic VVX10F034N00 MIPI DSI panel") > > I have used the version of the drm-panel tree from next-20151123 for today. > Thierry, This means that patch 1 of the series was not picked up. It can be found here: h

[PATCH] pinctrl: uniphier: rework UniPhier pinctrl entries in Kconfig

2015-11-23 Thread Masahiro Yamada
There is a plan to support more pinctrl drivers for this SoC family. Move the driver entries into a sub menu by using "menuconfig". Also, add the missing dependency "depends on OF && MFD_SYSCON". Signed-off-by: Masahiro Yamada --- drivers/pinctrl/uniphier/Kconfig | 23 +--

Re: BUG: Unable to handle kernel paging request for data at address __percpu_counter_add

2015-11-23 Thread Raghavendra K T
On 11/24/2015 02:43 AM, Tejun Heo wrote: Hello, On Thu, Nov 19, 2015 at 03:54:35PM +0530, Raghavendra K T wrote: While I was creating thousands of docker container on a power8 baremetal (config: 4.3.0 kernel 1TB RAM, 20core (=160 cpu) system. After creating around 5600 container I have hit

Re: [PATCH 1/3] zram/zcomp: use GFP_NOIO to allocate streams

2015-11-23 Thread Sergey Senozhatsky
[..] > static struct zcomp_strm *zcomp_strm_alloc(struct zcomp *comp) > { > - struct zcomp_strm *zstrm = kmalloc(sizeof(*zstrm), GFP_KERNEL); > + struct zcomp_strm *zstrm = kmalloc(sizeof(*zstrm), GFP_NOIO); > if (!zstrm) > return NULL; > > @@ -85,7 +85,7 @@

Re: [PATCH v5 0/6] MT8173 IOMMU SUPPORT

2015-11-23 Thread Yong Wu
On Fri, 2015-10-23 at 11:26 +0200, Joerg Roedel wrote: > On Thu, Oct 22, 2015 at 12:40:02PM +0800, Yong Wu wrote: > > But the mtk-iommu depend on the drivers/memory/mtk-smi.c(mtk-iommu > > has called a function of the mtk-smi). > > So if there is dependence here, How should we do to

[PATCH] ARM: dts: qcom: msm8974: Add i2c8 node

2015-11-23 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-msm8974.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index acd4cdb9c934..777adb9204c7 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++

[PATCH] MAINTAINERS: Add rules for Qualcomm dts files

2015-11-23 Thread Bjorn Andersson
Make the get_maintainer script pick up the proper maintainers for the Qualcomm dts files. Signed-off-by: Bjorn Andersson --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index bcf40fdc8178..a11764c15b62 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

net: Generalise wq_has_sleeper helper

2015-11-23 Thread Herbert Xu
On Wed, Nov 11, 2015 at 05:48:29PM +0800, Herbert Xu wrote: > > BTW, the networking folks found this years ago and even added > helpers to deal with this. See for example wq_has_sleeper in > include/net/sock.h. It would be good if we can move some of > those helpers into wait.h instead. Here is

[PATCH] pwm: berlin: Add PM support

2015-11-23 Thread Jisheng Zhang
This patch adds S2R support for berlin pwm driver. Signed-off-by: Jisheng Zhang --- drivers/pwm/pwm-berlin.c | 57 +++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-berlin.c b/drivers/pwm/pwm-berlin.c index

Re: [GIT PULL] optimize 64-by-32 ddivision for constant divisors on 32-bit machines

2015-11-23 Thread Nicolas Pitre
On Mon, 23 Nov 2015, Arnd Bergmann wrote: > On Monday 23 November 2015 11:04:33 Nicolas Pitre wrote: > > > > OK... I'm able to "fix" the build with: > > > > diff --git a/include/asm-generic/div64.h b/include/asm-generic/div64.h > > index 163f77999e..d246c4c801 100644 > > ---

Re: [PATCH v1] mm: hugetlb: fix hugepage memory leak caused by wrong reserve count

2015-11-23 Thread Naoya Horiguchi
On Fri, Nov 20, 2015 at 01:56:18PM -0800, Mike Kravetz wrote: > On 11/19/2015 11:57 PM, Hillf Danton wrote: > >> > >> When dequeue_huge_page_vma() in alloc_huge_page() fails, we fall back to > >> alloc_buddy_huge_page() to directly create a hugepage from the buddy > >> allocator. > >> In that

[lkp] [genirq/msi] 460ec9d780: 8.5% unixbench.score

2015-11-23 Thread kernel test robot
-debian-x86_64-2015-02-07.cgz-x86_64-rhel-460ec9d78057bf462f5b5cd0a140e32252d81405-20151123-70997-qe2i1m-0.yaml" max_uptime: 1310.02002 initrd: "/osimage/debian/debian-x86_64-2015-02-07.cgz" bootloader_append: - root=/dev/ram0 - user=lkp - job=/lkp/scheduled/nhm-white2/bisect_

Re: [PATCH 34/37] perf hists browser: Support flat callchains

2015-11-23 Thread Namhyung Kim
On Mon, Nov 23, 2015 at 04:16:48PM +0100, Frederic Weisbecker wrote: > On Thu, Nov 19, 2015 at 02:53:20PM -0300, Arnaldo Carvalho de Melo wrote: > > From: Namhyung Kim > > > > The flat callchain mode is to print all chains in a single, simple > > hierarchy so make it easy to see. > > > >

Re: [PATCH 1/3] iio: mma8452: add freefall detection for Freescale's accelerometers

2015-11-23 Thread Martin Kepplinger
Am 2015-11-17 um 20:24 schrieb Martin Kepplinger: > Am 2015-11-14 um 20:03 schrieb Jonathan Cameron: >> On 14/11/15 18:45, Martin Kepplinger wrote: >>> Am 2015-11-14 um 19:03 schrieb Jonathan Cameron: On 11/11/15 18:38, Martin Kepplinger wrote: > This adds freefall event detection to the

Re: Linus tree git problems self-modifying code?

2015-11-23 Thread Jeffrey Merkey
Also, the 4.3 build on i386 is LOADED with wanrings about variables being used that are not initialized. I can post that too but the list is pretty big. Just build it and its obvious. Jeff On 11/23/15, Jeffrey Merkey wrote: > If you checkout 4.3 the build it on i386 the following files show

Re: [PATCH 31/37] perf callchain: Add count fields to struct callchain_node

2015-11-23 Thread Namhyung Kim
Hi Frederic, On Mon, Nov 23, 2015 at 03:35:30PM +0100, Frederic Weisbecker wrote: > Namhyung, > > On Thu, Nov 19, 2015 at 02:53:17PM -0300, Arnaldo Carvalho de Melo wrote: > > From: Namhyung Kim > > > > It's to track the count of occurrences of the callchains. > > Please explain why you do

Re: Linux 4.3 kallsyms_lookup_name not returning per_cpu symbol values

2015-11-23 Thread Jeffrey Merkey
Got to the bottom of this one. bug closed. Jeff On 11/18/15, Jeffrey Merkey wrote: > kallsyms_lookup_name is not returning per_cpu symbols when called. > The symbols show up when you run something with the kallsyms_iter > struct but not through the regular interface. I have looked through >

Linus tree git problems self-modifying code?

2015-11-23 Thread Jeffrey Merkey
If you checkout 4.3 the build it on i386 the following files show up as modified and tracked after the build completes. I can roll the files back but isn't this broken? This does mess up my git sync. [root@aya linux]# [root@aya linux]# [root@aya linux]# git status -s D

Re: [PATCH v1] mm: hugetlb: fix hugepage memory leak caused by wrong reserve count

2015-11-23 Thread Naoya Horiguchi
ent -linus: > > --- > a/mm/hugetlb.c~mm-hugetlb-fix-hugepage-memory-leak-caused-by-wrong-reserve-count > +++ a/mm/hugetlb.c > @@ -1886,7 +1886,10 @@ struct page *alloc_huge_page(struct vm_a > page = __alloc_buddy_huge_page_with_mpol(h, vma, addr); >

Re: [LKP] [lkp] [direct] e594571852: xfstests.generic.299.fail

2015-11-23 Thread Huang, Ying
Jan Kara writes: > Hello, > > On Mon 23-11-15 16:29:25, kernel test robot wrote: >> FYI, we noticed the below changes on >> >> git://internal_merge_and_test_tree >> revert-e594571852b03a5503ba48edd718462e99bf238e-e594571852b03a5503ba48edd718462e99bf238e >> commit

Re: [PATCH] zram/zcomp: use GFP_NOIO to allocate streams

2015-11-23 Thread Sergey Senozhatsky
On (11/24/15 13:13), Minchan Kim wrote: > First of all, Thanks for the summary and proposal. sure :) > I think GFP_NOIO critical part(ie, your lockdep fix patch) should > go to -stable so it should stand alone. > > About vmalloc, I like that. Just problem was gfp and we can > pass it from upper

Re: [PATCH 8/8] Use __kernel_long_t in struct mq_attr

2015-11-23 Thread Dmitry V. Levin
On Fri, Dec 27, 2013 at 02:14:24PM -0800, H.J. Lu wrote: > Both x32 and x86-64 use the same struct mq_attr for system calls. But > x32 long is 32-bit. This patch replaces long with __kernel_long_t in > struct mq_attr. > > Signed-off-by: H.J. Lu > --- > include/uapi/linux/mqueue.h | 10

Re: [PATCH -mm v2] mm: add page_check_address_transhuge helper

2015-11-23 Thread Sergey Senozhatsky
Hello, On (11/20/15 12:31), Vladimir Davydov wrote: [..] > - if (ptep_clear_flush_young_notify(vma, address, pte)) { > - /* > - * Don't treat a reference through a sequentially read > - * mapping as such. If the page has been used in > - *

Re: [PATCH v2] i2c: cadence: Move to sensible power management

2015-11-23 Thread Shubhrajyoti Datta
On Tue, Nov 24, 2015 at 12:17 AM, Sören Brinkmann wrote: > On Sat, 2015-11-21 at 07:00PM +0530, Shubhrajyoti Datta wrote: >> On Thu, Oct 29, 2015 at 8:27 PM, Shubhrajyoti Datta >> wrote: >> > On Wed, Oct 28, 2015 at 9:48 PM, Sören Brinkmann >> > wrote: >> >> Hi Shubhrajyoti, >> >> >> >> >> >>

linux-next: Tree for Nov 24

2015-11-23 Thread Stephen Rothwell
Hi all, Changes since 20151123: The net-next tree gained a conflict against the net tree. The drm-panel tree gained a build failure so I used the version from next-20151123. Non-merge commits (relative to Linus' tree): 2366 2981 files changed, 92039 insertions(+), 35632 deletions

Re: [PATCH 3/3] clk: split of_clk_get_parent_name() into two functions

2015-11-23 Thread Masahiro Yamada
Hi Stephen, 2015-11-22 14:44 GMT+09:00 Masahiro Yamada : > Hi Stephen, > > > 2015-11-21 9:37 GMT+09:00 Stephen Boyd : >> On 11/20, Masahiro Yamada wrote: >>> Currently, there is no function to get the clock name of the given >>> node. Create a new helper function, of_clk_get_name(). This is

Re: + arc-convert-to-dma_map_ops.patch added to -mm tree

2015-11-23 Thread Vineet Gupta
On Wednesday 18 November 2015 03:08 AM, a...@linux-foundation.org wrote: > The patch titled > Subject: arc: convert to dma_map_ops > has been added to the -mm tree. Its filename is > arc-convert-to-dma_map_ops.patch > > This patch should soon appear at >

Re: lapic_suspend/lapic_resume wrong?

2015-11-23 Thread kbuild test robot
Hi Juergen, [auto build test ERROR on v4.4-rc2] [also build test ERROR on next-20151123] [cannot apply to tip/x86/core] url: https://github.com/0day-ci/linux/commits/Juergen-Gross/lapic_suspend-lapic_resume-wrong/20151123-155328 config: arm64-allyesconfig (attached as .config) reproduce

Re: [PATCH] zram/zcomp: use GFP_NOIO to allocate streams

2015-11-23 Thread Minchan Kim
Hi Sergey, On Tue, Nov 24, 2015 at 10:29:27AM +0900, Sergey Senozhatsky wrote: > Cc Kyeongdon > > On (11/23/15 16:47), Andrew Morton wrote: > [..] > > > > Doesn't make a lot of sense to me. We use a weakened gfp for the > > kmalloc and if that fails, fall into vmalloc() using the stronger gfp

RE: [V5 PATCH 1/4] panic/x86: Fix re-entrance problem due to panic on NMI

2015-11-23 Thread 河合英宏 / KAWAI,HIDEHIRO
Hi, > On Fri, Nov 20, 2015 at 06:36:44PM +0900, Hidehiro Kawai wrote: > > If panic on NMI happens just after panic() on the same CPU, panic() > > is recursively called. As the result, it stalls after failing to > > acquire panic_lock. > > > > To avoid this problem, don't call panic() in NMI

Re: [PATCH] pcnet32: fix a logic error with pci_set_dma_mask

2015-11-23 Thread Geliang Tang
On Wed, Oct 21, 2015 at 09:01:26PM -0700, Don Fry wrote: > On Mon, 2015-10-12 at 05:38 -0700, David Miller wrote: > > From: Geliang Tang > > Date: Fri, 9 Oct 2015 03:45:39 -0700 > > > > > pcnet32 can't work on my machine recently. It says "architecture > > > does not support 32bit PCI busmaster

[RFC 3/3] zram: pass gfp from zcomp frontend to backend

2015-11-23 Thread Minchan Kim
Each zcomp backend uses own gfp flag but it's pointless because the context they could be called is driven by upper layer(ie, zcomp frontend). As well, zcomp frondend could call them in different context. One context(ie, zram init part) is it should be better to make sure successful allocation

[PATCH 1/3] zram/zcomp: use GFP_NOIO to allocate streams

2015-11-23 Thread Minchan Kim
From: Sergey Senozhatsky We can end up allocating a new compression stream with GFP_KERNEL from within the IO path, which may result is nested (recursive) IO operations. That can introduce problems if the IO path in question is a reclaimer, holding some locks that will deadlock nested IOs.

[PATCH 2/3] zram: try vmalloc() after kmalloc()

2015-11-23 Thread Minchan Kim
From: Kyeongdon Kim When we're using LZ4 multi compression streams for zram swap, we found out page allocation failure message in system running test. That was not only once, but a few(2 - 5 times per test). Also, some failure cases were continually occurring to try allocation order 3. In order

[PATCH v4 2/6] mfd: axp20x: Split the driver into core and i2c bits

2015-11-23 Thread Chen-Yu Tsai
The axp20x driver assumes the device is i2c based. This is not the case with later chips, which use a proprietary 2 wire serial bus by Allwinner called "Reduced Serial Bus". This patch follows the example of mfd/wm831x and splits it into an interface independent core, and an i2c specific glue

[PATCH v4 5/6] ARM: dts: sun8i: sinlinx-sina33: Add AXP223 PMIC device and regulator nodes

2015-11-23 Thread Chen-Yu Tsai
This board has a X-Powers AXP223 PMIC connected via RSB. Its regulators provide power to various parts of the SoC and the board. Also update the regulator supply phandles. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 79 +- 1 file

[PATCH v4 1/6] mfd: axp20x: Add AXP223 to list of supported PMICs in DT bindings

2015-11-23 Thread Chen-Yu Tsai
The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. It is functionally identical to AXP221; only the regulator default voltage/status and the external host interface are different. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Acked-by: Rob Herring ---

[PATCH v4 0/6] mfd: axp20x: Add support for RSB based AXP223

2015-11-23 Thread Chen-Yu Tsai
Hi everyone, This is v4 of the AXP223 PMIC series. Changes since v3: - Removed settings for axp223 reg_rtc_ldo from board dts files that are already in axp22x.dtsi. The name is kept. - Dropped simplefb label and defconfig patches, as they are merged. Changes since v2: - s/It's/Its/

Re: [PATCH v3] zram: try vmalloc() after kmalloc()

2015-11-23 Thread Minchan Kim
On Tue, Nov 24, 2015 at 10:06:22AM +0900, Sergey Senozhatsky wrote: > On (11/24/15 09:35), Minchan Kim wrote: > [..] > > > We can use __GFP_RECLAIM (used to be __GFP_WAIT). That permits the > > > allocation to wait for in-flight IO to complete and to reclaim clean > > > pagecache. > > > >

[PATCH v4 6/6] ARM: dts: sun8i: q8-common: Add AXP223 PMIC device and regulator nodes

2015-11-23 Thread Chen-Yu Tsai
A23/A33 Q8 tablets have an X-Powers AXP223 PMIC connected via RSB. Its regulators provide power to various parts of the SoC and the board. Also add lcd regulator supply for simplefb and update the existing vmmc-supply for mmc0. Signed-off-by: Chen-Yu Tsai ---

[PATCH v4 4/6] regulator: axp20x: Support new AXP223 PMIC

2015-11-23 Thread Chen-Yu Tsai
The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. It is functionally identical to AXP221; only the regulator default voltage/status and the external host interface are different. Signed-off-by: Chen-Yu Tsai Reviewed-by: Mark Brown --- drivers/regulator/axp20x-regulator.c |

[PATCH v4 3/6] mfd: axp20x: Add support for RSB based AXP223 PMIC

2015-11-23 Thread Chen-Yu Tsai
The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. It is functionally identical to AXP221; only the regulator default voltage/status and the external host interface are different. Signed-off-by: Chen-Yu Tsai --- drivers/mfd/Kconfig| 11 ++ drivers/mfd/Makefile

Re: [PATCH 3.12 00/72] 3.12.51-stable review

2015-11-23 Thread Guenter Roeck
On 11/23/2015 05:07 AM, Jiri Slaby wrote: This is the start of the stable review cycle for the 3.12.51 release. There are 72 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by

Re: [PATCH] ARM: dts: vf6xx: Cosmic+: M4(nommu) initial support

2015-11-23 Thread Shawn Guo
On Sun, Oct 25, 2015 at 11:20:56PM +0530, Afzal Mohammed wrote: > Minimal Cortex-M4 device tree to boot Linux to shell. M4 is booted via > Cortex-A5 running Linux using Stefan Agner's "m4boot" > utility. > > Signed-off-by: Afzal Mohammed Stefan, Are you okay with this patch? Shawn > --- >

  1   2   3   4   5   6   7   8   9   10   >