Re: [PATCH 6/6] vhost_net: remove the max pending check

2013-08-26 Thread Jason Wang
On 08/25/2013 07:53 PM, Michael S. Tsirkin wrote: > On Fri, Aug 23, 2013 at 04:55:49PM +0800, Jason Wang wrote: >> On 08/20/2013 10:48 AM, Jason Wang wrote: >>> On 08/16/2013 06:02 PM, Michael S. Tsirkin wrote: > On Fri, Aug 16, 2013 at 01:16:30PM +0800, Jason Wang wrote: >>> We used to lim

Re: [PATCH v7 1/7] cpufreq: Add boost frequency support in core

2013-08-26 Thread Lukasz Majewski
On Mon, 26 Aug 2013 10:58:53 +0530 Viresh Kumar viresh.ku...@linaro.org wrote, > Some minor nitpicking, nothing much :) Is there any chance to pull those corrected patches to v3.12? > > On 13 August 2013 15:38, Lukasz Majewski > wrote: > > diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufre

Re: [PATCH ] Documentation/kvm: Update cpuid documentation for steal time and pv eoi

2013-08-26 Thread Michael S. Tsirkin
On Fri, Aug 23, 2013 at 05:34:47PM +0530, Raghavendra K T wrote: > Signed-off-by: Raghavendra K T > --- > While adding documentation for pvspinlock, I found that these two should > be updated. I have based this on top of pvspinlock kvm host patchset (V12) I would change the description to merel

Re: [PATCH v7 1/7] cpufreq: Add boost frequency support in core

2013-08-26 Thread Viresh Kumar
On 26 August 2013 12:32, Lukasz Majewski wrote: > On Mon, 26 Aug 2013 10:58:53 +0530 Viresh Kumar viresh.ku...@linaro.org > wrote, >> Some minor nitpicking, nothing much :) > > Is there any chance to pull those corrected patches to v3.12? Only Rafael can decide :) > After your comments I think,

[PATCH] power: max8925: fix missing of_node_put

2013-08-26 Thread Libo Chen
decrease np device_node refcount after task completion Signed-off-by: Libo Chen --- drivers/power/max8925_power.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/power/max8925_power.c b/drivers/power/max8925_power.c index 0ee1e14..b4513f2 100644 --- a/drivers/po

Re: [PATCH v7 1/7] cpufreq: Add boost frequency support in core

2013-08-26 Thread Lukasz Majewski
On Mon, 26 Aug 2013 12:36:47 +0530 Viresh Kumar viresh.ku...@linaro.org wrote, > On 26 August 2013 12:32, Lukasz Majewski > wrote: > > On Mon, 26 Aug 2013 10:58:53 +0530 Viresh Kumar > > viresh.ku...@linaro.org wrote, > >> Some minor nitpicking, nothing much :) > > > > Is there any chance to pull

Re: [PATCH 03/16] cpufreq: at32ap: use cpufreq_generic_get() routine

2013-08-26 Thread Hans-Christian Egtvedt
Around Fri 23 Aug 2013 21:20:38 +0530 or thereabout, Viresh Kumar wrote: > We have common infrastructure available with us for getting a CPUs clk rate. > Lets use it for this driver. > > Cc: Hans-Christian Egtvedt > Signed-off-by: Viresh Kumar Acked-by: Hans-Christian Egtvedt > --- > drivers

[PATCH] drm/vmwgfx: fix error return code in vmw_driver_load()

2013-08-26 Thread Wei Yongjun
From: Wei Yongjun Fix to return -ENOMEM in the fence manager init error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vmwg

Re: [PATCH v5 0/7] DMA: shdma: switch DT to use OF device ID tables

2013-08-26 Thread Simon Horman
On Sun, Aug 25, 2013 at 01:06:57PM +0530, Vinod Koul wrote: > On Fri, Aug 02, 2013 at 04:50:35PM +0200, Guennadi Liakhovetski wrote: > > In this version of shdma Device Tree support I preserved the DT > > configuration approach via OF device ID tables from v4, but now it is only > > used for the

RE: [PATCH 1/4] pwm: add freescale ftm pwm driver support

2013-08-26 Thread Xiubo Li-B47053
Hi Thierry, See the comments below. > I think the correct capitalizations are: "Freescale", "FTM" and "PWM". > There are other occurrences in the rest of the driver that I haven't > explicitly pointed out. > Yes, that's much better. > > +config PWM_FTM > > Perhaps name this PWM_FSL_FTM to m

Re: [PATCH v7 0/5] zram/zsmalloc promotion

2013-08-26 Thread Minchan Kim
Seem to lose this from mail bomb. Ping. On Wed, Aug 21, 2013 at 03:16:26PM +0900, Minchan Kim wrote: > It's 7th trial of zram/zsmalloc promotion. > I rewrote cover-letter totally based on previous discussion. > > The main reason to prevent zram promotion was no review of > zsmalloc part while Jen

Re: [PATCH 2/2] ppc: kvm: use anon_inode_getfd() with O_CLOEXEC flag

2013-08-26 Thread Paolo Bonzini
Il 25/08/2013 17:04, Alexander Graf ha scritto: > > On 24.08.2013, at 21:14, Yann Droneaud wrote: > >> KVM uses anon_inode_get() to allocate file descriptors as part >> of some of its ioctls. But those ioctls are lacking a flag argument >> allowing userspace to choose options for the newly opened

Re: [PATCH] net/cadence/macb: fix kernel Oops if no PHY were discovered during probe

2013-08-26 Thread Nicolas Ferre
On 24/08/2013 21:21, Boris BREZILLON : Test the presence of a PHY device before printing attached PHY informations. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

Re: [PATCH v8 1/1] input: ideapad_slidebar: new input driver

2013-08-26 Thread Dmitry Torokhov
Hi Andrey, On Wed, Aug 21, 2013 at 09:11:53AM +0400, Andrey Moiseev wrote: > v8: added `extended = false;` line > > ideapad_slidebar is a new driver which enables slidebars on some > Lenovo IdeaPad laptops (the slidebars work with SlideNav/Desktop > Navigator under Windows) Could you tell me if

[PATCH] debugfs: provide debugfs_create_x64() when disabled

2013-08-26 Thread Johannes Berg
From: Johannes Berg commit 15b0beaa332b3923cc ("Add x64 support to debugfs") added debugfs_create_x64(), but forgot to provide it when debugfs is disabled, causing problems when code tries to use it even then. Provide the appropriate static inline. Cc: Huang Ying Signed-off-by: Johannes Berg -

Re: [PATCH] drm/vmwgfx: fix error return code in vmw_driver_load()

2013-08-26 Thread Dmitry Torokhov
On Monday, August 26, 2013 03:15:37 PM Wei Yongjun wrote: > From: Wei Yongjun > > Fix to return -ENOMEM in the fence manager init error handling > case instead of 0, as done elsewhere in this function. > > Signed-off-by: Wei Yongjun Acked-by: Dmitry Torokhov > --- > drivers/gpu/drm/vmwgfx/v

Re: [PATCH v11 0/8] PHY framework

2013-08-26 Thread Kishon Vijay Abraham I
Hi Greg, On Wednesday 21 August 2013 11:16 AM, Kishon Vijay Abraham I wrote: > 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. > > This framework wi

Re: [PATCH 2/2] ppc: kvm: use anon_inode_getfd() with O_CLOEXEC flag

2013-08-26 Thread Yann Droneaud
Le 26.08.2013 09:39, Paolo Bonzini a écrit : Il 25/08/2013 17:04, Alexander Graf ha scritto: On 24.08.2013, at 21:14, Yann Droneaud wrote: This patch set O_CLOEXEC flag on all file descriptors created with anon_inode_getfd() to not leak file descriptors across exec(). Signed-off-by: Yann Dro

Re: [PATCH 2/2] ppc: kvm: use anon_inode_getfd() with O_CLOEXEC flag

2013-08-26 Thread Paolo Bonzini
Il 26/08/2013 10:23, Yann Droneaud ha scritto: > > Sounds a lot like InfiniBand subsystem behavor: IB file descriptors > are of no use accross exec() since memory mappings tied to those fds > won't be available in the new process: > > https://lkml.org/lkml/2013/7/8/380 > http://mid.gmane.org/f585

[PATCH v2] ARM: dts: add AM33XX EDMA support

2013-08-26 Thread Sebastian Andrzej Siewior
From: Matt Porter Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt Joel: Drop DT entries that are non-hardware-description for now as discussed in [1] [1] https://patchwork.kernel.org/patch/2226761/ Signed-off-by: Matt Porter Sign

Re: [PATCH] pinctrl: rockchip: Simplify pin_to_bank equation

2013-08-26 Thread Heiko Stübner
Am Freitag, 23. August 2013, 09:49:00 schrieb Axel Lin: > If (b->pin_base + b->nr_pins - 1) < pin is true, pin >= b->pin_base is > always true because b->nr_pins is never less than 0. > Thus this patch simplify the equation. > > Signed-off-by: Axel Lin Acked-by: Heiko Stuebner > --- > drivers

Re: [PATCH] ARM: dts: add AM33XX EDMA support

2013-08-26 Thread Benoit Cousson
Hi Sebastian, Is this patch different from that one: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg92176.html Lokesh just pointed me this patch because it was missing for the SHAM/AES series from Mark Greer. Bottom-line, I've just applied the original one along with a second one

Re: [PATCH v5 0/7] DMA: shdma: switch DT to use OF device ID tables

2013-08-26 Thread Vinod Koul
On Mon, Aug 26, 2013 at 04:17:25PM +0900, Simon Horman wrote: > On Sun, Aug 25, 2013 at 01:06:57PM +0530, Vinod Koul wrote: > > On Fri, Aug 02, 2013 at 04:50:35PM +0200, Guennadi Liakhovetski wrote: > > > In this version of shdma Device Tree support I preserved the DT > > > configuration approach

Lūdzu atgriezties pie manis

2013-08-26 Thread Dr Graeme .L.Wilson
Veida Att: Sir/Madam, Ceru, ka jūs esat labs šodien un jūsu ģimeni? Manā meklēt uzticamu personu, ir nonākt saskarē ar savu e-pastu.Es esmu Dr Graeme L.Wilson, strādājot ar Santander banka šeit Birmingham UK. Man ir ļoti svarīgi & drošu biznesa darījumu jums. Ja jums būs ieinteresēti, laipni at

Re: [PATCH v2] ARM: dts: add AM33XX EDMA support

2013-08-26 Thread Benoit Cousson
- minus all the TI emails which are not working anymore :-( I've just sent my previous email too soon... Now the patch is different :-) I'll take that one. Thanks, Benoit On 26/08/2013 10:29, Sebastian Andrzej Siewior wrote: From: Matt Porter Adds AM33XX EDMA support to the am33xx.dtsi as

[PATCH V13 1/4] kvm uapi: Add KICK_CPU and PV_UNHALT definition to uapi

2013-08-26 Thread Raghavendra K T
this is needed by both guest and host. Originally-from: Srivatsa Vaddagiri Signed-off-by: Raghavendra K T Acked-by: Gleb Natapov Acked-by: Ingo Molnar --- arch/x86/include/uapi/asm/kvm_para.h | 1 + include/uapi/linux/kvm_para.h| 1 + 2 files changed, 2 insertions(+) diff --git a/arc

[PATCH V13 0/4] Paravirtualized ticket spinlocks for KVM host

2013-08-26 Thread Raghavendra K T
This series forms the kvm host part of paravirtual spinlock based against kvm tree. Please refer to https://lkml.org/lkml/2013/8/9/265 for kvm guest and Xen, x86 part merged to -tip spinlocks. Please note that: kvm uapi: Add KICK_CPU and PV_UNHALT definition to uapi is a common patch for

[PATCH V13 4/4] Documentation/kvm : Add documentation on Hypercalls and features used for PV spinlock

2013-08-26 Thread Raghavendra K T
KVM_HC_KICK_CPU hypercall added to wakeup halted vcpu in paravirtual spinlock enabled guest. KVM_FEATURE_PV_UNHALT enables guest to check whether pv spinlock can be enabled in guest. Thanks Vatsa for rewriting KVM_HC_KICK_CPU Cc: Rob Landley Signed-off-by: Srivatsa Vaddagiri Signed-off-by: Rag

Re: [PATCH 03/10] sched: Clean-up struct sd_lb_stat

2013-08-26 Thread Lei Wen
On Mon, Aug 26, 2013 at 12:36 PM, Paul Turner wrote: > On Sun, Aug 25, 2013 at 7:56 PM, Lei Wen wrote: >> On Tue, Aug 20, 2013 at 12:01 AM, Peter Zijlstra >> wrote: >>> From: Joonsoo Kim >>> >>> There is no reason to maintain separate variables for this_group >>> and busiest_group in sd_lb_sta

[PATCH V13 2/4] kvm hypervisor : Add a hypercall to KVM hypervisor to support pv-ticketlocks

2013-08-26 Thread Raghavendra K T
From: Srivatsa Vaddagiri kvm_hc_kick_cpu allows the calling vcpu to kick another vcpu out of halt state. the presence of these hypercalls is indicated to guest via kvm_feature_pv_unhalt. Fold pv_unhalt flag into GET_MP_STATE ioctl to aid migration During migration, any vcpu that got kicked but d

[PATCH V13 3/4] kvm hypervisor: Simplify kvm_for_each_vcpu with kvm_irq_delivery_to_apic

2013-08-26 Thread Raghavendra K T
Note that we are using APIC_DM_REMRD which has reserved usage. In future if APIC_DM_REMRD usage is standardized, then we should find some other way or go back to old method. Suggested-by: Gleb Natapov Signed-off-by: Raghavendra K T Acked-by: Gleb Natapov Acked-by: Ingo Molnar --- arch/x86/kvm

Re: am335x: support for multiple USB instances, v3

2013-08-26 Thread Lars Poeschel
On Friday 02 August 2013 at 21:24:05, Sebastian Andrzej Siewior wrote: > Hi, > > this series depends on Felipe's master tree and "usb: phy: > rename nop_usb_xceiv => usb_phy_gen_xceiv" which I posted earlier. I > created a -rc3 based branch for that patch [0]. If you fine with this > please let To

[PATCH v4 2/10] mm/hwpoison: don't need to hold compound lock for hugetlbfs page

2013-08-26 Thread Wanpeng Li
v1 -> v2: * drop compound_trans_order completely compound lock is introduced by commit e9da73d67("thp: compound_lock."), it is used to serialize put_page against __split_huge_page_refcount(). In addition, transparent hugepages will be splitted in hwpoison handler and just one subpage will be pois

[PATCH v4 8/10] mm/hwpoison: fix memory failure still hold reference count after unpoison empty zero page

2013-08-26 Thread Wanpeng Li
madvise hwpoison inject will poison the read-only empty zero page if there is no write access before poison. Empty zero page reference count will be increased for hwpoison, subsequent poison zero page will return directly since page has already been set PG_hwpoison, however, page reference count

Re: [PATCH v5 0/7] DMA: shdma: switch DT to use OF device ID tables

2013-08-26 Thread Simon Horman
On Mon, Aug 26, 2013 at 01:19:13PM +0530, Vinod Koul wrote: > On Mon, Aug 26, 2013 at 04:17:25PM +0900, Simon Horman wrote: > > On Sun, Aug 25, 2013 at 01:06:57PM +0530, Vinod Koul wrote: > > > On Fri, Aug 02, 2013 at 04:50:35PM +0200, Guennadi Liakhovetski wrote: > > > > In this version of shdma D

[PATCH v4 6/10] mm/hwpoison: drop forward reference declarations __soft_offline_page()

2013-08-26 Thread Wanpeng Li
Drop forward reference declarations __soft_offline_page. Reviewed-by: Naoya Horiguchi Signed-off-by: Wanpeng Li --- mm/memory-failure.c | 128 ++-- 1 file changed, 63 insertions(+), 65 deletions(-) diff --git a/mm/memory-failure.c b/mm/memory-fai

[PATCH v4 10/10] mm/hwpoison: fix bug triggered by unpoison empty zero page

2013-08-26 Thread Wanpeng Li
[ 57.579580] Injecting memory failure for page 0x19d0 at 0xb77d2000 [ 57.579824] MCE 0x19d0: non LRU page recovery: Ignored [ 91.290453] MCE: Software-unpoisoned page 0x19d0 [ 91.290456] BUG: Bad page state in process bash pfn:019d0 [ 91.290466] page:f3461a00 count:0 mapcount:0 mapping:

[PATCH v4 5/10] mm/hwpoison: don't set migration type twice to avoid hold heavy contend zone->lock

2013-08-26 Thread Wanpeng Li
v1 -> v2: * add more explanation in patch description. v2 -> v3: * set MIGRATE_ISOLATE only if it's not set. Set pageblock migration type will hold zone->lock which is heavy contended in system to avoid race. However, soft offline page will set pageblock migration type twice during get page if

[PATCH v4 3/10] mm/hwpoison: fix race against poison thp

2013-08-26 Thread Wanpeng Li
v1 -> v2: * unpoison thp fail There is a race between hwpoison page and unpoison page, memory_failure set the page hwpoison and increase num_poisoned_pages without hold page lock, and one page count will be accounted against thp for num_poisoned_pages. However, unpoison can occur before memory_

[PATCH v4 9/10] mm/hwpoison: change permission of corrupt-pfn/unpoison-pfn to 0400

2013-08-26 Thread Wanpeng Li
Hwpoison inject doesn't implement read method for corrupt-pfn/unpoison-pfn attributes: # cat /sys/kernel/debug/hwpoison/corrupt-pfn cat: /sys/kernel/debug/hwpoison/corrupt-pfn: Permission denied # cat /sys/kernel/debug/hwpoison/unpoison-pfn cat: /sys/kernel/debug/hwpoison/unpoison-pfn: Permissio

[PATCH v4 7/10] mm/hwpoison: add '#' to madvise_hwpoison

2013-08-26 Thread Wanpeng Li
Add '#' to madvise_hwpoison. Before patch: [ 95.892866] Injecting memory failure for page 19d0 at b7786000 [ 95.893151] MCE 0x19d0: non LRU page recovery: Ignored After patch: [ 95.892866] Injecting memory failure for page 0x19d0 at 0xb7786000 [ 95.893151] MCE 0x19d0: non LRU page recov

[PATCH v4 1/10] mm/hwpoison: fix lose PG_dirty flag for errors on mlocked pages

2013-08-26 Thread Wanpeng Li
memory_failure() store the page flag of the error page before doing unmap, and (only) if the first check with page flags at the time decided the error page is unknown, it do the second check with the stored page flag since memory_failure() does unmapping of the error pages before doing page_action(

[PATCH v4 4/10] mm/hwpoison: replacing atomic_long_sub() with atomic_long_dec()

2013-08-26 Thread Wanpeng Li
Repalce atomic_long_sub() with atomic_long_dec() since the page is normal page instead of hugetlbfs page or thp. Reviewed-by: Naoya Horiguchi Signed-off-by: Wanpeng Li --- mm/memory-failure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memory-failure.c b/mm/memory-fa

Re: [PATCH] mmc:tmio_mmc change driver to use dev_pm_ops infrastructure

2013-08-26 Thread Guennadi Liakhovetski
Hi Shuah Khan, On Sat, 10 Aug 2013, Shuah Khan wrote: > Change tmio_mmc platform driver to register pm ops using dev_pm_ops instead of > legacy pm_ops infrastructure. > > Signed-off-by: Shuah Khan This looks good to me, although I don't have access to any MFD-based TMIO MMC systems, so, canno

Re: x86-32: Early microcode loading stumbles over disabled DYNAMIC_FTRACE

2013-08-26 Thread Jan Kiszka
On 2013-08-23 22:17, Borislav Petkov wrote: > On Fri, Aug 23, 2013 at 06:40:46PM +0200, Jan Kiszka wrote: >> Below some hunks to get it working again - at least in the absence of >> any microcode in the initrd. Marking all involved functions as __init >> is another option (as __init implies notrace

Re: System suspend states and device driver suspend() callback

2013-08-26 Thread Li Yang
On Sat, Aug 17, 2013 at 7:53 AM, Rafael J. Wysocki wrote: > On Friday, August 16, 2013 05:13:42 PM Li Yang-R58472 wrote: >> >> 在 2013-8-16,下午7:22,"Rafael J. Wysocki" 写道: >> >> > On Friday, August 16, 2013 04:06:26 PM Li Yang wrote: >> >> Hi Guys, >> >> >> >> Is there a standard way for the device

[PATCH 2/2] proc: change return values while get_proc_task err

2013-08-26 Thread Rui Xiang
While getting proc task fails, it shoule return -ESRCH. Signed-off-by: Rui Xiang --- fs/proc/base.c | 25 +++-- fs/proc/fd.c | 8 +--- fs/proc/namespaces.c | 12 fs/proc_namespace.c | 2 +- 4 files changed, 29 insertions(+), 18 deletions(-)

[PATCH 1/2] proc: set attributes of pde by accessor functions

2013-08-26 Thread Rui Xiang
Clean up. Signed-off-by: Rui Xiang --- fs/proc/generic.c | 3 +-- fs/proc/proc_devtree.c | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/proc/generic.c b/fs/proc/generic.c index 737e156..2097e9e 100644 --- a/fs/proc/generic.c +++ b/fs/proc/generic.c @@ -49,8 +49,

Re: [PATCH 3/3] ARM: OMAP2+: Add SSI driver configuration

2013-08-26 Thread Tony Lindgren
* Sebastian Reichel [130823 11:27]: > On Fri, Aug 23, 2013 at 03:58:30PM +0200, Linus Walleij wrote: > > On Mon, Aug 12, 2013 at 10:30 AM, Tony Lindgren wrote: > > > * Sebastian Reichel [130811 09:25]: > > >> From: Sebastian Reichel > > >> > > >> This patch configures and activates the OMAP SSI

[PATCH V7 0/3] Generic PHY driver for the Exynos SoC DP PHY

2013-08-26 Thread Jingoo Han
This patch series adds a simple driver for the Samsung Exynos SoC series DP transmitter PHY, using the generic PHY framework [1]. Previously the DP PHY used an internal DT node to control the PHY power enable bit. These patches was tested on Exynos5250. This PATCH v7 follows: * PATCH v6, sent on

[PATCH 1/3] phy: Add driver for Exynos DP PHY

2013-08-26 Thread Jingoo Han
Add a PHY provider driver for the Samsung Exynos SoC Display Port PHY. Signed-off-by: Jingoo Han Reviewed-by: Tomasz Figa Cc: Sylwester Nawrocki Acked-by: Felipe Balbi --- .../devicetree/bindings/phy/samsung-phy.txt|7 ++ drivers/phy/Kconfig|7 +

[PATCH 3/3] video: exynos_dp: Use the generic PHY driver

2013-08-26 Thread Jingoo Han
Use the generic PHY API to control the DP PHY. Signed-off-by: Jingoo Han Reviewed-by: Tomasz Figa --- Documentation/devicetree/bindings/video/exynos_dp.txt | 17 + drivers/video/exynos/exynos_dp_core.c | 16 drivers/video/exynos/exynos_dp_cor

[PATCH 2/3] video: exynos_dp: remove non-DT support for Exynos Display Port

2013-08-26 Thread Jingoo Han
Exynos Display Port can be used only for Exynos SoCs. In addition, non-DT for EXYNOS SoCs is not supported from v3.11; thus, there is no need to support non-DT for Exynos Display Port. The 'include/video/exynos_dp.h' file has been used for non-DT support and the content of file include/video/exyno

Re: [PATCH v2] iwlwifi: mvm: make debugfs write() operations write up to count bytes

2013-08-26 Thread Johannes Berg
On Sat, 2013-08-24 at 14:35 +0100, Djalal Harouni wrote: > Some debugfs write() operations of the MVM Firmware will ignore the > count argument, and will copy more bytes than what was specified. > Fix this by getting the right count of bytes. > > This will honor restrictions put on the number of b

Re: [PATCH v2] ARM: dts: add AM33XX EDMA support

2013-08-26 Thread Sebastian Andrzej Siewior
On 08/26/2013 10:36 AM, Benoit Cousson wrote: > I've just sent my previous email too soon... np. > Now the patch is different :-) I'll take that one. Good, thanks. > > Thanks, > Benoit Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

Re: [PATCH v6 2/3] mmc: dw_mmc: Honor requests to set the clock to 0 (turn off clock)

2013-08-26 Thread Jaehoon Chung
On 08/26/2013 01:34 PM, Seungwon Jeon wrote: > On Fri, August 23, 2013, Doug Anderson wrote: >> Previously the dw_mmc driver would ignore any requests to disable the >> card's clock. This doesn't seem like a good thing in general, but had >> one extra bad side effect in the following situtation: >

Re: [PATCH RESEND] dma: sh: remove unnecessary platform_set_drvdata()

2013-08-26 Thread Vinod Koul
On Mon, Aug 26, 2013 at 09:32:05AM +0900, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure. Thus, it is not needed to manually clear the > device driver data to NULL. Applied, thanks ~Vinod -- To unsubscribe from this list: send the line

Re: [PATCH] net/cadence/macb: fix kernel Oops if no PHY were discovered during probe

2013-08-26 Thread Bo Shen
Hi Boris, On 08/25/2013 03:21 AM, Boris BREZILLON wrote: Test the presence of a PHY device before printing attached PHY informations. Signed-off-by: Boris BREZILLON --- drivers/net/ethernet/cadence/macb.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/n

Re: [PATCH 2/3] cpuidle: coupled: abort idle if pokes are pending

2013-08-26 Thread Joseph Lo
On Sat, 2013-08-24 at 03:45 +0800, Colin Cross wrote: > Joseph Lo reported a lockup on Tegra3 caused > by a race condition in coupled cpuidle. When two or more cpus Actually this issue can be reproduced on both Tegra20/30 platforms. And I suggest using Tegra20 to replace Tegra3 here, we only appl

Re: [accent_init] BUG: unable to handle kernel NULL pointer dereference at 00000078

2013-08-26 Thread Russell King - ARM Linux
On Mon, Aug 26, 2013 at 08:58:09AM +0800, Fengguang Wu wrote: > Hi Russell King, > > Here is another bug that's triggered by Not much idea about this one, I don't understand what debugobjects.c is indicating. What I think it may be indicating is that the timer list inside the delayed workqueue i

Re: [PATCH -next] dma: cppi41: fix error return code in cppi41_dma_probe()

2013-08-26 Thread Vinod Koul
On Fri, Aug 23, 2013 at 10:59:15AM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Fix to return -EINVAL in the irq parse and map error handling > case instead of 0, as done elsewhere in this function. > > Signed-off-by: Wei Yongjun This need to go thru USB tree Acked-by Vinod Koul ~Vinod

Re: [patch, resend] perf: export struct perf_branch_entry to userspace

2013-08-26 Thread Stephane Eranian
On Fri, Aug 23, 2013 at 9:51 PM, Vince Weaver wrote: > > On Mon, 8 Jul 2013, Vince Weaver wrote: > > If PERF_SAMPLE_BRANCH_STACK is enabled then samples are returned > with the format { u64 from, to, flags } but the flags layout > is not specified. > > This field has the type struct perf_branch_en

Re: ACPI vs Device Tree - moving forward

2013-08-26 Thread Linus Walleij
On Sat, Aug 24, 2013 at 2:13 AM, Guenter Roeck wrote: > Did the group conclude that the idea of FDT augmenting ACPI is not feasible ? I don't think anyone really knows. For example: how to specify a few config options through a FDT augmented ACPI system is trivial. Passing system-wide resources

Re: [RFC PATCH] scsi: Add failfast mode to avoid infinite retry loop

2013-08-26 Thread Eiichi Tsukata
(2013/08/23 22:19), James Bottomley wrote: On Fri, 2013-08-23 at 18:10 +0900, Eiichi Tsukata wrote: (2013/08/21 3:09), Ewan Milne wrote: On Tue, 2013-08-20 at 16:13 +0900, Eiichi Tsukata wrote: (2013/08/19 23:30), James Bottomley wrote: On Mon, 2013-08-19 at 18:39 +0900, Eiichi Tsukata wrote:

Re: [RFC PATCH] scsi: Add failfast mode to avoid infinite retry loop

2013-08-26 Thread Eiichi Tsukata
(2013/08/24 4:36), Ewan Milne wrote: On Fri, 2013-08-23 at 06:19 -0700, James Bottomley wrote: On Fri, 2013-08-23 at 18:10 +0900, Eiichi Tsukata wrote: Yes, basically the device should be offlined on error detection. Just offlining the disk is enough when an error occurs on "not" os-installed s

[GIT PULL] at91: device tree update for 3.12 #2

2013-08-26 Thread Nicolas Ferre
Arnd, Olof, Kevin, This is a second update on the DT front for AT91 on 3.12. This series is stacked on top of patches that are already included in your at91/dt branch. The inclusion of these Nand Flash Controller properties in DT are related to the driver enhancement that is already queued in MTD

Re: [PATCH V7 0/3] Generic PHY driver for the Exynos SoC DP PHY

2013-08-26 Thread Kishon Vijay Abraham I
On Monday 26 August 2013 02:25 PM, Jingoo Han wrote: > This patch series adds a simple driver for the Samsung Exynos SoC > series DP transmitter PHY, using the generic PHY framework [1]. > Previously the DP PHY used an internal DT node to control the PHY > power enable bit. > > These patches was t

[PATCH] aoe: suppress compiler warnings

2013-08-26 Thread Andy Shevchenko
This patch fixes following compiler warnings: drivers/block/aoe/aoecmd.c: In function ‘aoecmd_ata_rw’: drivers/block/aoe/aoecmd.c:383:17: warning: variable ‘t’ set but not used [-Wunused-but-set-variable] struct aoetgt *t; ^ drivers/block/aoe/aoecmd.c: In function ‘resend’: dri

[PATCH V2 1/2] gpio: mcp23s08: rename the device tree property

2013-08-26 Thread Lars Poeschel
From: Lars Poeschel The device tree property should be more descriptive. microchip seems more reasonable than mcp. The old mcp prefix is still supported but marked as deprecated. Users of mcp have to switch to the microchip prefix. Signed-off-by: Lars Poeschel --- .../devicetree/bindings/gpio/

[PATCH V2 2/2] of: add vendor prefix for Microchip Technology Inc

2013-08-26 Thread Lars Poeschel
From: Lars Poeschel Trivial patch to add Microchip Technology Inc. to the list of devicetree vendor prefixes. Signed-off-by: Lars Poeschel --- Documentation/devicetree/bindings/vendor-prefixes.txt |1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-p

Announcement of Linux v3.11-rc7?

2013-08-26 Thread Sedat Dilek
Hi, I am reading LKML offline (mostly on ). Did you send out an announcement for Linux v3.11-rc7 or am I missing sth.? Regards, - Sedat - -- 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:

[PATCH v3 0/3] arm: mvebu: fix resource leak

2013-08-26 Thread Jisheng Zhang
These patches try to fix resource leak by adding missing of_node_put(), iounmap or using devm_ioremap_resource() if available. v3: - remove the clk patch since it's already taken by Mike - Add Reviewed-by: Ezequiel Garcia v2: - use devm_ioremap_resource() as suggested by Ezequiel Garcia -

[PATCH v3 1/3] arm: mvebu: add missing of_node_put() to fix reference leak

2013-08-26 Thread Jisheng Zhang
Add of_node_put to properly decrement the refcount when we are done using a given node. Signed-off-by: Jisheng Zhang Reviewed-by: Ezequiel Garcia --- arch/arm/mach-mvebu/armada-370-xp.c | 1 + arch/arm/mach-mvebu/coherency.c | 8 +++- arch/arm/mach-mvebu/platsmp.c | 1

[PATCH] bridge: separate querier and query timer into IGMP/IPv4 and MLD/IPv6 ones

2013-08-26 Thread Linus Lüssing
Currently we would still potentially suffer multicast packet loss if there is just either an IGMP or an MLD querier: For the former case, we would possibly drop IPv6 multicast packets, for the latter IPv4 ones. This is because we are currently assuming that if either an IGMP or MLD querier is prese

[PATCH v3 3/3] pinctrl: mvebu: Convert to use devm_ioremap_resource

2013-08-26 Thread Jisheng Zhang
The resource mapped by of_iomap() isn't unmapped in error path. This patch fixes the resource leakage by using devm_ioremap_resource() instead of of_iomap(). Signed-off-by: Jisheng Zhang Reviewed-by: Ezequiel Garcia --- drivers/pinctrl/mvebu/pinctrl-mvebu.c | 11 +-- 1 file changed, 5 i

Re: [PATCH v3 1/3] arm: mvebu: add missing of_node_put() to fix reference leak

2013-08-26 Thread Thomas Petazzoni
Dear Jisheng Zhang, On Mon, 26 Aug 2013 17:56:19 +0800, Jisheng Zhang wrote: > diff --git a/arch/arm/mach-mvebu/armada-370-xp.c > b/arch/arm/mach-mvebu/armada-370-xp.c > index 97cbb80..8a1ae83 100644 > --- a/arch/arm/mach-mvebu/armada-370-xp.c > +++ b/arch/arm/mach-mvebu/armada-370-xp.c > @@ -64

[PATCH v3 2/3] bus: mvebu: add missing of_node_put() to fix reference leak

2013-08-26 Thread Jisheng Zhang
Add of_node_put to properly decrement the refcount when we are done using a given node. Signed-off-by: Jisheng Zhang Reviewed-by: Ezequiel Garcia --- drivers/bus/mvebu-mbus.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mb

Re: [RFC PATCH] scsi: Add failfast mode to avoid infinite retry loop

2013-08-26 Thread Eiichi Tsukata
(2013/08/23 21:26), Ric Wheeler wrote: On 08/23/2013 05:10 AM, Eiichi Tsukata wrote: (2013/08/21 3:09), Ewan Milne wrote: On Tue, 2013-08-20 at 16:13 +0900, Eiichi Tsukata wrote: (2013/08/19 23:30), James Bottomley wrote: On Mon, 2013-08-19 at 18:39 +0900, Eiichi Tsukata wrote: Hello, This

Re: [PATCH v2 4/4] pinctrl: mvebu: Convert to use devm_ioremap_resource

2013-08-26 Thread Jisheng Zhang
Hi Ezequiel, On Sat, 24 Aug 2013 08:06:25 -0700 Ezequiel Garcia wrote: > Hi Jisheng, > > On Fri, Aug 23, 2013 at 10:34:02AM +0800, Jisheng Zhang wrote: > > Signed-off-by: Jisheng Zhang > > --- > > drivers/pinctrl/mvebu/pinctrl-mvebu.c | 11 +-- > > 1 file changed, 5 insertions(+), 6 d

Re: [PATCH V13 0/4] Paravirtualized ticket spinlocks for KVM host

2013-08-26 Thread Gleb Natapov
On Mon, Aug 26, 2013 at 02:18:32PM +0530, Raghavendra K T wrote: > > This series forms the kvm host part of paravirtual spinlock > based against kvm tree. > > Please refer to https://lkml.org/lkml/2013/8/9/265 for > kvm guest and Xen, x86 part merged to -tip spinlocks. > > Please note that:

[PATCH] UBI: fix refill_wl_user_pool()

2013-08-26 Thread Richard Weinberger
If no free PEBs are available refill_wl_user_pool() must not return with -ENOSPC immediately. It has to block till produce_free_peb() produced a free PEB. Reported-and-Tested-by: Richard Genoud Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/wl.c | 4 1 file changed, 4 deletions(-)

[PATCH] include/asm-generic/gpio.h: remove the call for __gpio_get_value() and __gpio_set_value() when GPIOLIB disabled

2013-08-26 Thread Chen Gang
When GPIOLIB disabled, __gpio_get_value() and __gpio_set_value() will not implement, so need remove them, or compiling fails. e.g. (allmodconfig for h8300) CC arch/h8300/kernel/h8300_ksyms.o In file included from arch/h8300/include/generated/asm/gpio.h:1:0, from arch

Re: [PATCH v3 1/3] arm: mvebu: add missing of_node_put() to fix reference leak

2013-08-26 Thread Jisheng Zhang
Dear Thomas, On Mon, 26 Aug 2013 03:02:00 -0700 Thomas Petazzoni wrote: > Dear Jisheng Zhang, > > On Mon, 26 Aug 2013 17:56:19 +0800, Jisheng Zhang wrote: > > > diff --git a/arch/arm/mach-mvebu/armada-370-xp.c > > b/arch/arm/mach-mvebu/armada-370-xp.c index 97cbb80..8a1ae83 100644 > > --- a/ar

[PATCH] h8300: include: asm: Kbuild: add gpio.h for pass compiling

2013-08-26 Thread Chen Gang
Need add default "gpio.h" for h8300, or can not pass compiling. The related error (allmodconfig for h8300): arch/h8300/kernel/h8300_ksyms.c:17:22: fatal error: asm/gpio.h: No such file or directory #include ^ Signed-off-by: Chen Gang --- arch/h8300/include/asm/Kb

Re: [PATCH 1/3] arcmsr: Support Areca new SATA Raid Adapter ARC1214/1224/1264/1284

2013-08-26 Thread James Bottomley
On Mon, 2013-08-26 at 12:14 +0800, 黃清隆 wrote: > From: Ching > > Support Areca new SATA Raid adapter ARC1214/1224/1264/1284. > Modify maximum outstanding command number, notify command complete with auto > request sense > Signed-off-by: Ching Checkpatch really doesn't like this: total: 1 erro

Re: [PATCH 02/18] asymmetric keys: implement EMSA_PKCS1-v1_5-ENCODE in rsa

2013-08-26 Thread joeyli
Hi Pavel, First, thanks for your review! 於 日,2013-08-25 於 17:53 +0200,Pavel Machek 提到: > On Thu 2013-08-22 19:01:41, Lee, Chun-Yi wrote: > > Implement EMSA_PKCS1-v1_5-ENCODE [RFC3447 sec 9.2] in rsa.c. It's the > > first step of signature generation operation > > (RSASSA-PKCS1-v1_5-SIGN). > > I

Re: sun4i_handle_irq: WARNING at net/ipv4/tcp_input.c:2711 tcp_fastretrans_alert

2013-08-26 Thread Richard Genoud
2013/8/23 Maxime Ripard : > Hi Richard, > > On Wed, Aug 21, 2013 at 11:47:20AM +0200, Richard GENOUD wrote: >> Hi Maxime, Stephan >> >> I just realise that, *sometimes*, I have some warnings on my cubieboard >> (6 since the 22 of july, and the board is runnning 24/24). > > Wow, I'm impressed it wor

Re: [PATCH 3/3] arcmsr: Fix bug of updating adapter firmware through ioctl(ARCHTTP) interface

2013-08-26 Thread James Bottomley
On Mon, 2013-08-26 at 12:28 +0800, 黃清隆 wrote: > From: Ching > > Fix bug of updating adapter firmware through ioctl(ARCHTTP) interface. > Signed-off-by: Ching > --- This one has a set of nasty checkpatch errors: WARNING: please, no spaces at the start of a line #31: FILE: drivers/scsi/arcmsr/ar

Re: [PATCH 0/2] kvm: use anon_inode_getfd() with O_CLOEXEC flag

2013-08-26 Thread Gleb Natapov
On Sat, Aug 24, 2013 at 10:14:06PM +0200, Yann Droneaud wrote: > Hi, > > Following a patchset asking to change calls to get_unused_flag() [1] > to use O_CLOEXEC, Alex Williamson [2][3] decided to change VFIO > to use the flag. > > Since it's a related subsystem to KVM, using O_CLOEXEC for > file

Re: [PATCH V13 0/4] Paravirtualized ticket spinlocks for KVM host

2013-08-26 Thread Raghavendra K T
On 08/26/2013 03:34 PM, Gleb Natapov wrote: On Mon, Aug 26, 2013 at 02:18:32PM +0530, Raghavendra K T wrote: This series forms the kvm host part of paravirtual spinlock based against kvm tree. Please refer to https://lkml.org/lkml/2013/8/9/265 for kvm guest and Xen, x86 part merged to

Re: [PATCH] h8300: include: asm: Kbuild: add gpio.h for pass compiling

2013-08-26 Thread Geert Uytterhoeven
On Mon, Aug 26, 2013 at 12:16 PM, Chen Gang wrote: > Need add default "gpio.h" for h8300, or can not pass compiling. > > The related error (allmodconfig for h8300): > > arch/h8300/kernel/h8300_ksyms.c:17:22: fatal error: asm/gpio.h: No such > file or directory >#include >

RE: [PATCH 0/2] mpt{2,3}sas remove disconnected phys on topology change

2013-08-26 Thread Reddy, Sreekanth
Hi James, This patch set seem to be fine. Please consider this patch set. Regards, Sreekanth >-Original Message- >From: Jan Vesely [mailto:jves...@redhat.com] >Sent: Thursday, August 01, 2013 3:31 PM >To: linux-s...@vger.kernel.org; linux-kernel@vger.kernel.org >Cc: Jan Vesely; Nandigama

[PATCH] h8300/kernel/h8300_ksyms.c: add "asm/gpio-internal.h" to pass compiling

2013-08-26 Thread Chen Gang
Need add "asm/gpio-internal.h" to pass compiling. The related error (allmodconfig for h8300): In file included from include/linux/linkage.h:6:0, from include/linux/kernel.h:6, from include/linux/cache.h:4, from include/linux/time.h:4,

Re: [PATCH 03/18] asymmetric keys: separate the length checking of octet string from RSA_I2OSP

2013-08-26 Thread joeyli
於 日,2013-08-25 於 18:01 +0200,Pavel Machek 提到: > On Thu 2013-08-22 19:01:42, Lee, Chun-Yi wrote: > > Due to RSA_I2OSP is not only used by signature verification path but also > > used > > in signature generation path. So, separate the length checking of octet > > string > > because it's not for ge

Re: [PATCH v2] gpio: interrupt consistency check for OF GPIO IRQs

2013-08-26 Thread Lars Poeschel
On Friday 23 August 2013 at 21:48:43, Stephen Warren wrote: > On 08/23/2013 03:40 AM, Lars Poeschel wrote: > > On Thursday 22 August 2013 at 23:10:53, Stephen Warren wrote: > >> On 08/21/2013 05:36 PM, Linus Walleij wrote: > >>> On Thu, Aug 22, 2013 at 1:10 AM, Stephen Warren > >>> wrote: [Me] > >

[PATCH] h8300/kernel/setup.c: add "linux/initrd.h" to pass compiling

2013-08-26 Thread Chen Gang
Need add "linux/initrd.h" to pass compiling. The related error (allmodconfig for h8300): arch/h8300/kernel/setup.c: In function 'setup_arch': arch/h8300/kernel/setup.c:103:3: error: 'initrd_start' undeclared (first use in this function) initrd_start = memory_start; ^ arch/h8300/k

Re: [PATCH v7 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-08-26 Thread Hongbo Zhang
On 08/23/2013 11:17 AM, Hongbo Zhang wrote: On 08/22/2013 07:16 AM, Stephen Warren wrote: On 08/21/2013 05:00 PM, Scott Wood wrote: On Wed, 2013-08-21 at 16:40 -0600, Stephen Warren wrote: On 07/29/2013 04:49 AM, hongbo.zh...@freescale.com wrote: +- reg : +- int

[PATCH] drivers/base/memory.c: introduce help macro to_memory_block

2013-08-26 Thread Gu Zheng
Introduce help macro to_memory_block to hide the conversion(device-->memory_block), just clean up. Signed-off-by: Gu Zheng --- drivers/base/memory.c | 27 --- 1 files changed, 12 insertions(+), 15 deletions(-) diff --git a/drivers/base/memory.c b/drivers/base/memory.c

Re: [PATCH 0/3] DMA: shdma: several stylistic improvements and support for new SoCs

2013-08-26 Thread Guennadi Liakhovetski
Hi Vinod, Thanks for applying the patches! On Sun, 25 Aug 2013, Vinod Koul wrote: > On Tue, Jul 02, 2013 at 05:45:49PM +0200, Guennadi Liakhovetski wrote: > > Hi > > > > The first two patches in this small series improve driver internals a bit > > by using preferred APIs, the 3rd patch adds su

[PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-26 Thread Chen Gang
Need add related prefix for h8300, or can not pass compiling by the latest linker. The related error (allmodconfig for h8300): /usr/local/bin/h8300-gchen-elf-ld: h8300 architecture of input file `usr/initramfs_data.o' is incompatible with h8300h output /usr/local/bin/h8300-gchen-elf-ld: h830

  1   2   3   4   5   6   7   8   >