Re: [PATCH v2 1/5] of: Add descriptions of thermtrip properties to Tegra PMC bindings

2014-08-20 Thread Thierry Reding
On Wed, Aug 20, 2014 at 02:16:49PM -0600, Stephen Warren wrote: > On 08/13/2014 06:41 AM, Mikko Perttunen wrote: > >Hardware-triggered thermal reset requires configuring the I2C > >reset procedure. This configuration is read from the device tree, > >so document the relevant properties in the bindin

[PATCH] usb: gadget: serial: remove PREFIX macro

2014-08-20 Thread Richard Leitner
Remove the ttyGS PREFIX macro from u_serial.c and replace all occurences with the hardcoded ttyGS string. This macro was mostly used in a few debug/warning messages and a lot of hardcoded ttyGS existed beneath. It may have been used for renaming the tty, but if done so most debug messages would ha

Re: [PATCH] params: fix potential memory leak in add_sysfs_param()

2014-08-20 Thread Arjun Sreedharan
On 21 August 2014 03:47, Woodhouse, David wrote: > On Thu, 2014-08-21 at 07:35 +0930, Rusty Russell wrote: >> >> Above this: >> if (!mk->mp) { >> num = 0; >> attrs = NULL; >> } else { >> num = mk->mp->num; >> attrs = m

RE: [PATCH 0/9] Dynamic Pause Loop Exiting window.

2014-08-20 Thread Zhao, Hui-Zhi (Steven, HPservers-Core-OE-PSC)
This patch have been tested by Lisa and me and it's success. We created 4 VM guests and reboot them every 10 minutes for 12 hours around, and this issue is gone with the patch. Please add Lisa and me to the "tested by:" list. Tested-by: Mitchell, Lisa Tested-by: Zhao, Hui Zhi Regards, Steve

RE: [PATCH v2 0/6] Dynamic Pause Loop Exiting window.

2014-08-20 Thread Zhao, Hui-Zhi (Steven, HPservers-Core-OE-PSC)
This patch have been tested by Lisa and me and it's success. We created 4 VM guests and reboot them every 10 minutes for 12 hours around, and this issue is gone with the patch. Please add Lisa and me to the "tested by:" list. Tested-by: Mitchell, Lisa Tested-by: Zhao, Hui Zhi Regards, Steve

Re: [PATCH v4 2/2] usb: gadget: Add xilinx usb2 device support

2014-08-20 Thread sundeep subbaraya
Hi Daniel, On Tue, Aug 19, 2014 at 3:26 PM, Daniel Mack wrote: > Hi, > > On 07/22/2014 11:08 AM, Subbaraya Sundeep Bhatta wrote: >> This patch adds xilinx usb2 device driver support > > Add some more information here, please. Copying the text from the > Kconfig option is already a good start. > >

[tip:x86/cleanups] x86: Remove obsolete comment in uapi/e820.h

2014-08-20 Thread tip-bot for Ross Zwisler
Commit-ID: 448466b723cc7b44016547116aa2b55a3736f1f0 Gitweb: http://git.kernel.org/tip/448466b723cc7b44016547116aa2b55a3736f1f0 Author: Ross Zwisler AuthorDate: Mon, 19 May 2014 11:50:24 -0600 Committer: Ingo Molnar CommitDate: Thu, 21 Aug 2014 08:43:39 +0200 x86: Remove obsolete commen

[PATCH v3] usb: phy: msm: Make phy_reset clk and reset line optional.

2014-08-20 Thread Srinivas Kandagatla
This patch makes the phy reset clk and reset line optional as this clk is not available on boards like IFC6410 with APQ8064. phy-reset clk is only used as argument to the mach level callbacks, so this patch adds condition before clk_get calls so that the driver wouldn't fail on SOCs which do not h

[PATCH 2/2] ACPI/EC: Add support to disallow QR_EC to be issued before completing the previous QR_EC.

2014-08-20 Thread Lv Zheng
There is platform refusing to respond QR_EC when SCI_EVT isn't set. A known such platform is Acer Aspire V5-573G. By disallowing QR_EC issuing without completing the previous one, we are able to reduce the possibilities to trigger issues on such platforms. Note that this fix can only reduce the o

[PATCH 1/2] ACPI/EC: Add support to disallow QR_EC to be issued when SCI_EVT isn't set.

2014-08-20 Thread Lv Zheng
There is platform refusing to respond QR_EC when SCI_EVT isn't set. A known such platform is Acer Aspire V5-573G. Currently we rely on the behaviour that the EC firmware can respond something (for example, 0x00 to indicate "no outstanding events") to QR_EC even when SCI_EVT is not set. But reporte

[PATCH 0/2] ACPI/EC: Improve EC driver's state machine to survive with firmware that refuses to respond QR_EC when SCI_EVT isn't set.

2014-08-20 Thread Lv Zheng
It is reported for Acer Aspire V5-573G that the EC firmware on this platform refuses to respond QR_EC when SCI_EVT isn't set. This is basically a firmware issue, such firmware is not completely compliant with current ACPI specification where the 0x00 return value for QR_EC is mentioned. Thus Linux

Re: [PATCH v3 2/4] pwm: rockchip: Allow polarity invert on rk3288

2014-08-20 Thread Thierry Reding
On Wed, Aug 20, 2014 at 02:29:17PM -0500, Dmitry Torokhov wrote: > On August 20, 2014 1:54:11 PM CDT, Doug Anderson > wrote: > >On Wed, Aug 20, 2014 at 3:04 AM, Thierry Reding > > wrote: > >> On Tue, Aug 19, 2014 at 09:07:54AM -0700, Doug Anderson wrote: > >>> The rk3288 has the ability to invert

Re: [PATCH 1/4] ARM: rockchip: rk3288: Switch to use the proper PWM IP

2014-08-20 Thread Thierry Reding
On Wed, Aug 20, 2014 at 06:20:31PM +0200, Heiko Stübner wrote: > Am Mittwoch, 20. August 2014, 08:55:09 schrieb Doug Anderson: > > Thierry, > > > > On Wed, Aug 20, 2014 at 8:38 AM, Thierry Reding > > > > wrote: > > > On Wed, Aug 20, 2014 at 08:20:53AM -0700, Doug Anderson wrote: > > >> Thierry,

Re: [PATCH v2] usb: phy: msm: Make phy_reset clk and reset line optional.

2014-08-20 Thread Srinivas Kandagatla
Thanks Felipe, On 20/08/14 16:57, Felipe Balbi wrote: On Thu, Jul 17, 2014 at 09:16:40PM +0100, Srinivas Kandagatla wrote: This patch makes the phy reset clk and reset line optional as this clk is not available on boards like IFC6410 with APQ8064. phy-reset clk is only used as argument to the

[PATCH v2] usb: gadget: serial: replace {V,}DBG macro with dev_{v,}dbg

2014-08-20 Thread Richard Leitner
Replace the VDBG and DBG macro with the kernels "proper" debug macros (dev_vdbg and dev_dbg) in f_acm.c, f_obex.c & f_serial.c Signed-off-by: Richard Leitner --- v2: - rebased on Linux v3.17-rc1 - fixed some PARENTHESIS_ALIGNMENT checkpatch.pl warnings --- drivers/usb/gadget/function/f_acm.c

Re: [GIT PULL] namespace updates for v3.17-rc1

2014-08-20 Thread Richard Weinberger
Am 21.08.2014 06:53, schrieb Eric W. Biederman: > The bugs fixed are security issues, so if we have to break a small > number of userspace applications we will. Anything that we can > reasonably do to avoid regressions will be done. > > Could you please look at my user-namespace.git#for-next bran

Re: [PATCH] cpufreq: powernv: Register the driver with reboot notifier

2014-08-20 Thread Viresh Kumar
On 21 August 2014 10:36, Shilpasri G Bhat wrote: > The intention here is stop the cpufreq governor and then to set the cpus to > nominal frequency so as to ensure that the frequency won't be changed later. > > The .suspend callback of the driver is not called during reboot/kexec. > So we need an e

Re: [PATCH 1/4] ARM: rockchip: rk3288: Switch to use the proper PWM IP

2014-08-20 Thread Thierry Reding
On Wed, Aug 20, 2014 at 08:55:09AM -0700, Doug Anderson wrote: > On Wed, Aug 20, 2014 at 8:38 AM, Thierry Reding > wrote: [...] > > Looking at the register offsets in the device tree that seems likely. At > > least PWMs 0 and 1 as well as 2 and 3 seem like they could be in the > > same IP block.

Re: [PATCH v3 4/6] pinctrl: Qualcomm SPMI PMIC pin controller driver

2014-08-20 Thread Bjorn Andersson
On Mon 11 Aug 08:40 PDT 2014, Ivan T. Ivanov wrote: > From: "Ivan T. Ivanov" > > This is the pinctrl, pinmux, pinconf and gpiolib driver for the > Qualcomm GPIO and MPP sub-function blocks found in the PMIC chips. > Hi Ivan, I'm not very fond of the mixing of gpio and mpp in the same driver,

Re: Handling commit change logs

2014-08-20 Thread Heiko Schocher
Hello Viresh, Am 21.08.2014 06:26, schrieb Viresh Kumar: On Thu, Aug 21, 2014 at 2:00 AM, Stephen Warren wrote: On 08/20/2014 02:02 PM, Andreas Färber wrote: Am 20.08.2014 17:39, schrieb Javier Martinez Canillas: If this not the correct workflow and you have a better way to manage this, I wo

[RESEND PATCH] acpi-cpufreq: get the cur_freq from acpi_processor_performance states

2014-08-20 Thread Wang Weidong
As the initialized freq_tables maybe different from the p-states values, so the array index is different as well. p-states value: [2400 2400 2000 ...], while the freq_tables: [2400 2000 ... CPUFREQ_TABLE_END]. After setted the freqs 2000, the perf->state is 3 while the freqs_table's index should b

Re: [PATCH 2/2] extcon: sm5502: EXTCON_SM5502 should depend on I2C

2014-08-20 Thread Chanwoo Choi
Dear Myungjoo, On 08/21/2014 02:27 PM, MyungJoo Ham wrote: >> Hi Geert >> >> Thanks for your report. I already sent a patch[1] to fix this build break >> and I'll send pull request to includec this patch in 3.17-rc2. >> >> [1] https://lkml.org/lkml/2014/8/13/761 >> >> Best Regards, >> Chanwoo Choi

[PATCH] softlockup: make detector be aware of task switch of processes hogging cpu

2014-08-20 Thread chai wen
For now, soft lockup detector warns once for each case of process softlockup. But the thread 'watchdog/n' may not always get the cpu at the time slot between the task switch of two processes hogging that cpu to reset soft_watchdog_warn. An example would be two processes hogging the cpu. Process A

Re: [PATCH v1 5/9] block: loop: convert to blk-mq

2014-08-20 Thread Ming Lei
On Wed, Aug 20, 2014 at 4:50 AM, Jens Axboe wrote: > > > Reworked a bit more: > > http://git.kernel.dk/?p=linux-block.git;a=commit;h=a323185a761b9a54dc340d383695b4205ea258b6 One big problem of the commit is that it is basically a serialized workqueue because of single &hctx->run_work, and per-re

Re: [PATCH 3.16.0-rc3-rmk v5] ARM: add get_user() support for 8 byte types

2014-08-20 Thread Victor Kamensky
On 10 July 2014 12:47, Daniel Thompson wrote: > Recent contributions, including to DRM and binder, introduce 64-bit > values in their interfaces. A common motivation for this is to allow > the same ABI for 32- and 64-bit userspaces (and therefore also a shared > ABI for 32/64 hybrid userspaces). A

Re: Re: [PATCH 2/2] extcon: sm5502: EXTCON_SM5502 should depend on I2C

2014-08-20 Thread MyungJoo Ham
> Hi Geert > > Thanks for your report. I already sent a patch[1] to fix this build break > and I'll send pull request to includec this patch in 3.17-rc2. > > [1] https://lkml.org/lkml/2014/8/13/761 > > Best Regards, > Chanwoo Choi I do not object to this patch or your patch[1]. However, wouldn

Re: [PATCH 0/5] usb: phy: samsung: remove old USB PHY code

2014-08-20 Thread Jingoo Han
On Thursday, August 21, 2014 1:34 PM, Vivek Gautam wrote: > On Thu, Aug 14, 2014 at 7:55 PM, Bartlomiej Zolnierkiewicz > wrote: > > Hi, > > > > This patch series removes the old Samsung USB PHY drivers that > > got replaced by the new ones using the generic PHY layer. > > > > Depends on: > > - nex

Re: [PATCH] Documentation: remove outdated references to the linux-next wiki

2014-08-20 Thread Frank Seidel
Am Wed, 20 Aug 2014 14:09:53 -0700 Jim Davis wrote: > On Wed, Aug 20, 2014 at 2:05 PM, SeongJae Park > wrote: > > On Thu, Aug 21, 2014 at 5:29 AM, Jim Davis > > wrote: > >> The linux-next wiki at http://linux.f-seidel.de/linux-next/pmwiki > >> has been gone for several months now. > > > > Yes, I

Re: [PATCH 3/5] usb: phy: samsung: remove old USB 2.0 PHY driver

2014-08-20 Thread Jingoo Han
On Thursday, August 21, 2014 1:31 PM, Vivek Gautam wrote: > On Mon, Aug 18, 2014 at 4:52 PM, Tomasz Figa wrote: > > On 18.08.2014 13:02, Bartlomiej Zolnierkiewicz wrote: > >> On Thursday, August 14, 2014 08:07:40 PM Vivek Gautam wrote: > >>> On Thursday, August 14, 2014 7:55 PM, Bartlomiej Zolnier

Re: [PATCH v4 13/16] cpufreq: Add cpufreq driver for Tegra124

2014-08-20 Thread Viresh Kumar
On 21 August 2014 02:34, Tuomas Tynkkynen wrote: > Add a new cpufreq driver for Tegra124. Instead of using the PLLX as > the CPU clocksource, switch immediately to the DFLL. It allows the use > of higher clock rates, and will automatically scale the CPU voltage as > well. Besides the CPU clocksour

Re: [PATCH] cpufreq: powernv: Register the driver with reboot notifier

2014-08-20 Thread Shilpasri G Bhat
On 08/18/2014 01:16 PM, Viresh Kumar wrote: On 14 August 2014 16:49, Shilpasri G Bhat wrote: This patch ensures the cpus to kexec/reboot at nominal frequency. Nominal frequency is the highest cpu frequency on PowerPC at which the cores can run without getting throttled. If the host kernel had

[RFC 3/4] HID:hid-logitech: Use new native switch method

2014-08-20 Thread Simon Wood
--- drivers/hid/hid-lg4ff.c | 126 +--- 1 file changed, 55 insertions(+), 71 deletions(-) diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c index eda07a2..0ba0838 100644 --- a/drivers/hid/hid-lg4ff.c +++ b/drivers/hid/hid-lg4ff.c @@ -32,21

[RFC 4/4] HID:hid-logitech: Add mode control via /sys interface

2014-08-20 Thread Simon Wood
--- drivers/hid/hid-lg4ff.c | 81 +++-- 1 file changed, 78 insertions(+), 3 deletions(-) diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c index 0ba0838..1be561e 100644 --- a/drivers/hid/hid-lg4ff.c +++ b/drivers/hid/hid-lg4ff.c @@ -41,11 +

[RFC 2/4] HID:hid-logitech: New detection of native capable devices

2014-08-20 Thread Simon Wood
--- drivers/hid/hid-lg.h| 5 +++ drivers/hid/hid-lg4ff.c | 115 2 files changed, 63 insertions(+), 57 deletions(-) diff --git a/drivers/hid/hid-lg.h b/drivers/hid/hid-lg.h index fc4bdae..cf442e5 100644 --- a/drivers/hid/hid-lg.h +++ b/drivers

[RFC 1/4] HID:hid-logitech: Add modparam to allow/disable switch to native mode

2014-08-20 Thread Simon Wood
--- drivers/hid/hid-lg.c| 17 - drivers/hid/hid-lg.h| 7 +-- drivers/hid/hid-lg4ff.c | 4 ++-- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/drivers/hid/hid-lg.c b/drivers/hid/hid-lg.c index a976f48..81ba24d 100644 --- a/drivers/hid/hid-lg.c +++ b/dr

Re: [GIT PULL] namespace updates for v3.17-rc1

2014-08-20 Thread Eric W. Biederman
Richard Weinberger writes: > On Wed, Aug 6, 2014 at 2:57 AM, Eric W. Biederman > wrote: > > This commit breaks libvirt-lxc. > libvirt does in lxcContainerMountBasicFS(): The bugs fixed are security issues, so if we have to break a small number of userspace applications we will. Anything that

Re: PATCH hid: Implement mode switching on Logitech gaming wheels accordingly to the documentation

2014-08-20 Thread simon
> Whilst it is my intention to submit them, I might not achieve the 'very > soon' part earliest I think would be mid next week as they still need > a little tweaking. I've sent in patches as 'RFC' as I think they still need a little more testing and I'm tied up with work stuff for the next we

Re: [PATCH v7 02/11] power/restart: Call machine_restart instead of arm_pm_restart

2014-08-20 Thread Guenter Roeck
On Wed, Aug 20, 2014 at 09:10:31PM -0700, Doug Anderson wrote: > Guenter, > > On Tue, Aug 19, 2014 at 5:45 PM, Guenter Roeck wrote: > > machine_restart is supported on non-ARM platforms, and and ultimately calls > > arm_pm_restart, so dont call arm_pm_restart directly but use the more > > generic

Re: [PATCH] powerpc/pseries: Drop unnecessary continue

2014-08-20 Thread Michael Ellerman
On Wed, 2014-08-13 at 14:48 +0530, Himangi Saraogi wrote: > Continue is not needed at the bottom of a loop. True. I wonder though, is the code trying to continue to the outer loop? I stared at it for a minute but it wasn't obvious. I wonder if Robert still remembers? cheers > diff --git a/arc

Re: [PATCH 0/7] usb-phy: samsung: Cleanup the unused drivers

2014-08-20 Thread Vivek Gautam
Hi Felipe, On Wed, Aug 20, 2014 at 11:44 PM, Felipe Balbi wrote: > Hi, > > On Thu, Aug 14, 2014 at 07:53:53PM +0530, Vivek Gautam wrote: >> - This series is based on 'usb-next' branch. >> >> Now that we have support for USB PHY controllers for Exynos SoC series, >> we are free to remove the olde

Re: [PATCH 0/5] usb: phy: samsung: remove old USB PHY code

2014-08-20 Thread Vivek Gautam
On Thu, Aug 14, 2014 at 7:55 PM, Bartlomiej Zolnierkiewicz wrote: > Hi, > > This patch series removes the old Samsung USB PHY drivers that > got replaced by the new ones using the generic PHY layer. > > Depends on: > - next-20140813 branch of linux-next kernel > > Best regards, > -- > Bartlomiej Z

Re: [PATCH v3 4/4] zram: report maximum used memory

2014-08-20 Thread Minchan Kim
On Wed, Aug 20, 2014 at 11:03:06PM -0400, David Horner wrote: > On Wed, Aug 20, 2014 at 10:41 PM, Minchan Kim wrote: > > On Wed, Aug 20, 2014 at 10:20:07PM -0400, David Horner wrote: > >> On Wed, Aug 20, 2014 at 8:27 PM, Minchan Kim wrote: > >> > Normally, zram user could get maximum memory usage

Re: [RFC 2/4] tuntap: Publish tuntap maximum number of queues as module_param

2014-08-20 Thread Jason Wang
On 08/20/2014 07:17 PM, Michael S. Tsirkin wrote: > On Wed, Aug 20, 2014 at 12:58:17PM +0200, Jiri Pirko wrote: >> > Mon, Aug 18, 2014 at 03:37:18PM CEST, pagu...@redhat.com wrote: >>> > > This patch publishes maximum number of tun/tap queues allocated as a >>> > > read_only module parameter which

Re: [PATCH 3/5] usb: phy: samsung: remove old USB 2.0 PHY driver

2014-08-20 Thread Vivek Gautam
Hi Tomasz and Bartlomiej, On Mon, Aug 18, 2014 at 4:52 PM, Tomasz Figa wrote: > On 18.08.2014 13:02, Bartlomiej Zolnierkiewicz wrote: >> On Thursday, August 14, 2014 08:07:40 PM Vivek Gautam wrote: >>> On Thursday, August 14, 2014 7:55 PM, Bartlomiej Zolnierkiewicz >>> wrote >> >>> There's one

Re: [PATCH] pinctrl: spear: Make of_device_id array const

2014-08-20 Thread Viresh Kumar
On Wed, Aug 20, 2014 at 7:56 PM, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > > Signed-off-by: Kiran Padwal > --- > drivers/pinctrl/spear/pinctrl-spear1310.c |2 +- > drivers/pinctrl/spear/pinctrl-spear1340.c |2 +- > drivers/pinctrl

Re: Handling commit change logs

2014-08-20 Thread Viresh Kumar
On Thu, Aug 21, 2014 at 2:00 AM, Stephen Warren wrote: > On 08/20/2014 02:02 PM, Andreas Färber wrote: >> Am 20.08.2014 17:39, schrieb Javier Martinez Canillas: >>> If this not the correct workflow and you have a better way to manage >>> this, I would love to know about it. Oh yes, this was certa

Re: [PATCH v7 11/11] clk: rockchip: add restart handler

2014-08-20 Thread Doug Anderson
Guenter / Heiko, On Tue, Aug 19, 2014 at 5:45 PM, Guenter Roeck wrote: > From: Heiko Stübner > > Add infrastructure to write the correct value to the restart register and > register the restart notifier for both rk3188 (including rk3066) and rk3288. > > Signed-off-by: Heiko Stuebner > Signed-of

Re: [PATCH v7 03/11] arm64: Support restart through restart handler call chain

2014-08-20 Thread Doug Anderson
Guenter, On Tue, Aug 19, 2014 at 5:45 PM, Guenter Roeck wrote: > The kernel core now supports a restart handler call chain to restart > the system. Call it if arm_pm_restart is not set. > > Signed-off-by: Guenter Roeck > Acked-by: Catalin Marinas > Acked-by: Heiko Stuebner > --- > v7: No chang

Re: [PATCH v7 08/11] arm/arm64: Unexport restart handlers

2014-08-20 Thread Doug Anderson
Guenter, On Tue, Aug 19, 2014 at 5:45 PM, Guenter Roeck wrote: > Implementing a restart handler in a module don't make sense > as there would be no guarantee that the module is loaded when > a restart is needed. Unexport arm_pm_restart to ensure that > no one gets the idea to do it anyway. > > Si

Re: [PATCH v7 02/11] power/restart: Call machine_restart instead of arm_pm_restart

2014-08-20 Thread Doug Anderson
Guenter, On Tue, Aug 19, 2014 at 5:45 PM, Guenter Roeck wrote: > machine_restart is supported on non-ARM platforms, and and ultimately calls > arm_pm_restart, so dont call arm_pm_restart directly but use the more > generic function. > > Cc: Russell King Do you need to submit this to his patch t

Re: [PATCH v7 04/11] arm: Support restart through restart handler call chain

2014-08-20 Thread Doug Anderson
Guenter, On Tue, Aug 19, 2014 at 5:45 PM, Guenter Roeck wrote: > The kernel core now supports a restart handler call chain for system > restart functions. > > With this change, the arm_pm_restart callback is now optional, so > drop its initialization and check if it is set before calling it. > On

Re: [PATCH v7 01/11] kernel: Add support for kernel restart handler call chain

2014-08-20 Thread Doug Anderson
Guenter, On Tue, Aug 19, 2014 at 5:45 PM, Guenter Roeck wrote: > Various drivers implement architecture and/or device specific means > to restart (reset) the system. Various mechanisms have been implemented > to support those schemes. The best known mechanism is arm_pm_restart, > which is a funct

Re: amd_mce.c redundant if check?

2014-08-20 Thread Chip
On Wed, Aug 20, 2014 at 11:18:21AM -0600, Adam Duskett wrote: I have recently come upon this section of code in arch/x86/kernel/cpu/mcheck/mce_amd.c that seems to be a redundant unnecessary if check. From line 170 - 176: if (tr->set_lvt_off) { if (lvt_off_valid(tr->b, tr->lvt_off, lo, hi)) {

Re: [PATCH 19/19] Documentation: ACPI for ARM64

2014-08-20 Thread Hanjun Guo
On 2014-8-21 6:17, Olof Johansson wrote: > On Mon, Aug 18, 2014 at 05:29:26PM +0800, Hanjun Guo wrote: >> On 2014-8-15 18:01, Catalin Marinas wrote: >>> Hanjun, >> >> Hi Catalin, >> >>> >>> On Fri, Aug 15, 2014 at 10:09:42AM +0100, Hanjun Guo wrote: On 2014-8-14 18:27, Catalin Marinas wrote: >

[PATCH] cgroup: add tracepoints to track cgroup events

2014-08-20 Thread Andrea Righi
This patch adds the following tracepoints: o trace_cgroup_create when a new cgroup is created o trace_cgroup_destroy when a cgroup is removed o trace_cgroup_task_migrate when a task/thread is moved from a cgroup to another The purpose of these tracepoints is to identify and help cgr

Re: [PATCH 1/3] sched: Add new API wake_up_if_idle() to wake up the idle cpu

2014-08-20 Thread Daniel Lezcano
On 08/21/2014 04:12 AM, Liu, Chuansheng wrote: Hello Daniel, -Original Message- From: Daniel Lezcano [mailto:daniel.lezc...@linaro.org] Sent: Thursday, August 21, 2014 9:54 AM To: Liu, Chuansheng; l...@amacapital.net; pet...@infradead.org; r...@rjwysocki.net; mi...@redhat.com Cc: linux.

[PATCH v3] spi: spi-imx: add DMA support

2014-08-20 Thread Robin Gong
After enable DMA spi-nor read speed is dd if=/dev/mtd0 of=/dev/null bs=1M count=1 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.720402 s, 1.5 MB/s spi-nor write speed is dd if=/dev/zero of=/dev/mtd0 bs=1M count=1 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 3.56

[PATCH] ACPI / scan: Allow ACPI drivers to bind to PNP device objects

2014-08-20 Thread Rafael J. Wysocki
From: Rafael J. Wysocki We generally don't allow ACPI drivers to bind to ACPI device objects that companion "physical" device objects are created for to avoid situations in which two different drivers may attempt to handle one device at the same time. Recent ACPI device enumeration rework extend

Re: [PATCH v1 5/9] block: loop: convert to blk-mq

2014-08-20 Thread Ming Lei
On Thu, Aug 21, 2014 at 10:58 AM, Jens Axboe wrote: > On 2014-08-20 21:54, Ming Lei wrote: From my investigation, context switch increases almost 50% with workqueue compared with kthread in loop in a quad-core VM. With kthread, requests may be handled as batch in cases which

Re: [PATCH 3/3] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-08-20 Thread Arnd Bergmann
On Wednesday 20 August 2014, Gaël PORTAY wrote: > +static void tc_shutdown (struct platform_device *pdev) > +{ > + int i; > + struct atmel_tc *tc = platform_get_drvdata(pdev); > + > + for (i = 0; i < 3; i++) > + __raw_writel(0xff, tc->regs + ATMEL_TC_REG(i, IDR)); >

Re: [PATCH v2 09/18] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2014-08-20 Thread Hanjun Guo
On 2014-8-20 22:56, Catalin Marinas wrote: > On Tue, Aug 19, 2014 at 09:37:34AM +0100, Hanjun Guo wrote: >> On 2014-8-18 22:27, Catalin Marinas wrote: >>> On Mon, Aug 04, 2014 at 04:28:16PM +0100, Hanjun Guo wrote: diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c

Re: [PATCH 8/8] staging: et131x: Implement NAPI support

2014-08-20 Thread Stephen Hemminger
On Wed, 20 Aug 2014 23:17:58 +0100 Mark Einon wrote: > > + if (budget > MAX_PACKETS_HANDLED) > + limit = MAX_PACKETS_HANDLED; Why this artificial restriction? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.k

Re: [PATCH] kbuild: Make scripts executable

2014-08-20 Thread Masahiro Yamada
Hi Michal, On Wed, 20 Aug 2014 16:10:48 +0200 Michal Marek wrote: > The Makefiles call the respective interpreter explicitly, but this makes > it easier to use the scripts manually. > > Signed-off-by: Michal Marek I am not sure at all, but it seems scripts/checkpatch.pl has a rule to ban ex

[PULL REQUEST] i2c for 3.17

2014-08-20 Thread Wolfram Sang
Linus, here is the fixup for the 'lowlight' of my last pull request. I2C is not selected anymore by I2C_ACPI. Instead, the code in question now depends on I2C=y. Also, Mika has agreed to support me and be the maintainer for I2C-ACPI related patches. Finally, a new-ID-patch came along last week. P

[PATCH] perf: Fallback to MAP__FUNCTION if daddr maps are NULL

2014-08-20 Thread Don Zickus
As we run "perf c2c" on more applications, we noticed we're missing significant samples from a common customer's application. Looking at the /proc//maps file for the app, we see "rwxs" and "rwxp" permissions on many of the shared memory & heap regions, and on all the thread stacks. Because those

Re: [PATCH 8/8] staging: et131x: Implement NAPI support

2014-08-20 Thread Stephen Hemminger
On Wed, 20 Aug 2014 23:17:58 +0100 Mark Einon wrote: > - bool done = true; > + int count = 0; > + int limit = budget; > + bool not_done = false; Don't use negative variables. Better to keep the original done variable. -- To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH V2 0/1] ipv4: net namespace does not inherit network configurations

2014-08-20 Thread Stephen Hemminger
On Thu, 21 Aug 2014 10:32:00 +0800 Zhu Yanjun wrote: > V2: Following the advice from Cong Wang, I submit a patch as normal. > > Hi,all > > I did a test on kernel3.16 rc6: > > root@qemu1:~# echo 1 > /proc/sys/net/ipv6/conf/all/forwarding > root@qemu1:~# echo 1 > /proc/sys/net/ipv4/conf/all/forw

Re: [PATCH v1 5/9] block: loop: convert to blk-mq

2014-08-20 Thread Ming Lei
On Thu, Aug 21, 2014 at 11:13 AM, Ming Lei wrote: > On Thu, Aug 21, 2014 at 10:58 AM, Jens Axboe wrote: >> On 2014-08-20 21:54, Ming Lei wrote: > > From my investigation, context switch increases almost 50% with > workqueue compared with kthread in loop in a quad-core VM. With >

Re: [PATCH v1 5/9] block: loop: convert to blk-mq

2014-08-20 Thread Ming Lei
On Thu, Aug 21, 2014 at 10:58 AM, Jens Axboe wrote: > On 2014-08-20 21:54, Ming Lei wrote: From my investigation, context switch increases almost 50% with workqueue compared with kthread in loop in a quad-core VM. With kthread, requests may be handled as batch in cases which

Re: [PATCH v2 08/18] ARM64 / ACPI: Get the enable method for SMP initialization in ACPI way

2014-08-20 Thread Hanjun Guo
On 2014-8-20 22:52, Catalin Marinas wrote: > On Tue, Aug 19, 2014 at 09:32:25AM +0100, Hanjun Guo wrote: >> On 2014-8-18 22:27, Catalin Marinas wrote: >>> On Mon, Aug 04, 2014 at 04:28:15PM +0100, Hanjun Guo wrote: +#ifdef CONFIG_ACPI +/* + * Get a cpu's boot method in the ACPI way.

Re: Revert "platform/x86/toshiba-apci.c possible bad if test?"

2014-08-20 Thread Anton Altaparmakov
Hi Matthew, There is no doubt that the revert was needed but I think the original check which is now reinstated is also wrong. I do not know what the intention actually is so cannot say what the correct check is but just logically speaking the check makes no sense: if (sscanf(buf, "%i"

Re: [PATCH v3 4/4] zram: report maximum used memory

2014-08-20 Thread David Horner
On Wed, Aug 20, 2014 at 10:41 PM, Minchan Kim wrote: > On Wed, Aug 20, 2014 at 10:20:07PM -0400, David Horner wrote: >> On Wed, Aug 20, 2014 at 8:27 PM, Minchan Kim wrote: >> > Normally, zram user could get maximum memory usage zram consumed >> > via polling mem_used_total with sysfs in userspace

Re: [PATCH 1/1] jump_label: tidy jump_label_ratelimit.h

2014-08-20 Thread Zhouyi Zhou
Thanks Jason for reviewing it > -Original Messages- > From: "Jason Baron" > Sent Time: Thursday, August 21, 2014 > To: "Zhouyi Zhou" > Cc: drjo...@redhat.com, konrad.w...@oracle.com, > raghavendra...@linux.vnet.ibm.com, mi...@kernel.org, da...@davemloft.net, > han...@stressinduktion.or

Re: [PATCH v1 5/9] block: loop: convert to blk-mq

2014-08-20 Thread Ming Lei
On Thu, Aug 21, 2014 at 12:09 AM, Jens Axboe wrote: > On 2014-08-19 20:23, Ming Lei wrote: >> >> On Wed, Aug 20, 2014 at 4:50 AM, Jens Axboe wrote: >>> >>> On 2014-08-18 06:53, Ming Lei wrote: On Mon, Aug 18, 2014 at 9:22 AM, Ming Lei wrote: > > > On Mon, Aug 18,

[PATCH 1/1] netfilter/jump_label: use HAVE_JUMP_LABEL?

2014-08-20 Thread Zhouyi Zhou
CONFIG_JUMP_LABEL doesn't ensure HAVE_JUMP_LABEL, if it is not the case use maintainers's own mutex to guard the modification of global values. Signed-off-by: Zhouyi Zhou --- include/linux/netfilter.h |5 +++-- net/netfilter/core.c |6 +++--- 2 files changed, 6 insertions(+), 5 del

Re: [PATCH v2 06/18] ARM64 / ACPI: Parse MADT to map logical cpu to MPIDR and get cpu_possible/present_map

2014-08-20 Thread Hanjun Guo
On 2014-8-20 22:38, Catalin Marinas wrote: > On Tue, Aug 19, 2014 at 08:36:46AM +0100, Hanjun Guo wrote: >> On 2014-8-18 22:27, Catalin Marinas wrote: >>> On Mon, Aug 04, 2014 at 04:28:13PM +0100, Hanjun Guo wrote: diff --git a/arch/arm64/include/asm/acpi.h b/arch/arm64/include/asm/acpi.h

[PATCH 1/1] powerpc/jump_label: use HAVE_JUMP_LABEL?

2014-08-20 Thread Zhouyi Zhou
CONFIG_JUMP_LABEL doesn't ensure HAVE_JUMP_LABEL, if it is not the case use maintainers's own mutex to guard the modification of global values. Signed-off-by: Zhouyi Zhou --- arch/powerpc/platforms/powernv/opal-tracepoints.c |2 +- arch/powerpc/platforms/pseries/lpar.c |2 +-

Re: [PATCH v3 4/4] zram: report maximum used memory

2014-08-20 Thread Minchan Kim
On Wed, Aug 20, 2014 at 10:20:07PM -0400, David Horner wrote: > On Wed, Aug 20, 2014 at 8:27 PM, Minchan Kim wrote: > > Normally, zram user could get maximum memory usage zram consumed > > via polling mem_used_total with sysfs in userspace. > > > > But it has a critical problem because user can mi

RE: [PATCH v2] flush_icache_range: Export symbol to fix build errors

2014-08-20 Thread Tony Lu
>-Original Message- >Fix building errors occuring due to a missing export of flush_icache_range() >in > >kisskb.ellerman.id.au/kisskb/buildresult/11677809/ > >ERROR: "flush_icache_range" [drivers/misc/lkdtm.ko] undefined! > >Signed-off-by: Pranith Kumar >Reported-by: Geert Uytterhoeven >C

[PATCH V2 0/1] ipv4: net namespace does not inherit network configurations

2014-08-20 Thread Zhu Yanjun
V2: Following the advice from Cong Wang, I submit a patch as normal. Hi,all I did a test on kernel3.16 rc6: root@qemu1:~# echo 1 > /proc/sys/net/ipv6/conf/all/forwarding root@qemu1:~# echo 1 > /proc/sys/net/ipv4/conf/all/forwarding root@qemu1:~# ip netns list root@qemu1:~# ip netns add fib1 root

[PATCH 1/1] ipv4: net namespace does not inherit network configurations

2014-08-20 Thread Zhu Yanjun
Ipv4 net namespace requires a similar logic change as commit c900a800 [ipv6: fix bad free of addrconf_init_net] introduces for newer kernels. Since a net namespace is independent to another. That is, there is no any relationship between the net namespaces. So a new net namespace should not inherit

[PATCH] regulator: hi6421: Remove unused fields from struct hi6421_regulator_info

2014-08-20 Thread Axel Lin
The valid_modes_mask and *dev are not used in this driver, remove them. Current code uses devm_regulator_register, so we don't need *regulator in hi6421_regulator_info. Use a local variable instead. Also removes a few unnecessary inclusion of header files. Signed-off-by: Axel Lin --- drivers/re

Re: [PATCH 2/5] softlockup: make detector be aware of task switch of processes hogging cpu

2014-08-20 Thread Don Zickus
On Thu, Aug 21, 2014 at 09:37:04AM +0800, Chai Wen wrote: > On 08/19/2014 09:36 AM, Chai Wen wrote: > > > On 08/19/2014 04:38 AM, Don Zickus wrote: > > > >> On Mon, Aug 18, 2014 at 09:02:00PM +0200, Ingo Molnar wrote: > >>> > >>> * Don Zickus wrote: > >>> > >>> So I agree with the motivation

Re: LPC IOMMU and VFIO MicroConference - Call for Participation

2014-08-20 Thread Jiang Liu
Hi Alex and Joerg, I have my travel request approved but missed the registration window. Hope I will be lucky:) Regards! Gerry On 2014/8/21 1:10, Alex Williamson wrote: > > Ok folks, it's time to submit your discussion proposals for the LPC > IOMMU and VFIO uconf. If you added an idea to

Re: [PATCH v3 4/4] zram: report maximum used memory

2014-08-20 Thread David Horner
On Wed, Aug 20, 2014 at 8:27 PM, Minchan Kim wrote: > Normally, zram user could get maximum memory usage zram consumed > via polling mem_used_total with sysfs in userspace. > > But it has a critical problem because user can miss peak memory > usage during update inverval of polling. For avoiding t

Re: [PATCH 2/2] extcon: sm5502: EXTCON_SM5502 should depend on I2C

2014-08-20 Thread Chanwoo Choi
Hi Geert Thanks for your report. I already sent a patch[1] to fix this build break and I'll send pull request to includec this patch in 3.17-rc2. [1] https://lkml.org/lkml/2014/8/13/761 Best Regards, Chanwoo Choi On 08/17/2014 07:08 PM, Geert Uytterhoeven wrote: > EXTCON_SM5502 selects REGMAP_

Re: [PATCH v7 0/8] Per-user clock constraints

2014-08-20 Thread Andrew Lunn
On Mon, Aug 18, 2014 at 05:30:26PM +0200, Tomeu Vizoso wrote: > Hi, > > in this v7 of the patchset I have only rebased on top of 3.17rc1, with no > other > changes. I have had to do a fair amount of fixing due to the rebase, more > details below. Follows the original cover letter blurb: Hi Tomeu

[V0 PATCH 1/2] AMD-PVH: set EFER.NX and EFER.SCE for the boot vcpu

2014-08-20 Thread Mukesh Rathor
On AMD, NX feature must be enabled in the efer for NX to be honored in the pte entries, otherwise protection fault. We also set SC for system calls to be enabled. Signed-off-by: Mukesh Rathor --- arch/x86/xen/enlighten.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/x86/

[V0 PATCH 0/2] AMD PVH domU support

2014-08-20 Thread Mukesh Rathor
Hi, Here's first stab at AMD PVH domU support. Pretty much the only thing needed is EFER bits set. Please review. thanks, Mukesh -- 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.k

[V0 PATCH 2/2] AMD-PVH: set EFER.NX and EFER.SCE for secondary vcpus

2014-08-20 Thread Mukesh Rathor
The secondary vcpus come on kernel page tables which have the NX bit set in pte entries for DS/SS. On AMD, EFER.NX must be set to avoid protection fault. Signed-off-by: Mukesh Rathor --- arch/x86/xen/smp.c | 28 arch/x86/xen/smp.h | 1 + arch/x86/xen/xen-h

RE: [PATCH 1/3] sched: Add new API wake_up_if_idle() to wake up the idle cpu

2014-08-20 Thread Liu, Chuansheng
Hello Daniel, > -Original Message- > From: Daniel Lezcano [mailto:daniel.lezc...@linaro.org] > Sent: Thursday, August 21, 2014 9:54 AM > To: Liu, Chuansheng; l...@amacapital.net; pet...@infradead.org; > r...@rjwysocki.net; mi...@redhat.com > Cc: linux...@vger.kernel.org; linux-kernel@vger.

RE: [PATCH net-next 3/4] r8152: remove clear_bp function

2014-08-20 Thread Hayes Wang
: Sergei Shtylyov [mailto:sergei.shtyl...@cogentembedded.com] > Sent: Wednesday, August 20, 2014 8:01 PM > To: Hayes Wang; net...@vger.kernel.org > Cc: nic_swsd; linux-kernel@vger.kernel.org; linux-...@vger.kernel.org > Subject: Re: [PATCH net-next 3/4] r8152: remove clear_bp function [...] > >

[PATCH] regulator: core: Add back the const qualifier for ops of struct regulator_desc

2014-08-20 Thread Axel Lin
Fix below build warning: CC [M] drivers/regulator/hi6421-regulator.o drivers/regulator/hi6421-regulator.c:356:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] This is a revert of commit 716845ebeb50 ("regulator: core: Fix build error due to cons

Re: [PATCH 1/1] sctp: not send SCTP_PEER_ADDR_CHANGE notifications with failed probe

2014-08-20 Thread Vlad Yasevich
On 08/20/2014 05:31 AM, Zhu Yanjun wrote: > Since the transport has always been in state SCTP_UNCONFIRMED, it > therefore wasn't active before and hasn't been used before, and it > always has been, so it is unnecessary to bug the user with a > notification. > > Reported-by: Deepak Khandelwal >

[PATCH] acct: eliminate compile warning

2014-08-20 Thread Ying Xue
If ACCT_VERSION is not defined to 3, below warning appears: CC kernel/acct.o kernel/acct.c: In function ‘do_acct_process’: kernel/acct.c:475:24: warning: unused variable ‘ns’ [-Wunused-variable] Signed-off-by: Ying Xue --- kernel/acct.c |6 +++--- 1 file changed, 3 insertions(+),

Re: [PATCH 1/3] sched: Add new API wake_up_if_idle() to wake up the idle cpu

2014-08-20 Thread Daniel Lezcano
On 08/18/2014 10:37 AM, Chuansheng Liu wrote: Implementing one new API wake_up_if_idle(), which is used to wake up the idle CPU. Is this patchset tested ? Did you check it solves the issue you were facing ? Suggested-by: Andy Lutomirski Signed-off-by: Chuansheng Liu --- include/linux/sc

[PATCH] mmc:sdhci: handle busy-end interrupt during command

2014-08-20 Thread Chanho Min
It is fully legal for a controller to start handling busy-end interrupt before it has signaled that the command has completed. So make sure we do things in the proper order, Or it results that command interrupt is ignored so it can cause unexpected operations. This is founded at some toshiba emmc w

Re: [PATCH] mtd: fsl_ifc_nand: Recover corrupted empty page for preventing read-only mount in UBIFS

2014-08-20 Thread Scott Wood
On Tue, 2014-04-01 at 01:49 +, Eunbong Song wrote: > Even if the meaning of EUCLEAN was changed by commit edbc4540. > There is still possibility of read-only mount in UBIFS with ubifs_scan() > "corrupt empty space at LEB". > So i made this patch for fix that problem. Please elaborate on the n

RE: [PATCH v4 0/14] input: cyapa: re-architecture driver to support multi-trackpads in one driver

2014-08-20 Thread Dudley Du
Hi Dmitry, Patrik, Is there any update or feedback on the re-submitted v4 cyapa driver patches? Thanks, Dudley > -Original Message- > From: linux-input-ow...@vger.kernel.org [mailto:linux-input- > ow...@vger.kernel.org] On Behalf Of Dudley Du > Sent: Thursday, July 17, 2014 2:45 PM > To:

Re: [PATCH 2/5] softlockup: make detector be aware of task switch of processes hogging cpu

2014-08-20 Thread Chai Wen
On 08/19/2014 09:36 AM, Chai Wen wrote: > On 08/19/2014 04:38 AM, Don Zickus wrote: > >> On Mon, Aug 18, 2014 at 09:02:00PM +0200, Ingo Molnar wrote: >>> >>> * Don Zickus wrote: >>> >>> So I agree with the motivation of this improvement, but >>> is this implementation namespace-safe? >>

  1   2   3   4   5   6   7   8   9   >