Re: [PATCH v4 2/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2013-02-15 Thread Kamezawa Hiroyuki
(2013/02/14 22:26), Michal Hocko wrote: mem_cgroup_iter curently relies on css-id when walking down a group hierarchy tree. This is really awkward because the tree walk depends on the groups creation ordering. The only guarantee is that a parent node is visited before its children. Example

Re: [PATCH 3/5] metag: hugetlb: convert to vm_unmapped_area()

2013-02-15 Thread Michel Lespinasse
On Wed, Feb 13, 2013 at 4:03 AM, James Hogan james.ho...@imgtec.com wrote: Convert hugetlb_get_unmapped_area_new_pmd() to use vm_unmapped_area() rather than searching the virtual address space itself. This fixes the following errors in linux-next due to the specified members being removed

Re: [PATCH v4 3/6] memcg: relax memcg iter caching

2013-02-15 Thread Michal Hocko
On Thu 14-02-13 14:26:33, Michal Hocko wrote: Now that per-node-zone-priority iterator caches memory cgroups rather than their css ids we have to be careful and remove them from the iterator when they are on the way out otherwise they might live for unbounded amount of time even though their

Re: [PATCH v4 2/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2013-02-15 Thread Michal Hocko
On Fri 15-02-13 17:03:09, KAMEZAWA Hiroyuki wrote: [...] @@ -1158,31 +1161,74 @@ struct mem_cgroup *mem_cgroup_iter(struct mem_cgroup *root, mz = mem_cgroup_zoneinfo(root, nid, zid); iter = mz-reclaim_iter[reclaim-priority]; -

Re: [PATCH v4 2/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2013-02-15 Thread Kamezawa Hiroyuki
(2013/02/15 17:11), Michal Hocko wrote: On Fri 15-02-13 17:03:09, KAMEZAWA Hiroyuki wrote: css_get(curr-css); I'm sorry if I miss something... This curr is curr == memcg = mem_cgroup_from_css(css) = already try_get() done. double refcounted ? Yes we get 2

Re: [PATCH v4 3/6] memcg: relax memcg iter caching

2013-02-15 Thread Kamezawa Hiroyuki
(2013/02/14 22:26), Michal Hocko wrote: Now that per-node-zone-priority iterator caches memory cgroups rather than their css ids we have to be careful and remove them from the iterator when they are on the way out otherwise they might live for unbounded amount of time even though their group

Re: usb_wwan_write() called while device still being resumed

2013-02-15 Thread Alex Courbot
Hi Bjørn, thanks for the reply! On 02/15/2013 02:41 AM, Bjørn Mork wrote: I believe the usb_autopm_get_interface_async() failing is OK in this case, but that should not cause the modem to stop working. Wonder if this patch solves the problem? : From: =?UTF-8?q?Bj=C3=B8rn=20Mork?=

Re: [PATCH v4 4/6] memcg: simplify mem_cgroup_iter

2013-02-15 Thread Kamezawa Hiroyuki
(2013/02/14 22:26), Michal Hocko wrote: Current implementation of mem_cgroup_iter has to consider both css and memcg to find out whether no group has been found (css==NULL - aka the loop is completed) and that no memcg is associated with the found node (!memcg - aka css_tryget failed because

RE: [ASAP] thermal_sys.c NULL ptr deref patch likely incomplete

2013-02-15 Thread Zhang, Rui
Can you please attach your config file? Thanks, rui -Original Message- From: Andreas Mohr [mailto:a...@lisas.de] Sent: Thursday, February 14, 2013 10:44 PM To: Zhang, Rui Cc: linux-kernel@vger.kernel.org Subject: [ASAP] thermal_sys.c NULL ptr deref patch likely incomplete

[v3 0/6] ARM: tegra: convert device tree files to use CLK defines

2013-02-15 Thread Hiroshi Doyu
Hi, With new dtc+cpp feature, we could get rid of magic numbers in dts* files. This patch replaces CLK IDs. We also plan to share those DT header files with kernel source later[1]. This series depends on: [PATCH 0/9] ARM: tegra: use new dtc+cpp feature

[v3 1/6] ARM: tegra20: create a DT header defining CLK IDs

2013-02-15 Thread Hiroshi Doyu
To replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra20-car.h | 158 +++ 1 file changed, 158 insertions(+) create

[v3 3/6] ARM: tegra30: create a DT header defining CLK IDs

2013-02-15 Thread Hiroshi Doyu
To replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra30-car.h | 218 +++ 1 file changed, 218 insertions(+) create

Re: [PATCH 1/7] staging/ozwpan: Fix sparse warning Using plain integer as NULL pointer

2013-02-15 Thread Dan Carpenter
On Fri, Feb 15, 2013 at 06:25:29AM +0100, Peter Huewe wrote: This patch fixes the warning Using plain integer as NULL pointer, generated by sparse, by replacing the offending 0s with NULL. Signed-off-by: Peter Huewe peterhu...@gmx.de Don't send 7 patches with the same subject. @@ -455,7

[v3 5/6] ARM: tegra114: create a DT header defining CLK IDs

2013-02-15 Thread Hiroshi Doyu
To replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra114-car.h | 272 ++ 1 file changed, 272 insertions(+) create

[v3 6/6] ARM: tegra114: convert device tree files to use CLK defines

2013-02-15 Thread Hiroshi Doyu
Replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra114-car.txt | 261 +--- arch/arm/boot/dts/tegra114.dtsip

Re: [PATCH 2/2 v2] kexec: Export PG_hwpoison flag into vmcoreinfo

2013-02-15 Thread Mitsuhiro Tanino
Hello Kumagai-san, I'm curious to know the status of this patch because I'll release makedumpfile-1.5.2 with the feature to exclude hwpoison page soon. I requested Andrew to merge the kernel side patch, and the patch has been added the -mm tree. Please push the makedumpfile side patch into

[RFC 1/2] Makefile: Add arch/arch/$(hdr-arch)/boot in header include path

2013-02-15 Thread Hiroshi Doyu
With a new feature dtc+cpp, DT can introduces some definitions in its header files for their own. Some of those DT info can be used in kernel source as well, instead of having the duplicate info in kernel headers. This patch allows kernel source to include those DT headers. For example: +

[RFC 2/2] clk: tegra20: Use DT defines for CLK ID

2013-02-15 Thread Hiroshi Doyu
To avoid the duplication of CLK ID defines both in boot/dts and kernel source, use the one from the DT header file and get rid of own definitions in kernel source. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- drivers/clk/tegra/clk-tegra20.c | 307 ++- 1

Re: Uhhuh. NMI received for unknown reason 2c on CPU 0.

2013-02-15 Thread Konstantin Khlebnikov
Borislav Petkov wrote: On Thu, Feb 14, 2013 at 10:17:46AM -0700, Bjorn Helgaas wrote: On Thu, Feb 14, 2013 at 7:39 AM, Borislav Petkovb...@suse.de wrote: On Sun, Feb 03, 2013 at 03:46:56PM +0100, Borislav Petkov wrote: On Sun, Feb 03, 2013 at 12:04:46AM +0100, Rafael J. Wysocki wrote: The

Re: [PATCH 06/11] ARM: integrator/versatile: fix NOMMU warnings

2013-02-15 Thread Linus Walleij
On Thu, Feb 14, 2013 at 2:49 PM, Arnd Bergmann a...@arndb.de wrote: On NOMMU kernels, the io_desc variables are unused because we don't use the MMU to remap the MMIO areas. Marking these variables as __maybe_unused easily avoids the otherwise harmless warnings like warning:

Re: [PATCH 07/11] ARM: integrator: fix build with INTEGRATOR_AP off

2013-02-15 Thread Linus Walleij
On Thu, Feb 14, 2013 at 2:49 PM, Arnd Bergmann a...@arndb.de wrote: The conditional declaration of ap_uart_data is broken and causes this build error: In file included from arch/arm/mach-integrator/core.c:35:0: arch/arm/mach-integrator/common.h:6:37: error: expected '=', ',', ';', 'asm' or

Re: Uhhuh. NMI received for unknown reason 2c on CPU 0.

2013-02-15 Thread Borislav Petkov
On Fri, Feb 15, 2013 at 12:54:12PM +0400, Konstantin Khlebnikov wrote: * https://patchwork.kernel.org/patch/2001211/ (e1000e: fix pci device enable counter balance) please use this instead: [PATCH v2 1/7] e1000e: fix pci-device enable-counter balance https://lkml.org/lkml/2013/2/4/190

[RFC/RFT][PATCH 1/3] regulator: core: Add enable_pulldown flag to indicate pulldown on EN input

2013-02-15 Thread Axel Lin
Add enable_pulldown flag to indicate pulldown on EN input when using regulator_enable_regmap and friends APIs. Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/core.c | 24 include/linux/regulator/driver.h |3 +++ 2 files changed, 23

[RFC/RFT][PATCH 2/3] regulator: 88pm8607: Use enable_pulldown flag with regulator_enable_regmap and friends APIs

2013-02-15 Thread Axel Lin
Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/88pm8607.c | 36 1 file changed, 4 insertions(+), 32 deletions(-) diff --git a/drivers/regulator/88pm8607.c b/drivers/regulator/88pm8607.c index c79ab84..0a8d514 100644 ---

[RFC/RFT][PATCH 3/3] regulator: max8649: Use enable_pulldown flag with regulator_enable_regmap and friends APIs

2013-02-15 Thread Axel Lin
Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/max8649.c | 39 ++- 1 file changed, 6 insertions(+), 33 deletions(-) diff --git a/drivers/regulator/max8649.c b/drivers/regulator/max8649.c index 3ca1438..6dab 100644 ---

Re: [v2 1/4] ARM: tegra20: create a DT header defining CLK IDs

2013-02-15 Thread Peter De Schrijver
On Thu, Feb 14, 2013 at 09:15:28PM +0100, Stephen Warren wrote: On 02/14/2013 11:59 AM, Hiroshi Doyu wrote: To replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; diff --git a/arch/arm/boot/dts/tegra20-car.h

Re: linux-next: Tree for Feb 15

2013-02-15 Thread Arend van Spriel
On 02/15/2013 08:42 AM, Stephen Rothwell wrote: Hi all, News: Yesterday was the 5th anniversary of linux-next! I can't believe I am still doing this :-) Was it a big celebration? ;-) Keep up the good work. Gr. AvS -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH 3/5] metag: hugetlb: convert to vm_unmapped_area()

2013-02-15 Thread James Hogan
On 15/02/13 08:04, Michel Lespinasse wrote: On Wed, Feb 13, 2013 at 4:03 AM, James Hogan james.ho...@imgtec.com wrote: Convert hugetlb_get_unmapped_area_new_pmd() to use vm_unmapped_area() rather than searching the virtual address space itself. This fixes the following errors in linux-next due

Re: [PATCH 3/3] convert headers_install.pl-headers_install.sh

2013-02-15 Thread Sam Ravnborg
On Mon, Dec 17, 2012 at 05:12:51PM -0800, r...@landley.net wrote: From: Rob Landley r...@landley.net Remove perl from make headers_install by replacing a perl script (doing a simple regex search and replace) with a smaller, faster, simpler, POSIX-2008 shell script implementation. The new

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

2013-02-15 Thread Daniel Vetter
On Fri, Feb 15, 2013 at 3:37 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, After merging the drm-intel tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: pm_vt_switch_unregister [drivers/video/fb.ko] undefined! I have dropped the tree for today. Meh,

Re: [PATCH] EnhanceIO ssd caching software

2013-02-15 Thread Jens Axboe
On Fri, Feb 15 2013, OS Engineering wrote: Hi Greg, Jens, We are submitting EnhanceIO(TM) software driver for an inclusion in linux staging tree. Present state of this driver is beta. We have been posting it for a few weeks, while it was maintained at github. It is still being cleaned-up

Re: [GIT PULL] (xen) stable/for-jens-3.8

2013-02-15 Thread Jens Axboe
On Thu, Feb 14 2013, Konrad Rzeszutek Wilk wrote: Hey Jens, Please git pull the following branch: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-3.8 which has fixes to the blkback that I hope you can push to Linus for 3.8. The one that is quite vicious is

Re: [PATCH] arm: dts: Add uart1 and uart2 to igep boards.

2013-02-15 Thread Matthias Brugger
2013/1/26 Javier Martinez Canillas martinez.jav...@gmail.com: On Sat, Jan 26, 2013 at 4:16 PM, Matthias Brugger matthias@gmail.com wrote: Hi Benoit, 2012/12/12 Benoit Cousson b-cous...@ti.com: Hi Matthias, On 12/12/2012 04:33 PM, Matthias Brugger wrote: This patch is a follow-up patch

Re: Including drm-intel tree to linux-next

2013-02-15 Thread Daniel Vetter
On Fri, Feb 15, 2013 at 12:27 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Daniel, On Thu, 14 Feb 2013 15:19:53 +0100 Borislav Petkov b...@alien8.de wrote: On Thu, Feb 14, 2013 at 03:12:02PM +0100, Daniel Vetter wrote: Since about a year ago we've switched drm/i915 to buffer

RE: thermal governor: does it actually work??

2013-02-15 Thread Zhang, Rui
-Original Message- From: Andreas Mohr [mailto:a...@lisas.de] Sent: Thursday, February 14, 2013 11:33 PM To: linux-kernel@vger.kernel.org Cc: R, Durgadoss; Zhang, Rui; pe...@piie.net Subject: thermal governor: does it actually work?? Importance: High For me after having loaded

Re: [PATCH] staging/comedi: Fix if(); by adding proper code

2013-02-15 Thread Ian Abbott
On 2013-02-14 21:36, Peter Huewe wrote: Smatch warns about: staging/comedi/drivers/cb_pcidas64.c:3304 prep_ao_dma() warn: if(); So the check currently does nothing and could be removed, but the better alternative is to activate the check again and return -1; if it evaluates to true.

RE: [ASAP] thermal_sys.c NULL ptr deref patch likely incomplete

2013-02-15 Thread Zhang, Rui
-Original Message- From: Andreas Mohr [mailto:a...@lisas.de] Sent: Thursday, February 14, 2013 10:44 PM To: Zhang, Rui Cc: linux-kernel@vger.kernel.org Subject: [ASAP] thermal_sys.c NULL ptr deref patch likely incomplete Importance: High Hi, I just had a # cat

Re: [PATCH] arm: dts: Add uart1 and uart2 to igep boards.

2013-02-15 Thread Cousson, Benoit
Hi Matthias, On 2/15/2013 10:35 AM, Matthias Brugger wrote: 2013/1/26 Javier Martinez Canillas martinez.jav...@gmail.com: On Sat, Jan 26, 2013 at 4:16 PM, Matthias Brugger matthias@gmail.com wrote: Hi Benoit, 2012/12/12 Benoit Cousson b-cous...@ti.com: Hi Matthias, On 12/12/2012 04:33

[PATCH/RFC] mfd: as3711: add OF support

2013-02-15 Thread Guennadi Liakhovetski
Add device-tree bindings to the AS3711 regulator and backlight drivers. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- As usual - comments to the new bindings are very welcome! Documentation/devicetree/bindings/mfd/as3711.txt | 73 + drivers/mfd/as3711.c

[PATCH v2 repost] posix-cpu-timers: fix nanosleep task_struct leak

2013-02-15 Thread Stanislaw Gruszka
In do_cpu_nanosleep() we do posic_cpu_timer_create(), but forgot corresponding posix_cpu_timer_del() what lead to task_struct leak. Reported-and-tested-by: Tommi Rantala tt.rant...@gmail.com Signed-off-by: Stanislaw Gruszka sgrus...@redhat.com Cc: sta...@vger.kernel.org --- v1 - v2: add comments

Re: [PATCH 2/2 v2] kexec: Export PG_hwpoison flag into vmcoreinfo

2013-02-15 Thread Atsushi Kumagai
Hello Tanino-san, On Fri, 15 Feb 2013 17:48:24 +0900 Mitsuhiro Tanino mitsuhiro.tanino...@hitachi.com wrote: Hello Kumagai-san, I'm curious to know the status of this patch because I'll release makedumpfile-1.5.2 with the feature to exclude hwpoison page soon. I requested Andrew to

Re: [PATCH v3] lpc_ich: fix gpio base and control offsets

2013-02-15 Thread Samuel Ortiz
Hi Anatol, On Thu, Feb 14, 2013 at 02:48:05PM -0800, Anatol Pomozov wrote: Hi, Aaron On Sun, Feb 3, 2013 at 9:02 AM, Samuel Ortiz sa...@linux.intel.com wrote: Hi Arron, On Thu, Jan 24, 2013 at 02:52:39PM -0600, Aaron Sierra wrote: In ICH5 and earlier the GPIOBASE and GPIOCTRL

Re: [PATHC] 3.6 spinlock fix

2013-02-15 Thread Thomas Gleixner
On Fri, 15 Feb 2013, Tim Sander wrote: On Thu, Feb 14, 2013 at 5:35 PM, Thomas Gleixner t...@linutronix.de wrote: On Thu, 14 Feb 2013, Tim Sander wrote: That's true, but w/o seing the OOM output I can't tell what's exhausting the memory. When fuzzing the serial port one

[V2 2/8] USB: EHCI: make ehci-atmel a separate driver

2013-02-15 Thread Manjunath Goudar
Separate the Atmel host controller driver from ehci-hcd host code into its own driver module. In V2: Resolved below compiler error. drivers/usb/host/ehci-atmel.c: In function 'ehci_atmel_drv_remove': drivers/usb/host/ehci-atmel.c:167: error: implicit declaration of function 'ehci_shutdown'

[V2 4/8] USB: EHCI: make ehci-mv as separate static driver

2013-02-15 Thread Manjunath Goudar
Separate the mv host controller driver from ehci-hcd host code into its own static driver module. In V2: No changes only Cc list changed in this patch. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Eric Miao

[V2 6/8] USB: EHCI: make ehci-msm a separate driver

2013-02-15 Thread Manjunath Goudar
Separate the Qualcomm On-Chip host controller driver from ehci-hcd host code into its own driver module. In V2: Tegra patch related changes removed from this patch. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc:

[V2 8/8] USB: EHCI: make ehci-orion a separate driver

2013-02-15 Thread Manjunath Goudar
Separate the Orion host controller driver from ehci-hcd host code into its own static driver module. In V2: Tegra patch related changes removed from this patch. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc:

[V2 7/8] USB: EHCI: make ehci-w90X900 a separate driver

2013-02-15 Thread Manjunath Goudar
Separate the Nuvoton On-Chip host controller driver from ehci-hcd host code into its own static driver module. In V2: No changes. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Wan ZongShun mcuos@gmail.com

Re: [PATCH 1/9] ARM: arch_timer: include linux/errno.h

2013-02-15 Thread Mark Rutland
Hi, As with Stephen Warren's fix [1], this looks right to me. Stephen's has the added benefit of keeping the includes ordered. For either version: Acked-By: Mark Rutland mark.rutl...@arm.com Thanks, Mark. [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-February/149579.html On

[V2 5/8] USB: EHCI: make ehci-vt8500 a separate driver

2013-02-15 Thread Manjunath Goudar
Separate the vt8500 host controller driver from ehci-hcd host code into its own driver module. In V2: Change the GPL to GPL v2 MODULE_LICENSE Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Tony Prisk

Re: [PATCH] tcp: sysctl to disable TCP simultaneous connect

2013-02-15 Thread Eric W. Biederman
Willy Tarreau w...@1wt.eu writes: Hi Eric, On Thu, Feb 14, 2013 at 11:10:46PM -0800, Eric W. Biederman wrote: Kees Cook keesc...@chromium.org writes: On Thu, Feb 14, 2013 at 9:30 PM, Eric W. Biederman ebied...@xmission.com wrote: Kees Cook keesc...@chromium.org writes: The patch

Re: [PATCH 1/1] VSOCK: Introduce VM Sockets

2013-02-15 Thread Gerd Hoffmann
On 02/07/13 01:23, Andy King wrote: +/* Use this as the destination CID in an address when referring to the + * hypervisor. VMCI relies on it being 0, but this would be useful for other + * transports too. + */ + +#define VMADDR_CID_HYPERVISOR 0 + +/* This CID is specific to VMCI and can

[RFC] ARM: shmobile: add framebuffer and backlight support to kzm9g-reference

2013-02-15 Thread Guennadi Liakhovetski
This adds support for the framebuffer and an AS3711 PMIC, used for supplying power to the CPU, some peripherals and the backlight. not-Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- As is clear from the not-Sob line and the RFC in the subject, this is not for mainline. This is

RE: [PATCH] EnhanceIO ssd caching software

2013-02-15 Thread Amit Kale
-Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Jens Axboe Sent: Friday, February 15, 2013 3:00 PM To: OS Engineering Cc: Greg Kroah-Hartman; LKML; Darrick J. Wong; Sanoj Unnikrishnan; 王金浦; Amit Kale Subject: Re:

[PATCH 0/6] metag: metag_ksyms.c cleanup

2013-02-15 Thread James Hogan
Here are some fairly trivial metag_ksyms.c/EXPORT_SYMBOL cleanups which I'll add to the arch/metag tree for v3.9-rc1. Basically they move EXPORT_SYMBOLs to after the actual definitions for those symbols defined in C files, and clean up the includes in metag_ksyms.c. James Hogan (6): metag:

[PATCH 1/6] metag: move traps.c exports out of metag_ksyms.c

2013-02-15 Thread James Hogan
It's less error prone to have function symbols exported immediately after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL in metag_ksyms.c for symbols defined in traps.c into traps.c Signed-off-by: James Hogan james.ho...@imgtec.com --- arch/metag/kernel/metag_ksyms.c |5

[PATCH 6/6] metag: cleanup metag_ksyms.c includes

2013-02-15 Thread James Hogan
Minimise metag_ksyms.c includes to directly include the asm/*.h files that declare a particular symbol, and not include any unnecessary ones. Signed-off-by: James Hogan james.ho...@imgtec.com --- arch/metag/kernel/metag_ksyms.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-)

[PATCH 4/6] metag: move usercopy.c exports out of metag_ksyms.c

2013-02-15 Thread James Hogan
It's less error prone to have function symbols exported immediately after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL in metag_ksyms.c for symbols defined in usercopy.c into usercopy.c Signed-off-by: James Hogan james.ho...@imgtec.com --- arch/metag/kernel/metag_ksyms.c |

[PATCH 3/6] metag: move setup.c exports out of metag_ksyms.c

2013-02-15 Thread James Hogan
It's less error prone to have function symbols exported immediately after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL in metag_ksyms.c for symbols defined in setup.c into setup.c Signed-off-by: James Hogan james.ho...@imgtec.com --- arch/metag/kernel/metag_ksyms.c |5

[PATCH 2/6] metag: move kick.c exports out of metag_ksyms.c

2013-02-15 Thread James Hogan
It's less error prone to have function symbols exported immediately after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL in metag_ksyms.c for symbols defined in kick.c into kick.c Signed-off-by: James Hogan james.ho...@imgtec.com --- arch/metag/kernel/kick.c|3 +++

[PATCH 5/6] metag: move mm/init.c exports out of metag_ksyms.c

2013-02-15 Thread James Hogan
It's less error prone to have function symbols exported immediately after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL in metag_ksyms.c for symbols defined in mm/init.c into mm/init.c. Signed-off-by: James Hogan james.ho...@imgtec.com --- arch/metag/kernel/metag_ksyms.c |

Re3: [PATCH] NET/PHY: Eliminate the algorithm of forced ethernet speed reduction

2013-02-15 Thread Kirill Kapranov
NET/PHY: Eliminate the forced speed reduction algorithm. In case of the fixed speed set up for NIC (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) with ethernet cable plugged off, mentioned algorithm slows down NIC speed, so the further hooking up gives

[PATCH] staging/zcache fixed some checkpatch issues

2013-02-15 Thread Robert Berger
tmem.c:76: ERROR: foo*bar should be foo *bar zcache-main.c:2057: WARNING: quoted string split across lines zcache-main.c:2059: WARNING: Prefer pr_warn(... to pr_warning(... zcache-main.c:2068: WARNING: quoted string split across lines zcache-main.c:2070: WARNING: Prefer pr_warn(... to

[tip:timers/core] posix-cpu-timers: Fix nanosleep task_struct leak

2013-02-15 Thread tip-bot for Stanislaw Gruszka
Commit-ID: e6c42c295e071dd74a66b5a9fcf4f44049888ed8 Gitweb: http://git.kernel.org/tip/e6c42c295e071dd74a66b5a9fcf4f44049888ed8 Author: Stanislaw Gruszka sgrus...@redhat.com AuthorDate: Fri, 15 Feb 2013 11:08:11 +0100 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Fri, 15 Feb

Re: [PATCH] staging/panel: Mark local functions as static (fix smatch warnings)

2013-02-15 Thread David Howells
Peter Huewe peterhu...@gmx.de wrote: +static char old_keypad_profile[][4][9] = { {S0, Left\n, Left\n, }, {S1, Down\n, Down\n, }, {S2, Up\n, Up\n, }, Things like this should likely be const also. There are several here. -void panel_lcd_print(char *s) +static void

Re: linux-next: Tree for Feb 15

2013-02-15 Thread Sedat Dilek
On Fri, Feb 15, 2013 at 8:42 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, News: Yesterday was the 5th anniversary of linux-next! I can't believe I am still doing this :-) So 5-times a happy Quentin Valentino day! Changes since 20130214: New tree: drm-intel More black

Re: [PATCH] mm: fadvise: Drain all pagevecs if POSIX_FADV_DONTNEED fails to discard all pages

2013-02-15 Thread Michal Hocko
On Thu 14-02-13 12:39:26, Andrew Morton wrote: On Thu, 14 Feb 2013 12:03:49 + Mel Gorman mgor...@suse.de wrote: Rob van der Heij reported the following (paraphrased) on private mail. The scenario is that I want to avoid backups to fill up the page cache and purge stuff

Re: [PATCH 8/9] [HACK] ARM: imx: work around v7_cpu_resume link error

2013-02-15 Thread Arnd Bergmann
On Thursday 14 February 2013, Stephen Warren wrote: On 02/14/2013 03:47 PM, Arnd Bergmann wrote: Patch c08e20d24 arm: Add v7_invalidate_l1 to cache-v7.S moves the v7_invalidate_l1 symbol out of imx/headsmp.S, which seems to cause a link error because it is now too far away from

Re: usb_wwan_write() called while device still being resumed

2013-02-15 Thread Bjørn Mork
Alex Courbot acour...@nvidia.com writes: Unfortunately it does not, and fails the same way. On the other hand, I do not see the issue when doing the following: diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c index e4fad5e..1490029 100644 ---

[PATCH] i2c-designware: Interrupt sharing and SDA hold time

2013-02-15 Thread Christian Ruppert
This patch implements interrupt sharing and SDA hold time configuration in the designware i2c driver. Both functions are enabled through platform data or device tree. Tested with Linux-3.8rc4 (Synopsys ARC port, see

Re: [PATCH 8/9] [HACK] ARM: imx: work around v7_cpu_resume link error

2013-02-15 Thread Russell King - ARM Linux
On Thu, Feb 14, 2013 at 11:47:50PM +0100, Arnd Bergmann wrote: Patch c08e20d24 arm: Add v7_invalidate_l1 to cache-v7.S moves the v7_invalidate_l1 symbol out of imx/headsmp.S, which seems to cause a link error because it is now too far away from v7_cpu_resume when building an allyesconfig

Re: [PATCH 8/9] [HACK] ARM: imx: work around v7_cpu_resume link error

2013-02-15 Thread Russell King - ARM Linux
On Fri, Feb 15, 2013 at 11:05:14AM +, Arnd Bergmann wrote: $ size obj-tmp/vmlinux -A obj-tmp/vmlinux : section size addr .head.text504 3221258240 .text32707336 3221258752 .text.head 8 3253966088

Re: [PATCH 2/5] lockdep: check that no locks held at freeze time

2013-02-15 Thread Ingo Molnar
* Mandeep Singh Baines m...@chromium.org wrote: --- a/kernel/lockdep.c +++ b/kernel/lockdep.c @@ -4091,10 +4091,10 @@ static void print_held_locks_bug(struct task_struct *curr) return; printk(\n); - printk(=\n); -

Re: Query related to MSR(Magnetic Stripe Reader) Device Driver

2013-02-15 Thread Priyaranjan Das
Hi Greg, On Thu, Jan 31, 2013 at 11:09 AM, Priyaranjan Das priyaranjan456...@gmail.com wrote: Hi Greg, On Tue, Jan 29, 2013 at 7:03 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Jan 28, 2013 at 03:25:08PM +0530, Priyaranjan Das wrote: Hi Greg, On Tue, Jan 22, 2013 at 10:06 PM, Greg

[PATCH] spinlock/debugging: Print out lock name when available

2013-02-15 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Wed, Feb 13, 2013 at 3:10 AM, Ingo Molnar mi...@kernel.org wrote: Setting up Logical Volume Management: [ 13.14] BUG: spinlock lockup suspected on CPU#1, lvm.static/139 [ 13.14] BUG: spinlock lockup suspected on

[-rc7 regression] Buggy commit: mm: use aligned zone start for pfn_to_bitidx calculation

2013-02-15 Thread Ingo Molnar
[ Greg: -stable was Cc:-ed for this potentially buggy commit. ] * Yinghai Lu ying...@kernel.org wrote: On Thu, Feb 14, 2013 at 7:08 AM, Ingo Molnar mi...@kernel.org wrote: these three: 10d73e655cef mm: bootmem: fix free_all_bootmem_core() with odd bitmap alignment c060f943d092 mm:

Re: [PATCH] i2c-designware: Interrupt sharing and SDA hold time

2013-02-15 Thread Mika Westerberg
On Fri, Feb 15, 2013 at 11:11:50AM +0100, Christian Ruppert wrote: This patch implements interrupt sharing and SDA hold time configuration in the designware i2c driver. Both functions are enabled through platform data or device tree. Tested with Linux-3.8rc4 (Synopsys ARC port, see

Re: uhid: broken interface: 32/64-bit compatibility

2013-02-15 Thread David Herrmann
Hi Kirill On Fri, Feb 15, 2013 at 12:29 PM, Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: Hi David and all, There's claim in uhid.h that the interface is compatible even between architectures. But it obviously is not true: struct uhid_create_req contains pointer which breaks

Re: [PATCH 2/3] sched: Move idle_balance() to post_schedule

2013-02-15 Thread Peter Zijlstra
On Wed, 2013-02-13 at 14:05 -0500, Steven Rostedt wrote: That is, the CPU is about to go idle, thus a load balance is done, and perhaps a task is pulled to the current queue. To do this, rq locks and such need to be grabbed across CPUs. Right, grabbing the rq locks and all isn't my main

Re: [PATCH 10/11] ARM: s3c: i2c: add platform_device forward declaration

2013-02-15 Thread Wolfram Sang
On Thu, Feb 14, 2013 at 02:49:26PM +0100, Arnd Bergmann wrote: A recent cleanup to the mach-osiris.c file is causing build errors because the i2c-s3c2410.h header file is included before we see the definition for platform_device. The fix is to make the header file more robust against inclusion

Re: [PATCH 08/33] nohz: Assign timekeeping duty to a non-full-nohz CPU

2013-02-15 Thread Borislav Petkov
On Tue, Jan 08, 2013 at 03:08:08AM +0100, Frederic Weisbecker wrote: This way the full nohz CPUs can safely run with the tick stopped with a guarantee that somebody else is taking care of the jiffies and gtod progression. NOTE: this doesn't handle CPU hotplug. Also we could use something

Re: uhid: broken interface: 32/64-bit compatibility

2013-02-15 Thread Johan Hedberg
Hi David, On Fri, Feb 15, 2013, David Herrmann wrote: On Fri, Feb 15, 2013 at 12:29 PM, Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: Hi David and all, There's claim in uhid.h that the interface is compatible even between architectures. But it obviously is not true: struct

Re: [RFC] sched: The removal of idle_balance()

2013-02-15 Thread Peter Zijlstra
On Fri, 2013-02-15 at 08:26 +0100, Mike Galbraith wrote: (the throttle is supposed to keep idle_balance() from doing severe damage, that may want a peek/tweak) Right, as it stands idle_balance() can do a lot of work and if the avg idle time is less than the time we spend looking for a

Re: [PATCH 3/9] clk: sunxi: remove stale Makefile entry

2013-02-15 Thread Arnd Bergmann
On Friday 15 February 2013, Mike Turquette wrote: Quoting Arnd Bergmann (2013-02-14 14:26:52) Patch 85a18198 clk: sunxi: Use common of_clk_init() function removed the clk-sunxi.c file but left the Makefile entry, which causes a build error in multi_v7_defconfig: make[4]: *** No rule to

[PATCH v2] staging/comedi: Remove if(); statement without effect

2013-02-15 Thread Peter Huewe
Smatch warns about: staging/comedi/drivers/cb_pcidas64.c:3304 prep_ao_dma() warn: if(); So the check currently does nothing and can be removed, as indicated by Ian. Signed-off-by: Peter Huewe peterhu...@gmx.de --- v1 was staging/comedi: Fix if(); by adding proper code which was unfortunately

Re: [RFC] sched: The removal of idle_balance()

2013-02-15 Thread Peter Zijlstra
On Fri, 2013-02-15 at 08:26 +0100, Mike Galbraith wrote: (the throttle is supposed to keep idle_balance() from doing severe damage, that may want a peek/tweak) Right, as it stands idle_balance() can do a lot of work and if the avg idle time is less than the time we spend looking for a

Re: [PATCH] cpufreq/intel_pstate: Add kernel command line option disable intel_pstate.

2013-02-15 Thread Rafael J. Wysocki
On Friday, February 15, 2013 09:53:24 AM Viresh Kumar wrote: On Fri, Feb 15, 2013 at 12:08 AM, dirk.brande...@gmail.com wrote: From: Dirk Brandewie dirk.brande...@gmail.com When intel_pstate is configured into the kernel it will become the perferred scaling driver for processors that is

Re: [RFC] sched: The removal of idle_balance()

2013-02-15 Thread Mike Galbraith
On Fri, 2013-02-15 at 13:21 +0100, Peter Zijlstra wrote: On Fri, 2013-02-15 at 08:26 +0100, Mike Galbraith wrote: (the throttle is supposed to keep idle_balance() from doing severe damage, that may want a peek/tweak) Right, as it stands idle_balance() can do a lot of work and if the

[PATCH] regulator: max8925: Remove unused parameter from max8925_regulator_dt_init

2013-02-15 Thread Axel Lin
The info parameter is not used at all, remove it. Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/max8925-regulator.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/max8925-regulator.c b/drivers/regulator/max8925-regulator.c index

Re: [patch v4 01/18] sched: set SD_PREFER_SIBLING on MC domain to reduce a domain level

2013-02-15 Thread Peter Zijlstra
On Wed, 2013-02-13 at 21:22 +0800, Alex Shi wrote: No, the flags set on MC/CPU domain, but is checked in their parents balancing, like in NUMA domain. Without the flag, will cause NUMA domain imbalance. like on my 2 sockets NHM EP: 3 of 4 tasks were assigned on socket 0(lcpu, 10, 12, 14)

[PATCH] ia64: rename cache_show to topology_cache_show

2013-02-15 Thread Michal Hocko
Fenguang Wu has reported the following compile time issue arch/ia64/kernel/topology.c:278:16: error: conflicting types for 'cache_show' include/linux/slab.h:224:5: note: previous declaration of 'cache_show' was here which has been introduced by 749c5415 (memcg: aggregate memcg cache values in

[PATCH v7 00/12] Tegra114 clockframework

2013-02-15 Thread Peter De Schrijver
This is the seventh version of the Tegra114 clockframework. It is based on the for-next branch of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git and http://www.spinics.net/lists/arm-kernel/msg220452.html. It has been boottested on Pluto. Changes from v6: * Remove

Re: [PATCH 3/9] ARM: omap2: include linux/errno.h in hwmod_reset

2013-02-15 Thread Arnd Bergmann
On Thursday 14 February 2013, Tony Lindgren wrote: * Arnd Bergmann a...@arndb.de [130214 14:51]: The newly created omap_hwmod_reset.c is missing an include of linux/errno.h in commit c02060d8 ARM: OMAP4+: AESS: enable internal auto-gating during initial setup. It still works in

[PATCH v7 01/12] clk: tegra: provide dummy cpu car ops

2013-02-15 Thread Peter De Schrijver
tegra_boot_secondary() relies on some of the car ops. This means having an uninitialized tegra_cpu_car_ops will lead to an early boot panic. Providing a dummy struct avoids this and makes adding Tegra114 clock support in a bisectable way a lot easier. Signed-off-by: Peter De Schrijver

[PATCH v7 02/12] clk: tegra: Refactor PLL programming code

2013-02-15 Thread Peter De Schrijver
Refactor the PLL programming code to make it useable by the new PLL types introduced by Tegra114. The following changes were done: * Split programming the PLL into updating m,n,p and updating cpcon * Move locking from _update_pll_cpcon() to clk_pll_set_rate() * Introduce _get_pll_mnp() helper *

Re: [PATCH 4/9] ARM: omap: add include guard for soc.h

2013-02-15 Thread Arnd Bergmann
On Thursday 14 February 2013, Tony Lindgren wrote: I left it out intentionally as these are private to mach-omap2, and I'd like to simplify the indirect includes there further. So I'd rather just remove the duplicate soc.h from drm.c. If people really think this should be applied, I have no

[PATCH v7 03/12] clk: tegra: Add TEGRA_PLL_BYPASS flag

2013-02-15 Thread Peter De Schrijver
Not all PLLs in Tegra114 have a bypass bit. Adapt the common code to only use this bit when available. Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com --- drivers/clk/tegra/clk-pll.c | 12 drivers/clk/tegra/clk.h |2 ++ 2 files changed, 10 insertions(+), 4

[PATCH v7 04/12] clk: tegra: Add PLL post divider table

2013-02-15 Thread Peter De Schrijver
Some PLLs in Tegra114 don't use a power of 2 mapping for the post divider. Introduce a table based approach and switch PLLU to it. Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com --- drivers/clk/tegra/clk-pll.c | 38 --

[PATCH v7 05/12] clk: tegra: Add new fields and PLL types for Tegra114

2013-02-15 Thread Peter De Schrijver
Tegra114 introduces new PLL types. This requires new clocktypes as well as some new fields in the pll structure. Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com --- drivers/clk/tegra/clk-pll.c | 836 +++ drivers/clk/tegra/clk.h | 48 +++ 2

[PATCH v2] staging/panel: Mark local functions/structs static and add const if applicable (fix sparse warnings)

2013-02-15 Thread Peter Huewe
sparse complains about the following functions: panel.c:188:1: warning: symbol 'logical_inputs' was not declared. Should it be static? panel.c:569:6: warning: symbol 'old_keypad_profile' was not declared. Should it be static? panel.c:580:6: warning: symbol 'new_keypad_profile' was not declared.

  1   2   3   4   5   6   7   >