[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

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

[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

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 >run_work, and per-req

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).

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,

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: > > -

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,

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

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

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

[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 +++

[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 +++

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

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 > >

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

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

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

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

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 +- >

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

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 >

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

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. > >

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

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. >

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

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

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:

[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,

[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

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

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

[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.

[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

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 >

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,

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

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, >

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

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

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

[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

[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

[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 ---

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

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

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

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

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

[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

[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

[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 +

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;

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

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 ---

[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

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

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 >

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?

Re: [PATCHv3] thermal: exynos: Add support for TRIM_RELOAD feature at Exynos3250

2014-08-20 Thread Chanwoo Choi
Dear Eduardo, On 08/20/2014 10:38 PM, edubez...@gmail.com wrote: > Hello Chanwoo, > > On Tue, Aug 19, 2014 at 7:52 PM, Chanwoo Choi wrote: >> This patch add support for TRIM_RELOAD feature at Exynos3250. The TMU of >> Exynos3250 has two TRIMINFO_CON register. > > Can you please split the two

Re: [PATCH 8/9] ARM: zynq: Remove hotplug.c

2014-08-20 Thread Daniel Lezcano
On 08/20/2014 10:41 PM, Soren Brinkmann wrote: The hotplug code contains only a single function, which is an SMP function. Move that to platsmp.c where all other SMP runctions reside. That allows removing hotplug.c and declaring the cpu_die function static. Signed-off-by: Soren Brinkmann ---

Re: [PATCH 2/3] tg3: Fix tx_pending checks for tg3_tso_bug

2014-08-20 Thread Benjamin Poirier
On 2014/08/19 16:10, Michael Chan wrote: > On Tue, 2014-08-19 at 11:52 -0700, Benjamin Poirier wrote: > > @@ -7838,11 +7838,14 @@ static int tg3_tso_bug(struct tg3 *tp, struct > > tg3_napi *tnapi, > >struct netdev_queue *txq, struct sk_buff *skb) > > { > > struct

Re: [PATCH] zram: add num_discards for discarded pages stat

2014-08-20 Thread Minchan Kim
Hi Chao, On Wed, Aug 20, 2014 at 04:20:48PM +0800, Chao Yu wrote: > Hi Minchan, > > > -Original Message- > > From: Minchan Kim [mailto:minc...@kernel.org] > > Sent: Wednesday, August 20, 2014 10:09 AM > > To: Sergey Senozhatsky > > Cc: Chao Yu; linux-kernel@vger.kernel.org;

[PATCHSET 0/2] perf hists browser: Cleanup callchain routines (v2)

2014-08-20 Thread Namhyung Kim
Hello, This patch fixes and cleans up TUI callchain routines. I tried to consolidate similar functions but not to break the current output with this change. Hope that it makes code more readable and maintainable. It should not change any behavior and outputs. I verified it with expanding by

[PATCH v2 1/2] perf hists browser: Cleanup callchain print functions

2014-08-20 Thread Namhyung Kim
The hist_browser__show_callchain() and friends don't need to be that complex. They're splitted in 3 pieces - one for traversing top-level tree, other one for special casing first chains in the top-level entries, and last one for recursive traversing inner trees. It led to code duplication and

[PATCH v2 2/2] perf hists browser: Consolidate callchain print functions in TUI

2014-08-20 Thread Namhyung Kim
Currently there're two callchain print functions in TUI - one for the hists browser and another for file dump. They do almost same job so it'd be better consolidate the codes. To do that, move row calculation code into a print callback so that the dump code cannot be limited by the current

[PATCH V4 4/8] Documentation: add a section for /proc//ns/

2014-08-20 Thread Richard Guy Briggs
--- Documentation/filesystems/proc.txt | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index ddc531a..c4bfd6f 100644 --- a/Documentation/filesystems/proc.txt +++

[PATCH V4 3/8] namespaces: expose ns instance serial numbers in proc

2014-08-20 Thread Richard Guy Briggs
Expose the namespace instace serial numbers in the proc filesystem at /proc//ns/_snum. The link text gives the serial number in hex. "snum" was chosen instead of "seq" for consistency with inum and there are a number of other uses of "seq" in the namespace code. Suggested-by: Serge E. Hallyn

[PATCH V4 2/8] namespaces: expose namespace instance serial number in proc_ns_operations

2014-08-20 Thread Richard Guy Briggs
Expose the namespace instance serial number for each namespace type in the proc namespace operations structure to make it available for the proc filesystem. Signed-off-by: Richard Guy Briggs --- fs/namespace.c |7 +++ include/linux/proc_ns.h |1 + ipc/namespace.c

[PATCH V4 8/8] audit: initialize at subsystem time rather than device time

2014-08-20 Thread Richard Guy Briggs
The audit subsystem should be initialized a bit earlier so that it is in place in time for initial namespace serial number logging. --- kernel/audit.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index 6d95d1c..aa99518 100644 ---

[PATCH V4 1/8] namespaces: assign each namespace instance a serial number

2014-08-20 Thread Richard Guy Briggs
Generate and assign a serial number per namespace instance since boot. Use a serial number per namespace (unique across one boot of one kernel) instead of the inode number (which is claimed to have had the right to change reserved and is not necessarily unique if there is more than one proc fs)

[PATCH V4 6/8] audit: log namespace serial numbers

2014-08-20 Thread Richard Guy Briggs
Log the namespace serial numbers of a task in a new record type (1329) (usually accompanies audit_log_task_info() type=SYSCALL record) which is used by syscall audits, among others.. Idea first presented: https://www.redhat.com/archives/linux-audit/2013-March/msg00020.html Typical output

[PATCH V4 5/8] namespaces: expose ns_entries

2014-08-20 Thread Richard Guy Briggs
Expose ns_entries so subsystems other than proc can use this set of namespace operations. Signed-off-by: Richard Guy Briggs --- fs/proc/namespaces.c|2 +- include/linux/proc_ns.h |1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/fs/proc/namespaces.c

[PATCH V4 7/8] audit: log creation and deletion of namespace instances

2014-08-20 Thread Richard Guy Briggs
Log the creation and deletion of namespace instances in all 6 types of namespaces. Twelve new audit message types have been introduced: AUDIT_NS_INIT_MNT 1330/* Record mount namespace instance creation */ AUDIT_NS_INIT_UTS 1331/* Record UTS namespace instance creation */

[PATCH V4 0/8] namespaces: log namespaces per task

2014-08-20 Thread Richard Guy Briggs
The purpose is to track namespace instances in use by logged processes from the perspective of init_*_ns by assigning each a per-kernel, per-boot serial number. 1/8 defines a function to generate them and assigns them. Use a serial number per namespace (unique across one boot of one kernel)

Re: [PATCHv2 1/3] fs/buffer.c: allocate buffer cache with user specific flag

2014-08-20 Thread Gioh Kim
2014-08-21 오전 7:02, Jan Kara 쓴 글: On Wed 20-08-14 11:38:10, Gioh Kim wrote: @@ -1381,12 +1383,7 @@ EXPORT_SYMBOL(__find_get_block); struct buffer_head * __getblk(struct block_device *bdev, sector_t block, unsigned size) { - struct buffer_head *bh = __find_get_block(bdev, block,

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

2014-08-20 Thread Minchan Kim
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 that, user should poll it with shorter interval(ie,

[PATCH v3 0/4] zram memory control enhance

2014-08-20 Thread Minchan Kim
Currently, zram has no feature to limit memory so theoretically zram can deplete system memory. Users have asked for a limit several times as even without exhaustion zram makes it hard to control memory usage of the platform. This patchset adds the feature. Patch 1 makes zs_get_total_size_bytes

[PATCH v3 1/4] zsmalloc: move pages_allocated to zs_pool

2014-08-20 Thread Minchan Kim
Pages_allocated has counted in size_class structure and when user want to see total_size_bytes, it gathers all of value from each size_class to report the sum. It's not bad if user don't see the value often but if user start to see the value frequently, it would be not a good deal for performance

  1   2   3   4   5   6   7   8   9   10   >