Re: [RFC 1/1] ima: digital signature verification using asymmetric keys

2013-01-29 Thread Kasatkin, Dmitry
On Mon, Jan 28, 2013 at 10:13 PM, Vivek Goyal wrote: > On Mon, Jan 28, 2013 at 02:51:34PM -0500, Mimi Zohar wrote: >> On Mon, 2013-01-28 at 13:52 -0500, Vivek Goyal wrote: >> > On Mon, Jan 28, 2013 at 05:20:20PM +0200, Kasatkin, Dmitry wrote: >> > >> > [..] >> > > > Ok. I am hoping that it will

[PATCH] mmotm: memcgvmscan-do-not-break-out-targeted-reclaim-without-reclaimed-pages.patch fix

2013-01-29 Thread Michal Hocko
Ying has noticed me (via private email) that the patch is bogus because the break out condition is incorrect. She said she would post a fix but she's been probably too busy. If she doesn't oppose, could you add the follow up fix, please? I am really sorry about this mess. --- >From

Re: [PATCH V7 REPOST] kbuild: create a rule to run the pre-processor on *.dts files

2013-01-29 Thread Michal Marek
On 29.1.2013 01:33, Stephen Warren wrote: > From: Stephen Warren > > Create cmd_dtc_cpp to run the C pre-processor on *.dts file before > passing them to dtc for final compilation. This allows the use of #define > and #include within the .dts file. > > Signed-off-by: Stephen Warren > Acked-by:

Re: [PATCH] x86/apic: check FADT settings after enable x2apic

2013-01-29 Thread Ingo Molnar
* Wang, Song-Bo (Stoney) wrote: > [...] Due to this mode mismatch, with specific HW > configurations, there will be intermittent lost interrupts, > which could result in a hang or data loss. That's the key piece of information that was missing - which should be put into the changelog into a

Re: [RFC 1/1] ima: digital signature verification using asymmetric keys

2013-01-29 Thread Kasatkin, Dmitry
On Mon, Jan 28, 2013 at 8:52 PM, Vivek Goyal wrote: > On Mon, Jan 28, 2013 at 05:20:20PM +0200, Kasatkin, Dmitry wrote: > > [..] >> > Ok. I am hoping that it will be more than the kernel command line we >> > support. In the sense that for digital signatures one needs to parse >> > the signature,

[PATCH 2/4] ARM: imx: set CKO1 parent clock source in imx6q sabresd

2013-01-29 Thread Gary Zhang
in imx6q sabresd board, wm8962 uses CKO1 as MCLK. set ahb as CKO1 parent clock source Signed-off-by: Gary Zhang --- arch/arm/mach-imx/mach-imx6q.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-imx/mach-imx6q.c

[PATCH 1/4] ARM: dts: add support for wm8962 in imx6q sabresd

2013-01-29 Thread Gary Zhang
to support for wm8962, add I2C/I2S/clk/fixed regulator and other related supports Signed-off-by: Gary Zhang --- arch/arm/boot/dts/imx6q-sabresd.dts | 76 +++ arch/arm/boot/dts/imx6q.dtsi| 23 ++ 2 files changed, 99 insertions(+), 0

RE: [PATCH] x86/apic: check FADT settings after enable x2apic

2013-01-29 Thread Wang, Song-Bo (Stoney)
> From: Ingo Molnar [mailto:mingo.kernel@gmail.com] On Behalf Of Ingo > Molnar > Sent: Tuesday, January 29, 2013 3:48 PM > To: Yinghai Lu > Cc: Wang, Song-Bo (Stoney); H. Peter Anvin; Ingo Molnar; Thomas > Gleixner; Zhang, Lin-Bao (Linux Kernel R); Pearson, Greg; linux- >

Re: aim7 performance regression by commit 5a50508 report from LKP

2013-01-29 Thread Ingo Molnar
* Yuanhan Liu wrote: > [...] Very nice measurements and analysis, thanks! > As stated above, anybody can have a chance to own the lock in > mutex once somebody release the lock. Well, there is only one > to own the lock in rwsem write lock, and the one is known > already: the one in the

Re: [PATCH 3/4] watchdog: add support for ux500_wdt watchdog

2013-01-29 Thread Fabio Baltieri
Hello Wim, thanks for the review! On Mon, Jan 28, 2013 at 10:12:22PM +0100, Wim Van Sebroeck wrote: > > +static int timeout = WATCHDOG_TIMEOUT; > > +module_param(timeout, int, 0); > > +MODULE_PARM_DESC(timeout, > > + "Watchdog timeout in seconds. default=" > > +

Re: [PATCH]sched/rt: Do not try to push tasks if pinned task switches to RT

2013-01-29 Thread Libo Chen
From: Libo Chen On 2013-1-29 4:23, Kirill Tkhai wrote: > Just switched pinned task is not able to be pushed. If the rq had had > several RT tasks before they have already been considered as candidates > to be pushed (or pulled). > > Signed-off-by: Kirill V Tkhai > CC: Steven Rostedt > CC:

Re: [PATCH 1/1] NET: qmi_wwan: add Telit LE920 support

2013-01-29 Thread Daniele Palmas
Hello, 2013/1/28 Bjørn Mork : > Daniele Palmas writes: > >> Add VID, PID and fixed interface for Telit LE920 >> >> Signed-off-by: Daniele Palmas >> --- >> drivers/net/usb/qmi_wwan.c |1 + >> 1 files changed, 1 insertions(+), 0 deletions(-) >> >> diff --git a/drivers/net/usb/qmi_wwan.c

RE: [PATCH] x86: Hyper-V: register clocksource only if its advertised

2013-01-29 Thread Jan Beulich
>>> On 28.01.13 at 18:44, Stefano Stabellini >>> wrote: > I think that Olaf made his point very clear: a feature A should only be > enabled if the corresponding flag A is set. > In fact it seems to me that this patch is correct on its own merits, > regardless of Xen does or does not. > > The

Re: [RFC] arm: use built-in byte swap function

2013-01-29 Thread Borislav Petkov
On Mon, Jan 28, 2013 at 07:30:33PM -0600, Kim Phillips wrote: > Enable the compiler intrinsic for byte swapping on arch ARM. This > allows the compiler to detect and be able to optimize out byte > swappings, e.g. in big endian to big endian moves. > > AFAICT, arm gcc got __builtin_bswap{32,64}

[PATCH] drm/cirrus: Add bpp option

2013-01-29 Thread Takashi Iwai
Add a new option, bpp, to specify the default bpp value. Signed-off-by: Takashi Iwai --- This patch is applied on the top of previous two patches. I couldn't find an easy way to specify the default bpp, so I cooked the driver quickly. If there is any other convenient way to achieve this, let

[PATCH] Doc: percpu_counter doc code for better readability

2013-01-29 Thread Jesper Dangaard Brouer
Help people reading the percpu_counter code, to notice the ifdef else statement that seperates CONFIG_SMP. Signed-off-by: Jesper Dangaard Brouer --- include/linux/percpu_counter.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/percpu_counter.h

Re: [PATCH 1/2] drm/cirrus: Correct register values for 16bpp

2013-01-29 Thread Takashi Iwai
Hi Dave, any chance to take a look at this problem? thanks, Takashi At Fri, 25 Jan 2013 17:21:54 +0100, Takashi Iwai wrote: > > When the mode is set with 16bpp on QEMU, the output gets totally > broken. The culprit is the bogus register values set for 16bpp, > which was likely copied from

aim7 performance regression by commit 5a50508 report from LKP

2013-01-29 Thread Yuanhan Liu
Hi, Here we, LKP(Linux Kernel Performance, a project to do performance benchmark testing for Linux kernel, and try to find and fix the performance regressions), found a 10%-20% performance regression of aim7 benchmark introduced by commit 5a50508: "mm/rmap: Convert the struct anon_vma::mutex to

[PATCH] printk: add pr_devel_once and pr_devel_ratelimited

2013-01-29 Thread Mikhail Gruzdev
Standardize pr_devel logging macros family by adding pr_devel_once and pr_devel_ratelimited. Signed-off-by: Mikhail Gruzdev Cc: Joe Perches Cc: Kay Sievers --- include/linux/printk.h | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git

Re: [PATCH v3 3/3] leds: leds-pwm: Defer led_pwm_set() if PWM can sleep

2013-01-29 Thread Peter Ujfalusi
On 01/28/2013 03:00 PM, Florian Vaussard wrote: > Call to led_pwm_set() can happen inside atomic context, like triggers. > If the PWM call can sleep, defer using a worker. > > Cc: Peter Ujfalusi > Signed-off-by: Florian Vaussard Reviewed-by: Peter Ujfalusi > --- > drivers/leds/leds-pwm.c |

Re: [PATCH v3 1/3] pwm: Add pwm_can_sleep() as exported API to users

2013-01-29 Thread Peter Ujfalusi
On 01/28/2013 03:00 PM, Florian Vaussard wrote: > Calls to some external PWM chips can sleep. To help users, > add pwm_can_sleep() API. > > Cc: Thierry Reding > Cc: Peter Ujfalusi > Signed-off-by: Florian Vaussard Reviewed-by: Peter Ujfalusi > --- > drivers/pwm/core.c | 12

Re: [PATCH 1/4] pwm_backlight: Fix PWM levels support in non DT case

2013-01-29 Thread Peter Ujfalusi
On 01/28/2013 10:01 PM, Thierry Reding wrote: > On Tue, Jan 22, 2013 at 02:39:53PM +0100, Peter Ujfalusi wrote: >> It is expected that board files would have: >> static unsigned int bl_levels[] = { 0, 50, 100, 150, 200, 250, }; >> >> static struct platform_pwm_backlight_data bl_data = { >>

Re: [PATCH] [x86]: Compiler Option Os is better on latest x86

2013-01-29 Thread Ingo Molnar
* valdis.kletni...@vt.edu wrote: > On Fri, 25 Jan 2013 09:11:01 -0500, ling.ma.prog...@gmail.com said: > > > Based on above reasons, we compiled linux kernel 3.6.9 with O2 and Os > > respectively. The results show Os improve performance netperf 4.8%, > > 2.7% for volano as below > > Am I

[GIT PULL] one s390 patch for 3.8-rc6

2013-01-29 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following update: Another transparent huge page fix, we need to define a s390 variant for pmdp_set_wrprotect to flush the TLB for the huge page

Re: [PATCH 1/8] perf tools: Add '.' as part of the event 'name' token

2013-01-29 Thread Ingo Molnar
* Stephane Eranian wrote: > On Mon, Jan 28, 2013 at 9:52 PM, Stephane Eranian wrote: > > Jiri, > > > > I don't see part 0/8 of this series. Did you send it to me too? > > > > I have some comments about it. I don't see why create something from scratch > > when I have been developing a library

Re: [PATCH V2] ARM: davinci: da850: add RTC DT entries

2013-01-29 Thread Sekhar Nori
On 1/29/2013 1:05 PM, Katepallewar, Mrugesh wrote: > On Mon, Jan 28, 2013 at 21:32:13, Nori, Sekhar wrote: >> Hi Mrugesh, >> >> On 1/28/2013 1:17 PM, Mrugesh Katepallewar wrote: >>> Add RTC DT entries in da850 dts file. >>> >>> Signed-off-by: Mrugesh Katepallewar >>> --- >>> Applies on top of

Re: [PATCH 4/4] ACPI / platform: Use struct acpi_scan_handler for creating devices

2013-01-29 Thread Mika Westerberg
On Mon, Jan 28, 2013 at 02:01:14PM +0100, Rafael J. Wysocki wrote: > +/* Flags for acpi_create_platform_device */ > +#define ACPI_PLATFORM_CLKBIT(0) > + > +/* > + * The following ACPI IDs are known to be suitable for representing as > + * platform devices. > + */ > +static const struct

[RFC PATCH v3 3/3] sched: simplify select_task_rq_fair() with schedule balance map

2013-01-29 Thread Michael Wang
Since schedule balance map provide the approach to get proper sd directly, simplify the code of select_task_rq_fair() is possible. The new code is designed to reserve most of the old logical, but get rid of those 'for' by using the schedule balance map to locate proper sd directly.

Re: aim7 performance regression by commit 5a50508 report from LKP

2013-01-29 Thread Ingo Molnar
* Yuanhan Liu yuanhan@linux.intel.com wrote: On Tue, Jan 29, 2013 at 09:44:00AM +0100, Ingo Molnar wrote: * Yuanhan Liu yuanhan@linux.intel.com wrote: [...] Very nice measurements and analysis, thanks! As stated above, anybody can have a chance to own the lock in

Re: [Ilw] iwlwifi/iwldvm soft lockup with 3.8.0-rc5 (was: almost unusable on 3.8.0-rc5)

2013-01-29 Thread Mathieu Chouquet-Stringer
Hello Emmanuel, On Tue, Jan 29, 2013 at 8:16 AM, Grumbach, Emmanuel emmanuel.grumb...@intel.com wrote: Please try this one: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=c3e5d7181afb66657393066bccce0956fab09ab3 as you can see, it is in mainline already. Ha, that was

Re: [PATCH v2 3/4] watchdog: add support for ux500_wdt watchdog

2013-01-29 Thread Wim Van Sebroeck
Hi Fabio, Samuel, This patch adds support for the ux500_wdt watchdog that is found in ST-Ericsson Ux500 platform. The driver is based on PRCMU APIs. Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Lee Jones lee.jo...@linaro.org Signed-off-by: Fabio Baltieri

Re: [PATCH] x86: Hyper-V: register clocksource only if its advertised

2013-01-29 Thread Olaf Hering
On Tue, Jan 29, Jan Beulich wrote: On 28.01.13 at 18:44, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: I think that Olaf made his point very clear: a feature A should only be enabled if the corresponding flag A is set. In fact it seems to me that this patch is correct on

Re: [PATCH 2/2] mutex: use spin_[un]lock instead of arch_spin_[un]lock

2013-01-29 Thread Ingo Molnar
* nan chen nach...@gmail.com wrote: #define spin_lock_mutex(lock, flags)\ do {\ struct mutex *l = container_of(lock, struct mutex, wait_lock); \

Re:[PATCH]sched/rt: Do not try to push tasks if pinned task switches to RT

2013-01-29 Thread Kirill Tkhai
From: Libo Chen libo.c...@huawei.com On 2013-1-29 4:23, Kirill Tkhai wrote: Just switched pinned task is not able to be pushed. If the rq had had several RT tasks before they have already been considered as candidates to be pushed (or pulled). Signed-off-by: Kirill V Tkhai

Re: [PATCH] CMAC support for CryptoAPI, fixed patch issues, indent, and testmgr build issues

2013-01-29 Thread Steffen Klassert
On Thu, Jan 24, 2013 at 01:25:46PM +0200, Jussi Kivilinna wrote: Maybe it would be cleaner to not mess with pfkeyv2.h at all, but instead mark algorithms that do not support pfkey with flag. See patch below. As nobody seems to have another opinion, we could go either with your approach, or

Re: [PATCH 1/1] NET: qmi_wwan: add Telit LE920 support

2013-01-29 Thread Bjørn Mork
Daniele Palmas dnl...@gmail.com writes: 2013/1/28 Bjørn Mork bj...@mork.no: Thanks for adding this device. But the patch doesn't apply to the current net tree. Care to rebase it? Sure. Should I use the following git repository

RE: [PATCH v2 1/4] ARM: OMAP2+: dpll: round rate to closest value

2013-01-29 Thread Mohammed, Afzal
Hi Paul, On Fri, Jan 25, 2013 at 17:48:22, Mohammed, Afzal wrote: On Fri, Jan 25, 2013 at 13:48:11, Paul Walmsley wrote: like MPU CPUFreq. I'd suggest reverting 241d3a8dca239610d3d991bf58d4fe38c2d86fd5 or using a similar approach. As you prefer reverting the above commit, I will proceed

Re: [PATCH 2/2] x86 e820: Introduce memmap=resetusablemap for kdump usage

2013-01-29 Thread Thomas Renninger
On Tuesday, January 29, 2013 03:10:38 AM Yinghai Lu wrote: On Mon, Jan 28, 2013 at 5:11 PM, H. Peter Anvin h...@zytor.com wrote: So I guess the final patch should be: - Add a new e820 type: E820_KDUMP_RESERVED /* Originally usable memory where the crashed

[tip:x86/boot] x86, boot: Sanitize boot_params if not zeroed on creation

2013-01-29 Thread tip-bot for H. Peter Anvin
Commit-ID: 5dcd14ecd41ea2b3ae3295a9b30d98769d52165f Gitweb: http://git.kernel.org/tip/5dcd14ecd41ea2b3ae3295a9b30d98769d52165f Author: H. Peter Anvin h...@linux.intel.com AuthorDate: Tue, 29 Jan 2013 01:05:24 -0800 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Tue, 29 Jan

[PATCH 1/3] extcon: max8997: Make max8997_extcon_cable static

2013-01-29 Thread Sachin Kamat
'max8997_extcon_cable' is used only in this file. Hence make it static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/extcon/extcon-max8997.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/extcon/extcon-max8997.c

[PATCH 2/3] extcon: max8997: Remove unreachable code

2013-01-29 Thread Sachin Kamat
'break' after 'return' is never executed and hence can be deleted. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/extcon/extcon-max8997.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c

[PATCH 3/3] extcon: max77693: Make max77693_extcon_cable static

2013-01-29 Thread Sachin Kamat
'max77693_extcon_cable' is used only in this file. Hence make it static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/extcon/extcon-max77693.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/extcon/extcon-max77693.c

[PATCH v3 10/30] USB: ehci-omap: Use PHY APIs to get the PHY device and put it out of suspend

2013-01-29 Thread Roger Quadros
For each port that is in PHY mode we obtain a PHY device using the USB PHY library and put it out of suspend. It is up to platform code to associate the PHY to the controller's port and it is upto the PHY driver to manage the PHY's resources. Also remove wired spacing around declarations we come

Re: [PATCH] drm/cirrus: Add bpp option

2013-01-29 Thread Daniel Vetter
On Tue, Jan 29, 2013 at 09:29:17AM +0100, Takashi Iwai wrote: Add a new option, bpp, to specify the default bpp value. Signed-off-by: Takashi Iwai ti...@suse.de --- This patch is applied on the top of previous two patches. I couldn't find an easy way to specify the default bpp, so I

Re: [PATCH 2/2] clk: tegra: adapt tegra periph clk to mux table/mask

2013-01-29 Thread Peter De Schrijver
On Mon, Jan 28, 2013 at 05:49:53PM +0100, Stephen Warren wrote: On 01/28/2013 08:54 AM, Peter De Schrijver wrote: The tegra peripheral clock type uses struct clk_mux directly, so it needs to be updated to handle the new mask and table fields. Also the macros need to be updated Just a

Re: [PATCH] IB: cxgb3: delay freeing mem untill entirely done with it

2013-01-29 Thread Jiri Kosina
On Mon, 14 Jan 2013, Steve Wise wrote: Reviewed-by: Steve Wise sw...@opengridcomputing.com Applied, thanks. -- Jiri Kosina SUSE Labs -- 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

Re: [PATCH v3 32/71] ARC: [DeviceTree] Basic support

2013-01-29 Thread Vineet Gupta
Hi James, On Monday 28 January 2013 03:51 PM, James Hogan wrote: Hi Vineet, On 24/01/13 10:50, Vineet Gupta wrote: diff --git a/arch/arc/Makefile b/arch/arc/Makefile index 4d52a3b..90570f9 100644 --- a/arch/arc/Makefile +++ b/arch/arc/Makefile @@ -83,6 +83,9 @@ head-y :=

Re: [PATCH] drm/cirrus: Add bpp option

2013-01-29 Thread Takashi Iwai
At Tue, 29 Jan 2013 10:53:50 +0100, Daniel Vetter wrote: On Tue, Jan 29, 2013 at 09:29:17AM +0100, Takashi Iwai wrote: Add a new option, bpp, to specify the default bpp value. Signed-off-by: Takashi Iwai ti...@suse.de --- This patch is applied on the top of previous two patches.

Re: [PATCH v3] qla2xxx: silence two GCC warnings

2013-01-29 Thread Paul Bolle
On Mon, 2012-10-08 at 11:15 -0500, Saurav Kashyap wrote: Acked-by: Saurav Kashyap saurav.kash...@qlogic.com Thanks, ~Saurav Compiling qla_gs.o (part of the qla2xxx module) triggers two GCC warnings: drivers/scsi/qla2xxx/qla_gs.c: In function Œqla2x00_fdmi_rhba¹:

Re: [PATCH 1/4] USB: HID: SRW-S1 Gaming Wheel Driver

2013-01-29 Thread Jiri Kosina
On Mon, 28 Jan 2013, si...@mungewell.org wrote: I'm happy to change it; However Steelseries' other devices are all keyboards/mice intended for/marketed at gamers. Since other Steelseries devices are unlikely to have the same structure (OK I'm just guessing on that) is it better to keep

Re: [PATCH v3 10/30] USB: ehci-omap: Use PHY APIs to get the PHY device and put it out of suspend

2013-01-29 Thread Felipe Balbi
Hi, On Tue, Jan 29, 2013 at 11:50:32AM +0200, Roger Quadros wrote: For each port that is in PHY mode we obtain a PHY device using the USB PHY library and put it out of suspend. It is up to platform code to associate the PHY to the controller's port and it is upto the PHY driver to manage

Re: [PATCH 4/4] pwm_backlight: Add support for the whole range of the PWM in DT mode

2013-01-29 Thread Thierry Reding
On Tue, Jan 22, 2013 at 02:39:56PM +0100, Peter Ujfalusi wrote: When booting with DT make it possible to use the whole range of the PWM when controlling the backlight in a same way it is possible when the kernel is booted in non DT mode. A new property max-brightness-level can be used to

Re: [PATCH] drm/cirrus: Add bpp option

2013-01-29 Thread Daniel Vetter
On Tue, Jan 29, 2013 at 10:57 AM, Takashi Iwai ti...@suse.de wrote: At Tue, 29 Jan 2013 10:53:50 +0100, Daniel Vetter wrote: On Tue, Jan 29, 2013 at 09:29:17AM +0100, Takashi Iwai wrote: Add a new option, bpp, to specify the default bpp value. Signed-off-by: Takashi Iwai ti...@suse.de

Re: [PATCH] aic7xxx_old: silence GCC warnings

2013-01-29 Thread Paul Bolle
On Mon, 2012-10-29 at 13:45 +0100, Paul Bolle wrote: On Mon, 2012-10-29 at 12:17 +, James Bottomley wrote: mvsas has a maintainer: poke them harder According to MAINTAINERS that's you. Is Xiangliang Yu perhaps the actual maintainer? Building the mvsas driver triggers identical warnings

Re: [PATCH v3 32/71] ARC: [DeviceTree] Basic support

2013-01-29 Thread James Hogan
Hi Vineet, arm64 also adds dtbs and $(dtb-y) to targets (at least in linux-next). I think this makes sure that they don't get rebuilt unless they've actually changed. I've also copied this for metag. Did you verify that it makes a difference - at least at my end it's not - the default dtb

[PATCH] rtc-isl1208: call rtc_update_irq from the alarm irq handler

2013-01-29 Thread Jan Luebbe
Previously the alarm event was not propagated into the RTC subsystem. By adding a call to rtc_update_irq, this fixes a timeout problem with the hwclock utility. Signed-off-by: Jan Luebbe j...@pengutronix.de --- drivers/rtc/rtc-isl1208.c |3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [Intel-gfx] [RFC PATCH 3/3] i915: ignore lid open event when resuming

2013-01-29 Thread Daniel Vetter
On Mon, Jan 28, 2013 at 06:06:38PM +0800, Zhang Rui wrote: On Mon, 2013-01-28 at 09:31 +0100, Daniel Vetter wrote: On Mon, Jan 28, 2013 at 3:36 AM, Zhang Rui rui.zh...@intel.com wrote: Given that this essentially requires users to manually set this module option to make stuff work I don't

Re: [PATCH v3 10/30] USB: ehci-omap: Use PHY APIs to get the PHY device and put it out of suspend

2013-01-29 Thread Roger Quadros
On 01/29/2013 11:57 AM, Felipe Balbi wrote: Hi, On Tue, Jan 29, 2013 at 11:50:32AM +0200, Roger Quadros wrote: For each port that is in PHY mode we obtain a PHY device using the USB PHY library and put it out of suspend. It is up to platform code to associate the PHY to the controller's

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-29 Thread Russell King - ARM Linux
On Tue, Jan 29, 2013 at 12:13:46PM +0530, Santosh Shilimkar wrote: To avoid the server latency, we didn't do continuous sync. The time was synced in the beginning and after 62.5 hours (#ntpd -qg) and the drift of about 174 ms was observed. As you said this could be because of server sync

Re: [PATCH v3 10/30] USB: ehci-omap: Use PHY APIs to get the PHY device and put it out of suspend

2013-01-29 Thread Felipe Balbi
On Tue, Jan 29, 2013 at 12:08:23PM +0200, Roger Quadros wrote: On 01/29/2013 11:57 AM, Felipe Balbi wrote: Hi, On Tue, Jan 29, 2013 at 11:50:32AM +0200, Roger Quadros wrote: For each port that is in PHY mode we obtain a PHY device using the USB PHY library and put it out of suspend.

Re: [RFC PATCH 0/4] Add support for LZ4-compressed kernels

2013-01-29 Thread Russell King - ARM Linux
On Mon, Jan 28, 2013 at 02:25:10PM -0800, Andrew Morton wrote: What's this with enabled unaligned memory access thing? You mean if the arch supports CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS? If so, that's only x86, which isn't really in the target market for this patch, yes? It's a lot of

Re: [PATCH 1/4] pwm_backlight: Fix PWM levels support in non DT case

2013-01-29 Thread Thierry Reding
On Tue, Jan 29, 2013 at 09:17:04AM +0100, Peter Ujfalusi wrote: On 01/28/2013 10:01 PM, Thierry Reding wrote: On Tue, Jan 22, 2013 at 02:39:53PM +0100, Peter Ujfalusi wrote: It is expected that board files would have: static unsigned int bl_levels[] = { 0, 50, 100, 150, 200, 250, };

Re: [PATCH 06/14] fuse: Trust kernel i_size only - v2

2013-01-29 Thread Miklos Szeredi
On Fri, Jan 25, 2013 at 7:22 PM, Maxim V. Patlasov mpatla...@parallels.com wrote: Make fuse think that when writeback is on the inode's i_size is always up-to-date and not update it with the value received from the userspace. This is done because the page cache code may update i_size without

Re: [PATCH] [SCSI] advansys: change buildtime warning into runtime error

2013-01-29 Thread Paul Bolle
On Mon, 2012-11-05 at 11:58 +0100, Paul Bolle wrote: Building advansys.o triggers this warning: drivers/scsi/advansys.c:71:2: warning: #warning this driver is still not properly converted to the DMA API [-Wcpp] This warning can be traced back to a patch called advansys: add warning and

Re: [PATCH v5 07/45] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2013-01-29 Thread Namhyung Kim
Hi Srivatsa, On Tue, 22 Jan 2013 13:04:54 +0530, Srivatsa S. Bhat wrote: @@ -246,15 +291,21 @@ struct take_cpu_down_param { static int __ref take_cpu_down(void *_param) { struct take_cpu_down_param *param = _param; - int err; + unsigned long flags; + int err = 0; It

Re: [PATCHv2 8/9] zswap: add to mm/

2013-01-29 Thread Lord Glauber Costa of Sealand
On 01/28/2013 07:27 PM, Seth Jennings wrote: Yes, I prototyped a shrinker interface for zswap, but, as we both figured, it shrinks the zswap compressed pool too aggressively to the point of being useless. Can't you advertise a smaller number of objects that you actively have? Since the

Re: [PATCH 1/4] firmware: Refactoring for splitting user-mode helper code

2013-01-29 Thread Ming Lei
Hi Takashi, On Sat, Jan 26, 2013 at 12:05 AM, Takashi Iwai ti...@suse.de wrote: Since 3.7 kernel, the firmware loader can read the firmware files directly, and the traditional user-mode helper is invoked only as a fallback. This seems working pretty well, and the next step would be to reduce

Re: [PATCH 3/3] ARM: dts: mxs: Add the LCD to the 10049 board

2013-01-29 Thread Shawn Guo
On Fri, Jan 25, 2013 at 09:54:07AM +0100, Maxime Ripard wrote: Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/imx28-cfa10049.dts | 99 ++ arch/arm/mach-mxs/mach-mxs.c | 22 2 files changed, 121

Re: [PATCH 2/3 v2] fb: udlfb: fix hang at disconnect

2013-01-29 Thread Alexander Holler
Am 29.01.2013 01:56, schrieb Alexander Holler: Am 29.01.2013 01:22, schrieb Andrew Morton: On Fri, 25 Jan 2013 19:49:27 +0100 Alexander Holler hol...@ahsoftware.de wrote: When a device was disconnected the driver may hang at waiting for urbs it never will get. Fix this by using a timeout

Re: perf 3.8-rc build failure: undefined reference to `strlcpy'

2013-01-29 Thread Borislav Petkov
On Tue, Jan 29, 2013 at 06:22:53AM +0200, Thomas Backlund wrote: [tmb@tmb linux-3.8-rc5]$ make -C tools/perf -s V=1 HAVE_CPLUS_DEMANGLE=1 prefix=%{_prefix} all ... /tmp/ccJEJv6m.o: In function `main': :(.text+0x14): undefined reference to `strlcpy' collect2: ld returned 1 exit status

Re: [PATCH v7 07/18] perf: add generic memory sampling interface

2013-01-29 Thread Michael Ellerman
On Fri, 2013-01-25 at 16:30 +0100, Stephane Eranian wrote: On Fri, Jan 25, 2013 at 10:01 AM, Ingo Molnar mi...@kernel.org wrote: Would be nice to get feedback from PowerPC folks to see how well this matches their memory profiling hw capabilities? I agree, I tried to remain as generic as

[PATCH v2 1/2] sched: fix init NOHZ_IDLE flag

2013-01-29 Thread Vincent Guittot
On my smp platform which is made of 5 cores in 2 clusters,I have the nr_busy_cpu field of sched_group_power struct that is not null when the platform is fully idle. The root cause seems to be: During the boot sequence, some CPUs reach the idle loop and set their NOHZ_IDLE flag while waiting for

[PATCH v2 2/2] sched: fix update NOHZ_IDLE flag

2013-01-29 Thread Vincent Guittot
The function nohz_kick_needed modifies NOHZ_IDLE flag that is used to update the nr_busy_cpus of the sched_group. When the sched_domain are updated (during the boot or because of the unplug of a CPUs as an example) a null_domain is attached to CPUs. We have to test likely(!on_null_domain(cpu)

[PATCH v2 0/2] sched: fix nr_busy_cpus

2013-01-29 Thread Vincent Guittot
The nr_busy_cpus field of the sched_group_power is sometime different from 0 whereas the platform is fully idle. This serie fixes 3 use cases: - when some CPUs enter idle state while booting all CPUs - when a CPU is unplug and/or replug Change since V1: - remove the patch for SCHED softirq on

[PATCH] usb: ehci: s5p: Power-off VBUS during suspend.

2013-01-29 Thread Vivek Gautam
This change de-asserts vbus_gpio on suspend and re-asserts on resume in order to save power. NOTE, this change means no USB charging in suspend mode. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com CC: Doug Anderson diand...@chromium.org --- Based on 'usb-next'.

Re: [PATCH 0/11] ksm: NUMA trees and page migration

2013-01-29 Thread Gleb Natapov
On Mon, Jan 28, 2013 at 05:07:15PM -0800, Hugh Dickins wrote: On Mon, 28 Jan 2013, Andrew Morton wrote: On Fri, 25 Jan 2013 17:53:10 -0800 (PST) Hugh Dickins hu...@google.com wrote: Here's a KSM series Sanity check: do you have a feeling for how useful KSM is? Performance/space

ACPI undocking on 3.8-rc5 no longer works with Lenovo T61

2013-01-29 Thread Zdenek Kabelac
Hi No exactly sure which patch did it - but when I'm now checking 3.8-rc5 kernel, I cannot use anymore this 'undock' command: echo 1 /sys/devices/platform/dock.0/undock which works ok with 3.7 kernel - to properly undock my T61 before suspend. Dmesg shows this: [ 2657.087414] ACPI:

Re: [RFC PATCH v2] gpiolib-acpi: Add ACPI5 event model support to gpio.

2013-01-29 Thread Linus Walleij
On Mon, Jan 28, 2013 at 3:23 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: Add ability to handle ACPI events signalled by GPIO interrupts. ACPI5 platforms can use GPIO signaled ACPI events. These GPIO interrupts are handled by ACPI event methods which need to be called from the GPIO

[PATCH 1/2] tools: Correct typo in tools Makefile

2013-01-29 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de It should be make -C tools/ tool_install Signed-off-by: Borislav Petkov b...@suse.de --- tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index 1f9a529fe544..798fa0ef048e 100644 ---

[PATCH 2/2] perf: Make -lnuma optional

2013-01-29 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de a0c17eadf3bf9 (perf: Add 'perf bench numa mem' NUMA performance measurement suite) added -lnuma to the EXTLIBS but we use those when checking for other libraries like libelf, libunwind, etc and the checks failed even when the dev libraries are installed on the

Re: [PATCH 2/2] perf: Make -lnuma optional

2013-01-29 Thread Borislav Petkov
On Tue, Jan 29, 2013 at 11:48:12AM +0100, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de a0c17eadf3bf9 (perf: Add 'perf bench numa mem' NUMA performance measurement suite) added -lnuma to the EXTLIBS but we use those when checking for other libraries like libelf, libunwind, etc

Re: [PATCH] fix 32-bit compile warning from printk()

2013-01-29 Thread Andrew Morton
On Mon, 28 Jan 2013 11:19:39 -0800 Dave Hansen d...@linux.vnet.ibm.com wrote: My patch Fix kvm's use of __pa() on percpu areas introduced a compile warning: arch/x86/kernel/kvm.c: In function 'kvm_register_steal_time': arch/x86/kernel/kvm.c:302:3: warning: format '%lx' expects argument of

Re: [PATCH] fix 32-bit compile warning from printk()

2013-01-29 Thread Andrew Morton
On Tue, 29 Jan 2013 02:54:28 -0800 Andrew Morton a...@linux-foundation.org wrote: On Mon, 28 Jan 2013 11:19:39 -0800 Dave Hansen d...@linux.vnet.ibm.com wrote: My patch Fix kvm's use of __pa() on percpu areas introduced a compile warning: arch/x86/kernel/kvm.c: In function

Re: [PATCH 1/8] perf tools: Add '.' as part of the event 'name' token

2013-01-29 Thread Jiri Olsa
On Tue, Jan 29, 2013 at 09:03:05AM +0100, Ingo Molnar wrote: * Stephane Eranian eran...@google.com wrote: On Mon, Jan 28, 2013 at 9:52 PM, Stephane Eranian eran...@google.com wrote: Jiri, I don't see part 0/8 of this series. Did you send it to me too? oops, it went to lkml

Re: [PATCH v2] ARM: PL011: Add support for Rx DMA buffer polling

2013-01-29 Thread Linus Walleij
On Tue, Jan 29, 2013 at 3:41 AM, Chanho Min chanho@lge.com wrote: On Mon, Jan 28, 2013 at 5:28 PM, Linus Walleij linus.wall...@linaro.org wrote: On Mon, Jan 28, 2013 at 9:15 AM, Chanho Min chanho@lge.com wrote: [Russell] Well, I thought I had explained that I'd prefer to see the poll

Re: [PATCH 1/4] firmware: Refactoring for splitting user-mode helper code

2013-01-29 Thread Takashi Iwai
At Tue, 29 Jan 2013 18:24:04 +0800, Ming Lei wrote: Hi Takashi, On Sat, Jan 26, 2013 at 12:05 AM, Takashi Iwai ti...@suse.de wrote: Since 3.7 kernel, the firmware loader can read the firmware files directly, and the traditional user-mode helper is invoked only as a fallback. This

Re: [PATCH V2 1/6] pinctrl: pinctrl-single: use arch_initcall and module_exit

2013-01-29 Thread Linus Walleij
On Tue, Jan 29, 2013 at 8:38 AM, Vishwanathrao Badarkhe, Manish manish...@ti.com wrote: Currently, I2C driver gets probed before pinctrl driver. To achieve I2C pin muxing via pinctrl driver before I2C probe get called, register pinctrl driver in arch_initcall. Also, add module_exit to

[RFC PATCH] SUNRPC: protect transport processing with rw sem

2013-01-29 Thread Stanislav Kinsbursky
There could be a service transport, which is processed by service thread and racing in the same time with per-net service shutdown like listed below: CPU#0:CPU#1: svc_recvsvc_close_net svc_get_next_xprt (list_del_init(xpt_ready))

Re: [PATCH v2] mm: dmapool: use provided gfp flags for all dma_alloc_coherent() calls

2013-01-29 Thread Andrew Lunn
Now I activated the debug messages in em28xx. From the messages I see no correlation of the pool exhaustion and lost sync. Also I cannot see any error messages from the em28xx driver. I see a lot of init_isoc/stop_urbs (maybe EPG scan?) without draining the coherent pool (checked with 'cat

Re: [PATCH v3 15/31] arm64: SMP support

2013-01-29 Thread Catalin Marinas
On Mon, Jan 28, 2013 at 02:46:53AM +, Lei Wen wrote: On Sat, Sep 8, 2012 at 12:26 AM, Catalin Marinas catalin.mari...@arm.commailto:catalin.mari...@arm.com wrote: This patch adds SMP initialisation and spinlocks implementation for AArch64. The spinlock support uses the new

Re: [PATCH V2 2/4] regulator: tps65090: add DT support

2013-01-29 Thread Mark Brown
On Tue, Jan 29, 2013 at 02:35:16PM +0530, Laxman Dewangan wrote: Add DT support for TI PMIC tps65090 regulator driver. The DT of this device have node regulator and all regulator's node of this device is added under this node. There doesn't seem to be any dependency on the rest of the series

Re: [PATCH 2/3 v2] fb: udlfb: fix hang at disconnect

2013-01-29 Thread Alexander Holler
Am 29.01.2013 11:35, schrieb Alexander Holler: Am 29.01.2013 01:56, schrieb Alexander Holler: Am 29.01.2013 01:22, schrieb Andrew Morton: On Fri, 25 Jan 2013 19:49:27 +0100 Alexander Holler hol...@ahsoftware.de wrote: When a device was disconnected the driver may hang at waiting for urbs it

Re: [PATCH v5 04/45] percpu_rwlock: Implement the core design of Per-CPU Reader-Writer Locks

2013-01-29 Thread Namhyung Kim
On Thu, 24 Jan 2013 10:00:04 +0530, Srivatsa S. Bhat wrote: On 01/24/2013 01:27 AM, Tejun Heo wrote: On Thu, Jan 24, 2013 at 01:03:52AM +0530, Srivatsa S. Bhat wrote: CPU 0 CPU 1 read_lock(rwlock) write_lock(rwlock) //spins, because CPU

Re: [PATCH v2 06/12] KVM: MMU: introduce a static table to map guest access to spte access

2013-01-29 Thread Marcelo Tosatti
On Mon, Jan 28, 2013 at 10:07:15PM -0200, Marcelo Tosatti wrote: On Fri, Jan 25, 2013 at 10:46:31AM +0800, Xiao Guangrong wrote: On 01/25/2013 08:15 AM, Marcelo Tosatti wrote: On Wed, Jan 23, 2013 at 06:07:20PM +0800, Xiao Guangrong wrote: It makes set_spte more clean and reduces branch

Re: [PATCH 1/4] ACPI / scan: Introduce struct acpi_scan_handler

2013-01-29 Thread Rafael J. Wysocki
On Monday, January 28, 2013 07:35:39 PM Toshi Kani wrote: On Mon, 2013-01-28 at 13:59 +0100, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Introduce struct acpi_scan_handler for representing objects that will do configuration tasks depending on ACPI device

Re: [PATCH 2/4] ARM: imx: set CKO1 parent clock source in imx6q sabresd

2013-01-29 Thread Shawn Guo
Gary, For arch/arm/ patches, list linux-arm-ker...@lists.infradead.org rather than linux-kernel@vger.kernel.org should be copied. One comment blow. On Tue, Jan 29, 2013 at 03:49:39PM +0800, Gary Zhang wrote: in imx6q sabresd board, wm8962 uses CKO1 as MCLK. set ahb as CKO1 parent clock source

Follow up: multiple heavy-loaded KVM guests cause NULL pointer in CFS (kernel v 3.7.4)

2013-01-29 Thread Igor Lukyanov
Hello, A bit analysis in addition to my previous message. The problem is that we receive NULL pointer dereference errors from inside of CFS (upstream kernel version 3.2-3.7) while running heavy loaded kvm-virtualized guests on 2-numa node server. Null pointers are always met in

Re: [PATCH 4/4] ACPI / platform: Use struct acpi_scan_handler for creating devices

2013-01-29 Thread Rafael J. Wysocki
On Tuesday, January 29, 2013 11:20:44 AM Yasuaki Ishimatsu wrote: Hi Rafael, 2013/01/28 22:01, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Currently, the ACPI namespace scanning code creates platform device objects for ACPI device nodes whose IDs match

Re: [PATCH 4/9] dasd: Implement block timeout handling

2013-01-29 Thread Heiko Carstens
On Tue, Jan 29, 2013 at 08:11:56AM +0100, Hannes Reinecke wrote: This patch implements generic block layer timeout handling callbacks for DASDs. When the timeout expires the respective cqr is aborted. With this timeout handler time-critical request abort is guaranteed as the abort does not

Re: [PATCH 4/9] dasd: Implement block timeout handling

2013-01-29 Thread Hannes Reinecke
On 01/29/2013 12:32 PM, Heiko Carstens wrote: On Tue, Jan 29, 2013 at 08:11:56AM +0100, Hannes Reinecke wrote: This patch implements generic block layer timeout handling callbacks for DASDs. When the timeout expires the respective cqr is aborted. With this timeout handler time-critical request

<    3   4   5   6   7   8   9   10   11   12   >