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

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

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

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

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

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 > --- > drivers/scsi/virt

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

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

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

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 templat

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 b/kernel/s

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 sele

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_od

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 >> Signed-off-by: Wanlong Gao >> R

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 b

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 signatu

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 e

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

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 lo

[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 --- a/dri

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

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

[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 --- drivers/devfreq/exynos4_bus.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/devfreq/exynos4_bus.c b/drivers/devfreq/exynos4_bus.c in

[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 --- 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 --- a/drivers/devfreq/e

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

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

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

[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 --- arch/x86/kvm/x86.c | 53 ++- 1 files changed, 35 insertions(+), 18 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x8

[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 --- 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 87d27a8..5bae962 100644 --- a/arch/x86

[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 --- arch/x86/kvm/mmu.c | 20 +++- 1 files changed, 15 insertions(+), 5 deletions(-) diff -

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

[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 --- arch/x86/kvm/x86.c | 31 +++ include/linux/kvm_host.h |1 + 2 files changed, 32 insertions(+), 0 deletions(-) diff

[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 --- arch/x86/include/asm/kvm_host.h |7 --- arch/x86/kvm/mmu.c | 14 +- arch/x86/kvm/mmu.h

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

Re: kswapd craziness round 2

2013-03-20 Thread Jiri Slaby
On 03/20/2013 05:12 AM, Hillf Danton wrote: > Hey, would you all please try Mels new work? > http://marc.info/?l=linux-mm&m=136352546814642&w=4 Yeah, I was in CC and also asked Mel if I should apply those. I will as soon as I'm back home (next week). thanks, -- js suse labs -- To unsubscribe fro

Zombie stuck in zap_pid_ns_processes()

2013-03-20 Thread Caj Larsson
Hello, We are setting up a container using a CLONE_NEWNS linux namespace. Previously we used the 3.4.4 kernel, which worked fine. After I upgraded i also experienced races in netlink, which has been resolved by placing a monitor around the namespace setup. When we upgraded to Linux 3.8.0 however o

[PATCH] usb: gadget: net2272: finally convert "CONFIG_USB_GADGET_NET2272_DMA"

2013-03-20 Thread Paul Bolle
The Kconfig symbol USB_GADGET_NET2272_DMA was renamed to USB_NET2272_DMA in commit 193ab2a6070039e7ee2b9b9bebea754a7c52fd1b ("usb: gadget: allow multiple gadgets to be built"). That commit did not convert the only occurrence of the corresponding Kconfig macro. Convert that macro now. Signed-off-by

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

2013-03-20 Thread Samuel Ortiz
Hi Simon, On Wed, Mar 20, 2013 at 09:14:56AM +0100, Samuel Ortiz wrote: > 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,

Re: [PATCH 09/17] [m68k] IRQ: add handle_polled_irq() for timer based soft interrupts

2013-03-20 Thread Geert Uytterhoeven
On Sun, Feb 10, 2013 at 11:36 AM, Geert Uytterhoeven wrote: > On Thu, Jan 31, 2013 at 1:23 AM, Michael Schmitz wrote: >> [PATCH 09/17] [m68k] IRQ: add handle_polled_irq() for timer based soft >> interrupts - >> experimental hack to avoid unhandled interrupt timer to fire >> on Et

Re: [RFC V1 7/8] smi2021: Add smi2021_bl.c

2013-03-20 Thread Jon Arne Jørgensen
On Mon, Mar 18, 2013 at 10:31:14AM +0100, Bjørn Mork wrote: > Jon Arne Jørgensen writes: > > > This is the smi2021-bootloader module. > > This module will upload the firmware for the different somagic devices. > > I really don't understand why you want to make that a separate module. > Building

Use same image for boards with RAM at different locations - ARM

2013-03-20 Thread Stern, Eli
We have several boards that differ in the location of RAM. I would like to use the same image for all boards. My current understanding is that some part of the kernel startup code are position dependent. CPU : ARM11. Bootloader : U-Boot Kernel: 2.6.39.3 Is this configurable somehow? Has anyone do

Re: [PATCH 3/3] ARM: imx: enable RBC to support anatop LPM mode

2013-03-20 Thread Shawn Guo
On Wed, Mar 20, 2013 at 01:39:40PM -0400, Anson Huang wrote: > RBC is to control whether some ANATOP sub modules > can enter lpm mode when SOC is into STOP mode, if > RBC is enabled and PMIC_VSTBY_REQ is set, ANATOP > will have below behaviors: > > 1. Digital LDOs(CORE, SOC and PU) are bypassed; >

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-20 Thread Fabio Porcedda
On Tue, Mar 19, 2013 at 6:59 PM, Arnd Bergmann wrote: > On Tuesday 19 March 2013, Fabio Porcedda wrote: >> On Tue, Mar 19, 2013 at 5:48 PM, Arnd Bergmann wrote: >> > On Tuesday 19 March 2013, Geert Uytterhoeven wrote: >> >> Hmm, so we may have drivers that (now) work perfectly fine with >> >> mod

Re: [PATCH 3/3] ARM: imx: enable RBC to support anatop LPM mode

2013-03-20 Thread Anson Huang
On Wed, Mar 20, 2013 at 05:01:19PM +0800, Shawn Guo wrote: > On Wed, Mar 20, 2013 at 01:39:40PM -0400, Anson Huang wrote: > > RBC is to control whether some ANATOP sub modules > > can enter lpm mode when SOC is into STOP mode, if > > RBC is enabled and PMIC_VSTBY_REQ is set, ANATOP > > will have be

[PATCH v2] mfd: remove twelve unused Kconfig symbols

2013-03-20 Thread Paul Bolle
Twelve Kconfig symbols, all related to WM8350, WM8351, and WM8352, are unused. Commit 19d57ed5a308472a02e773f33c03ad4cb2ec6a9 ("mfd: Remove custom wm8350 cache implementation") removed all their (actual) users. Remove these symbols too. Signed-off-by: Paul Bolle Acked-by: Mark Brown --- 0) This

[PATCH v3 5/6] ARM: dts: omap: update usb_otg_hs data

2013-03-20 Thread Kishon Vijay Abraham I
Updated the usb_otg_hs dt data to include the *phy* and *phy-names* binding in order for the driver to use the new generic PHY framework. Also updated the Documentation to include the binding information. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/usb/omap-usb.tx

[PATCH v3 3/6] usb: otg: twl4030: use the new generic PHY framework

2013-03-20 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. twl4030_usb_suspend and twl4030_usb_resume is added to phy_ops in order to align with the new framework. However using the old USB PHY library cannot be completely removed because OTG is intertwined with PHY and moving to the new framework comp

[PATCH v3 4/6] ARM: OMAP: USB: Add phy binding information

2013-03-20 Thread Kishon Vijay Abraham I
In order for controllers to get PHY in case of non dt boot, the phy binding information should be added in the platform specific initialization code using phy_bind. The previously added usb_bind_phy can't be removed yet because the musb controller continues to use the old PHY library which has OTG

[PATCH v3 6/6] usb: musb: omap2430: use the new generic PHY framework

2013-03-20 Thread Kishon Vijay Abraham I
Use the generic PHY framework API to get the PHY. The usb_phy_set_suspend and usb_phy_set_resume is replaced with phy_suspend and phy_resume to align with the new PHY framework. musb->xceiv can't be removed as of now because musb core uses xceiv.state and xceiv.otg. Once there is a separate state

[PATCH v3 1/6] drivers: phy: add generic PHY framework

2013-03-20 Thread Kishon Vijay Abraham I
The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without using phandle, the platform specfic intialization code (say from board file) shoul

[PATCH v3 0/6] Generic PHY Framework

2013-03-20 Thread Kishon Vijay Abraham I
Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without using phandle, the platform specfic intialization code (say from

[PATCH v3 2/6] usb: phy: omap-usb2: use the new generic PHY framework

2013-03-20 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. omap_usb2_suspend is split into omap_usb_suspend and omap_usb_resume in order to align with the new framework. However using the old USB PHY library cannot be completely removed because OTG is intertwined with PHY and moving to the new framewor

Re: [PATCH 3/3] ARM: imx: enable RBC to support anatop LPM mode

2013-03-20 Thread Shawn Guo
On Wed, Mar 20, 2013 at 01:39:40PM -0400, Anson Huang wrote: > RBC is to control whether some ANATOP sub modules > can enter lpm mode when SOC is into STOP mode, if > RBC is enabled and PMIC_VSTBY_REQ is set, ANATOP > will have below behaviors: > > 1. Digital LDOs(CORE, SOC and PU) are bypassed; >

Re: [PATCH 2/9] vfs: export do_splice_direct() to modules

2013-03-20 Thread Miklos Szeredi
On Tue, Mar 19, 2013 at 10:24 PM, Al Viro wrote: > it still might make sense to implement > something as a layer, but some parts of that sucker may be better off as > fs primitives. Hell, we could, in theory, implement xattrs as a layer; > just look at how reiserfs had done them. We could do the

Re: [PATCHv2 00/12] staging: [omap,ti-soc]-thermal: fixes and renaming

2013-03-20 Thread Dan Carpenter
These look nice. Thanks for breaking up the move and api rename into separate patches. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-

[PATCH] blackfin: twi: Remove bogus #endif

2013-03-20 Thread Geert Uytterhoeven
arch/blackfin/mach-bf538/boards/ezkit.c:768:2: error: #endif without #if Introduced by commit cf93feb3a0dee97c7896016a352a3226139fbcf4 ("blackfin: twi: Move TWI peripheral pin request array to platform data"), which removed the #if, but forgot about the #endif. Signed-off-by: Geert Uytterhoeven

[RFC 00/30] compat: deal with kernel backport namespace

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" This patch series deals with the project that aims at backporting the Linux kernel [0]. If you don't care for that, at least read this and patch #1, the rest you can nuke. Ben reports compat_ namespace is already taken by the kernel, and while this is slightly true, I r

[RFC 01/30] compat: add LINUX_BACKPORT() for prefixing symbols

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" Ben Hutchings notes that "compat_" is already taken as a prefix for symbols and while this is only slightly true in practice its best we avoid any future issues. Others in the past have noted issues with symbols exported by backporting effort to conflict with other symb

[RFC 03/30] compat: embrace LINUX_BACKPORT() for v2.6.24

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 04/30] compat: embrace LINUX_BACKPORT() for v2.6.25

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" There is one change needed here to get compilation working on v2.6.24, strict_strtoull is now being redefined and because of a change that went into v2.6.38.4 kstrtoul() was added there and the old strict_strtoul was made a define from it. To help aid the older kernels s

[RFC 06/30] compat: embrace LINUX_BACKPORT() for v2.6.27

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 07/30] compat: embrace LINUX_BACKPORT() for v2.6.28

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 12/30] compat: embrace LINUX_BACKPORT() for v2.6.34

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 14/30] compat: embrace LINUX_BACKPORT() for v2.6.36

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 17/30] compat: embrace LINUX_BACKPORT() for v2.6.39

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 15/30] compat: embrace LINUX_BACKPORT() for v2.6.37

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 23/30] compat: embrace LINUX_BACKPORT() for v3.7

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 24/30] compat: embrace LINUX_BACKPORT() for v3.8

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

Re: [PATCH 2/2] relay: move FIX_SIZE macro into relay.c

2013-03-20 Thread zhangwei(Jovi)
On 2013/3/19 4:19, Andrew Morton wrote: > On Mon, 18 Mar 2013 10:51:54 +0800 "zhangwei(Jovi)" > wrote: > >> +/* Needs a _much_ better name... */ >> +#define FIX_SIZE(x) x) - 1) & PAGE_MASK) + PAGE_SIZE) >> + > > Gad. That's the same as PAGE_ALIGN(), is it not? > Indeed, I will post anothe

[RFC 28/30] compat: embrace LINUX_BACKPORT() for pm_qos_params

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 29/30] compat: embrace LINUX_BACKPORT() for uidgid

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[PATCH mm] epoll: fix suspicious RCU usage in ep_poll_callback

2013-03-20 Thread Eric Wong
The commit "epoll: use RCU to protect wakeup_source in epitem" introduced the ep_pm_stay_awake_rcu function for ep_poll_callback use, but I left it unused on accident. ep->mtx cannot be held in ep_poll_callback, so RCU should be used here. Signed-off-by: Eric Wong Cc: "Rafael J. Wysocki" Cc: Al

[RFC 27/30] compat: embrace LINUX_BACKPORT() for kfifo

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 25/30] compat: embrace LINUX_BACKPORT() for cordic

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[PATCH] relay: use macro PAGE_ALIGN instead of FIX_SIZE

2013-03-20 Thread zhangwei(Jovi)
Macro FIX_SIZE is same as PAGE_ALIGN at present, so use PAGE_ALIGN instead. Thanks Andrew found this. Signed-off-by: zhangwei(Jovi) Cc: Andrew Morton --- kernel/relay.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kernel/relay.c b/kernel/relay.c index d0c638f..566

[RFC 26/30] compat: embrace LINUX_BACKPORT() for crc8

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 10/30] compat: embrace LINUX_BACKPORT() for v2.6.32

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 11/30] compat: embrace LINUX_BACKPORT() for v2.6.33

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 18/30] compat: embrace LINUX_BACKPORT() for v3.0

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

Re: [RFC V1 2/8] smi2021: Add smi2021_main.c

2013-03-20 Thread Jon Arne Jørgensen
On Mon, Mar 18, 2013 at 08:58:47AM +0100, Hans Verkuil wrote: > Hi Jon Arne, > > Here is my review of this driver. > Great, thank you. > Regards, > > Hans > > On Thu March 14 2013 15:06:58 Jon Arne Jørgensen wrote: > > This is the core of the smi2021 module. > > It will register the modu

Re: [RFC V1 2/8] smi2021: Add smi2021_main.c

2013-03-20 Thread Jon Arne Jørgensen
On Mon, Mar 18, 2013 at 09:30:38AM +0100, Hans Verkuil wrote: > On Thu March 14 2013 15:06:58 Jon Arne Jørgensen wrote: > > This is the core of the smi2021 module. > > It will register the module with the kernel, and register the > > usb probe function. > > > > Signed-off-by: Jon Arne Jørgensen >

[RFC 05/30] compat: embrace LINUX_BACKPORT() for v2.6.26

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 02/30] compat: embrace LINUX_BACKPORT() for v2.6.23

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 19/30] compat: embrace LINUX_BACKPORT() for v3.1

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

Re: [RFC V1 3/8] smi2021: Add smi2021_i2c.c

2013-03-20 Thread Jon Arne Jørgensen
On Mon, Mar 18, 2013 at 09:04:56AM +0100, Hans Verkuil wrote: > On Thu March 14 2013 15:06:59 Jon Arne Jørgensen wrote: > > This file is responsible for registering the device > > with the kernel i2c subsystem. > > v4l2 talks to the saa7113 chip of the device via i2c. > > > > Signed-off-by: Jon Ar

[RFC 22/30] compat: embrace LINUX_BACKPORT() for v3.4

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 30/30] compat: use backport_ prefix for main compat module calls

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 09/30] compat: embrace LINUX_BACKPORT() for v2.6.31

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 08/30] compat: embrace LINUX_BACKPORT() for v2.6.29

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

Re: [PATCH 1/7] HID: input: don't register unmapped input devices

2013-03-20 Thread Benjamin Tissoires
Hi Henrik, first, thanks for the review of the series. On 03/19/2013 10:25 PM, Henrik Rydberg wrote: > Hi Benjamin, > >> There is no need to register an input device containing no events. >> This allows drivers using the quirk MULTI_INPUT to register one input >> per report effectively used. >>

[RFC 13/30] compat: embrace LINUX_BACKPORT() for v2.6.35

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

[RFC 16/30] compat: embrace LINUX_BACKPORT() for v2.6.38

2013-03-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6

  1   2   3   4   5   6   7   8   >