[PATCH] HID: usbhid: quirk for MSI GX680R led panel

2013-03-18 Thread Josh Boyer
This keyboard backlight device causes a 10 second delay to boot. Add it to the quirk list with HID_QUIRK_NO_INIT_REPORTS. This fixes Red Hat bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=907221 Signed-off-by: Josh Boyer jwbo...@redhat.com --- drivers/hid/hid-ids.h | 3 +++

Re: [PATCH v2] usb: ehci-s5p: Use devm for requesting ehci_vbus_gpio

2013-03-18 Thread Vivek Gautam
Hi, On Fri, Mar 15, 2013 at 8:58 AM, Jingoo Han jg1@samsung.com wrote: On Friday, March 15, 2013 12:16 PM, Doug Anderson wrote: The ehci_vbus_gpio is requested but never freed. This can cause problems with deferred probes and would cause problems if s5p_ehci_remove was ever called.

Re: [PATCH regression/bisected] Revert brcmsmac: support 4313iPA

2013-03-18 Thread Piotr Haber
On 03/18/13 11:45, David Herrmann wrote: This reverts commit b6fc28a158076ca2764edc9a6d1e1402f56e1c0c. It breaks wireless AP reconnection on: (14e4:4727) Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller Any attempt to reconnect to an AP results in timeouts no matter how

Re: [PATCH] HID: usbhid: quirk for Realtek Multi-card reader

2013-03-18 Thread Jiri Kosina
On Mon, 18 Mar 2013, Josh Boyer wrote: This device has an odd HID entry I can't really say I understand this portion of the changelog. I will rephrase it a little bit and apply, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH] HID: usbhid: quirk for MSI GX680R led panel

2013-03-18 Thread Jiri Kosina
On Mon, 18 Mar 2013, Josh Boyer wrote: This keyboard backlight device causes a 10 second delay to boot. Add it to the quirk list with HID_QUIRK_NO_INIT_REPORTS. Applied, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [PATCH regression/bisected] Revert brcmsmac: support 4313iPA

2013-03-18 Thread David Herrmann
Hi Piotr On Mon, Mar 18, 2013 at 2:49 PM, Piotr Haber pha...@broadcom.com wrote: On 03/18/13 11:45, David Herrmann wrote: This reverts commit b6fc28a158076ca2764edc9a6d1e1402f56e1c0c. It breaks wireless AP reconnection on: (14e4:4727) Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN

Re: [PATCH] drivers: char: ipmi: Replaced kmalloc and strcpy with kstrdup

2013-03-18 Thread Corey Minyard
On 03/16/2013 09:16 AM, Alexandru Gheorghiu wrote: Replaced calls to kmalloc followed by strcpy with a sincle call to kstrdup. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu gheorghiuan...@gmail.com --- drivers/char/ipmi/ipmi_msghandler.c |3 +-- 1 file changed, 1

[PATCH 1/1] The AT24 driver only uses page size of 1 byte if no platform data is provided to the probe function. When this eeprom is detected via open firmware tree in powerpc architecture the correct

2013-03-18 Thread Sergey Gerasimov
Signed-off-by: Sergey Gerasimov sergey.gerasi...@astrosoft-development.com --- drivers/misc/eeprom/at24.c | 50 +- 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c index

[PATCH 1/1] For MPC831x the bus probing function needs the fixup to assign addresses to the PCI devices as it was for MPC85xx and MPC86xx. The fixup of the bridge vendor and device ID should be done e

2013-03-18 Thread Sergey Gerasimov
Signed-off-by: Sergey Gerasimov sergey.gerasi...@astrosoft-development.com --- arch/powerpc/sysdev/fsl_pci.c | 71 +-- 1 file changed, 34 insertions(+), 37 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index

Re: Linux IPMI subsystem hang

2013-03-18 Thread Corey Minyard
On 03/15/2013 01:57 PM, Daniel Kahn Gillmor wrote: On Tue 2013-03-12 22:23:37 -0400, Daniel Kahn Gillmor wrote: I am working with a Lenovo ThinkCentre M78, model 4865-A14, and it seems to have trouble with the IPMI subsystem. udev seems to hang for about 3 minutes at startup, ultimately

Re: [PATCH 2/2] Drivers: hv: balloon: Support 2M page allocations for ballooning

2013-03-18 Thread Michal Hocko
On Mon 18-03-13 13:44:05, KY Srinivasan wrote: -Original Message- From: Michal Hocko [mailto:mho...@suse.cz] Sent: Monday, March 18, 2013 6:53 AM To: KY Srinivasan Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de;

Re: [PATCH] usb host: Faraday FUSBH200 HCD driver.

2013-03-18 Thread Alan Stern
On Mon, 18 Mar 2013, Felipe Balbi wrote: On Mon, Mar 18, 2013 at 06:06:18PM +0800, Yuan-Hsin Chen wrote: Hi, I tried to modify fusbh200 hcd driver following ehci-platform.c. However, the register definition of fusbh200 is partially incompatible to ehci. For fusbh200, only the elements

[GIT PULL] arm-soc fixes for v3.9-rc3

2013-03-18 Thread Arnd Bergmann
The following changes since commit 27f423fe120df3a7488dd750b4e0508f03c325b6: ARM: spear3xx: Use correct pl080 header file (2013-03-12 10:56:32 +0100) are available in the git repository at: git+ssh://gitol...@ra.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/fixes for you to

Re: [PATCH] HID: usbhid: quirk for Realtek Multi-card reader

2013-03-18 Thread Josh Boyer
On Mon, Mar 18, 2013 at 02:52:32PM +0100, Jiri Kosina wrote: On Mon, 18 Mar 2013, Josh Boyer wrote: This device has an odd HID entry I can't really say I understand this portion of the changelog. I just took it from what Hans said in the bug. I believe I might have misunderstood. I

[GIT] SELinux xfrm kmalloc fix

2013-03-18 Thread James Morris
Please apply. The following changes since commit a937536b868b8369b98967929045f1df54234323: Linux 3.9-rc3 (2013-03-17 15:59:32 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git for-linus Dan Carpenter (1): selinux:

workqueue code needing preemption disabled

2013-03-18 Thread Steven Rostedt
Hi Tejun, I'm debugging a crash on -rt that has the following: kernel BUG at kernel/sched/core.c:1731! invalid opcode: [#1] PREEMPT SMP CPU 5 Pid: 16637, comm: kworker/5:0 Not tainted 3.6.11-rt30.25.el6rt.x86_64 #1 HP ProLiant DL580 G7 RIP: 0010:[8151ebea] [8151ebea]

Re: + atomic-improve-atomic_inc_unless_negative-atomic_dec_unless_positive .patch added to -mm tree

2013-03-18 Thread Paul E. McKenney
On Sat, Mar 16, 2013 at 07:30:22PM +0100, Oleg Nesterov wrote: On 03/15, Paul E. McKenney wrote: On Fri, Mar 15, 2013 at 07:34:32PM +0100, Frederic Weisbecker wrote: 2013/3/15 Oleg Nesterov o...@redhat.com: My point was: should we fix atomic_add_unless() then? If not, why

Re: udelay function delays the wrong time interval in multiprocessor system, if ARCH_HAS_READ_CURRENT_TIMER is not defined and on current timer is used.

2013-03-18 Thread chpoph
On Sun, Mar 17, 2013 at 08:05:43PM +, Will Deacon wrote: Do you actually have an ARM platform that can scale the CPU frequencies independently? Yes, my smart phone use Qualcomm's 8x25 and 8064 platform, which can scale the CPU frequencies independently. I test the delay loop, the phone

Re: [PATCH 2/2] perf tests: Add a test case for checking sw clock event frequency

2013-03-18 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 18, 2013 at 11:41:47AM +0900, Namhyung Kim escreveu: +static int __test__sw_clock_freq(enum perf_sw_ids clock_id) +{ + int i, err = -1; + volatile int tmp = 0; + u64 total_periods = 0; + int nr_samples = 0; + union perf_event *event; + struct perf_evsel

Re: [PATCH 00/50] staging: omap-thermal: several code refactoring

2013-03-18 Thread Eduardo Valentin
Greg, Dan, On 16-03-2013 12:16, Greg KH wrote: On Sat, Mar 16, 2013 at 08:46:03AM -0400, Eduardo Valentin wrote: Hello Dan, On 16-03-2013 05:05, Dan Carpenter wrote: I've reviewed this set. I hate to make people redo whole patchset sets, and I hate re-reviewing code. Obviously, I don't

Re: [PATCH] x86, kdump: Set crashkernel_low automatically

2013-03-18 Thread Vivek Goyal
On Mon, Mar 11, 2013 at 12:44:15PM -0700, Yinghai Lu wrote: On Mon, Mar 11, 2013 at 12:39 PM, Yinghai Lu ying...@kernel.org wrote: On Mon, Mar 11, 2013 at 12:38 PM, Vivek Goyal vgo...@redhat.com wrote: No need to use crashkernel_high, we can just cashkernel=X@Y instead. crashkernel=X@Y is

Stable kernel 3.8.3 appears to break displayport on intel gen4

2013-03-18 Thread Sergio Callegari
Hi, hope sending this message here is OK. In case it is not please take my apology. This is just a short note to let you know that after installing 3.8.3, display port stopped working on my laptop. Going back to 3.8.2 brought it back to life. This has been tested with the ubuntu mainline

[PATCH RFC] Support for JIT in Seccomp BPF filters.

2013-03-18 Thread Nicolas Schichan
Hi, This patch serie adds support for jitted seccomp BPF filters, with the required modifications to make it work on the ARM architecture. - The first patch in the serie adds the required boiler plate in the core kernel seccomp code to invoke the JIT compilation/free code. - The second patch

Re: [PATCH] udevadm-info: Don't access sysfs 'resourceN' files

2013-03-18 Thread Don Dutile
On 03/17/2013 06:28 PM, Alex Williamson wrote: On Sun, 2013-03-17 at 08:33 -0600, Myron Stowe wrote: On Sun, 2013-03-17 at 07:38 -0600, Alex Williamson wrote: On Sat, 2013-03-16 at 22:36 -0700, Greg KH wrote: On Sat, Mar 16, 2013 at 10:11:22PM -0600, Alex Williamson wrote: On Sat, 2013-03-16

[PATCH V2 1/3] seccomp: add generic code for jitted seccomp filters.

2013-03-18 Thread Nicolas Schichan
Architecture must select HAVE_SECCOMP_FILTER_JIT and implement seccomp_jit_compile() and seccomp_jit_free() if they intend to support jitted seccomp filters. struct seccomp_filter has been moved to linux/seccomp.h to make its content available to the jit compilation code. In a way similar to the

[PATCH V2 2/3] ARM: net: bpf_jit: make code generation less dependent on struct sk_filter.

2013-03-18 Thread Nicolas Schichan
This is in preparation of bpf_jit support for seccomp filters. Signed-off-by: Nicolas Schichan nschic...@freebox.fr --- arch/arm/net/bpf_jit_32.c | 46 - 1 file changed, 29 insertions(+), 17 deletions(-) diff --git a/arch/arm/net/bpf_jit_32.c

[PATCH V2 3/3] ARM: net: bpf_jit: add support for jitted seccomp filters.

2013-03-18 Thread Nicolas Schichan
This patch selects HAVE_SECCOMP_FILTER_JIT in the ARM Kconfig file, implements and seccomp_jit_compile() and seccomp_jit_free(), and adds support for BPF_S_ANC_SECCOMP_LD_W instruction. BPF_S_ANC_SECCOMP_LD_W instructions trigger the generation of a call to C function seccomp_bpf_load().

Re: [PATCH 1/9] migrate: add migrate_entry_wait_huge()

2013-03-18 Thread Michal Hocko
On Thu 21-02-13 14:41:40, Naoya Horiguchi wrote: [...] diff --git v3.8.orig/mm/migrate.c v3.8/mm/migrate.c index 2fd8b4a..7d84f4c 100644 --- v3.8.orig/mm/migrate.c +++ v3.8/mm/migrate.c @@ -236,6 +236,30 @@ void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd,

Re: [PATCH] net: bluetooth: Replaced kzalloc and memcpy with kmemdup

2013-03-18 Thread Gustavo Padovan
Hi Alexandru, * Alexandru Gheorghiu gheorghiuan...@gmail.com [2013-03-16 16:07:10 +0200]: Replaced calls to kzalloc followed by memcpy with a single call to kmemdup. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu gheorghiuan...@gmail.com --- net/bluetooth/a2mp.c |6

Re: [PATCH] net: bluetooth: Use PTR_RET function

2013-03-18 Thread Gustavo Padovan
Hi Alexandru, * Alexandru Gheorghiu gheorghiuan...@gmail.com [2013-03-16 16:10:03 +0200]: Used PTR_RET function instead of IS_ERR and PTR_ERR. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu gheorghiuan...@gmail.com --- net/bluetooth/hci_sysfs.c |4 +--- 1 file

[PATCH 0/8] staging: [omap,ti-soc]-thermal: fixes and renaming

2013-03-18 Thread Eduardo Valentin
Hi Greg, I am sending extra patches on omap-thermal driver, under staging. There are couple of fixes based on Dan Carpenter's review on the last patch set I sent. On top of these, there are some changes on the naming convention for this driver. This rename is based on previous review cycles that

[PATCH 1/8] staging: omap-thermal: fix return value

2013-03-18 Thread Eduardo Valentin
Return the proper error value in _omap_bandgap_read_threshold. Cc: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c index 33bfe3b..cb7aa35 100644

[PATCH 2/8] staging: omap-thermal: use spin_lock_irqsave inside IRQ handler

2013-03-18 Thread Eduardo Valentin
Even if the IRQ is not firing because it is ONE_SHOT and disable at INTC level, the IRQ handler must use spin_lock_irqsave. It is necessary to disable IRQs from the current CPU while it is holding a spin_lock which is need. Cc: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Eduardo

[PATCH 3/8] staging: omap-thermal: rename bg_ptr to bgp

2013-03-18 Thread Eduardo Valentin
Use a shorter name to bandgap pointer. Cc: Benoit b-cous...@ti.com Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c index a4ac06c..89361fe 100644 ---

Re: [PATCH 1/1] For MPC831x the bus probing function needs the fixup to assign addresses to the PCI devices as it was for MPC85xx and MPC86xx. The fixup of the bridge vendor and device ID should be do

2013-03-18 Thread Kumar Gala
On Mar 18, 2013, at 8:50 AM, Sergey Gerasimov wrote: Signed-off-by: Sergey Gerasimov sergey.gerasi...@astrosoft-development.com --- arch/powerpc/sysdev/fsl_pci.c | 71 +-- 1 file changed, 34 insertions(+), 37 deletions(-) Can you repost with subject

Re: [PATCH 5/5 v9] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-03-18 Thread Kumar Gala
On Mar 17, 2013, at 10:48 AM, Sethi Varun-B16395 wrote: + guts_node = of_find_compatible_node(NULL, NULL, + fsl,qoriq-device-config-1.0); This doesn't work for T4 or B4 device trees. [Sethi Varun-B16395]hmm I need to use the dcfg space for this. Let's see with

[PATCH 5/8] staging: ti-soc-thermal: make unexported functions local

2013-03-18 Thread Eduardo Valentin
Move _ti_bandgap_write_threshold and _ti_bandgap_read_threshold to static area, as they are local functions. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com diff --git a/drivers/staging/ti-soc-thermal/ti-bandgap.c b/drivers/staging/ti-soc-thermal/ti-bandgap.c index 6a0b1ac..c850e13

[PATCH 7/8] stating: ti-soc-thermal: use sizeof(*pointer) while allocating

2013-03-18 Thread Eduardo Valentin
Follow Documentation/CodingStyle and use sizeof(*pointer) instead of sizeof(struct type). Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com diff --git a/drivers/staging/ti-soc-thermal/ti-bandgap.c b/drivers/staging/ti-soc-thermal/ti-bandgap.c index b74e847..4382c0c 100644 ---

[PATCH 6/8] staging: ti-soc-thermal: split writable data from readonly data

2013-03-18 Thread Eduardo Valentin
This patch changes the data structures of this driver so that readonly data can reside only in the conf pointer. Now each register has a struct to hold its configuration info, to be used base on chip version for instance, and a struct of values to be written, like register shadow and priv data.

[PATCH 8/8] staging: ti-soc-thermal: fix several kernel-doc warnings and error

2013-03-18 Thread Eduardo Valentin
This patch updates the documentation to remove all warnings and errors reported by scripts/kernel-doc. Most are missing arguments due to wrong format. Cc: Nishanth Menon n...@ti.com Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com diff --git a/drivers/staging/ti-soc-thermal/ti-bandgap.c

Re: [PATCH] ARM: mach-moxart: platform port for MOXA ART SoC

2013-03-18 Thread Arnd Bergmann
On Sunday 17 March 2013, Jonas Jensen wrote: Thank you for the feedback. Some of the changes are sure to be a challenge for me, but I want to move this forward, and having a list helps. 3.2.40 is as far as it'll go right now, nothing prints to UART starting with 3.3.8 (last tested, it's

Re: [PATCH] ARM: hw_breakpoint: Enable debug powerdown only if system supports 'has_ossr'

2013-03-18 Thread Will Deacon
Hi Santosh, On Mon, Mar 18, 2013 at 06:51:30AM +, Santosh Shilimkar wrote: On Friday 15 March 2013 10:30 AM, Will Deacon wrote: Furthermore, I was under the impression that hw_breakpoint did actually work on panda, which implies that a cold boot *does* manage to reset the registers

RE: [PATCH 2/2] Drivers: hv: balloon: Support 2M page allocations for ballooning

2013-03-18 Thread KY Srinivasan
-Original Message- From: Michal Hocko [mailto:mho...@suse.cz] Sent: Monday, March 18, 2013 10:13 AM To: KY Srinivasan Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; a...@firstfloor.org;

[PATCH] net: bluetooth: Replaced kzalloc and memcpy with kmemdup

2013-03-18 Thread Alexandru Gheorghiu
Replaced calls to kzalloc followed by memcpy with a single call to kmemdup. Signed-off-by: Alexandru Gheorghiu gheorghiuan...@gmail.com --- net/bluetooth/a2mp.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/bluetooth/a2mp.c b/net/bluetooth/a2mp.c index

Re: [PATCH 1/7] kbuild: create an include chroot for DT bindings

2013-03-18 Thread Shawn Guo
On Wed, Mar 06, 2013 at 11:22:57AM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com The recent dtc+cpp support allows header files and C pre-processor defines/macros to be used when compiling device tree files. These headers will typically define various constants that

Re: [RFC PATCH 0/3] Perf persistent events

2013-03-18 Thread Borislav Petkov
On Mon, Mar 18, 2013 at 09:40:08AM +0100, Ingo Molnar wrote: That definitely looks interesting and desirable. It would be nice to have more generic/flexible semantics by using the VFS for tracing context discovery. That would allow 'stateful tracing', and not just in a kernel initiated

Re: [PATCH] net: bluetooth: Replaced kzalloc and memcpy with kmemdup

2013-03-18 Thread Gustavo Padovan
Hi Alexandru, * Alexandru Gheorghiu gheorghiuan...@gmail.com [2013-03-17 07:16:50 +0200]: Replaced calls to kzalloc followed by memcpy with a single call to kmemdup. Signed-off-by: Alexandru Gheorghiu gheorghiuan...@gmail.com --- net/bluetooth/a2mp.c |6 ++ 1 file changed, 2

Re: [RFC PATCH 1/1] usb: f_rndis: Avoid to use ERROR macro if cdev can be null

2013-03-18 Thread Greg Kroah-Hartman
On Mon, Mar 18, 2013 at 09:28:07AM +0100, oskar.and...@sonymobile.com wrote: On 21:16 Fri 08 Mar , Greg Kroah-Hartman wrote: On Fri, Mar 08, 2013 at 11:56:26PM +0400, Sergei Shtylyov wrote: Hello. On 08-03-2013 16:53, oskar.and...@sonymobile.com wrote: From: Truls Bengtsson

Re: linux-next: manual merge of the bcm2835 tree with the arm-soc tree

2013-03-18 Thread Stephen Warren
On 03/17/2013 10:04 PM, Stephen Rothwell wrote: Hi Stephen, Today's linux-next merge of the bcm2835 tree got a conflict in arch/arm/Kconfig between commit 15bc1fe67f66 (ARM: cns3xxx: enable multiplatform support) from the arm-soc tree and commit f1ac922dec7e (ARM: bcm2835: convert to

Re: [PATCH V4] ARM: dts: add minimal DT support for DevKit8000.

2013-03-18 Thread Benoit Cousson
Hi Anil, On 03/17/2013 06:23 AM, Anil Kumar wrote: Hi Benoit, On Thu, Mar 7, 2013 at 12:21 PM, Benoit Cousson b-cous...@ti.com wrote: Hi, On 03/06/2013 06:53 PM, Tony Lindgren wrote: * Anil Kumar anilk...@gmail.com [130305 18:40]: Hi Tony, From: linux-arm-kernel

Re: [PATCH 2/9] migrate: make core migration code aware of hugepage

2013-03-18 Thread Michal Hocko
On Thu 21-02-13 14:41:41, Naoya Horiguchi wrote: [...] diff --git v3.8.orig/include/linux/mempolicy.h v3.8/include/linux/mempolicy.h index 0d7df39..2e475b5 100644 --- v3.8.orig/include/linux/mempolicy.h +++ v3.8/include/linux/mempolicy.h @@ -173,7 +173,7 @@ extern int mpol_to_str(char

Re: linux-next: manual merge of the tegra tree with the arm-soc tree

2013-03-18 Thread Stephen Warren
On 03/17/2013 10:31 PM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the tegra tree got a conflict in drivers/clocksource/tegra20_timer.c between commit 1d16cfb3aeba (clocksource: tegra20: use the device_node pointer passed to init) from the arm-soc tree and commit

[PATCH V3 0/7] Create sched_select_cpu() and use it for workqueues

2013-03-18 Thread Viresh Kumar
In order to save power, it would be useful to schedule light weight work on cpus that aren't IDLE instead of waking up an IDLE one. By idle cpu (from scheduler's perspective) we mean: - Current task is idle task - nr_running == 0 - wake_list is empty This is already implemented for timers as

[PATCH V3 2/7] timer: hrtimer: Don't check idle_cpu() before calling get_nohz_timer_target()

2013-03-18 Thread Viresh Kumar
Check for current cpu's idleness is already done in implementation of sched_select_cpu() which is called by get_nohz_timer_target(). So, no need to call idle_cpu() twice, once from sched_select_cpu() and once from timer and hrtimer before calling get_nohz_timer_target(). This patch removes calls

[PATCH V3 3/7] workqueue: Add helpers to schedule work on any cpu

2013-03-18 Thread Viresh Kumar
queue_work() queues work on current cpu. This may wake up an idle CPU, which is actually not required. Some of these works can be processed by any CPU and so we must select a non-idle CPU here. The initial idea was to modify implementation of queue_work(), but that may end up breaking lots of

[PATCH V3 4/7] PHYLIB: queue work on any cpu

2013-03-18 Thread Viresh Kumar
Phylib uses workqueues for multiple purposes. There is no real dependency of scheduling these on the cpu which scheduled them. On a idle system, it is observed that and idle cpu wakes up many times just to service this work. It would be better if we can schedule it on a cpu which isn't idle to

[PATCH V3 5/7] mmc: queue work on any cpu

2013-03-18 Thread Viresh Kumar
mmc uses workqueues for running mmc_rescan(). There is no real dependency of scheduling these on the cpu which scheduled them. On a idle system, it is observed that and idle cpu wakes up many times just to service this work. It would be better if we can schedule it on a cpu which isn't idle to

[PATCH V3 6/7] block: queue work on any cpu

2013-03-18 Thread Viresh Kumar
block layer uses workqueues for multiple purposes. There is no real dependency of scheduling these on the cpu which scheduled them. On a idle system, it is observed that and idle cpu wakes up many times just to service this work. It would be better if we can schedule it on a cpu which isn't idle

[PATCH V3 7/7] fbcon: queue work on any cpu

2013-03-18 Thread Viresh Kumar
fbcon uses workqueues and it has no real dependency of scheduling these on the cpu which scheduled them. On a idle system, it is observed that and idle cpu wakes up few times just to service this work. It would be better if we can schedule it on a cpu which isn't idle to save on power. By idle

Re: [rttest] WARNING: at drivers/base/core.c:569 device_create_file()

2013-03-18 Thread Greg Kroah-Hartman
] [ cut here ] [ 11.582568] WARNING: at /c/kernel-tests/src/linux/drivers/base/core.c:569 device_create_file+0x5a/0xa0() [ 11.584035] Write permission without 'store' [ 11.584793] Pid: 1, comm: swapper/0 Not tainted 3.9.0-rc2-next-20130318 #21 [ 11.585902] Call Trace

Re: udelay function delays the wrong time interval in multiprocessor system, if ARCH_HAS_READ_CURRENT_TIMER is not defined and on current timer is used.

2013-03-18 Thread Russell King - ARM Linux
On Mon, Mar 18, 2013 at 10:40:56PM +0800, chpoph wrote: On Sun, Mar 17, 2013 at 08:05:43PM +, Will Deacon wrote: Do you actually have an ARM platform that can scale the CPU frequencies independently? Yes, my smart phone use Qualcomm's 8x25 and 8064 platform, which can scale the CPU

Re: sctp: hang in sctp_remaddr_seq_show

2013-03-18 Thread Eric Dumazet
On Mon, 2013-03-18 at 07:04 -0400, Neil Horman wrote: I'm not sure why the process would never get back to the schedule, but looking at the sctp_remaddr_seq_show function, I think that we should convert this sequence: sctp_local_bh_disable(); read_lock(head-lock);

Re: [PATCH] efivarfs: fix abnormal GUID in variable name by using strcpy to replace null with dash

2013-03-18 Thread Matt Fleming
On 03/11/2013 01:17 PM, joeyli wrote: Sorry for after I wrote patch, I think it's better we still use your original patch to fix this bug, because I found the efi_variable-VariableName allocated 1024 size and it also used by old vars system. The following is my patch for reference, but I

[PATCH V3 1/7] sched: Create sched_select_cpu() to give preferred CPU for power saving

2013-03-18 Thread Viresh Kumar
In order to save power, it would be useful to schedule light weight work on cpus that aren't IDLE instead of waking up an IDLE one. By idle cpu (from scheduler's perspective) we mean: - Current task is idle task - nr_running == 0 - wake_list is empty This is already implemented for timers as

Re: [GIT PULL] arm-soc fixes for v3.9-rc3

2013-03-18 Thread Linus Torvalds
On Mon, Mar 18, 2013 at 7:22 AM, Arnd Bergmann a...@arndb.de wrote: are available in the git repository at: git+ssh://gitol...@ra.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/fixes What the heck happened to your script? Please use the public address so that others could look

Re: sctp: hang in sctp_remaddr_seq_show

2013-03-18 Thread Vlad Yasevich
On 03/18/2013 11:25 AM, Eric Dumazet wrote: On Mon, 2013-03-18 at 07:04 -0400, Neil Horman wrote: I'm not sure why the process would never get back to the schedule, but looking at the sctp_remaddr_seq_show function, I think that we should convert this sequence: sctp_local_bh_disable();

Re: [PATCH 2/9] migrate: make core migration code aware of hugepage

2013-03-18 Thread Michal Hocko
On Mon 18-03-13 16:22:24, Michal Hocko wrote: On Thu 21-02-13 14:41:41, Naoya Horiguchi wrote: [...] diff --git v3.8.orig/include/linux/mempolicy.h v3.8/include/linux/mempolicy.h index 0d7df39..2e475b5 100644 --- v3.8.orig/include/linux/mempolicy.h +++ v3.8/include/linux/mempolicy.h

Re: [PATCH] x86, kdump: Set crashkernel_low automatically

2013-03-18 Thread Vivek Goyal
On Mon, Mar 18, 2013 at 10:46:03AM -0400, Vivek Goyal wrote: On Mon, Mar 11, 2013 at 12:44:15PM -0700, Yinghai Lu wrote: On Mon, Mar 11, 2013 at 12:39 PM, Yinghai Lu ying...@kernel.org wrote: On Mon, Mar 11, 2013 at 12:38 PM, Vivek Goyal vgo...@redhat.com wrote: No need to use

[bugfix] mm: zone_end_pfn is too small

2013-03-18 Thread Russ Anderson
Booting with 32 TBytes memory hits BUG at mm/page_alloc.c:552! (output below). The key hint is page 4294967296 outside zone. 4294967296 = 0x1 (bit 32 is set). The problem is in include/linux/mmzone.h: 530 static inline unsigned zone_end_pfn(const struct zone *zone) 531 { 532

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

2013-03-18 Thread Jan Kara
On Sun 17-03-13 13:06:59, David Howells wrote: Miklos Szeredi mik...@szeredi.hu wrote: Export do_splice_direct() to modules. Needed by overlay filesystem. Apparently you cannot call this from any function that is holding an i_mutex if the target of the splice uses

Re: [PATCH V3 1/7] sched: Create sched_select_cpu() to give preferred CPU for power saving

2013-03-18 Thread Frederic Weisbecker
2013/3/18 Viresh Kumar viresh.ku...@linaro.org: In order to save power, it would be useful to schedule light weight work on cpus that aren't IDLE instead of waking up an IDLE one. By idle cpu (from scheduler's perspective) we mean: - Current task is idle task - nr_running == 0 - wake_list

Re: Revert a bunch of patches in stable kernels

2013-03-18 Thread Daniel Vetter
On Mon, Mar 18, 2013 at 11:05 AM, Daniel Vetter daniel.vet...@ffwll.ch wrote: Hi Gregall, So a recent stable backport to fix rc6 on ilk (which is disabled by default and with dubious power savings at best, unlike rc6 on snb and later) totally blew up all over the place:

Re: [PATCH 5/9] migrate: enable migrate_pages() to migrate hugepage

2013-03-18 Thread Michal Hocko
On Thu 21-02-13 14:41:44, Naoya Horiguchi wrote: This patch extends check_range() to handle vma with VM_HUGETLB set. With this changes, we can migrate hugepage with migrate_pages(2). Note that for larger hugepages (covered by pud entries, 1GB for x86_64 for example), we simply skip it now.

Re: [PATCH] checkpatch: stop checking for CONFIG_EXPERIMENTAL

2013-03-18 Thread Paul Bolle
On Sat, 2013-03-16 at 15:38 -0700, Kees Cook wrote: Hrm, I actually think it would be better to change this to ERROR instead of WARN. I figured the main reason to add this warning was to prevent people to add dependencies on EXPERIMENTAL while you were cleaning the tree, which could mean you

Re: [PATCH] HID: usbhid: quirk for MSI GX680R led panel

2013-03-18 Thread Josh Boyer
On Mon, Mar 18, 2013 at 02:54:58PM +0100, Jiri Kosina wrote: On Mon, 18 Mar 2013, Josh Boyer wrote: This keyboard backlight device causes a 10 second delay to boot. Add it to the quirk list with HID_QUIRK_NO_INIT_REPORTS. Applied, thanks. Ugh. Typo in this patch that prevents it from

Re: [PATCH V3 1/7] sched: Create sched_select_cpu() to give preferred CPU for power saving

2013-03-18 Thread Viresh Kumar
On Mon, Mar 18, 2013 at 9:09 PM, Frederic Weisbecker fweis...@gmail.com wrote: 2013/3/18 Viresh Kumar viresh.ku...@linaro.org: +static inline int sched_select_cpu(unsigned int sd_flags) +{ + return raw_smp_processor_id(); I feel this should be symetric with the requirement of having

[PATCH v2] HID: usbhid: quirk for MSI GX680R led panel

2013-03-18 Thread Josh Boyer
This keyboard backlight device causes a 10 second delay to boot. Add it to the quirk list with HID_QUIRK_NO_INIT_REPORTS. This fixes Red Hat bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=907221 Signed-off-by: Josh Boyer jwbo...@redhat.com --- v2: Fix typo in vendor define

Re: [PATCH] ARM: hw_breakpoint: Enable debug powerdown only if system supports 'has_ossr'

2013-03-18 Thread Santosh Shilimkar
On Monday 18 March 2013 08:37 PM, Will Deacon wrote: Hi Santosh, On Mon, Mar 18, 2013 at 06:51:30AM +, Santosh Shilimkar wrote: On Friday 15 March 2013 10:30 AM, Will Deacon wrote: Furthermore, I was under the impression that hw_breakpoint did actually work on panda, which implies that

Re: [PATCH 1/7] kbuild: create an include chroot for DT bindings

2013-03-18 Thread Stephen Warren
On 03/18/2013 09:13 AM, Shawn Guo wrote: On Wed, Mar 06, 2013 at 11:22:57AM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com The recent dtc+cpp support allows header files and C pre-processor defines/macros to be used when compiling device tree files. These headers will

Re: linux-next: manual merge of the tegra tree with the arm-soc tree

2013-03-18 Thread Arnd Bergmann
On Monday 18 March 2013, Stephen Warren wrote: On 03/17/2013 10:31 PM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the tegra tree got a conflict in drivers/clocksource/tegra20_timer.c between commit 1d16cfb3aeba (clocksource: tegra20: use the device_node pointer

Re: [PATCH 9/9] remove /proc/sys/vm/hugepages_treat_as_movable

2013-03-18 Thread Michal Hocko
On Thu 21-02-13 14:41:48, Naoya Horiguchi wrote: Now hugepages are definitely movable. So allocating hugepages from ZONE_MOVABLE is natural and we have no reason to keep this parameter. The sysctl is a part of user interface so you shouldn't remove it right away. What we can do is to make it

Re: [GIT PULL] arm-soc fixes for v3.9-rc3

2013-03-18 Thread Arnd Bergmann
On Monday 18 March 2013, Linus Torvalds wrote: On Mon, Mar 18, 2013 at 7:22 AM, Arnd Bergmann a...@arndb.de wrote: are available in the git repository at: git+ssh://gitol...@ra.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/fixes What the heck happened to your script?

[PATCH] drm/i915: stop using GMBUS IRQs on Gen4 chips (was Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses))

2013-03-18 Thread Jiri Kosina
Okay, so I think that for 3.9 we want the patch below, and if eventually hardware root cause / workaround is found for GM45, we can have it merged later. From: Jiri Kosina jkos...@suse.cz Subject: [PATCH] drm/i915: stop using GMBUS IRQs on Gen4 chips Commit 28c70f162 (drm/i915: use the gmbus

[patch] mm: speedup in __early_pfn_to_nid

2013-03-18 Thread Russ Anderson
When booting on a large memory system, the kernel spends considerable time in memmap_init_zone() setting up memory zones. Analysis shows significant time spent in __early_pfn_to_nid(). The routine memmap_init_zone() checks each PFN to verify the nid is valid. __early_pfn_to_nid() sequentially

Re: [PATCH] HID: usbhid: quirk for MSI GX680R led panel

2013-03-18 Thread Jiri Kosina
On Mon, 18 Mar 2013, Josh Boyer wrote: This keyboard backlight device causes a 10 second delay to boot. Add it to the quirk list with HID_QUIRK_NO_INIT_REPORTS. Applied, thanks. Ugh. Typo in this patch that prevents it from building. I shall hang my head in shame and send a

Re: [PATCH V3 1/7] sched: Create sched_select_cpu() to give preferred CPU for power saving

2013-03-18 Thread Frederic Weisbecker
2013/3/18 Viresh Kumar viresh.ku...@linaro.org: On Mon, Mar 18, 2013 at 9:09 PM, Frederic Weisbecker fweis...@gmail.com wrote: 2013/3/18 Viresh Kumar viresh.ku...@linaro.org: +static inline int sched_select_cpu(unsigned int sd_flags) +{ + return raw_smp_processor_id(); I feel this

Re: Stable kernel 3.8.3 appears to break displayport on intel gen4

2013-03-18 Thread Bjørn Mork
Sergio Callegari sergio.calleg...@gmail.com writes: This is just a short note to let you know that after installing 3.8.3, display port stopped working on my laptop. Going back to 3.8.2 brought it back to life. This has been tested with the ubuntu mainline kernels that should be vanilla

Re: [PATCH] pm: print the name of failed suspend function for platform device

2013-03-18 Thread Greg KH
On Mon, Mar 18, 2013 at 01:58:23PM +0800, Li Fei wrote: Print more info when platform device suspend function failed. Without this patch, we can not get the real platform device suspend API info. Example without this patch: pm_op(): platform_pm_suspend+0x0/0x50 returns -11 PM: Device

Re: [PATCH 0/2] finx argv_split() vs sysctl race

2013-03-18 Thread Oleg Nesterov
On 03/17, Oleg Nesterov wrote: Ah, I didn't mean the patch makes sense because of optimization. My point was, we can fix the race without making this code worse (in fact it tries to make the code better but this is subjective). OK, I am stupid. argv_free() passes the wrong poiinter to

[PATCH v2 1/2] teach argv_split() to handle the mutable strings

2013-03-18 Thread Oleg Nesterov
argv_split() allocates argv[count_argc(str)] array and assumes that it will find the same number of arguments later. This is obviously wrong if this string can be changed, say, by sysctl. With this patch argv_split() kstrndup's the whole string and does not split it, we simply replace the spaces

Re: workqueue code needing preemption disabled

2013-03-18 Thread Tejun Heo
Hello, Steven. On Mon, Mar 18, 2013 at 10:36:23AM -0400, Steven Rostedt wrote: kernel BUG at kernel/sched/core.c:1731! invalid opcode: [#1] PREEMPT SMP CPU 5 Pid: 16637, comm: kworker/5:0 Not tainted 3.6.11-rt30.25.el6rt.x86_64 #1 HP ProLiant DL580 G7 ... static void

Re: [PATCH 8/9] memory-hotplug: enable memory hotplug to handle hugepage

2013-03-18 Thread Michal Hocko
On Thu 21-02-13 14:41:47, Naoya Horiguchi wrote: Currently we can't offline memory blocks which contain hugepages because a hugepage is considered as an unmovable page. But now with this patch series, a hugepage has become movable, so by using hugepage migration we can offline such memory

[PATCH] h8300, score: fix CROSS_COMPILE setting in arch/xxx/Makefile

2013-03-18 Thread Jiang Liu
Makefiles for h8300 and score architectures unconditionally set CROSS_COMPILE to a default value, which breaks following cross compilation command: ARCH=h8300 CROSS_COMPILE=/ws/tool/h8300-elf/bin/h8300-elf- make arch/h8300/mm/init.o make: h8300-elf-gcc: Command not found make: h8300-elf-gcc:

adding missed signed-off-by for aio retry removal patch

2013-03-18 Thread Zach Brown
Hi Fellas, Kent mentioned that Ted was reviewing the aio patch series and wanted to see a Signed-off-by: from me for the patch that tears out the retry infrastructure. I had left it out as the patch was changing as we reviewed it and we forgot to add it in as it was finalized :(. Ted, here's my

Re: workqueue code needing preemption disabled

2013-03-18 Thread Steven Rostedt
On Mon, 2013-03-18 at 09:06 -0700, Tejun Heo wrote: Hello, Steven. On Mon, Mar 18, 2013 at 10:36:23AM -0400, Steven Rostedt wrote: kernel BUG at kernel/sched/core.c:1731! invalid opcode: [#1] PREEMPT SMP CPU 5 Pid: 16637, comm: kworker/5:0 Not tainted 3.6.11-rt30.25.el6rt.x86_64

Re: [PATCH] udevadm-info: Don't access sysfs 'resourceN' files

2013-03-18 Thread Alex Williamson
On Sun, 2013-03-17 at 15:00 +0100, Kay Sievers wrote: On Sun, Mar 17, 2013 at 2:38 PM, Alex Williamson alex.william...@redhat.com wrote: I'm assuming that the device only breaks because udevadm is dumping the full I/O port register space of the device and that if an actual driver was

[PATCH 03/54] perf tools: Honor parallel jobs

2013-03-18 Thread Arnaldo Carvalho de Melo
From: Borislav Petkov b...@suse.de We need to hand down parallel build options like the internal make --jobserver-fds one so that parallel builds can also happen when building perf from the toplevel directory. Make it so #1! Signed-off-by: Borislav Petkov b...@suse.de Cc: Ingo Molnar

[PATCH 45/54] perf evsel: Cleanup perf_evsel__exit()

2013-03-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Use perf_evsel__free_* because they do the same thing and ensures the pointer has NULL value at the end. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: David Ahern dsah...@gmail.com Cc: Ingo Molnar mi...@kernel.org Cc: Jiri Olsa jo...@redhat.com Cc:

[PATCH 48/54] perf record: Fixup return path of cmd_record()

2013-03-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com The error path of calling perf_target__parse_uid wrongly went to out_free_fd. Also add missing evlist cleanup routines. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: David Ahern dsah...@gmail.com Cc: Ingo Molnar mi...@kernel.org Cc: Jiri Olsa

[PATCH 27/54] perf annotate: Factor out struct source_line_percent

2013-03-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com The source_line_percent struct contains percentage value of the symbol histogram. This is a preparation of event group view change. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: Andi Kleen a...@firstfloor.org Cc: Ingo Molnar mi...@kernel.org Cc:

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