Re: [PATCH v6 0/6] Add ChromeOS Embedded Controller support

2013-03-20 Thread Samuel Ortiz
Hi Simon, On Tue, Mar 19, 2013 at 07:01:42PM -0700, Simon Glass wrote: > Hi Samuel, > > On Tue, Mar 19, 2013 at 6:12 PM, Samuel Ortiz wrote: > > On Wed, Mar 20, 2013 at 01:56:52AM +0100, Samuel Ortiz wrote: > >> Hi Simon, > >> > >> On Mon, Feb 25, 2013 at 02:08:35PM -0800, Simon Glass wrote: >

[PATCH 1/2] PM / devfreq: exynos4_bus: Constify clock divider table

2013-03-20 Thread Axel Lin
These tables are never modified, make them const. Signed-off-by: Axel Lin --- drivers/devfreq/exynos4_bus.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/devfreq/exynos4_bus.c b/drivers/devfreq/exynos4_bus.c index 3f37f3b..45d00d1 100644 ---

Re: [PATCH 8/8] sched: reset lb_env when redo in load_balance()

2013-03-20 Thread Joonsoo Kim
On Tue, Mar 19, 2013 at 04:21:23PM +0100, Peter Zijlstra wrote: > On Thu, 2013-02-14 at 14:48 +0900, Joonsoo Kim wrote: > > Commit 88b8dac0 makes load_balance() consider other cpus in its group. > > So, now, When we redo in load_balance(), we should reset some fields of > > lb_env to ensure that

[PATCH] perf: Fix parameter type mismatch

2013-03-20 Thread Youquan Song
When build the tools/perf, encounter a block issue: cc1: warnings being treated as errors util/scripting-engines/trace-event-perl.c: In function ‘perl_process_tracepoint’: util/scripting-engines/trace-event-perl.c:285: error: format ‘%lu’ expects type ‘long unsigned int’, but

Re: [PATCH] x86/efi: pull NV+BS variables out before we exit boot services

2013-03-20 Thread James Bottomley
On Tue, 2013-03-19 at 23:17 +, Matthew Garrett wrote: > On Tue, Mar 19, 2013 at 11:00:31PM +, James Bottomley wrote: > > On Tue, 2013-03-19 at 18:50 +, Matthew Garrett wrote: > > > Well, that somewhat complicates implementation - we'd be encrypting the > > > entire contents of memory

Re: [PATCH 8/9] memory-hotplug: enable memory hotplug to handle hugepage

2013-03-20 Thread Michal Hocko
On Tue 19-03-13 23:55:33, Naoya Horiguchi wrote: > On Mon, Mar 18, 2013 at 05:07:37PM +0100, Michal Hocko wrote: > > On Thu 21-02-13 14:41:47, Naoya Horiguchi wrote: [...] > > > As for larger hugepages (1GB for x86_64), it's not easy to do hotremove > > > over them because it's larger than memory

Re: [RFC PATCH] integrity: Use a new type for asymmetric signature

2013-03-20 Thread Kasatkin, Dmitry
On Fri, Mar 15, 2013 at 5:41 PM, Vivek Goyal wrote: > On Thu, Mar 14, 2013 at 11:08:45PM +0200, Kasatkin, Dmitry wrote: >> On Thu, Mar 14, 2013 at 10:37 PM, Vivek Goyal wrote: >> > On Thu, Mar 14, 2013 at 04:30:28PM -0400, Vivek Goyal wrote: >> > >> > [..] >> >> I thought explicitly using

Re: [PATCH V6 5/5] virtio-scsi: reset virtqueue affinity when doing cpu hotplug

2013-03-20 Thread Wanlong Gao
On 03/20/2013 03:24 PM, Asias He wrote: > On Wed, Mar 20, 2013 at 03:01:24PM +0800, Wanlong Gao wrote: >> Add hot cpu notifier to reset the request virtqueue affinity >> when doing cpu hotplug. >> >> Cc: linux-s...@vger.kernel.org >> Signed-off-by: Paolo Bonzini >> Signed-off-by: Wanlong Gao >>

Re: [PATCH 1/3] ARM: imx: enable anatop suspend/resume

2013-03-20 Thread Shawn Guo
On Wed, Mar 20, 2013 at 04:45:54PM -0400, Anson Huang wrote: > > > +void imx_anatop_pre_suspend(void) > > > > static? > This function will be called outside this file, so we can NOT use static here. Sorry, I mistakenly put the comment there. Shawn -- To unsubscribe from this list: send the

Re: [PATCH 2/3] ARM: imx: enable periphery well bias for suspend

2013-03-20 Thread Shawn Guo
Forgot mentioning in patch #1, for patches touching arch/arm/, it's good enough to send them to linux-arm-kernel list. Copying list linux-kernel isn't so necessary. On Wed, Mar 20, 2013 at 01:39:39PM -0400, Anson Huang wrote: > enable periphery charge pump for well biasing > at suspend to reduce

Re: [PATCH 1/3] ARM: imx: enable anatop suspend/resume

2013-03-20 Thread Anson Huang
On Wed, Mar 20, 2013 at 03:29:33PM +0800, Shawn Guo wrote: > On Wed, Mar 20, 2013 at 01:39:38PM -0400, Anson Huang wrote: > > anatop module have sereval configurations for user > > to reduce the power consumption in suspend, provide > > suspend/resume interface for further use and enable > >

Re: [PATCH 7/8] sched: prevent to re-select dst-cpu in load_balance()

2013-03-20 Thread Joonsoo Kim
On Tue, Mar 19, 2013 at 04:05:46PM +0100, Peter Zijlstra wrote: > On Thu, 2013-02-14 at 14:48 +0900, Joonsoo Kim wrote: > > Commit 88b8dac0 makes load_balance() consider other cpus in its group. > > But, in that, there is no code for preventing to re-select dst-cpu. > > So, same dst-cpu can be

Re: [PATCH 5/9] migrate: enable migrate_pages() to migrate hugepage

2013-03-20 Thread Michal Hocko
On Wed 20-03-13 02:12:54, Naoya Horiguchi wrote: > On Tue, Mar 19, 2013 at 08:11:13AM +0100, Michal Hocko wrote: > > On Mon 18-03-13 20:07:16, Naoya Horiguchi wrote: > > > On Mon, Mar 18, 2013 at 04:40:57PM +0100, Michal Hocko wrote: > > > > On Thu 21-02-13 14:41:44, Naoya Horiguchi wrote: > ... >

Re: [PATCH 6/8] sched: rename load_balance_tmpmask to load_balance_cpu_active

2013-03-20 Thread Joonsoo Kim
On Tue, Mar 19, 2013 at 04:01:01PM +0100, Peter Zijlstra wrote: > On Thu, 2013-02-14 at 14:48 +0900, Joonsoo Kim wrote: > > This name doesn't represent specific meaning. > > So rename it to imply it's purpose. > > > > Signed-off-by: Joonsoo Kim > > > > diff --git a/kernel/sched/core.c

Re: [PATCH V6 1/5] virtio-scsi: redo allocation of target data

2013-03-20 Thread Asias He
On Wed, Mar 20, 2013 at 03:01:20PM +0800, Wanlong Gao wrote: > virtio_scsi_target_state is now empty. We will find new uses for it in > the next few patches, so this patch does not drop it completely. > > And as James suggested, we use entries target_alloc and target_destroy > in the host

Re: [PATCH 4/8] sched: clean up move_task() and move_one_task()

2013-03-20 Thread Joonsoo Kim
On Tue, Mar 19, 2013 at 03:30:15PM +0100, Peter Zijlstra wrote: > On Thu, 2013-02-14 at 14:48 +0900, Joonsoo Kim wrote: > > Some validation for task moving is performed in move_tasks() and > > move_one_task(). We can move these code to can_migrate_task() > > which is already exist for this

Re: [PATCH V6 5/5] virtio-scsi: reset virtqueue affinity when doing cpu hotplug

2013-03-20 Thread Wanlong Gao
On 03/20/2013 03:24 PM, Asias He wrote: > On Wed, Mar 20, 2013 at 03:01:24PM +0800, Wanlong Gao wrote: >> Add hot cpu notifier to reset the request virtqueue affinity >> when doing cpu hotplug. >> >> Cc: linux-s...@vger.kernel.org >> Signed-off-by: Paolo Bonzini >> Signed-off-by: Wanlong Gao >>

Re: [PATCH v4 1/3] ACPI video: Fix brightness control initialization for some laptops.

2013-03-20 Thread Aaron Lu
On 03/20/2013 12:24 AM, Danny Baumann wrote: > v3 incorporates Aaron's feedback, v4 fixes my inability to use git > send-email properly. Sorry for that. For the 3 patches, Reviewed-by: Aaron Lu BTW, you can put things like what has been changed in a new series in patch 0. Thanks, Aaron > >

Re: [PATCH 1/3] ARM: imx: enable anatop suspend/resume

2013-03-20 Thread Shawn Guo
On Wed, Mar 20, 2013 at 01:39:38PM -0400, Anson Huang wrote: > anatop module have sereval configurations for user > to reduce the power consumption in suspend, provide > suspend/resume interface for further use and enable > fet_odrive to reduce CORE LDO leakage during suspend. > > Signed-off-by:

Re: [PATCH V6 5/5] virtio-scsi: reset virtqueue affinity when doing cpu hotplug

2013-03-20 Thread Asias He
On Wed, Mar 20, 2013 at 03:01:24PM +0800, Wanlong Gao wrote: > Add hot cpu notifier to reset the request virtqueue affinity > when doing cpu hotplug. > > Cc: linux-s...@vger.kernel.org > Signed-off-by: Paolo Bonzini > Signed-off-by: Wanlong Gao > Reviewed-by: Asias He > --- >

Re: [PATCH V5 4/5] virtio-scsi: introduce multiqueue support

2013-03-20 Thread Wanlong Gao
On 03/20/2013 09:46 AM, Venkatesh Srinivas wrote: > This looks pretty good! > > I rather like the (lack of) locking in I/O completion (around the req > count vs. target/queue binding). It is unfortunate that you need to hold the > per-target lock in virtscsi_pick_vq() though; have any idea > how

Question pertaining to request_threaded_irq

2013-03-20 Thread Vijay Dixit
Hello, I am new to the Kernel-Mailing list. I am not subscribed at the moment and would really appreciate it, if I can be CC'd in the reply/responses for my question. I have searched all over the web but haven't found a convincing answer to a couple of related questions I have, with regard to the

[PATCH V6 2/5] virtio-scsi: pass struct virtio_scsi to virtqueue completion function

2013-03-20 Thread Wanlong Gao
From: Paolo Bonzini This will be needed soon in order to retrieve the per-target struct. Cc: linux-s...@vger.kernel.org Signed-off-by: Paolo Bonzini Signed-off-by: Wanlong Gao Reviewed-by: Asias He --- drivers/scsi/virtio_scsi.c | 17 + 1 file changed, 9 insertions(+), 8

[PATCH V6 4/5] virtio-scsi: introduce multiqueue support

2013-03-20 Thread Wanlong Gao
From: Paolo Bonzini This patch adds queue steering to virtio-scsi. When a target is sent multiple requests, we always drive them to the same queue so that FIFO processing order is kept. However, if a target was idle, we can choose a queue arbitrarily. In this case the queue is chosen

[PATCH V6 5/5] virtio-scsi: reset virtqueue affinity when doing cpu hotplug

2013-03-20 Thread Wanlong Gao
Add hot cpu notifier to reset the request virtqueue affinity when doing cpu hotplug. Cc: linux-s...@vger.kernel.org Signed-off-by: Paolo Bonzini Signed-off-by: Wanlong Gao Reviewed-by: Asias He --- drivers/scsi/virtio_scsi.c | 29 + 1 file changed, 29 insertions(+)

[PATCH V6 3/5] virtio-scsi: push vq lock/unlock into virtscsi_vq_done

2013-03-20 Thread Wanlong Gao
From: Paolo Bonzini Avoid duplicated code in all of the callers. Cc: linux-s...@vger.kernel.org Signed-off-by: Paolo Bonzini Signed-off-by: Wanlong Gao Reviewed-by: Asias He --- drivers/scsi/virtio_scsi.c | 22 +- 1 file changed, 9 insertions(+), 13 deletions(-) diff

[PATCH V6 1/5] virtio-scsi: redo allocation of target data

2013-03-20 Thread Wanlong Gao
virtio_scsi_target_state is now empty. We will find new uses for it in the next few patches, so this patch does not drop it completely. And as James suggested, we use entries target_alloc and target_destroy in the host template to allocate and destroy the virtio_scsi_target_state of each target,

[PATCH V6 0/5] virtio-scsi multiqueue

2013-03-20 Thread Wanlong Gao
This series implements virtio-scsi queue steering, which gives performance improvements of up to 50% (measured both with QEMU and tcm_vhost backends). This version rebased on Rusty's virtio ring rework patches, which has already gone into virtio-next today. We hope this can go into virtio-next

Re: [PATCH 3/8] sched: don't consider other cpus in our group in case of NEWLY_IDLE

2013-03-20 Thread Joonsoo Kim
On Tue, Mar 19, 2013 at 03:20:57PM +0100, Peter Zijlstra wrote: > On Thu, 2013-02-14 at 14:48 +0900, Joonsoo Kim wrote: > > Commit 88b8dac0 makes load_balance() consider other cpus in its group, > > regardless of idle type. When we do NEWLY_IDLE balancing, we should not > > consider it, because a

[PATCH v2 1/1] connector: Added coredumping event to the process connector

2013-03-20 Thread Jesper Derehag
Process connector can now also detect coredumping events. Main aim of patch is get notified at start of coredumping, instead of having to wait for it to finish and then being notified through EXIT event. Could be used for instance by process-managers that want to get notified as soon as possible

Re: [PATCH 2/8] sched: explicitly cpu_idle_type checking in rebalance_domains()

2013-03-20 Thread Joonsoo Kim
Hello, Peter. On Tue, Mar 19, 2013 at 03:02:21PM +0100, Peter Zijlstra wrote: > On Thu, 2013-02-14 at 14:48 +0900, Joonsoo Kim wrote: > > After commit 88b8dac0, dst-cpu can be changed in load_balance(), > > then we can't know cpu_idle_type of dst-cpu when load_balance() > > return positive. So,

[PATCH v2 3/3] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-03-20 Thread Philip Avinash
Add da850 EHRPWM & ECAP DT node. Also adds OF_DEV_AUXDATA for EHRPWM & ECAP driver to use EHRPWM & ECAP clock. Signed-off-by: Philip Avinash --- Changes since v1: - Reusing ti,am33xx as compatible field as both IP's are same with am33xx platform and da850 has no platform

[PATCH v2 1/3] ARM: davinci: clk framework support for enable/disable functionality

2013-03-20 Thread Philip Avinash
DAVINCI clock framework currently not supporting clock enable/disable functionality on clock nodes. In DAVINCI platform EHRPWM module requires support for clock enable/disable for TBCLK support. Hence this patch adds support for enabling/disabling clocks depends on the availability of the

[PATCH v2 2/3] arm: davinci: clock node support for ECAP & EHRPWM

2013-03-20 Thread Philip Avinash
Add clock node support for ECAP and EHRPWM modules. Also adds TBCLK for EHRWPM TBCLK to comply with pwm-tiehrpwm driver. Signed-off-by: Philip Avinash --- Changes Since v1: - TBCLK make it as actual clock with enable/disable feature. :100644 100644 0c4a26d... dbed75c... M

[PATCH v2 0/3] Platform support for EHRPWM & ECAP devices in DAVINCI.

2013-03-20 Thread Philip Avinash
Add platform support for EHRPWM and ECAP by providing clock nodes and device tree nodes. This series depends on [1] and [2] and is available for testing at [3]. Tested for backlight support in da850 EVM with EHRPWM PWM device. [1]

[PATCH v2] pwm: davinci: Add Kconfig support for ECAP & EHRPWM devices

2013-03-20 Thread Philip Avinash
Add EHRPWM and ECAP support build support for DAVINCI_DA8XX platforms. Also, since DAVINCI platforms doesn't support TI-PWM-Subsystem module, remove the select option for CONFIG_PWM_TIPWMSS. Also, update CONFIG_PWM_TIPWMSS compiler directive appropriately in pwm-tipwmss.h to fix the below

Re: [Nouveau] nouveau lockdep splat

2013-03-20 Thread Lijo Antony
On 03/20/2013 12:40 AM, Peter Hurley wrote: with the hope of having the right people on CC now (finally, thanks Lucas :-)), here's the same splat on -rc3. Someone better take a look soonish, please: Also happens in next (on nv50 hardware). I think this is same as

[PATCH] PowerPC:kernel: section mismatch from smp_release_cpus to __initdata spinning_secondaries

2013-03-20 Thread Chen Gang
the smp_release_cpus is a normal funciton and called in normal environments, but it calls the __initdata spinning_secondaries. need modify spinning_secondaries to match smp_release_cpus. the related warning: (the linker report boot_paca.33377, but it should be spinning_secondaries)

Re: [PATCH net-next 1/2] net_sched: don't do precise pkt_len computation for untrusted packets

2013-03-20 Thread Jason Wang
On 03/19/2013 08:58 PM, Eric Dumazet wrote: > On Tue, 2013-03-19 at 05:10 -0700, Eric Dumazet wrote: >> On Tue, 2013-03-19 at 17:25 +0800, Jason Wang wrote: >> >>> I believe before doing header check for untrusted packets, the only >>> thing we can trust is skb->len and that's we've used before

Re: [PATCH 5/9] migrate: enable migrate_pages() to migrate hugepage

2013-03-20 Thread Naoya Horiguchi
On Tue, Mar 19, 2013 at 08:11:13AM +0100, Michal Hocko wrote: > On Mon 18-03-13 20:07:16, Naoya Horiguchi wrote: > > On Mon, Mar 18, 2013 at 04:40:57PM +0100, Michal Hocko wrote: > > > On Thu 21-02-13 14:41:44, Naoya Horiguchi wrote: ... > > > > @@ -536,6 +557,11 @@ static inline int

Re: [PATCH 13/14] x86/UV: Update UV support for external NMI signals

2013-03-20 Thread Mike Travis
On 3/14/2013 12:20 AM, Ingo Molnar wrote: > > * Mike Travis wrote: > >> >> There is an exception where the NMI_LOCAL notifier chain is used. When >> the perf tools are in use, it's possible that our NMI was captured by >> some other NMI handler and then ignored. We set a per_cpu flag for

Re: [PATCH V2 02/02] MIPS: Init new mmu_context for each possible CPU to avoid memory corruption

2013-03-20 Thread Chen Jie
2013/3/17 Huacai Chen : > Currently, init_new_context() only for each online CPU, this may cause > memory corruption when CPU hotplug and fork() happens at the same time. > To avoid this, we make init_new_context() cover each possible CPU. > > Scenario: > 1, CPU#1 is being offline; > 2, On CPU#0,

RE: [PATCH 0/7] USB: PHY: Tegra: registering TEGRA USB PHY as platform driver

2013-03-20 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, March 20, 2013 1:22 AM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; > ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; >

RE: [PATCH 0/7] USB: PHY: Tegra: registering TEGRA USB PHY as platform driver

2013-03-20 Thread Venu Byravarasu
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, March 20, 2013 1:22 AM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org;

Re: [PATCH V2 02/02] MIPS: Init new mmu_context for each possible CPU to avoid memory corruption

2013-03-20 Thread Chen Jie
2013/3/17 Huacai Chen che...@lemote.com: Currently, init_new_context() only for each online CPU, this may cause memory corruption when CPU hotplug and fork() happens at the same time. To avoid this, we make init_new_context() cover each possible CPU. Scenario: 1, CPU#1 is being offline; 2,

Re: [PATCH 13/14] x86/UV: Update UV support for external NMI signals

2013-03-20 Thread Mike Travis
On 3/14/2013 12:20 AM, Ingo Molnar wrote: * Mike Travis tra...@sgi.com wrote: There is an exception where the NMI_LOCAL notifier chain is used. When the perf tools are in use, it's possible that our NMI was captured by some other NMI handler and then ignored. We set a per_cpu flag

Re: [PATCH 5/9] migrate: enable migrate_pages() to migrate hugepage

2013-03-20 Thread Naoya Horiguchi
On Tue, Mar 19, 2013 at 08:11:13AM +0100, Michal Hocko wrote: On Mon 18-03-13 20:07:16, Naoya Horiguchi wrote: On Mon, Mar 18, 2013 at 04:40:57PM +0100, Michal Hocko wrote: On Thu 21-02-13 14:41:44, Naoya Horiguchi wrote: ... @@ -536,6 +557,11 @@ static inline int check_pmd_range(struct

Re: [PATCH net-next 1/2] net_sched: don't do precise pkt_len computation for untrusted packets

2013-03-20 Thread Jason Wang
On 03/19/2013 08:58 PM, Eric Dumazet wrote: On Tue, 2013-03-19 at 05:10 -0700, Eric Dumazet wrote: On Tue, 2013-03-19 at 17:25 +0800, Jason Wang wrote: I believe before doing header check for untrusted packets, the only thing we can trust is skb-len and that's we've used before

[PATCH] PowerPC:kernel: section mismatch from smp_release_cpus to __initdata spinning_secondaries

2013-03-20 Thread Chen Gang
the smp_release_cpus is a normal funciton and called in normal environments, but it calls the __initdata spinning_secondaries. need modify spinning_secondaries to match smp_release_cpus. the related warning: (the linker report boot_paca.33377, but it should be spinning_secondaries)

Re: [Nouveau] nouveau lockdep splat

2013-03-20 Thread Lijo Antony
On 03/20/2013 12:40 AM, Peter Hurley wrote: with the hope of having the right people on CC now (finally, thanks Lucas :-)), here's the same splat on -rc3. Someone better take a look soonish, please: Also happens in next (on nv50 hardware). I think this is same as

[PATCH v2] pwm: davinci: Add Kconfig support for ECAP EHRPWM devices

2013-03-20 Thread Philip Avinash
Add EHRPWM and ECAP support build support for DAVINCI_DA8XX platforms. Also, since DAVINCI platforms doesn't support TI-PWM-Subsystem module, remove the select option for CONFIG_PWM_TIPWMSS. Also, update CONFIG_PWM_TIPWMSS compiler directive appropriately in pwm-tipwmss.h to fix the below

[PATCH v2 0/3] Platform support for EHRPWM ECAP devices in DAVINCI.

2013-03-20 Thread Philip Avinash
Add platform support for EHRPWM and ECAP by providing clock nodes and device tree nodes. This series depends on [1] and [2] and is available for testing at [3]. Tested for backlight support in da850 EVM with EHRPWM PWM device. [1]

[PATCH v2 1/3] ARM: davinci: clk framework support for enable/disable functionality

2013-03-20 Thread Philip Avinash
DAVINCI clock framework currently not supporting clock enable/disable functionality on clock nodes. In DAVINCI platform EHRPWM module requires support for clock enable/disable for TBCLK support. Hence this patch adds support for enabling/disabling clocks depends on the availability of the

[PATCH v2 2/3] arm: davinci: clock node support for ECAP EHRPWM

2013-03-20 Thread Philip Avinash
Add clock node support for ECAP and EHRPWM modules. Also adds TBCLK for EHRWPM TBCLK to comply with pwm-tiehrpwm driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes Since v1: - TBCLK make it as actual clock with enable/disable feature. :100644 100644 0c4a26d...

[PATCH v2 3/3] ARM: davinci: da850: add EHRPWM ECAP DT node

2013-03-20 Thread Philip Avinash
Add da850 EHRPWM ECAP DT node. Also adds OF_DEV_AUXDATA for EHRPWM ECAP driver to use EHRPWM ECAP clock. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v1: - Reusing ti,am33xxecap/ehrpwm as compatible field as both IP's are same with am33xx platform and

Re: [PATCH 2/8] sched: explicitly cpu_idle_type checking in rebalance_domains()

2013-03-20 Thread Joonsoo Kim
Hello, Peter. On Tue, Mar 19, 2013 at 03:02:21PM +0100, Peter Zijlstra wrote: On Thu, 2013-02-14 at 14:48 +0900, Joonsoo Kim wrote: After commit 88b8dac0, dst-cpu can be changed in load_balance(), then we can't know cpu_idle_type of dst-cpu when load_balance() return positive. So, add

[PATCH v2 1/1] connector: Added coredumping event to the process connector

2013-03-20 Thread Jesper Derehag
Process connector can now also detect coredumping events. Main aim of patch is get notified at start of coredumping, instead of having to wait for it to finish and then being notified through EXIT event. Could be used for instance by process-managers that want to get notified as soon as possible

Re: [PATCH 3/8] sched: don't consider other cpus in our group in case of NEWLY_IDLE

2013-03-20 Thread Joonsoo Kim
On Tue, Mar 19, 2013 at 03:20:57PM +0100, Peter Zijlstra wrote: On Thu, 2013-02-14 at 14:48 +0900, Joonsoo Kim wrote: Commit 88b8dac0 makes load_balance() consider other cpus in its group, regardless of idle type. When we do NEWLY_IDLE balancing, we should not consider it, because a

[PATCH V6 0/5] virtio-scsi multiqueue

2013-03-20 Thread Wanlong Gao
This series implements virtio-scsi queue steering, which gives performance improvements of up to 50% (measured both with QEMU and tcm_vhost backends). This version rebased on Rusty's virtio ring rework patches, which has already gone into virtio-next today. We hope this can go into virtio-next

[PATCH V6 1/5] virtio-scsi: redo allocation of target data

2013-03-20 Thread Wanlong Gao
virtio_scsi_target_state is now empty. We will find new uses for it in the next few patches, so this patch does not drop it completely. And as James suggested, we use entries target_alloc and target_destroy in the host template to allocate and destroy the virtio_scsi_target_state of each target,

[PATCH V6 3/5] virtio-scsi: push vq lock/unlock into virtscsi_vq_done

2013-03-20 Thread Wanlong Gao
From: Paolo Bonzini pbonz...@redhat.com Avoid duplicated code in all of the callers. Cc: linux-s...@vger.kernel.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com Reviewed-by: Asias He as...@redhat.com --- drivers/scsi/virtio_scsi.c | 22

[PATCH V6 5/5] virtio-scsi: reset virtqueue affinity when doing cpu hotplug

2013-03-20 Thread Wanlong Gao
Add hot cpu notifier to reset the request virtqueue affinity when doing cpu hotplug. Cc: linux-s...@vger.kernel.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com Reviewed-by: Asias He as...@redhat.com --- drivers/scsi/virtio_scsi.c | 29

[PATCH V6 4/5] virtio-scsi: introduce multiqueue support

2013-03-20 Thread Wanlong Gao
From: Paolo Bonzini pbonz...@redhat.com This patch adds queue steering to virtio-scsi. When a target is sent multiple requests, we always drive them to the same queue so that FIFO processing order is kept. However, if a target was idle, we can choose a queue arbitrarily. In this case the queue

[PATCH V6 2/5] virtio-scsi: pass struct virtio_scsi to virtqueue completion function

2013-03-20 Thread Wanlong Gao
From: Paolo Bonzini pbonz...@redhat.com This will be needed soon in order to retrieve the per-target struct. Cc: linux-s...@vger.kernel.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com Reviewed-by: Asias He as...@redhat.com ---

Question pertaining to request_threaded_irq

2013-03-20 Thread Vijay Dixit
Hello, I am new to the Kernel-Mailing list. I am not subscribed at the moment and would really appreciate it, if I can be CC'd in the reply/responses for my question. I have searched all over the web but haven't found a convincing answer to a couple of related questions I have, with regard to the

Re: [PATCH V5 4/5] virtio-scsi: introduce multiqueue support

2013-03-20 Thread Wanlong Gao
On 03/20/2013 09:46 AM, Venkatesh Srinivas wrote: This looks pretty good! I rather like the (lack of) locking in I/O completion (around the req count vs. target/queue binding). It is unfortunate that you need to hold the per-target lock in virtscsi_pick_vq() though; have any idea how much

Re: [PATCH V6 5/5] virtio-scsi: reset virtqueue affinity when doing cpu hotplug

2013-03-20 Thread Asias He
On Wed, Mar 20, 2013 at 03:01:24PM +0800, Wanlong Gao wrote: Add hot cpu notifier to reset the request virtqueue affinity when doing cpu hotplug. Cc: linux-s...@vger.kernel.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com

Re: [PATCH 1/3] ARM: imx: enable anatop suspend/resume

2013-03-20 Thread Shawn Guo
On Wed, Mar 20, 2013 at 01:39:38PM -0400, Anson Huang wrote: anatop module have sereval configurations for user to reduce the power consumption in suspend, provide suspend/resume interface for further use and enable fet_odrive to reduce CORE LDO leakage during suspend. Signed-off-by: Anson

Re: [PATCH v4 1/3] ACPI video: Fix brightness control initialization for some laptops.

2013-03-20 Thread Aaron Lu
On 03/20/2013 12:24 AM, Danny Baumann wrote: v3 incorporates Aaron's feedback, v4 fixes my inability to use git send-email properly. Sorry for that. For the 3 patches, Reviewed-by: Aaron Lu aaron...@intel.com BTW, you can put things like what has been changed in a new series in patch 0.

Re: [PATCH V6 5/5] virtio-scsi: reset virtqueue affinity when doing cpu hotplug

2013-03-20 Thread Wanlong Gao
On 03/20/2013 03:24 PM, Asias He wrote: On Wed, Mar 20, 2013 at 03:01:24PM +0800, Wanlong Gao wrote: Add hot cpu notifier to reset the request virtqueue affinity when doing cpu hotplug. Cc: linux-s...@vger.kernel.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Wanlong

Re: [PATCH 4/8] sched: clean up move_task() and move_one_task()

2013-03-20 Thread Joonsoo Kim
On Tue, Mar 19, 2013 at 03:30:15PM +0100, Peter Zijlstra wrote: On Thu, 2013-02-14 at 14:48 +0900, Joonsoo Kim wrote: Some validation for task moving is performed in move_tasks() and move_one_task(). We can move these code to can_migrate_task() which is already exist for this purpose.

Re: [PATCH V6 1/5] virtio-scsi: redo allocation of target data

2013-03-20 Thread Asias He
On Wed, Mar 20, 2013 at 03:01:20PM +0800, Wanlong Gao wrote: virtio_scsi_target_state is now empty. We will find new uses for it in the next few patches, so this patch does not drop it completely. And as James suggested, we use entries target_alloc and target_destroy in the host template to

Re: [PATCH 6/8] sched: rename load_balance_tmpmask to load_balance_cpu_active

2013-03-20 Thread Joonsoo Kim
On Tue, Mar 19, 2013 at 04:01:01PM +0100, Peter Zijlstra wrote: On Thu, 2013-02-14 at 14:48 +0900, Joonsoo Kim wrote: This name doesn't represent specific meaning. So rename it to imply it's purpose. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/kernel/sched/core.c

Re: [PATCH 5/9] migrate: enable migrate_pages() to migrate hugepage

2013-03-20 Thread Michal Hocko
On Wed 20-03-13 02:12:54, Naoya Horiguchi wrote: On Tue, Mar 19, 2013 at 08:11:13AM +0100, Michal Hocko wrote: On Mon 18-03-13 20:07:16, Naoya Horiguchi wrote: On Mon, Mar 18, 2013 at 04:40:57PM +0100, Michal Hocko wrote: On Thu 21-02-13 14:41:44, Naoya Horiguchi wrote: ... @@

Re: [PATCH 7/8] sched: prevent to re-select dst-cpu in load_balance()

2013-03-20 Thread Joonsoo Kim
On Tue, Mar 19, 2013 at 04:05:46PM +0100, Peter Zijlstra wrote: On Thu, 2013-02-14 at 14:48 +0900, Joonsoo Kim wrote: Commit 88b8dac0 makes load_balance() consider other cpus in its group. But, in that, there is no code for preventing to re-select dst-cpu. So, same dst-cpu can be selected

Re: [PATCH 1/3] ARM: imx: enable anatop suspend/resume

2013-03-20 Thread Anson Huang
On Wed, Mar 20, 2013 at 03:29:33PM +0800, Shawn Guo wrote: On Wed, Mar 20, 2013 at 01:39:38PM -0400, Anson Huang wrote: anatop module have sereval configurations for user to reduce the power consumption in suspend, provide suspend/resume interface for further use and enable fet_odrive to

Re: [PATCH 2/3] ARM: imx: enable periphery well bias for suspend

2013-03-20 Thread Shawn Guo
Forgot mentioning in patch #1, for patches touching arch/arm/, it's good enough to send them to linux-arm-kernel list. Copying list linux-kernel isn't so necessary. On Wed, Mar 20, 2013 at 01:39:39PM -0400, Anson Huang wrote: enable periphery charge pump for well biasing at suspend to reduce

Re: [PATCH 1/3] ARM: imx: enable anatop suspend/resume

2013-03-20 Thread Shawn Guo
On Wed, Mar 20, 2013 at 04:45:54PM -0400, Anson Huang wrote: +void imx_anatop_pre_suspend(void) static? This function will be called outside this file, so we can NOT use static here. Sorry, I mistakenly put the comment there. Shawn -- To unsubscribe from this list: send the line

Re: [PATCH V6 5/5] virtio-scsi: reset virtqueue affinity when doing cpu hotplug

2013-03-20 Thread Wanlong Gao
On 03/20/2013 03:24 PM, Asias He wrote: On Wed, Mar 20, 2013 at 03:01:24PM +0800, Wanlong Gao wrote: Add hot cpu notifier to reset the request virtqueue affinity when doing cpu hotplug. Cc: linux-s...@vger.kernel.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Wanlong

Re: [PATCH 8/9] memory-hotplug: enable memory hotplug to handle hugepage

2013-03-20 Thread Michal Hocko
On Tue 19-03-13 23:55:33, Naoya Horiguchi wrote: On Mon, Mar 18, 2013 at 05:07:37PM +0100, Michal Hocko wrote: On Thu 21-02-13 14:41:47, Naoya Horiguchi wrote: [...] As for larger hugepages (1GB for x86_64), it's not easy to do hotremove over them because it's larger than memory block. So

Re: [RFC PATCH] integrity: Use a new type for asymmetric signature

2013-03-20 Thread Kasatkin, Dmitry
On Fri, Mar 15, 2013 at 5:41 PM, Vivek Goyal vgo...@redhat.com wrote: On Thu, Mar 14, 2013 at 11:08:45PM +0200, Kasatkin, Dmitry wrote: On Thu, Mar 14, 2013 at 10:37 PM, Vivek Goyal vgo...@redhat.com wrote: On Thu, Mar 14, 2013 at 04:30:28PM -0400, Vivek Goyal wrote: [..] I thought

Re: [PATCH] x86/efi: pull NV+BS variables out before we exit boot services

2013-03-20 Thread James Bottomley
On Tue, 2013-03-19 at 23:17 +, Matthew Garrett wrote: On Tue, Mar 19, 2013 at 11:00:31PM +, James Bottomley wrote: On Tue, 2013-03-19 at 18:50 +, Matthew Garrett wrote: Well, that somewhat complicates implementation - we'd be encrypting the entire contents of memory except

[PATCH] perf: Fix parameter type mismatch

2013-03-20 Thread Youquan Song
When build the tools/perf, encounter a block issue: cc1: warnings being treated as errors util/scripting-engines/trace-event-perl.c: In function ‘perl_process_tracepoint’: util/scripting-engines/trace-event-perl.c:285: error: format ‘%lu’ expects type ‘long unsigned int’, but

Re: [PATCH 8/8] sched: reset lb_env when redo in load_balance()

2013-03-20 Thread Joonsoo Kim
On Tue, Mar 19, 2013 at 04:21:23PM +0100, Peter Zijlstra wrote: On Thu, 2013-02-14 at 14:48 +0900, Joonsoo Kim wrote: Commit 88b8dac0 makes load_balance() consider other cpus in its group. So, now, When we redo in load_balance(), we should reset some fields of lb_env to ensure that

[PATCH 1/2] PM / devfreq: exynos4_bus: Constify clock divider table

2013-03-20 Thread Axel Lin
These tables are never modified, make them const. Signed-off-by: Axel Lin axel@ingics.com --- drivers/devfreq/exynos4_bus.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/devfreq/exynos4_bus.c b/drivers/devfreq/exynos4_bus.c index

Re: [PATCH v6 0/6] Add ChromeOS Embedded Controller support

2013-03-20 Thread Samuel Ortiz
Hi Simon, On Tue, Mar 19, 2013 at 07:01:42PM -0700, Simon Glass wrote: Hi Samuel, On Tue, Mar 19, 2013 at 6:12 PM, Samuel Ortiz sa...@linux.intel.com wrote: On Wed, Mar 20, 2013 at 01:56:52AM +0100, Samuel Ortiz wrote: Hi Simon, On Mon, Feb 25, 2013 at 02:08:35PM -0800, Simon Glass

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

2013-03-20 Thread Jiri Slaby
Hi, On 03/20/2013 04:12 AM, Stephen Rothwell wrote: drivers/net/caif/caif_serial.c: In function 'update_tty_status': drivers/net/caif/caif_serial.c:94:11: error: 'struct tty_struct' has no member named 'warned' Caused by commit 6865ff222cca (TTY: do not warn about setting speed via

Re: [PATCH v3] clk: add si5351 i2c common clock driver

2013-03-20 Thread Sebastian Hesselbarth
On 03/20/2013 01:26 AM, Mike Turquette wrote: Quoting Sebastian Hesselbarth (2013-03-18 03:43:17) This patch adds a common clock driver for Silicon Labs Si5351a/b/c i2c programmable clock generators. Currently, the driver supports DT kernels only and VXCO feature of si5351b is not implemented.

[PATCH 2/2] PM / devfreq: exynos4_bus: Fix table entry size for exynos4x12_clkdiv_dmc1

2013-03-20 Thread Axel Lin
exynos4x12_clkdiv_dmc1 contains { G2DACP, DIVC2C, DIVC2C_ACLK }, thus set the size to 3 rather than 6. Signed-off-by: Axel Lin axel@ingics.com --- drivers/devfreq/exynos4_bus.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/devfreq/exynos4_bus.c

[PATCH] PM / devfreq: exynos4_bus: Fix missing mutex_unlock if opp_find_freq_floor fails

2013-03-20 Thread Axel Lin
We need to call mutex_unlock() in the error path. Signed-off-by: Axel Lin axel@ingics.com --- drivers/devfreq/exynos4_bus.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/devfreq/exynos4_bus.c b/drivers/devfreq/exynos4_bus.c index 1deee09..54b9615 100644 ---

Re: [PATCH 2/3] ARM: imx: enable periphery well bias for suspend

2013-03-20 Thread Anson Huang
On Wed, Mar 20, 2013 at 03:49:08PM +0800, Shawn Guo wrote: Forgot mentioning in patch #1, for patches touching arch/arm/, it's good enough to send them to linux-arm-kernel list. Copying list linux-kernel isn't so necessary. Accepted, will pay attention to it. On Wed, Mar 20, 2013 at

[PATCH v2 0/7] KVM: MMU: fast zap all shadow pages

2013-03-20 Thread Xiao Guangrong
Changlog: V2: - do not reset n_requested_mmu_pages and n_max_mmu_pages - batch free root shadow pages to reduce vcpu notification and mmu-lock contention - remove the first patch that introduce kvm-arch.mmu_cache since we only 'memset zero' on hashtable rather than all mmu cache

[PATCH v2 0/7] KVM: MMU: fast zap all shadow pages

2013-03-20 Thread Xiao Guangrong
Changlog: V2: - do not reset n_requested_mmu_pages and n_max_mmu_pages - batch free root shadow pages to reduce vcpu notification and mmu-lock contention - remove the first patch that introduce kvm-arch.mmu_cache since we only 'memset zero' on hashtable rather than all mmu cache

[PATCH v2 2/7] KVM: x86: introduce memslot_set_lpage_disallowed

2013-03-20 Thread Xiao Guangrong
It is used to set disallowed lage page on the specified level, can be used in later patch Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/x86.c | 53 ++- 1 files changed, 35 insertions(+), 18 deletions(-) diff

[PATCH v2 7/7] KVM: MMU: drop unnecessary kvm_reload_remote_mmus after kvm_mmu_zap_all

2013-03-20 Thread Xiao Guangrong
It is the responsibility of kvm_mmu_zap_all that keeps the consistent of mmu and tlbs Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/x86.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index

[PATCH v2 5/7] KVM: MMU: split kvm_mmu_prepare_zap_page

2013-03-20 Thread Xiao Guangrong
Then the new function __kvm_mmu_prepare_zap_page only zaps the shadow page without KVM_REQ_MMU_RELOAD. Later, we will use it to batch free root shadow pages Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/mmu.c | 20 +++- 1 files changed, 15

[PATCH v2 4/7] KVM: MMU: delete shadow page from hash list in kvm_mmu_prepare_zap_page

2013-03-20 Thread Xiao Guangrong
Move deletion shadow page from the hash list from kvm_mmu_commit_zap_page to kvm_mmu_prepare_zap_page, we that we can free the shadow page out of mmu-lock. Also, delete the invalid shadow page from the hash list since this page can not be reused anymore. This makes reset mmu-cache more easier -

[PATCH v2 3/7] KVM: x86: introduce kvm_clear_all_gfn_page_info

2013-03-20 Thread Xiao Guangrong
This function is used to reset the rmaps and page info of all guest page which will be used in later patch Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/x86.c | 31 +++ include/linux/kvm_host.h |1 + 2 files changed, 32

[PATCH v2 1/7] KVM: MMU: introduce mmu_cache-pte_list_descs

2013-03-20 Thread Xiao Guangrong
This list is used to link all the pte_list_desc used by mmu cache, so we can easily free the memory used by gfn's rmap and parent spte list Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/include/asm/kvm_host.h |7 --- arch/x86/kvm/mmu.c | 14

[PATCH v2 6/7] KVM: MMU: fast zap all shadow pages

2013-03-20 Thread Xiao Guangrong
The current kvm_mmu_zap_all is really slow - it is holding mmu-lock to walk and zap all shadow pages one by one, also it need to zap all guest page's rmap and all shadow page's parent spte list. Particularly, things become worse if guest uses more memory or vcpus. It is not good for scalability.

<    3   4   5   6   7   8   9   10   11   12   >