Re: bcache: Fix a writeback performance regression

2013-08-21 Thread Stefan Priebe
>schedule_timeout() is not the same as >schedule_timeout_interruptible(). just search and replace? So i can try on my own. Stefan Am 22.08.2013 07:43, schrieb Kent Overstreet: On Thu, Aug 22, 2013 at 07:27:12AM +0200, Stefan Priebe wrote: today i had this one: Heh, I finally tracked it

[PATCH v4 3/5] clk: dt: binding for basic multiplexer clock

2013-08-21 Thread Mike Turquette
Device Tree binding for the basic clock multiplexer, plus the setup function to register the clock. Based on the existing fixed-clock binding. Includes minor beautification of clk-provider.h where some whitespace is added and of_fixed_factor_clock_setup is relocated to maintain a consistent

[PATCH v4 0/5] clk: dt: bindings for mux, divider & gate clocks

2013-08-21 Thread Mike Turquette
This series introduces binding definitions for common register-mapped clock multiplexer, divider and gate IP blocks along with the corresponding setup functions for matching DT data. The bindings are similar to the struct definitions but please don't hold that against the binding: the struct

Re: [PATCH 7/8] net: davinci_mdio: remove unnecessary dev_set_drvdata()

2013-08-21 Thread Prabhakar Lad
Hi Libo, Thanks for the patch. On Wed, Aug 21, 2013 at 12:32 PM, Libo Chen wrote: > Unnecessary dev_set_drvdata() is removed, because the driver core > clears the driver data to NULL after device_release or on probe failure. > > Signed-off-by: Libo Chen Acked-by: Lad, Prabhakar Regards,

[PATCH v4 4/5] clk: dt: binding for basic divider clock

2013-08-21 Thread Mike Turquette
Devicetree binding for the basic clock divider, plus the setup function to register the clock. Based on the existing fixed-clock binding. Tero Kristo contributed helpful bug fixes to this patch. Signed-off-by: Mike Turquette Tested-by: Heiko Stuebner Reviewed-by: Heiko Stuebner --- Changes

[PATCH v4 5/5] clk: dt: binding for basic gate clock

2013-08-21 Thread Mike Turquette
Device Tree binding for the basic clock gate, plus the setup function to register the clock. Based on the existing fixed-clock binding. A different approach to this was proposed in 2012[1] and a similar binding was proposed more recently[2] if anyone wants some extra reading. [1]

[PATCH v4 2/5] clk: of: helper for determining number of parent clocks

2013-08-21 Thread Mike Turquette
Walks the "clocks" array of parent clock phandles and returns the number. Signed-off-by: Mike Turquette Tested-by: Heiko Stuebner Reviewed-by: Heiko Stuebner --- No change since v3 drivers/clk/clk.c| 6 ++ include/linux/clk-provider.h | 1 + 2 files changed, 7 insertions(+)

[PATCH v4 1/5] clk: divider: replace bitfield width with mask

2013-08-21 Thread Mike Turquette
The forthcoming Device Tree binding for the divider clock type will use a bitfield mask instead of bitfield width, which is what the current basic divider implementation uses. This patch replaces the u8 width in struct clk_divider with a u32 mask. The divider code is updated to use the bit mask

Re: [PATCH 0/3] kprobes: add new dma insn slot cache for s390

2013-08-21 Thread Heiko Carstens
Hi Masami, > (2013/08/21 21:01), Heiko Carstens wrote: > > The current kpropes insn caches allocate memory areas for insn slots with > > module_alloc(). The assumption is that the kernel image and module area > > are both within the same +/- 2GB memory area. > > This however is not true for s390

Re: [RFC V2 PATCH 2/6] powerpc: Implement broadcast timer interrupt as an IPI message

2013-08-21 Thread Preeti U Murthy
Hi Ben On 08/22/2013 08:40 AM, Benjamin Herrenschmidt wrote: > On Wed, 2013-08-14 at 17:26 +0530, Preeti U Murthy wrote: >> -static irqreturn_t unused_action(int irq, void *data) >> +static irqreturn_t timer_action(int irq, void *data) >> { >> - /* This slot is unused and hence available

Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use

2013-08-21 Thread Cyrill Gorcunov
On Wed, Aug 21, 2013 at 04:42:53PM -0700, Andi Kleen wrote: > Cyrill Gorcunov writes: > > > > Hi all, I worked on patch which would not touch PSE bit for dirty page > > tracking and the result is not that good: > > > > - 2level pages now always page dirty if page is swapped in and out, because >

Re: bcache: Fix a writeback performance regression

2013-08-21 Thread Kent Overstreet
On Thu, Aug 22, 2013 at 07:27:12AM +0200, Stefan Priebe wrote: > today i had this one: Heh, I finally tracked it down earlier today. Turned out to be a rather embarassing bug... schedule_timeout() is not the same as schedule_timeout_interruptible(). I'll get the fix out in the morning, for the

Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use

2013-08-21 Thread Cyrill Gorcunov
On Wed, Aug 21, 2013 at 08:51:15PM -0400, Dave Jones wrote: > > Could this explain what I'm seeing in another thread ? > https://lkml.org/lkml/2013/8/7/27 Don't think so. This code is merged in -rc6, while your report is saying the kernel version is -rc4 (also this feature requires

Re: [PATCH] kernel/padata.c: always check the return value of __padata_remove_cpu() and __padata_add_cpu()

2013-08-21 Thread Steffen Klassert
On Tue, Aug 20, 2013 at 11:44:31AM +0800, Chen Gang wrote: > > If this patch is correct, better to let CPU_ONLINE and CPU_DOWN_FAILED > share the same code. > > And do we need a comment "/* fall through */" between CPU_UP_CANCELED > and CPU_DOWN_FAILED (or it is another bug, need a 'break'

[PATCH] mm/vmscan: make global_reclaim() inline

2013-08-21 Thread larmbr
Though Gcc is likely to inline them, we should better explictly do it manually, and also, this serve to document this fact. Signed-off-by: Zhan Jianyu --- mm/vmscan.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index 1de652d..1946d7d

linux-next: build failure after merge of the driver-core tree

2013-08-21 Thread Stephen Rothwell
iver-core tree from next-20130821 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpf5mOG9boii.pgp Description: PGP signature

[PATCH] mm/vmscan : use vmcan_swappiness( ) basing on MEMCG config to elimiate unnecessary runtime cost

2013-08-21 Thread larmbr
Currently, we get the vm_swappiness via vmscan_swappiness(), which calls global_reclaim() to check if this is a global reclaim. Besides, the current implementation of global_reclaim() always returns true for the !CONFIG_MEGCG case, and judges the other case by checking whether

Re: [RFC PATCH next]module: Fix mod->mkobj.kobj potentially freed too early

2013-08-21 Thread Li Zhong
On Wed, 2013-08-21 at 21:03 -0700, Greg KH wrote: > On Thu, Aug 22, 2013 at 10:34:06AM +0800, Li Zhong wrote: > > On Wed, 2013-08-21 at 09:18 -0700, Greg KH wrote: > > > On Wed, Aug 21, 2013 at 05:49:58PM +0800, Li Zhong wrote: > > > > DEBUG_KOBJECT_RELEASE helps to find the issue attached below.

[PATCH V4 3/5] powerpc/cpuidle: Generic powerpc backend cpuidle driver.

2013-08-21 Thread Deepthi Dharwar
This patch involves moving the current pseries_idle backend driver code from pseries/processor_idle.c to drivers/cpuidle/cpuidle-powerpc.c, and making the backend code generic enough to be able to extend this driver code for both powernv and pseries. It enables the support for pseries platform,

[PATCH V4 0/5] powerpc/cpuidle: Generic POWERPC cpuidle driver enabled for POWER and POWERNV platforms

2013-08-21 Thread Deepthi Dharwar
This patch series consolidates the backend cpuidle driver for pSeries and powernv platforms with minimal code duplication. Current existing backend driver for pseries has been moved to drivers/cpuidle and has been extended to accommodate powernv idle power mgmt states. As seen in V1 of this

[PATCH V4 5/5] powernv/cpuidle: Enable idle powernv cpu to call into the cpuidle framework.

2013-08-21 Thread Deepthi Dharwar
This patch enables idle cpu on the powernv platform to hook on to the cpuidle framework, if available, else call on to default idle platform code. Signed-off-by: Deepthi Dharwar --- arch/powerpc/platforms/powernv/setup.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-)

[PATCH V4 2/5] pseries: Move plpar_wrapper.h to powerpc common include/asm location.

2013-08-21 Thread Deepthi Dharwar
As a part of pseries_idle backend driver cleanup to make the code common to both pseries and powernv platforms, it is necessary to move the backend-driver code to drivers/cpuidle. As a pre-requisite for that, it is essential to move plpar_wrapper.h to include/asm. Signed-off-by: Deepthi Dharwar

[PATCH V4 4/5] powerpc/cpuidle: Enable powernv cpuidle support.

2013-08-21 Thread Deepthi Dharwar
The following patch extends the current powerpc backend idle driver to the powernv platform. Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-powerpc.c | 35 +-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git

[PATCH V4 1/5] pseries/cpuidle: Remove dependency of pseries.h file

2013-08-21 Thread Deepthi Dharwar
As a part of pseries_idle cleanup to make the backend driver code common to both pseries and powernv. Remove non-essential smt_snooze_delay declaration in pseries.h header file and pseries.h file inclusion in pseries/processor_idle.c Signed-off-by: Deepthi Dharwar ---

Re: [PATCH] kernel/padata.c: always check the return value of __padata_remove_cpu() and __padata_add_cpu()

2013-08-21 Thread Chen Gang
On 08/22/2013 01:11 PM, Steffen Klassert wrote: > On Tue, Aug 20, 2013 at 11:44:31AM +0800, Chen Gang wrote: >> >> If this patch is correct, better to let CPU_ONLINE and CPU_DOWN_FAILED >> share the same code. >> >> And do we need a comment "/* fall through */" between CPU_UP_CANCELED >> and

Re: bcache: Fix a writeback performance regression

2013-08-21 Thread Stefan Priebe
today i had this one: 2013-08-22 06:28:55 [] schedule+0x24/0x70 2013-08-22 06:28:55 [] io_schedule+0x87/0xd0 2013-08-22 06:28:55 [] sleep_on_page+0x9/0x10 2013-08-22 06:28:55 [] __wait_on_bit+0x57/0x80 2013-08-22 06:28:55 [] ? find_get_pages_tag+0xcc/0x180 2013-08-22 06:28:55

Re: [PATCH] PCI: exynos: add support for MSI

2013-08-21 Thread Jingoo Han
On Monday, August 12, 2013 6:13 PM, Sachin Kamat wrote: > On 12 August 2013 14:26, Jingoo Han wrote: > > This patch adds support for Message Signaled Interrupt in the > > Exynops PCIe diver using Synopsys designware PCIe core IP. > > s/Exynops PCIe diver/Exynos PCIe driver OK, I will fix this

Re: bcache: Fix a writeback performance regression

2013-08-21 Thread Stefan Priebe
Am 22.08.2013 01:47, schrieb Kent Overstreet: On Tue, Aug 20, 2013 at 10:07:45AM +0200, Stefan Priebe - Profihost AG wrote: Am 20.08.2013 10:01, schrieb Stefan Priebe - Profihost AG: Am 20.08.2013 00:27, schrieb Kent Overstreet: On Mon, Aug 19, 2013 at 12:09:24AM +0200, Stefan Priebe wrote:

[PATCH v3] extcon: palmas: Added a new compatible type *ti,palmas-usb-vid*

2013-08-21 Thread Kishon Vijay Abraham I
The Palmas device contains only a USB VID detector, so added a compatible type *ti,palmas-usb-vid*. Didn't remove the existing compatible types for backward compatibility. Signed-off-by: Kishon Vijay Abraham I --- Changes from [1]: * Since the old compatible values will be in 3.11 kernel, we

[PATCH] target/tcm_qla2xxx: Add/use target_reverse_dma_direction() in target_core_fabric.h

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Reversing the dma_data_direction for pci_map_sg() friends is useful for other drivers, so move it from tcm_qla2xxx into inline code within target_core_fabric.h. Also drop internal usage of equivlient in tcm_qla2xxx fabric code. Reported-by: Christoph Hellwig Cc:

Re: [PATCH v2 2/4] mm/sparse: introduce alloc_usemap_and_memmap

2013-08-21 Thread Yinghai Lu
On Wed, Aug 21, 2013 at 12:29 AM, Wanpeng Li wrote: > Hi Yinghai, > On Tue, Aug 20, 2013 at 09:28:29PM -0700, Yinghai Lu wrote: >>On Tue, Aug 20, 2013 at 8:11 PM, Wanpeng Li wrote: >>> Hi Yinghai, >>> On Tue, Aug 20, 2013 at 05:02:17PM -0700, Yinghai Lu wrote: >> - /* ok, last chunk */

Re: [PATCH] DMA: let filter functions of of_dma_simple_xlate possible check of_node

2013-08-21 Thread Richard Zhao
On Fri, Aug 02, 2013 at 10:00:00AM +0800, Richard Zhao wrote: > pass of_phandle_args dma_spec to dma_request_channel in of_dma_simple_xlate, > so the filter function could access of_node in of_phandle_args. > > It also remove restriction of #dma-cells has to be one. > > Signed-off-by: Richard

Re: [PATCH 1/2] extcon: extcon-dra7xx: Add extcon driver for USB ID detection

2013-08-21 Thread George Cherian
On 8/21/2013 11:05 PM, Stephen Warren wrote: On 08/21/2013 07:06 AM, George Cherian wrote: Hi Stephen, On 8/20/2013 10:23 PM, Stephen Warren wrote: ID pins are connected to pcf8575, and the pcf8575's interrupt line is inturn connected to gpio bank6 pin 11, we use this gpio interrupt to detect

[PATCH-v2 07/12] target: Add transport_reset_sgl_orig() for COMPARE_AND_WRITE

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger After COMPARE_AND_WRITE completes it's comparision, the WRITE payload SGLs head expect to be updated to point from the verify instance of user data, to the write instance of user data. So for this special case, add transport_reset_sgl_orig() usage within

[PATCH-v2 01/12] scsi: Add CDB definition for COMPARE_AND_WRITE

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Reviewed-by: Christoph Hellwig Cc: Hannes Reinecke Cc: Martin Petersen Cc: Chris Mason Cc: James Bottomley Cc: Nicholas Bellinger Signed-off-by: Nicholas Bellinger --- include/scsi/scsi.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH-v2 02/12] target: Add return for se_cmd->transport_complete_callback

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds a sense_reason_t return to ->transport_complete_callback(), and updates target_complete_ok_work() to invoke the call if necessary to transport_send_check_condition_and_sense() during the failure case. Also update xdreadwrite_callback() to use this return

[PATCH-v2 03/12] target: Add TCM_MISCOMPARE_VERIFY sense handling

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds TCM_MISCOMPARE_VERIFY (ASC=0x1d, ASCQ=0x00) sense handling to transport_send_check_condition_and_sense(), which is required for a COMPARE_AND_WRITE comparision failure. Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Martin Petersen Cc: Chris Mason Cc:

[PATCH-v2 05/12] target: Convert se_cmd->t_bidi_data_sg checks to use SCF_BIDI

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Stop keying off se_cmd->t_bidi_data_sg within transport_complete_qf() + target_complete_ok_work(), and just use SCF_BIDI instead. Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Martin Petersen Cc: Chris Mason Cc: James Bottomley Cc: Nicholas Bellinger

[PATCH-v2 06/12] target: Add memory allocation for bidirectional commands

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This adds transport_generic_get_mem_bidi() to perform scatterlist allocation for bidirectional commands. Also, update transport_generic_new_cmd() to call this new function when SCF_BIDI has been set. v2 Changes: - Use SCF_COMPARE_AND_WRITE instead of CDB based check

[PATCH-v2 09/12] target: Add MAXIMUM COMPARE AND WRITE LENGTH in Block Limits VPD

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds the MAXIMUM COMPARE AND WRITE LENGTH bit, currently hardcoded to a single logical block (NoLB=1) within the Block Limits VPD in spc_emulate_evpd_b0(). Also add emulate_caw device attribute in configfs (enabled by default) to allow the exposure of this

RE: [PATCH] usb: xhci-plat: Enable USB 2.0 hardware LPM support for platform xHCs

2013-08-21 Thread Paul Zimmerman
> From: Julius Werner > Sent: Wednesday, August 21, 2013 9:22 PM > > > You need the USB 2.0 spec errata from 2011-11 that describes the changes > > made for BESL as well. It's in the USB2-LPM-Errata-final.pdf and > > USB2_LinkPowerMangement_ECN[final].pdf files in this zip file: > > > >

[PATCH-v2 12/12] target: Release COMPARE_AND_WRITE mutex in generic failure path

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds a extra check for SCF_COMPARE_AND_WRITE within transport_generic_request_failure() to invoke the callback for compare_and_write_callback() or compare_and_write_done(), in order to release se_dev->caw_mutex from the generic failure path. It also adds to

[PATCH-v2 08/12] target: Make __target_execute_cmd() available as extern

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Required by COMPARE_AND_WRITE for write instance user-data submission, in order to bypass target_execute_cmd() checks. Reported-by: Christoph Hellwig Cc: Roland Dreier Cc: Nicholas Bellinger Signed-off-by: Nicholas Bellinger ---

[PATCH-v2 10/12] target: Add support for COMPARE_AND_WRITE emulation

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds support for COMPARE_AND_WRITE emulation on a per block basis. This logic is used as an atomic test and set primative currently used by VMWare ESX VAAI for performing array side locking of individual VMFS extent ownership. This includes the

[PATCH-v2 04/12] target: Allow sbc_ops->execute_rw() to accept SGLs + data_direction

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger COMPARE_AND_WRITE expects to be able to send down a DMA_FROM_DEVICE to obtain the necessary READ payload for comparision against the first half of the WRITE payload containing the verify user data. Currently virtual backends expect to internally reference SGLs, SGL

[PATCH-v2 11/12] target: Add compare_and_write_post() completion callback fall through

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch changes target_complete_ok_work() to fall through after calling the se_cmd->transport_complete_callback() -> compare_and_write_post() callback, by keying off the existance of SCF_COMPARE_AND_WRITE_POST. This is necessary because once

[PATCH-v2 00/12] target: Add support for COMPARE_AND_WRITE (VAAI) emulation

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi folks, This series -v2 adds support to target-core for generic COMPARE_AND_WRITE emulation as defined by SBC-3 using virtual (IBLOCK, FILEIO, RAMDISK) backends. COMPARE_AND_WRITE is a VMWare ESX VAAI primitive that is currently used by VMFS to perform array side

linux-next: manual merge of the workqueues tree with the trivial tree

2013-08-21 Thread Stephen Rothwell
Hi Tejun, Today's linux-next merge of the workqueues tree got a conflict in kernel/workqueue.c between commit d185af300fe4 ("workqueue: fix some scripts/kernel-doc warnings") from the trivial tree and commit 2d498db9814c ("workqueue: Fix manage_workers() RETURNS description") from the workqueues

Re: [PATCHv4 0/5] ceph: persistent caching with fscache

2013-08-21 Thread Sage Weil
Hi Milosz, I've pulled this into the ceph testing branch to make sure it holds up in qa. David, are the fscache patches here ready for the next merge window? Do you have a preference for whose tree they go through? Thanks! sage On Wed, 21 Aug 2013, Milosz Tanski wrote: > This an updated

Re: [Patch net-next v3 9/9] selinux: use generic union inet_addr

2013-08-21 Thread Cong Wang
On Tue, 2013-08-20 at 07:28 -0700, Casey Schaufler wrote: > > I do use and enjoy all of these implementations! Thank you > for the fine implementations. In the end, if you're maintaining > the code it's your call. I question change that does not have > an obvious purpose because statistically

Re: [PATCH] sysfs: add sysfs_create/remove_groups()

2013-08-21 Thread Anthony Foiani
Greg Kroah-Hartman writes: > + * sysfs_create_groups - given a directory kobject, create a bunch of > attribute groups > + * @kobj:The kobject to create the group on > + * @groups: The attribute groups to create, NULL terminated > + * > + * This function creates a bunch of attribute

Re: [PATCH 1/8] um: Create defconfigs for i386 and x86_64

2013-08-21 Thread Stephen Rothwell
Hi Richard, On Wed, 21 Aug 2013 10:19:25 +0200 Richard Weinberger wrote: > > Instead of having one defconfig for both i386 and x86_64 > we have now two. > This is the first step to get rid of SUBARCH. > > This patch is based on: https://lkml.org/lkml/2013/7/4/396 > > Cc: Ramkumar Ramachandra

Re: [PATCH 00/14] cpufreq: create & use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
On 22 August 2013 04:50, Rafael J. Wysocki wrote: > OK, so the plan for merging this will be that we'll put 1 into linux-next > and add 2 to it after a few days etc. to give people a chance to test one > set of changes before going to the next one. > >> 1: cpufreq: Introduce

Obtenha ajuda financeira

2013-08-21 Thread Manuel J.F. Silva
Bom dia, Obtenha ajuda financeira que varia de 10.000,00 euros para 25.000.000,00 euros, a uma taxa de juros abaixo de 2% a tombar. Nós damos a empréstimos a particulares e empresas, mesmo que tenham sido incluídos na lista negra ou ter uma má classificação de crédito. Para

Re: [RFC V2 PATCH 4/6] cpuidle/ppc: Add longnap state to the idle states on powernv

2013-08-21 Thread Benjamin Herrenschmidt
On Wed, 2013-08-14 at 17:26 +0530, Preeti U Murthy wrote: > This patch hooks into the existing broadcast framework along with the support > that this patchset introduces for ppc, and the cpuidle driver backend > for powernv(posted out by Deepthi Dharwar:https://lkml.org/lkml/2013/7/23/128) > to

Re: [PATCH] usb: xhci-plat: Enable USB 2.0 hardware LPM support for platform xHCs

2013-08-21 Thread Julius Werner
> You need the USB 2.0 spec errata from 2011-11 that describes the changes > made for BESL as well. It's in the USB2-LPM-Errata-final.pdf and > USB2_LinkPowerMangement_ECN[final].pdf files in this zip file: > > http://www.usb.org/developers/docs/usb_20_070113.zip > > I agree though, it's all a

Re: [PATCH v3 0/5] clk: dt: bindings for mux, divider & gate clocks

2013-08-21 Thread Mike Turquette
Quoting Stephen Boyd (2013-07-18 14:04:44) > On 06/20/13 23:14, Mike Turquette wrote: > > This series introduces binding definitions for common register-mapped > > clock multiplexer, divider and gate IP blocks along with the > > corresponding setup functions for matching DT data. The bindings are

Re: [RFC PATCH next]module: Fix mod->mkobj.kobj potentially freed too early

2013-08-21 Thread Greg KH
On Thu, Aug 22, 2013 at 10:34:06AM +0800, Li Zhong wrote: > On Wed, 2013-08-21 at 09:18 -0700, Greg KH wrote: > > On Wed, Aug 21, 2013 at 05:49:58PM +0800, Li Zhong wrote: > > > DEBUG_KOBJECT_RELEASE helps to find the issue attached below. > > > > > > After some investigation, it seems the reason

Re: [PATCH] kernel: user_namespace: always set the return parameter 'new_cred' when call unshare_userns() successfully.

2013-08-21 Thread Chen Gang
On 08/21/2013 07:57 PM, Oleg Nesterov wrote: > On 08/21, Chen Gang wrote: >> >> On 08/20/2013 10:37 PM, Oleg Nesterov wrote: >>> On 08/20, Serge Hallyn wrote: But the only existing caller (sys_unshare) does in fact initialize it to NULL. So while this patch does no harm, is it

Re: [BUG REPORT]kernel panic with kmemcheck config

2013-08-21 Thread Libin
On 2013/8/21 12:46, Dave Hansen wrote: > On 08/20/2013 07:45 PM, Libin wrote: >> [3.158023] [ cut here ] >> [3.162626] WARNING: CPU: 0 PID: 1 at >> arch/x86/mm/kmemcheck/kmemcheck.c:634 kmemcheck_fault+0xb1/0xc0() > ... >> [3.314877] [] ?

Re: [PATCH] net: irda: pxaficp_ir: use platform_set_drvdata()

2013-08-21 Thread David Miller
From: Libo Chen Date: Wed, 21 Aug 2013 18:15:11 +0800 > Use the wrapper functions for getting and setting the driver data using > platform_device instead of using deva_set_drvdata() with >dev, > so we can directly pass a struct platform_device. > > Signed-off-by: Libo Chen Applied. -- To

Re: [PATCH] net: phy: mdio-octeon: use platform_set_drvdata()

2013-08-21 Thread David Miller
From: Libo Chen Date: Wed, 21 Aug 2013 18:15:15 +0800 > Use the wrapper functions for getting and setting the driver data using > platform_device instead of using dev_set_drvdata() with >dev, > so we can directly pass a struct platform_device. > > Signed-off-by: Libo Chen Applied. -- To

Re: [PATCH 1/2] hso: Earlier catch of error condition

2013-08-21 Thread David Miller
From: Greg KH Date: Wed, 21 Aug 2013 09:25:07 -0700 > On Wed, Aug 21, 2013 at 01:43:07AM -0700, Daniel Gimpelevich wrote: >> There is no need to get an interface specification if we know it's the >> wrong one. >> >> Signed-off-by: Daniel Gimpelevich > > Acked-by: Greg Kroah-Hartman

Re: [PATCH 2/2] hso: Fix stack corruption on some architectures

2013-08-21 Thread David Miller
From: Greg KH Date: Wed, 21 Aug 2013 09:24:47 -0700 > On Wed, Aug 21, 2013 at 01:43:19AM -0700, Daniel Gimpelevich wrote: >> As Sergei Shtylyov explained in the #mipslinux IRC channel: >> [Mon 2013-08-19 12:28:21 PM PDT] guys, are you sure it's not "DMA >> off stack" case? >> [Mon 2013-08-19

Re: [PATCH 2/2] pinctrl: core: Add proper mutex lock in pinctrl_request_gpio

2013-08-21 Thread Axel Lin
2013/8/22 Linus Walleij : > On Mon, Aug 19, 2013 at 4:07 AM, Axel Lin wrote: > >> This one is missed in commit 42fed7ba "pinctrl: move subsystem mutex to >> pinctrl_dev struct". > > I think this was never there. I think it was protected by the global pinctrl_mutex in v3.9, you can check the

Re: [PATCH 0/8] x86, acpi: Move acpi_initrd_override() earlier.

2013-08-21 Thread Tejun Heo
Hello, On Wed, Aug 21, 2013 at 04:36:35PM -0600, Toshi Kani wrote: > I agree that ACPI is rather complicated stuff. But in my experience, > the majority complication comes from ACPI namespace and methods, not > from ACPI tables. Do you really think ACPI table init is that risky? I > consider

RE: [PATCH] reboot: perform warm/cold reset correctly for CF9 type

2013-08-21 Thread Li, Fei
> Subject: RE: [PATCH] reboot: perform warm/cold reset correctly for CF9 type > > The thing is that the existing "warm" and "cold" means something different, I > believe (skip post vs do post.) It is possible it just works, but it would > be good to > know which platforms or works on. > >

Re: [RFC V2 PATCH 3/6] cpuidle/ppc: Add timer offload framework to support deep idle states

2013-08-21 Thread Benjamin Herrenschmidt
On Wed, 2013-08-14 at 17:26 +0530, Preeti U Murthy wrote: > static irqreturn_t timer_action(int irq, void *data) > { > - timer_interrupt(); > + decrementer_timer_interrupt(); > return IRQ_HANDLED; > } I don't completely understand what you are doing here, but ... > @@ -223,7

Re: unused swap offset / bad page map.

2013-08-21 Thread Hillf Danton
On Thu, Aug 22, 2013 at 4:49 AM, Dave Jones wrote: > > didn't hit the bug_on, but got a bunch of > > [ 424.077993] swap_free: Unused swap offset entry 000187d5 > [ 439.377194] swap_free: Unused swap offset entry 000187e7 > [ 441.998411] swap_free: Unused swap offset entry 000187ee > [

Re: [RFC V2 PATCH 2/6] powerpc: Implement broadcast timer interrupt as an IPI message

2013-08-21 Thread Benjamin Herrenschmidt
On Wed, 2013-08-14 at 17:26 +0530, Preeti U Murthy wrote: > -static irqreturn_t unused_action(int irq, void *data) > +static irqreturn_t timer_action(int irq, void *data) > { > - /* This slot is unused and hence available for use, if needed > */ > + timer_interrupt(); > return

Re: [PATCH linux-next] ipv6: fix missing braces in ip6_tnl_add_linklocal

2013-08-21 Thread David Miller
I already reverted the change in question. -- 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-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v3] xHCI: Fixing xhci_readl definition and function call

2013-08-21 Thread Kumar Gaurav
This patch redefine function xhci_readl.xhci_readl function doesn't use xhci_hcd argument. Hence there is no need of keeping it in the function arguments. Redefining this function breaks other functions which calls this function. This phatch also correct those calls in xhci driver.

Re: [PATCH -next] mm/page_alloc.c: remove duplicated include from page_alloc.c

2013-08-21 Thread Naoya Horiguchi
On Thu, Aug 22, 2013 at 10:47:27AM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Remove duplicated include. > > Signed-off-by: Wei Yongjun > --- > mm/page_alloc.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index efb2ffa..4751901 100644 >

Re: [PATCH] kernel/rcutree.c: deem to be lazy if there are no callbacks.

2013-08-21 Thread Chen Gang
On 08/21/2013 10:23 PM, Paul E. McKenney wrote: > On Wed, Aug 21, 2013 at 01:59:29PM +0800, Chen Gang wrote: >> >> If we still doubt about it, but can not find a suitable way to fix it >> (neither of us are familiar with it). > > Well, you have that halfway correct, which some might well argue is

RE: [PATCH 4/4] Documentation: Add device tree bindings for Freescale FTM PWM

2013-08-21 Thread Xiubo Li-B47053
Hi Tomasz, Thanks for your comments. > > +- #pwm-cells: Should be 3. Number of cells being used to specify PWM > > property. > > + First cell specifies the per-chip channel index of the PWM > > to use, the > > + second cell is the period in nanoseconds and bit 0 in > > the third cell is > > +

Re: [PATCH RESEND net-next V2 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-08-21 Thread Greg KH
On Thu, Aug 22, 2013 at 04:30:40AM +0200, Enrico Mioso wrote: > This driver supports devices using the NCM protocol as an encapsulation layer > for other protocols, like the E3131 Huawei 3G modem. This driver was heavily > inspired by the qmi_wwan approach & code model. Line-wrap your changelog

WARNING: CPU: 1 PID: 0 at kernel/time/tick-broadcast.c:667

2013-08-21 Thread poma
The miracle is that anyone ever manages to read this from a bunch of other posts. Waking up from system sleep state S3: PM: Syncing filesystems ... done. PM: Preparing system for mem sleep PM: Entering mem sleep PM: suspend of devices complete after 2720.791 msecs PM: suspend devices took

Re: [PATCH] kernel/delayacct.c: check NULL for member variable 'delays' in all extern functions.

2013-08-21 Thread Chen Gang
On 08/22/2013 06:10 AM, Andrew Morton wrote: > On Tue, 20 Aug 2013 10:40:03 +0800 Chen Gang wrote: > >> The member variable 'delays' may be NULL, so need check NULL before use >> it for all extern functions, just like __delayacct_tsk_init() and >> __delayacct_add_tsk() have already done. > > If

Re: [dm-devel] [PATCH v2] dm ioctl: allow change device target type to error

2013-08-21 Thread Joe Jin
Mikulas, thanks for you suggestions, I create new patch, can you please help review? Subject: dm: add map_rq define for error commit a5664da "dm ioctl: make bio or request based device type immutable" prevented "dmsetup wape_table" change the target type to "error" for there is not map_rq for

[PATCH -next] mm/page_alloc.c: remove duplicated include from page_alloc.c

2013-08-21 Thread Wei Yongjun
From: Wei Yongjun Remove duplicated include. Signed-off-by: Wei Yongjun --- mm/page_alloc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index efb2ffa..4751901 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -60,7 +60,6 @@ #include #include

Re: [PATCH v2] dm ioctl: allow change device target type to error

2013-08-21 Thread Joe Jin
On 08/21/13 23:06, Mike Snitzer wrote: > On Wed, Aug 21 2013 at 10:48am -0400, > Mikulas Patocka wrote: > >> >> >> On Wed, 21 Aug 2013, Joe Jin wrote: >> >>> commit a5664da "dm ioctl: make bio or request based device type immutable" >>> prevented "dmsetup wape_table" change the target type to

[PATCH -next] ASoC: mmp-pcm: remove duplicated include from mmp-pcm.c

2013-08-21 Thread Wei Yongjun
From: Wei Yongjun Remove duplicated include. Signed-off-by: Wei Yongjun --- sound/soc/pxa/mmp-pcm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/pxa/mmp-pcm.c b/sound/soc/pxa/mmp-pcm.c index 9a97843..8235e23 100644 --- a/sound/soc/pxa/mmp-pcm.c +++ b/sound/soc/pxa/mmp-pcm.c @@

Re: [RFC PATCH next]module: Fix mod->mkobj.kobj potentially freed too early

2013-08-21 Thread Li Zhong
On Wed, 2013-08-21 at 09:18 -0700, Greg KH wrote: > On Wed, Aug 21, 2013 at 05:49:58PM +0800, Li Zhong wrote: > > DEBUG_KOBJECT_RELEASE helps to find the issue attached below. > > > > After some investigation, it seems the reason is: > > The mod->mkobj.kobj(a01600d0 below) is freed

[PATCH RESEND net-next V2 1/3] net: cdc_ncm: Export cdc_ncm_{tx,rx}_fixup functions for re-use

2013-08-21 Thread Enrico Mioso
Some drivers implementing NCM-like protocols, may re-use those functions, as is the case in the huawei_cdc_ncm driver. Export them via EXPORT_SYMBOL_GPL, in accordance with how other functions have been exported. Signed-off-by: Enrico Mioso --- drivers/net/usb/cdc_ncm.c |6 --

[PATCH RESEND net-next V2 0/3] huawei_cdc_ncm introduction

2013-08-21 Thread Enrico Mioso
These patches are all related to the new huawei_cdc_ncm driver, supporting devices that use the NCM protocol as a transport layer for other protocols. this is the case of the Huawei E3131 3G modem. Thanks should go to bjorn and others who helped me with patience. Enrico Mioso (3): net:

[PATCH RESEND net-next V2 3/3] net: cdc_ncm: remove non-standard NCM device IDs

2013-08-21 Thread Enrico Mioso
Remove device IDs of NCM-like (but not NCM-conformant) devices, that are handled by the huawwei_cdc_ncm driver now. Signed-off-by: Enrico Mioso --- drivers/net/usb/cdc_ncm.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c

[PATCH RESEND net-next V2 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-08-21 Thread Enrico Mioso
This driver supports devices using the NCM protocol as an encapsulation layer for other protocols, like the E3131 Huawei 3G modem. This driver was heavily inspired by the qmi_wwan approach & code model. Suggested-by: Bjorn Mork Signed-off-by: Enrico Mioso --- drivers/net/usb/Kconfig | 11

Re: [PATCH] scsi: fix the build warning

2013-08-21 Thread Joe Perches
On Thu, 2013-08-22 at 09:59 +0800, Zhi Yong Wu wrote: > On Thu, Aug 22, 2013 at 9:55 AM, Joe Perches wrote: > > On Wed, 2013-08-21 at 21:25 -0400, Martin K. Petersen wrote: > >> > "Joe" == Joe Perches writes: > >> > >> Joe> I don't get this build warning in the first place and I think the >

Re: [PATCH 0/3] kprobes: add new dma insn slot cache for s390

2013-08-21 Thread Masami Hiramatsu
Hi Heiko, (2013/08/21 21:01), Heiko Carstens wrote: > The current kpropes insn caches allocate memory areas for insn slots with > module_alloc(). The assumption is that the kernel image and module area > are both within the same +/- 2GB memory area. > This however is not true for s390 where the

[PATCH] w1: mxc_w1: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
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. Signed-off-by: Jingoo Han --- drivers/w1/masters/mxc_w1.c |2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH] pps: clients: pps-gpio: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
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. Signed-off-by: Jingoo Han --- drivers/pps/clients/pps-gpio.c |1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 3/3] pcmcia: sa1100: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
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. Signed-off-by: Jingoo Han --- drivers/pcmcia/sa1100_generic.c |2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 2/3] pcmcia: pxa2xx: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
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. Signed-off-by: Jingoo Han --- drivers/pcmcia/pxa2xx_base.c |2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 1/3] pcmcia: bfin_cf: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
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. Signed-off-by: Jingoo Han --- drivers/pcmcia/bfin_cf_pcmcia.c |2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH] memstick: host: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
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. Signed-off-by: Jingoo Han --- drivers/memstick/host/rtsx_pci_ms.c |2 -- 1 file changed, 2 deletions(-) diff --git

[GIT PULL] Devicetree fix for 3.11

2013-08-21 Thread Rob Herring
Hi Linus, Please pull this single fix for a missing memory initialization in DT unflattening code. Rob The following changes since commit d4e4ab86bcba5a72779c43dc1459f71fea3d89c8: Linux 3.11-rc5 (2013-08-11 18:04:20 -0700) are available in the git repository at:

[PATCH] mailbox: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
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. Signed-off-by: Jingoo Han --- drivers/mailbox/mailbox-omap2.c |1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH] usb: xhci-plat: Enable USB 2.0 hardware LPM support for platform xHCs

2013-08-21 Thread Greg Kroah-Hartman
On Wed, Aug 21, 2013 at 05:45:14PM -0700, Sarah Sharp wrote: > On Wed, Aug 21, 2013 at 02:43:55PM -0700, Julius Werner wrote: > > > Thanks for the patch! Did you test with a USB analyzer to see if the > > > device was actually going into USB 2.0 Link PM? I'd like to confirm we > > > really

[PATCH] uio: uio_pruss: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
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. Signed-off-by: Jingoo Han --- drivers/uio/uio_pruss.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/uio/uio_pruss.c

Re: [PATCH] iommu: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Libo Chen
On 2013/8/22 9:53, 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. > > Signed-off-by: Jingoo Han > --- It looks good. Acked-by: Libo Chen >

  1   2   3   4   5   6   7   8   9   10   >