Re: [BUGFIX 2/9] ACPIPHP: fix device destroying order issue when handling dock notification

2013-06-14 Thread Rafael J. Wysocki
On Friday, June 14, 2013 09:53:57 PM Jiang Liu wrote: > On 06/14/2013 03:59 AM, Rafael J. Wysocki wrote: > > On Friday, June 14, 2013 12:32:25 AM Jiang Liu wrote: > >> Current ACPI glue logic expects that physical devices are destroyed > >> before destroying companion ACPI devices, otherwise it

Re: [PATCH 01/22] mfd/ti_am335x_tscadc: remove regmap

2013-06-14 Thread Mark Brown
On Tue, Jun 11, 2013 at 04:34:53PM +0200, Sebastian Andrzej Siewior wrote: > >> Therefore this patch removes regmap part of the driver. > > NAK. Using regmap is better than open coding your register accesses, and > > the children not using this API is not a reason for the MFD driver to do > >

Re: [PATCH 2/2] scsi: ufs: Set fDeviceInit flag to initiate device initialization

2013-06-14 Thread Santosh Y
On Thu, Jun 13, 2013 at 10:06 AM, Sujit Reddy Thumma wrote: > On 6/12/2013 11:04 AM, Santosh Y wrote: >>> >>> >>> /** >>> + * ufshcd_query_request() - API for issuing query request to the >>> device. >>> + * @hba: ufs driver context >>> + * @query: params for query request >>> + *

Re: [BUGFIX 2/9] ACPIPHP: fix device destroying order issue when handling dock notification

2013-06-14 Thread Jiang Liu
On 06/14/2013 03:59 AM, Rafael J. Wysocki wrote: > On Friday, June 14, 2013 12:32:25 AM Jiang Liu wrote: >> Current ACPI glue logic expects that physical devices are destroyed >> before destroying companion ACPI devices, otherwise it will break the >> ACPI unbind logic and cause following warning

[PATCH] kconfig/lxdialog: Add definitions for mininimum resize values

2013-06-14 Thread Sedat Dilek
Commit c8dc68ad0fbd ("kconfig/lxdialog: support resize") added support for resizing, but forgot to collect all hardcoded values at one single place. Signed-off-by: Sedat Dilek --- scripts/kconfig/lxdialog/checklist.c | 4 ++-- scripts/kconfig/lxdialog/dialog.h| 13 +

Re: ext4 extent status tree LRU locking

2013-06-14 Thread Zheng Liu
On Tue, Jun 11, 2013 at 04:22:16PM -0700, Dave Hansen wrote: > I've got a test case which I intended to use to stress the VM a bit. It > fills memory up with page cache a couple of times. It essentially runs > 30 or so cp's in parallel. > > 98% of my CPU is system time, and 96% of _that_ is

[PATCH] USB: ehci-omap: Tweak PHY initialization sequence

2013-06-14 Thread Roger Quadros
For PHY mode, the PHYs must be brought out of reset before the EHCI controller is started. This patch fixes the issue where USB devices are not found on Beagleboard/Beagle-xm if USB has been started previously by the bootloader. (e.g. by "usb start" command in u-boot) Tested on Beagleboard,

Re: [PATCH 4/6] watchdog: Boot-disable by default on full dynticks

2013-06-14 Thread Don Zickus
On Thu, Jun 13, 2013 at 11:48:11AM -0400, Steven Rostedt wrote: > On Thu, 2013-06-13 at 11:20 -0400, Don Zickus wrote: > > > I don't know enough about how full dynticks work to even present a > > solution. But currently I was working with the Red Hat performance team > > to enhance perf to help

Re: [PATCH 1/2] scsi: ufs: Add support for sending NOP OUT UPIU

2013-06-14 Thread Santosh Y
On Fri, Jun 14, 2013 at 1:10 PM, Sujit Reddy Thumma wrote: > On 6/13/2013 10:03 AM, Sujit Reddy Thumma wrote: >>> >>> static struct scsi_host_template ufshcd_driver_template = { >>> @@ -1771,8 +2064,8 @@ int ufshcd_init(struct device *dev, struct >>> ufs_hba **hba_handle, >>> /*

[PATCH v2 sockperf] sockperf: add SO_LL socketop support

2013-06-14 Thread Eliezer Tamir
Add lls socket option support. use --lls (value in usecs) to override global setting. Right now we always get and print the value of the option before we set, to show that the option works properly. This should be removed in an official release. --- src/Defs.h |3 +++ src/SockPerf.cpp

[PATCH v5 net-next 3/4] net: remove NET_LL_RX_POLL config menue

2013-06-14 Thread Eliezer Tamir
Remove NET_LL_RX_POLL from the config menu. Change default to y. Busy polling still needs to be enabled at run time. Signed-off-by: Eliezer Tamir --- net/Kconfig | 11 ++- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git a/net/Kconfig b/net/Kconfig index e591668..51da839

[PATCH v5 net-next 4/4] net: add socket option for low latency polling

2013-06-14 Thread Eliezer Tamir
adds a socket option for low latency polling. This allows overriding the global sysctl value with a per-socket one. Unexport sysctl_net_ll_poll since for now it's not needed in modules. Signed-off-by: Eliezer Tamir --- arch/alpha/include/uapi/asm/socket.h |2 ++

Re: [PATCH] scripts/coccinelle: check for field address argument to kfree

2013-06-14 Thread Michal Marek
On Sat, Jun 08, 2013 at 06:21:42PM +0200, Julia Lawall wrote: > From: Julia Lawall > > The argument to kfree should not be the address of a structure field. > > Signed-off-by: Julia Lawall Applied to kbuild.git#misc. Thanks, Michal -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 1/2] Coccinelle: Make 'report' the default mode

2013-06-14 Thread Michal Marek
On Thu, Jun 06, 2013 at 11:39:52PM +0200, Nicolas Palix wrote: > It appears that the 'report' mode is the one always > provided by the semantic patches included in the kernel. > It is thus more natural to select it by default. > > The 'chain' mode is however kept and the 'patch' mode > is still

[PATCH v5 net-next 0/4] net: low latency sockets follow ups

2013-06-14 Thread Eliezer Tamir
David, Here are three clean up patches, plus one that adds a socket option for LLS. Patch 1 converts sysctl_net_ll_poll into an unsigned int Patch 2 converts low latency sockets to sched_clock. Patch 3 removes the config menu for NET_LL_RX_POLL and defaults to y. Patch 4 adds an SO_LL socket

[PATCH v5 net-next 2/4] net: convert low latency sockets to sched_clock()

2013-06-14 Thread Eliezer Tamir
Use sched_clock() instead of get_cycles(). We can use sched_clock() because we don't care much about accuracy. Remove the dependency on X86_TSC Signed-off-by: Eliezer Tamir --- include/net/ll_poll.h | 33 + net/Kconfig |1 - 2 files changed, 17

[PATCH v5 net-next 1/4] net: change sysctl_net_ll_poll into an unsigned int

2013-06-14 Thread Eliezer Tamir
There is no reason for sysctl_net_ll_poll to be an unsigned long. Change it into an unsigned int. Fix the proc handler. Signed-off-by: Eliezer Tamir --- include/net/ll_poll.h |5 +++-- net/core/sysctl_net_core.c |4 ++-- net/socket.c |2 +- 3 files changed, 6

Re: [PATCH] scripts: Coccinelle script for pci_free_consistent()

2013-06-14 Thread Michal Marek
On 8.5.2013 23:03, strna...@fel.cvut.cz wrote: > Created coccinelle script for reporting missing pci_free_consistent() calls. > > Signed-off-by: Petr Strnad Julia, Nicolas, any comments about this patch? Thanks, Michal > --- > diff --git a/scripts/coccinelle/free/pci_free_consistent.cocci >

Re: [PATCH 1/1] move exit_task_namespaces() outside of exit_notify()

2013-06-14 Thread Oleg Nesterov
On 06/13, Andrew Vagin wrote: > > On Sat, Apr 13, 2013 at 05:55:21PM +0200, Oleg Nesterov wrote: > > exit_notify() does exit_task_namespaces() after > > forget_original_parent(). This was needed to ensure that ->nsproxy > > can't be cleared prematurely, an exiting child we are going to > >

Re: [PATCH] tracing/uprobes: Support ftrace_event_file base multibuffer

2013-06-14 Thread Masami Hiramatsu
(2013/06/14 10:44), zhangwei(Jovi) wrote: > Support multi-buffer on uprobe-based dynamic events by > using ftrace_event_file. > > The code change is based on kprobe-based dynamic events > multibuffer support work commited by Masami(commit 41a7dd420c) I'm not so sure that rcu_dereference_raw()

Re: [PATCH 03/31] mips/kvm: Fix 32-bitisms in kvm_locore.S

2013-06-14 Thread Sergei Shtylyov
Hello. On 14-06-2013 17:09, Ralf Baechle wrote: diff --git a/arch/mips/kvm/kvm_locore.S b/arch/mips/kvm/kvm_locore.S index dca2aa6..e86fa2a 100644 --- a/arch/mips/kvm/kvm_locore.S +++ b/arch/mips/kvm/kvm_locore.S @@ -310,7 +310,7 @@ NESTED (MIPSX(GuestException), CALLFRAME_SIZ, ra)

[PATCH] ARM: ux500: add restart support via prcmu

2013-06-14 Thread Fabio Baltieri
Add necessary code to restart ux500 based machines using prcmu_system_reset(). Signed-off-by: Fabio Baltieri --- Hi Linus, this is something I had in my tree for some time. This adds basic soft-reboot support for all ux500 machines using prcmu (the actual reboot code was already there) and

Re: [PATCH 09/31] mips/kvm: Factor trap-and-emulate support into a pluggable implementation.

2013-06-14 Thread Ralf Baechle
Acked-by: Ralf Baechle Ralf -- 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/

Re: [PATCH 08/31] mips/kvm: Fix code formatting in arch/mips/kvm/kvm_locore.S

2013-06-14 Thread Ralf Baechle
Ah, here's you're taking care of my eariler complaint about the formatting of kvm_locore.S. I'd have done things in a different order to avoid the inconsistent formatting - even if that was only a temporary state. But anyway, Acked-by: Ralf Baechle Ralf -- To unsubscribe from this list:

Re: [PATCH 11/11] cgroup: use percpu refcnt for cgroup_subsys_states

2013-06-14 Thread Michal Hocko
On Wed 12-06-13 21:04:58, Tejun Heo wrote: > A css (cgroup_subsys_state) is how each cgroup is represented to a > controller. As such, it can be used in hot paths across the various > subsystems different controllers are associated with. > > One of the common operations is reference counting,

[PATCH] extcon: palmas: remove assigning "edev.name" to palmas

2013-06-14 Thread Kishon Vijay Abraham I
of_extcon_get_extcon_dev() uses dev_name for getting the reference to the extcon device. If the extcon driver assigns a different name other than dev_name, of_extcon_get_extcon_dev() wouldn't be able to find the reference to the extcon device. Since the client drivers of extcon-palmas would be

Re: [PATCH 07/31] mips/kvm: Rename VCPU_registername to KVM_VCPU_ARCH_registername

2013-06-14 Thread Ralf Baechle
Acked-by: Ralf Baechle Ralf -- 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] slub: Avoid direct compaction if possible

2013-06-14 Thread Roman Gushchin
Slub tries to use contiguous pages to fasten allocations and to minimize management overhead. If necessary, it can easily fall back to the minimum order allocations. Slub tries to allocate contiguous pages even if memory is fragmented and there are no free contiguous pages. In this case it calls

Re: [PATCH 06/31] mips/kvm: Rename kvm_vcpu_arch.pc to kvm_vcpu_arch.epc

2013-06-14 Thread Ralf Baechle
Acked-by: Ralf Baechle Ralf -- 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/

Re: [PATCH 05/31] mips/kvm: Use generic cache flushing functions.

2013-06-14 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:09PM -0700, David Daney wrote: > From: David Daney > > We don't know if we have the r4k specific functions available, so use > universally available __flush_cache_all() instead. This takes longer > as it flushes both i-cache and d-cache, but is available for all

Re: [PATCH 04/31] mips/kvm: Add casts to avoid pointer width mismatch build failures.

2013-06-14 Thread Ralf Baechle
Cast are always a bit ugly, in particular the one double casts - but a necessary evil here. Acked-by: Ralf Baechle http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v4] usb: dwc3: use extcon fwrk to receive connect/disconnect

2013-06-14 Thread Kishon Vijay Abraham I
Modified dwc3-omap to receive connect and disconnect notification using extcon framework. Also did the necessary cleanups required after adapting to extcon framework. Signed-off-by: Kishon Vijay Abraham I Acked-by: Felipe Balbi --- This patch depends on

Re: [PATCH 01/31] MIPS: Move allocate_kscratch to cpu-probe.c and make it public.

2013-06-14 Thread Ralf Baechle
On Fri, Jun 14, 2013 at 01:41:18PM +0200, Ralf Baechle wrote: > Date: Fri, 14 Jun 2013 13:41:18 +0200 > From: Ralf Baechle > To: James Hogan > Cc: linux-m...@linux-mips.org, k...@vger.kernel.org, Sanjay Lal > , linux-kernel@vger.kernel.org, David Daney > > Subject: Re: [PATCH 01/31] MIPS:

Re: [PATCH] ARM: mmu: Add debug_ll_io_init() mappings to early mappings

2013-06-14 Thread Rob Herring
On 06/12/2013 12:21 PM, Stephen Boyd wrote: > On 06/11, Rob Herring wrote: >> On Tue, Jun 11, 2013 at 8:30 PM, Stephen Boyd wrote: >> >>> diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c >>> index e0d8565..04fe160 100644 >>> --- a/arch/arm/mm/mmu.c >>> +++ b/arch/arm/mm/mmu.c >>> @@ -938,8

Re: [PATCH 03/31] mips/kvm: Fix 32-bitisms in kvm_locore.S

2013-06-14 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:07PM -0700, David Daney wrote: > diff --git a/arch/mips/kvm/kvm_locore.S b/arch/mips/kvm/kvm_locore.S > index dca2aa6..e86fa2a 100644 > --- a/arch/mips/kvm/kvm_locore.S > +++ b/arch/mips/kvm/kvm_locore.S > @@ -310,7 +310,7 @@ NESTED (MIPSX(GuestException),

Re: [RFC PATCH v3 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-14 Thread Pawel Moll
On Thu, 2013-06-13 at 23:52 +0100, Olof Johansson wrote: > > + reg = <0 0x7FFF 0 0x1000>; > > #size-cells 2 on the parent bus? That's somewhat unusual. LPAE == 40 bit physical addresses == potential > 32 bit sizes (memory blocks > 4GB) Paweł -- To unsubscribe from this list: send the

Re: [PATCH 1/1] [PATCH v2] tcp: Fixed MD5 key lookups when adding/removing MD5.

2013-06-14 Thread Eric Dumazet
On Fri, 2013-06-14 at 23:30 +1200, Aydin Arik wrote: > MD5 key lookups on a given TCP socket were being performed > incorrectly. This fix alters parameter inputs to the MD5 > lookup function tcp_md5_do_lookup, which is called by functions > tcp_md5_do_add and tcp_md5_do_del. Specifically, the

Re: [PATCH 11/11] cgroup: use percpu refcnt for cgroup_subsys_states

2013-06-14 Thread Michal Hocko
On Wed 12-06-13 21:04:58, Tejun Heo wrote: [...] > +/** > + * cgroup_destroy_locked - the first stage of cgroup destruction > + * @cgrp: cgroup to be destroyed > + * > + * css's make use of percpu refcnts whose killing latency shouldn't be > + * exposed to userland and are RCU protected. Also,

Re: [PATCH v2] ARM: mmp: bring up pxa988 with device tree support

2013-06-14 Thread Arnd Bergmann
On Friday 14 June 2013 17:15:33 Chao Xie wrote: > On Mon, Jun 10, 2013 at 4:35 PM, Arnd Bergmann wrote: > > I guess that is a problem we have on other platforms as well, we should > > find a generic solution for that. It would be nice to reserve a page > > in "fixmap" and have common code map

Re: [PATCH V5 1/3] pci: Add PCIe driver for Samsung Exynos

2013-06-14 Thread Arnd Bergmann
On Friday 14 June 2013 17:18:46 Jingoo Han wrote: > On Thursday, June 13, 2013 11:14 PM, Arnd Bergmann wrote: > > On Thursday 13 June 2013 22:22:31 Jingoo Han wrote: > > > +struct pcie_port { > > > + struct device *dev; > > > + u8 controller; > > > + u8

BUG: unable to handle kernel NULL pointer dereference at 0000000000000040

2013-06-14 Thread nirinA raseliarison
hello there, i have this ethernet controler: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05) that uses the r8169 module. it works fine, but sometimes after a reboot and issueing: ifconfig eth0 192.168.1.1 up i got the message below. after

Re: Regression in RCU subsystem in latest mainline kernel

2013-06-14 Thread Rojhalat Ibrahim
On Friday 14 June 2013 05:28:00 Paul E. McKenney wrote: > On Fri, Jun 14, 2013 at 01:47:00PM +0200, Rojhalat Ibrahim wrote: > > Hi, > > > > the current mainline kernel from git reproducibly hangs on my Freescale > > PowerPC P5020DS development system. Most of the time the hang occurs > > during >

Re: [PATCH v3 1/3] cpufreq: ondemand: Change the calculation of target frequency

2013-06-14 Thread Rafael J. Wysocki
On Friday, June 14, 2013 02:44:01 PM Borislav Petkov wrote: > On Fri, Jun 14, 2013 at 02:46:38PM +0200, Rafael J. Wysocki wrote: > > OK, so here's a deal. After 3.10-rc1 goes out, I'll put this into > > linux-next > > Yeah, you mean 3.11-rc1 here... Sure, sorry for the confusion. > > for 3.12,

Re: [BUGFIX 2/9] ACPIPHP: fix device destroying order issue when handling dock notification

2013-06-14 Thread Rafael J. Wysocki
On Friday, June 14, 2013 06:30:58 PM Alexander E. Patrakov wrote: > 2013/6/14 Rafael J. Wysocki : > > > What about the appended patch (on top of [1/9], untested)? > > > > Rafael > > Sorry, I have lost the track of which patches, on top of 3.10-rc5, I > should include in my testing and which I

Re: [PATCH v3 1/3] cpufreq: ondemand: Change the calculation of target frequency

2013-06-14 Thread Borislav Petkov
On Fri, Jun 14, 2013 at 02:46:38PM +0200, Rafael J. Wysocki wrote: > OK, so here's a deal. After 3.10-rc1 goes out, I'll put this into > linux-next Yeah, you mean 3.11-rc1 here... > for 3.12, so that people have a few more weeks to complain. If they > don't, it'll go into 3.12. but yep, sounds

Re: [RESEND][PATCH] cpufreq: stats: Add 'load_table' sysfs file to show accumulated data of CPU

2013-06-14 Thread Rafael J. Wysocki
On Friday, June 14, 2013 09:41:13 AM Viresh Kumar wrote: > On 14 June 2013 07:41, Chanwoo Choi wrote: > > OK, I will reimplement load_table node by using debugfs instead of sysfs. > > @Rafael: Would it be move trans_table to debugfs?? I'm not sure who uses it now. If there are any user space

[PATCH] mm: Remove unused functions is_{normal_idx, normal, dma32, dma}

2013-06-14 Thread Zhang Yanfei
From: Zhang Yanfei These functions are nowhere used, so remove them. Signed-off-by: Zhang Yanfei --- include/linux/mmzone.h | 28 1 files changed, 0 insertions(+), 28 deletions(-) diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index

[GIT PULL] extcon for 3.11

2013-06-14 Thread Chanwoo Choi
Hi Greg, First of all, I'm so sorry about previous wrong pull-request. I will be careful and not to make same mistakes This is extcon-next pull request for 3.11 Please pull extcon with following updates. I combined the patch of small fix and new drivers becasue 3.10-rc version is large. Best

Re: [PATCH V5 1/3] pci: Add PCIe driver for Samsung Exynos

2013-06-14 Thread Arnd Bergmann
On Friday 14 June 2013 12:53:11 Thierry Reding wrote: > > I think the biggest missing piece is pci_common_exit(), the counterpart > of pci_common_init(), to cleanup a host bridge on ARM. I haven't looked > in detail at the other architectures, but I suspect there must be some > code to call when

Re: [PATCH v3 1/3] cpufreq: ondemand: Change the calculation of target frequency

2013-06-14 Thread Rafael J. Wysocki
On Friday, June 14, 2013 12:37:41 AM Borislav Petkov wrote: > On Fri, Jun 14, 2013 at 12:15:36AM +0200, Rafael J. Wysocki wrote: > > On Thursday, June 13, 2013 11:40:08 PM Borislav Petkov wrote: > > [ … ] > > > > Not bad. However, exec_test and fork_test are kinda unexpected with such > > > a

Re: [RFC PATCH] regulator: palmas: enable all modes for SMPS10

2013-06-14 Thread Laxman Dewangan
On Wednesday 12 June 2013 08:53 PM, g...@slimlogic.co.uk wrote: On 2013-06-12 15:51, Mark Brown wrote: On Wed, Jun 12, 2013 at 03:31:09PM +0100, g...@slimlogic.co.uk wrote: On 2013-06-12 15:14, Mark Brown wrote: Yes, that seems like the most obvious thing here as far as I can tell >from the

Re: [BUGFIX 2/9] ACPIPHP: fix device destroying order issue when handling dock notification

2013-06-14 Thread Alexander E. Patrakov
2013/6/14 Rafael J. Wysocki : > What about the appended patch (on top of [1/9], untested)? > > Rafael Sorry, I have lost the track of which patches, on top of 3.10-rc5, I should include in my testing and which I shouldn't. Could you please restore my understanding? I.e., please provide a full

Re: Regression in RCU subsystem in latest mainline kernel

2013-06-14 Thread Paul E. McKenney
On Fri, Jun 14, 2013 at 01:47:00PM +0200, Rojhalat Ibrahim wrote: > Hi, > > the current mainline kernel from git reproducibly hangs on my Freescale > PowerPC P5020DS development system. Most of the time the hang occurs during > boot (kernel just stops booting, system hangs), sometimes shortly

Re: [PATCH 4/6] watchdog: Boot-disable by default on full dynticks

2013-06-14 Thread Paul E. McKenney
On Fri, Jun 14, 2013 at 09:47:31AM +0530, anish singh wrote: > On Thu, Jun 13, 2013 at 10:46 PM, Steven Rostedt wrote: > > On Thu, 2013-06-13 at 21:51 +0530, anish singh wrote: > > > >> > The concept behind full dynamic ticks is very easy. When you set a given > >> > CPU(s) to dynamic tick, when

[PATCH 0/4] ACPI / PM: Cleanups and device power state selection rework

2013-06-14 Thread Rafael J. Wysocki
Hi All, The following series of patches cleans up the ACPI device PM core code and reworks the routine used for selecting power states to put devices into. [1/4] Rename a function whose name is the same as the name of a data type and make it static. [2/4] Replace ACPI_STATE_D3 with

[PATCH 2/4] ACPI / PM: Replace ACPI_STATE_D3 with ACPI_STATE_D3_COLD in device_pm.c

2013-06-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The two symbols ACPI_STATE_D3 and ACPI_STATE_D3_COLD actually represent the same number (4), but ACPI_STATE_D3 is slightly ambigugous, because it may not be clear that it really means D3cold and not D3hot at first sight. Remove that ambiguity from

[PATCH 4/4] ACPI / PM: Drop two functions that are not used any more

2013-06-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Two functions defined in device_pm.c, acpi_dev_pm_add_dependent() and acpi_dev_pm_remove_dependent(), have no callers and may be dropped, so drop them. Moreover, they are the only functions adding entries to and removing entries from the power_dependent list in struct

[PATCH 3/4] ACPI / PM: Rework and clean up acpi_dev_pm_get_state()

2013-06-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The acpi_dev_pm_get_state() function defined in device_pm.c is quite convoluted, which isn't really necessary, and it doesn't validate the values returned by the ACPI methods executed by it appropriately. To address these shortcomings modify it in the following way.

[PATCH 1/4] ACPI / PM: Rename function acpi_device_power_state() and make it static

2013-06-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There is a name clash between function acpi_device_power_state() defined in drivers/acpi/device_pm.c and structure data type acpi_device_power_state defined in include/acpi/acpi_bus.h, which may be resolved by renaming the function. Additionally, that funtion may be made

Re: [RFC PATCH v3 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-14 Thread Lorenzo Pieralisi
Hi Olof, thank you very much for having a look. On Thu, Jun 13, 2013 at 11:52:33PM +0100, Olof Johansson wrote: > Hi, > > Overall this driver looks like it just needs more cooking > time. It's... gritty. Complicated when it should be simple and > layered. Naming is nonobvious, and overall it's

Re: [BUGFIX 2/9] ACPIPHP: fix device destroying order issue when handling dock notification

2013-06-14 Thread Rafael J. Wysocki
On Thursday, June 13, 2013 09:59:44 PM Rafael J. Wysocki wrote: > On Friday, June 14, 2013 12:32:25 AM Jiang Liu wrote: > > Current ACPI glue logic expects that physical devices are destroyed > > before destroying companion ACPI devices, otherwise it will break the > > ACPI unbind logic and cause

Re: [RFC PATCH] mmc: Enable wakeup_sources for mmc core

2013-06-14 Thread Ulf Hansson
On 13 June 2013 19:56, Zoran Markovic wrote: > This is a reworked implementation of wakelocks for the MMC core from > Android kernel, originally authored by Colin Cross and San Mehat. > The patch makes sure that whenever a MMC device is inserted/removed, > the system stays awake until it's

Re: [PATCH v2 0/1] gpio driver for Intel Baytrail platforms

2013-06-14 Thread Mathias Nyman
On 06/13/2013 06:45 PM, Linus Walleij wrote: On Thu, Jun 13, 2013 at 5:06 PM, Mathias Nyman wrote: After looking at the pinctrl subsystem that Linus W. suggested I think pinctrl suits platforms that don't have firmware configuring the pins before the operating system is started, or when pins

Problems with ixgbe driver

2013-06-14 Thread Holger Kiehl
Hello, I have dual port 10Gb Intel network card on a 2 socket (Xeon X5690) with a total of 12 cores. Hyperthreading is enabled so there are 24 cores. The problem I have is that when other systems send large amount of data the network with the intel ixgbe driver gets very slow. Ping times go up

Regression in RCU subsystem in latest mainline kernel

2013-06-14 Thread Rojhalat Ibrahim
Hi, the current mainline kernel from git reproducibly hangs on my Freescale PowerPC P5020DS development system. Most of the time the hang occurs during boot (kernel just stops booting, system hangs), sometimes shortly after booting (system hangs, no message). Very often booting stops at the

Re: [PATCH 01/31] MIPS: Move allocate_kscratch to cpu-probe.c and make it public.

2013-06-14 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:05PM -0700, David Daney wrote: > Date: Fri, 7 Jun 2013 16:03:05 -0700 > From: David Daney > To: linux-m...@linux-mips.org, r...@linux-mips.org, k...@vger.kernel.org, > Sanjay Lal > Cc: linux-kernel@vger.kernel.org, David Daney > Subject: [PATCH 01/31] MIPS:

RE: [PATCH 2/2] rtc: omap: add rtc wakeup support to alarm events

2013-06-14 Thread Hebbar, Gururaja
On Fri, Jun 14, 2013 at 03:51:43, Kevin Hilman wrote: > "Hebbar, Gururaja" writes: > > > Hi Kevin, > > > > On Mon, Jun 10, 2013 at 16:55:17, Hebbar, Gururaja wrote: > >> On Fri, May 31, 2013 at 23:11:22, Kevin Hilman wrote: > >> > Hebbar Gururaja writes: > >> > > >> > > On some platforms (like

[PATCH 1/1] [PATCH v2] tcp: Fixed MD5 key lookups when adding/removing MD5.

2013-06-14 Thread Aydin Arik
MD5 key lookups on a given TCP socket were being performed incorrectly. This fix alters parameter inputs to the MD5 lookup function tcp_md5_do_lookup, which is called by functions tcp_md5_do_add and tcp_md5_do_del. Specifically, the change now inputs the correct address and address family required

[PATCH v9 2/2] watchdog: Sysfs interface for MEN A21 watchdog

2013-06-14 Thread Johannes Thumshirn
This patch adds a sysfs interface for the watchdog device found on MEN A21 Boards. The newly generated files are: * rebootcause: Can be one of: Power on Reset, CPU Reset Request, Push Button, FPGA Reset Request, Watchdog, Local Power Bad, Invalid or BDI and shows the reason of the boards last

Re: [PATCH 17/31] MIPS: Quit exposing Kconfig symbols in uapi headers.

2013-06-14 Thread Ralf Baechle
So this one can be dropped. Ralf -- 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/

Re: [PATCH 00/31] KVM/MIPS: Implement hardware virtualization via the MIPS-VZ extensions.

2013-06-14 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:04PM -0700, David Daney wrote: > Subject: [PATCH 00/31] KVM/MIPS: Implement hardware virtualization via the > MIPS-VZ extensions. > > From: David Daney > > These patches take a somewhat different approach to MIPS > virtualization via the MIPS-VZ extensions than

Re: [PATCH] mm: vmscan: remove redundant querying to shrinker

2013-06-14 Thread Minchan Kim
Hello, On Fri, Jun 14, 2013 at 07:07:51PM +0900, Heesub Shin wrote: > shrink_slab() queries each slab cache to get the number of > elements in it. In most cases such queries are cheap but, > on some caches. For example, Android low-memory-killer, > which is operates as a slab shrinker, does

Re: [patch v8 3/9] sched: set initial value of runnable avg for new forked task

2013-06-14 Thread Paul Turner
Minor comments; looks good otherwise. Signed-off-by: Paul Turner On Fri, Jun 7, 2013 at 12:20 AM, Alex Shi wrote: > We need initialize the se.avg.{decay_count, load_avg_contrib} for a > new forked task. > Otherwise random values of above variables cause mess when do new task > enqueue: >

Re: [PATCH 1/4] ARM: cfa10036: Add USB0 OTG port

2013-06-14 Thread Maxime Ripard
Hi Arnd, On Fri, Jun 14, 2013 at 12:06:51AM +0200, Arnd Bergmann wrote: > On Thursday 13 June 2013 15:43:42 Maxime Ripard wrote: > > + > > + ahb@8008 { > > + usb0: usb@8008 { > > + pinctrl-names = "default"; > > + pinctrl-0 =

Re: [PATCH v3 5/9] memcg: use css_get/put when charging/uncharging kmem

2013-06-14 Thread Glauber Costa
On Fri, Jun 14, 2013 at 09:17:40AM +0800, Li Zefan wrote: > >> static void memcg_kmem_mark_dead(struct mem_cgroup *memcg) > >> { > >> + /* > >> + * We need to call css_get() first, because memcg_uncharge_kmem() > >> + * will call css_put() if it sees the memcg is dead. > >> + */ > >> +

[PATCH v9] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-14 Thread Johannes Thumshirn
This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Signed-off-by: Johannes Thumshirn --- Revision 2: * Removed unneeded open flag in struct a21_wdt_drv * Corrected 3bit reason

Re: [PATCH V5 1/3] pci: Add PCIe driver for Samsung Exynos

2013-06-14 Thread Thierry Reding
On Fri, Jun 14, 2013 at 05:18:46PM +0900, Jingoo Han wrote: > On Thursday, June 13, 2013 11:14 PM, Arnd Bergmann wrote: > > On Thursday 13 June 2013 22:22:31 Jingoo Han wrote: [...] > > > +static int __exit exynos_pcie_remove(struct platform_device *pdev) > > > +{ > > > + struct pcie_port *pp =

RE: [PATCH v2 0/4] GPIO DT support for da850

2013-06-14 Thread Philip, Avinash
On Fri, Jun 14, 2013 at 15:13:36, Philip, Avinash wrote: > With conversion of GPIO davinci driver to platform driver, gpio-davinci driver > can support DT boot. > This patch series > - adds dt binding support for gpio-davinci. > - da850 dt support goio. > > This patch series is based on Linux

[PATCH v2 2/4] gpio: davinci: DT changes for driver

2013-06-14 Thread Philip Avinash
From: KV Sujith - Add of_device_id for Davinci GPIO driver. - Add function to populate data from DT. - Modify the probe to read from DT if DT match is found. - Add DT binding documentation for Davinci GPIO properties in a new file gpio-davinci.txt located at

Re: [PATCH v3] simplefb: add support for a8b8g8r8 pixel format

2013-06-14 Thread Alexandre Courbot
On Sat, Jun 8, 2013 at 1:24 AM, Stephen Warren wrote: > On 06/07/2013 01:31 AM, Alexandre Courbot wrote: >> A framebuffer of this format is set up by SHIELD's bootloader. >> >> Signed-off-by: Alexandre Courbot >> Acked-by: Olof Johansson > > Reviewed-by: Stephen Warren Jean-Christophe, Tomi,

Re: [PATCH v4 15/20] ext4: use ext4_zero_partial_blocks in punch_hole

2013-06-14 Thread Lukáš Czerner
On Thu, 13 Jun 2013, Theodore Ts'o wrote: > Date: Thu, 13 Jun 2013 23:01:54 -0400 > From: Theodore Ts'o > To: Lukas Czerner > Cc: linux...@kvack.org, linux-kernel@vger.kernel.org, > linux-fsde...@vger.kernel.org, linux-e...@vger.kernel.org, > a...@linux-foundation.org, hu...@google.com

Re: [patch] mm, memcg: add oom killer delay

2013-06-14 Thread David Rientjes
On Fri, 14 Jun 2013, Kamezawa Hiroyuki wrote: > Reading your discussion, I think I understand your requirements. > The problem is that I can't think you took into all options into > accounts and found the best way is this new oom_delay. IOW, I can't > convice oom-delay is the best way to handle

[PATCH] mm: vmscan: remove redundant querying to shrinker

2013-06-14 Thread Heesub Shin
shrink_slab() queries each slab cache to get the number of elements in it. In most cases such queries are cheap but, on some caches. For example, Android low-memory-killer, which is operates as a slab shrinker, does relatively long calculation once invoked and it is quite expensive. This patch

Re: [patch v8 3/9] sched: set initial value of runnable avg for new forked task

2013-06-14 Thread Lei Wen
Hi Alex, On Fri, Jun 7, 2013 at 3:20 PM, Alex Shi wrote: > We need initialize the se.avg.{decay_count, load_avg_contrib} for a > new forked task. > Otherwise random values of above variables cause mess when do new task > enqueue: > enqueue_task_fair > enqueue_entity >

Re: [PATCH] ASoC: Fix double assignment of .owner in struct snd_soc_card

2013-06-14 Thread Mark Brown
On Fri, Jun 14, 2013 at 11:48:56AM +0200, Emil Goode wrote: > In struct snd_soc_card zylonite .owner is assigned THIS_MODULE > twice, remove one of them. Applied, thanks. signature.asc Description: Digital signature

[PATCH 2/2] gpio: gpio-tnetv107x: Fix bulid breakge

2013-06-14 Thread Philip Avinash
includes linux/io.h for fixing following build error. This build error comes only after removing select option of NEED_MACH_GPIO_H for ARCH_DAVINCI. linux/io.h is got included from mach/gpio-davinci.h on selection of NEED_MACH_GPIO_H. drivers/gpio/gpio-tnetv107x.c: In function

[PATCH 1/2] ARM: davinci: fix for build breakage for tnetv107x platforms

2013-06-14 Thread Philip Avinash
Fix the following build breakage and section mismatch error. This build break will comes only on removal of NEED_MACH_GPIO_H select option for ARCH-DAVINCI. arch/arm/mach-davinci/board-tnetv107x-evm.c:283:15: error: 'davinci_timer_init' undeclared here (not in a function)

[PATCH 0/2] Fix build breakage for tnetv107x platforms

2013-06-14 Thread Philip Avinash
tnetv107x_defconfig build failing on removal selection of NEED_MACH_GPIO_H for ARCH_DAVINCI. This is due to header files inclusion from mach/gpio-davinci.h So this patch series fixes the build breakage on removal of NEED_MACH_GPIO_H. This patch series is based on Linux 3.10-rc4 and is availabel

[PATCH v3 0/2] USB: PHY: Improve PHY selection logic

2013-06-14 Thread Roger Quadros
Hi, Improve Kconfig so that the relevant PHY driver can be explicitely selected by the controller driver instead of relying on the user to do so. Detailed description in patch 1. v3: - Fix linking problem when CONFIG_USB is m v2: - Merge patches 3-5 into the first patch to prevent circular

[PATCH v3 2/2] USB: ehci-omap: select NOP_USB_XCEIV PHY driver

2013-06-14 Thread Roger Quadros
ehci-omap needs NOP_USB_XCEIV PHY driver to function properly, so select it. As the USB PHY drivers no longer depend on USB_PHY, it is safe to select the PHY drivers. Signed-off-by: Roger Quadros Tested-by: Adrien Vergé --- drivers/usb/host/Kconfig |4 +--- 1 files changed, 1

[PATCH v3 1/2] USB: PHY: Make PHY driver selection possible by controller drivers

2013-06-14 Thread Roger Quadros
Convert PHY Drivers from menuconfig to menu so that the PHY drivers can be explicitely selected by the controller drivers. USB_PHY is no longer a user visible option. It is upto to the PHY drivers to select it if needed. This patch does so for the existing PHY drivers that use the USB_PHY

[PATCH] ASoC: Fix double assignment of .owner in struct snd_soc_card

2013-06-14 Thread Emil Goode
In struct snd_soc_card zylonite .owner is assigned THIS_MODULE twice, remove one of them. Signed-off-by: Emil Goode --- sound/soc/pxa/zylonite.c |1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/pxa/zylonite.c b/sound/soc/pxa/zylonite.c index ceb6566..db8aadf 100644 ---

[PATCH v2 4/4] ARM: davinci: da850 evm: add GPIO DT data

2013-06-14 Thread Philip Avinash
From: KV Sujith - Add GPIO DT Data and pinmux for DA850 EVM. GPIO is configurable differently on different boards. So add GPIO pinmuxing in dts file. - Dependency: This patch is dependent on Grab-pin-control patch; https://patchwork.kernel.org/patch/2013751/ Signed-off-by: KV Sujith

[PATCH v2 3/4] ARM: davinci: da850: add GPIO DT entries

2013-06-14 Thread Philip Avinash
From: KV Sujith Add DT entries for Davinci GPIO. Signed-off-by: KV Sujith Signed-off-by: Philip Avinash --- Changes since v1: - interrupts member defined as array and with interrupt flags arch/arm/boot/dts/da850.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff

[PATCH v2 1/4] ARM: davinci: da850: Use #include for all device trees

2013-06-14 Thread Philip Avinash
Replace /include/ by #include for da850 device tree files, in order to use the C pre-processor, making use of #define features possible. Signed-off-by: Philip Avinash --- Changes since v1: - New patch and comes as a dependency of patch 3/4 arch/arm/boot/dts/da850-enbw-cmc.dts |2 +-

Re: [iput] BUG: Bad page state in process rm pfn:0b0ce

2013-06-14 Thread Fengguang Wu
On Fri, Jun 14, 2013 at 10:16:55AM +0100, Mel Gorman wrote: > On Thu, Jun 13, 2013 at 06:25:49PM +0800, Fengguang Wu wrote: > > Greetings, > > > > I got the below dmesg in linux-next and the first bad commit is > > > > Thanks Fengguang. > > Can you try the following please? I do not see the

[PATCH v2 0/4] GPIO DT support for da850

2013-06-14 Thread Philip Avinash
With conversion of GPIO davinci driver to platform driver, gpio-davinci driver can support DT boot. This patch series - adds dt binding support for gpio-davinci. - da850 dt support goio. This patch series is based on Linux 3.10-rc4 and is availabel at [1]. 1.

Re: [PATCH v4] irqchip: Add support for ARMv7-M's NVIC

2013-06-14 Thread Catalin Marinas
On Wed, Jun 12, 2013 at 10:50:35PM +0100, Uwe Kleine-K??nig wrote: > This interrupt controller is found on Cortex-M3 and Cortex-M4 machines. > > Support for this controller appeared in Catalin's Cortex tree based on > 2.6.33 but was nearly completely rewritten. > > Signed-off-by: Catalin Marinas

Re: [PATCH] of/fdt: Add FDT address translation

2013-06-14 Thread Ley Foon Tan
Any comment or feedback for this patch? On Fri, 2013-05-24 at 17:36 +0800, Ley Foon Tan wrote: > This patch adds address translation to fdt. It is needed when the early > console is connected to a simple-bus (bridge) that has address translation > enabled. > > Walter Goossens have submitted

Re: [PATCH 1/8] mm/writeback: fix wb_do_writeback exported unsafely

2013-06-14 Thread Zhang Yanfei
On 06/14/2013 05:31 PM, Michal Hocko wrote: > On Fri 14-06-13 12:29:52, Kirill A. Shutemov wrote: >> Michal Hocko wrote: >>> On Fri 14-06-13 15:30:34, Wanpeng Li wrote: There is just one caller in fs-writeback.c call wb_do_writeback and current codes unnecessary export it in header file,

<    1   2   3   4   5   6   7   8   9   10   >