Re: [PATCH v1 03/12] dmaengine: dw: convert dw_dma_slave to use explicit HS interfaces

2014-08-20 Thread Hans-Christian Egtvedt
Around Tue 19 Aug 2014 20:29:14 +0300 or thereabout, Andy Shevchenko wrote: > Instead of exposing the possibility to set DMA registers CFG_HI and CFG_LO > strict user to provide handshake interfaces explicitly. > > Signed-off-by: Andy Shevchenko Acked-by: Hans-Christian Egtvedt > --- >

Regression: Can't compile x86_64 with 32 Bit userland: arch/x86/purgatory/purgatory.c:1:0: error: code model 'large' not supported in the 32 bit mode

2014-08-20 Thread Thomas Glanzmann
Hello, I used to compile 64 Bit Kernel on 32 Bit Userland and until v3.16 it worked. But with todays git head from Linus it does not: (mini) [~/work/linux-2.6] make

Re: [PATCH 2/4] pwm: rockchip: Allow polarity invert on rk3288

2014-08-20 Thread Thierry Reding
On Tue, Aug 19, 2014 at 09:05:20AM -0700, Doug Anderson wrote: > On Tue, Aug 19, 2014 at 12:18 AM, Thierry Reding > wrote: > > On Mon, Aug 18, 2014 at 10:09:07AM -0700, Doug Anderson wrote: [...] > >> @@ -74,10 +78,14 @@ static void rockchip_pwm_set_enable_v2(struct pwm_chip > >> *chip, bool

Re: [PATCH 1/2] SOUND: kill gameport bits

2014-08-20 Thread Takashi Iwai
At Tue, 19 Aug 2014 22:18:15 -0700, Dmitry Torokhov wrote: > > Hi Andreas, > > On Wed, Aug 20, 2014 at 04:46:38AM +0200, Andreas Mohr wrote: > > > Hi, > > > > > Gameport support hasn't been working well ever since cpufreq became > > > mainstream and it becomes increasingly hard to find

Re: [PATCH 1/4] ARM: rockchip: rk3288: Switch to use the proper PWM IP

2014-08-20 Thread Thierry Reding
On Tue, Aug 19, 2014 at 08:18:54AM -0700, Doug Anderson wrote: > Thierry, > > On Tue, Aug 19, 2014 at 12:10 AM, Thierry Reding > wrote: > > On Mon, Aug 18, 2014 at 10:09:06AM -0700, Doug Anderson wrote: > >> The rk3288 SoC has an option to switch all of the PWMs in the system > >> between the

RE: [RFC PATCH 09/11] PCI/MSI: refactor PCI MSI driver

2014-08-20 Thread bharat.bhus...@freescale.com
> -Original Message- > From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci-ow...@vger.kernel.org] > On Behalf Of Yijing Wang > Sent: Saturday, July 26, 2014 8:39 AM > To: linux-kernel@vger.kernel.org > Cc: Xinwei Hu; Wuyun; Bjorn Helgaas; linux-...@vger.kernel.org; >

Re: [PATCH v1 02/12] avr32: at32ap700x: don't rely on default DMA masters

2014-08-20 Thread Hans-Christian Egtvedt
Around Tue 19 Aug 2014 20:29:13 +0300 or thereabout, Andy Shevchenko wrote: > In future we are going to remove the defaults of AHB masters from dw_dmac > driver. It means each user have to supply proper source and destination > masters > by itself explicitly. > > Signed-off-by: Andy Shevchenko

Re: [PATCH v1 01/12] dmaengine: dw: move dw_dmac.h to where it belongs to

2014-08-20 Thread Hans-Christian Egtvedt
Around Tue 19 Aug 2014 20:29:12 +0300 or thereabout, Andy Shevchenko wrote: > There is a common storage for platform data related structures and definitions > inside kernel source tree. The patch moves file from include/linux to > include/linux/platform_data and renames it acoordingly. The users

Re: slub/debugobjects: lockup when freeing memory

2014-08-20 Thread Christoph Lameter
On Tue, 19 Aug 2014, Paul E. McKenney wrote: > > We could also remove the #ifdefs if init_rcu_head and destroy_rcu_head > > are no ops if CONFIG_DEBUG_RCU_HEAD is not defined. > > And indeed they are, good point! It appears to me that both sets of > #ifdefs can go away. Ok then this is a first

Re: slub/debugobjects: lockup when freeing memory

2014-08-20 Thread Christoph Lameter
On Tue, 19 Aug 2014, Paul E. McKenney wrote: We could also remove the #ifdefs if init_rcu_head and destroy_rcu_head are no ops if CONFIG_DEBUG_RCU_HEAD is not defined. And indeed they are, good point! It appears to me that both sets of #ifdefs can go away. Ok then this is a first

Re: [PATCH v1 01/12] dmaengine: dw: move dw_dmac.h to where it belongs to

2014-08-20 Thread Hans-Christian Egtvedt
Around Tue 19 Aug 2014 20:29:12 +0300 or thereabout, Andy Shevchenko wrote: There is a common storage for platform data related structures and definitions inside kernel source tree. The patch moves file from include/linux to include/linux/platform_data and renames it acoordingly. The users are

Re: [PATCH v1 02/12] avr32: at32ap700x: don't rely on default DMA masters

2014-08-20 Thread Hans-Christian Egtvedt
Around Tue 19 Aug 2014 20:29:13 +0300 or thereabout, Andy Shevchenko wrote: In future we are going to remove the defaults of AHB masters from dw_dmac driver. It means each user have to supply proper source and destination masters by itself explicitly. Signed-off-by: Andy Shevchenko

RE: [RFC PATCH 09/11] PCI/MSI: refactor PCI MSI driver

2014-08-20 Thread bharat.bhus...@freescale.com
-Original Message- From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci-ow...@vger.kernel.org] On Behalf Of Yijing Wang Sent: Saturday, July 26, 2014 8:39 AM To: linux-kernel@vger.kernel.org Cc: Xinwei Hu; Wuyun; Bjorn Helgaas; linux-...@vger.kernel.org; paul.mu...@huawei.com;

Re: [PATCH 1/4] ARM: rockchip: rk3288: Switch to use the proper PWM IP

2014-08-20 Thread Thierry Reding
On Tue, Aug 19, 2014 at 08:18:54AM -0700, Doug Anderson wrote: Thierry, On Tue, Aug 19, 2014 at 12:10 AM, Thierry Reding thierry.red...@gmail.com wrote: On Mon, Aug 18, 2014 at 10:09:06AM -0700, Doug Anderson wrote: The rk3288 SoC has an option to switch all of the PWMs in the system

Re: [PATCH 2/4] pwm: rockchip: Allow polarity invert on rk3288

2014-08-20 Thread Thierry Reding
On Tue, Aug 19, 2014 at 09:05:20AM -0700, Doug Anderson wrote: On Tue, Aug 19, 2014 at 12:18 AM, Thierry Reding thierry.red...@gmail.com wrote: On Mon, Aug 18, 2014 at 10:09:07AM -0700, Doug Anderson wrote: [...] @@ -74,10 +78,14 @@ static void rockchip_pwm_set_enable_v2(struct pwm_chip

Re: [PATCH 1/2] SOUND: kill gameport bits

2014-08-20 Thread Takashi Iwai
At Tue, 19 Aug 2014 22:18:15 -0700, Dmitry Torokhov wrote: Hi Andreas, On Wed, Aug 20, 2014 at 04:46:38AM +0200, Andreas Mohr wrote: Hi, Gameport support hasn't been working well ever since cpufreq became mainstream and it becomes increasingly hard to find hardware and

Regression: Can't compile x86_64 with 32 Bit userland: arch/x86/purgatory/purgatory.c:1:0: error: code model 'large' not supported in the 32 bit mode

2014-08-20 Thread Thomas Glanzmann
Hello, I used to compile 64 Bit Kernel on 32 Bit Userland and until v3.16 it worked. But with todays git head from Linus it does not: (mini) [~/work/linux-2.6] make

Re: [PATCH v1 03/12] dmaengine: dw: convert dw_dma_slave to use explicit HS interfaces

2014-08-20 Thread Hans-Christian Egtvedt
Around Tue 19 Aug 2014 20:29:14 +0300 or thereabout, Andy Shevchenko wrote: Instead of exposing the possibility to set DMA registers CFG_HI and CFG_LO strict user to provide handshake interfaces explicitly. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Acked-by:

net_ns cleanup / RCU overhead

2014-08-20 Thread Simon Kirby
Hello! In trying to figure out what happened to a box running lots of vsftpd since we deployed a CONFIG_NET_NS=y kernel to it, we found that the (wall) time needed for cleanup_net() to complete, even on an idle box, can be quite long: #!/bin/bash ip netns delete test /dev/null while ip netns

Re: [PATCH v1 00/12] dmaengine: dw: remove slave_id, add PCI support

2014-08-20 Thread Hans-Christian Egtvedt
Around Tue 19 Aug 2014 20:29:11 +0300 or thereabout, Andy Shevchenko wrote: The patchset is targeting two things: - removal of slave_id which is deprecated (suggested by Arnd Bergmann) - support BayTrail and Braswell SoCs in PCI case They are tight with each other, thus comes in one

RE: [RFC PATCH 10/11] PCI/MSI: Split the generic MSI code into new file

2014-08-20 Thread bharat.bhus...@freescale.com
-Original Message- From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci-ow...@vger.kernel.org] On Behalf Of Yijing Wang Sent: Saturday, July 26, 2014 8:39 AM To: linux-kernel@vger.kernel.org Cc: Xinwei Hu; Wuyun; Bjorn Helgaas; linux-...@vger.kernel.org; paul.mu...@huawei.com;

RE: [RFC PATCH 11/11] x86/MSI: Refactor x86 MSI code

2014-08-20 Thread bharat.bhus...@freescale.com
-Original Message- From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci-ow...@vger.kernel.org] On Behalf Of Yijing Wang Sent: Saturday, July 26, 2014 8:39 AM To: linux-kernel@vger.kernel.org Cc: Xinwei Hu; Wuyun; Bjorn Helgaas; linux-...@vger.kernel.org; paul.mu...@huawei.com;

Re: [PATCH v3] powerpc/perf: Implement get_cpu_str()

2014-08-20 Thread Michael Ellerman
On Mon, 2014-08-18 at 17:08 -0700, Sukadev Bhattiprolu wrote: powerpc/perf: Implement get_cpu_str() With a file ~/.cache/pmu-events/004d0100-core.json describing Power8 PMU events we would need to run: perf stat \ --events-file ~/.cache/pmu-events/004d0100-core.json \

REGRESSION: 8fc5b4d: Unable to compile x86_64 kernel with x86_32 userland

2014-08-20 Thread Thomas Glanzmann
Hello Vivek, commit 8fc5b4d introduces a regression that no longer allows to compile x86_64 kernel under x86_32 userland. TJ on freenode/#kernel did analyze it: (mini) [~/work/linux-2.6] make scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release UPD

[PATCH] lockup-watchdogs: Fix a typo

2014-08-20 Thread harish_kandiga
From: Harish Jenny K N harish_kand...@mentor.com s/BOOTPARAM_HARDLOCKUP_PANIC/BOOTPARAM_SOFTLOCKUP_PANIC Signed-off-by: Harish Jenny K N harish_kand...@mentor.com --- Documentation/lockup-watchdogs.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2 4/4] zram: report maximum used memory

2014-08-20 Thread David Horner
On Tue, Aug 19, 2014 at 3:54 AM, Minchan Kim minc...@kernel.org wrote: Normally, zram user could get maximum memory usage zram consumed via polling mem_used_total with sysfs in userspace. But it has a critical problem because user can miss peak memory usage during update inverval of polling.

[PATCH] mfd: max77686: make interrupts support optional

2014-08-20 Thread Marek Szyprowski
Commit 6f1c1e71d93 (mfd: max77686: Convert to use regmap_irq) broke support for boards, which provide no irq for MAX 77686 PMIC. In such case, not all functions of PMIC are available, but the driver still should at least handle voltage regulators instead of failing to init. This patch restores

[PATCH] staging:iio: moved platform_data into include/linux/iio

2014-08-20 Thread Sanjeev Sharma
This is a patch to the iio which will move all platform_data into include/linux/iio. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/iio/adc/ad7192.c| 3 +- drivers/staging/iio/adc/ad7192.h| 47 -

Re: [RFC PATCH 00/11] Refactor MSI to support Non-PCI device

2014-08-20 Thread Yijing Wang
The key difference between PCI device and Non-PCI MSI is the interfaces to access hardware MSI registers. for instance, currently, msi_chip-setup_irq() to setup MSI irq and configure the MSI address/data registers, so we need to provide device specific write_msi_msg() interface, then when we

Re: [PATCH] lockup-watchdogs: Fix a typo

2014-08-20 Thread Randy Dunlap
On 08/19/14 23:26, harish_kand...@mentor.com wrote: From: Harish Jenny K N harish_kand...@mentor.com s/BOOTPARAM_HARDLOCKUP_PANIC/BOOTPARAM_SOFTLOCKUP_PANIC Signed-off-by: Harish Jenny K N harish_kand...@mentor.com Acked-by: Randy Dunlap rdun...@infradead.org Jiri, please add to the

Re: [PATCH 1/2] SOUND: kill gameport bits

2014-08-20 Thread Dmitry Torokhov
On Wed, Aug 20, 2014 at 08:09:49AM +0200, Takashi Iwai wrote: At Tue, 19 Aug 2014 22:18:15 -0700, Dmitry Torokhov wrote: Hi Andreas, On Wed, Aug 20, 2014 at 04:46:38AM +0200, Andreas Mohr wrote: Hi, Gameport support hasn't been working well ever since cpufreq became

Re: [RFC PATCH 03/11] PCI/MSI: Refactor pci_dev_msi_enabled()

2014-08-20 Thread Yijing Wang
On 2014/8/20 13:57, bharat.bhus...@freescale.com wrote: -Original Message- From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci-ow...@vger.kernel.org] On Behalf Of Yijing Wang Sent: Saturday, July 26, 2014 8:39 AM To: linux-kernel@vger.kernel.org Cc: Xinwei Hu; Wuyun; Bjorn

[PATCH] net: stmmac: add fix_mac_speed support for socfpga

2014-08-20 Thread Ley Foon Tan
This patch adds fix_mac_speed() support for Altera socfpga Ethernet controller. Emac splitter is a soft IP core in FPGA system that converts GMII interface from Synopsys mac to RGMII/SGMII interface. This splitter core is an optional IP if user would like to use RGMII/SGMII interface in their

Re: [RFC PATCH 09/11] PCI/MSI: refactor PCI MSI driver

2014-08-20 Thread Yijing Wang
@@ -1025,21 +1059,52 @@ int pci_msi_enabled(void) } EXPORT_SYMBOL(pci_msi_enabled); -void pci_msi_init_pci_dev(struct pci_dev *dev) +static struct msi_ops pci_msi = { +.msi_set_enable = msi_set_enable, +.msi_setup_entry = msi_setup_entry, +.msix_setup_entries =

Re: [PATCH] staging:iio: moved platform_data into include/linux/iio

2014-08-20 Thread Lars-Peter Clausen
On 08/20/2014 08:41 AM, Sanjeev Sharma wrote: This is a patch to the iio which will move all platform_data into include/linux/iio. It should be moved together with the driver. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH v3 13/15] cpufreq: Add cpufreq driver for Tegra124

2014-08-20 Thread Viresh Kumar
On 20 August 2014 01:14, Tuomas Tynkkynen ttynkky...@nvidia.com wrote: There's actually a (mis-?)feature in git format-patch: a literal '---' line in a commit message won't be escaped, so the patch notes can be written in the commit message directly so the patch files don't need to be modified

Re: [PATCH 1/2] SOUND: kill gameport bits

2014-08-20 Thread Vojtech Pavlik
On Tue, Aug 19, 2014 at 10:18:15PM -0700, Dmitry Torokhov wrote: Are you actively testing gameport interfaces with real joysticks/gamepads on these cards? And what software is still in use that runs on these old boxes (with mainline kernel)? I still do have a huge box of gameport hardware in

[PATCH] pwm-backlight: fix bogus request for GPIO#0 when instantiated from DT

2014-08-20 Thread Lothar Waßmann
commit 257462dbf3ed (pwm-backlight: switch to gpiod interface) introduced a regression leading to acquiring a bogus GPIO-0 when configured from DT without an 'enable-gpios' property. The driver will happily accept the 0 initialized 'enable_gpio' member of the struct platform_pwm_backlight_data as

Re: [RFC PATCH 3/4] tty: omap-serial: use threaded interrupt handler

2014-08-20 Thread Frans Klaver
On Tue, Aug 19, 2014 at 01:57:02PM -0500, Felipe Balbi wrote: On Tue, Aug 19, 2014 at 02:14:47PM +0200, Frans Klaver wrote: At 3.6Mbaud, with slightly over 2Mbit/s data coming in, we see 1600 uart rx buffer overflows within 30 seconds. Threading the interrupt handling reduces this to

Re: [RFC PATCH 10/11] PCI/MSI: Split the generic MSI code into new file

2014-08-20 Thread Yijing Wang
+int msi_capability_init(struct msi_irqs *msi, int nvec) +{ +struct msi_desc *entry; +int ret; +unsigned mask; + +msi_set_enable(msi, 0, MSI_TYPE); /* Disable MSI during set up */ + +/* MSI Entry Initialization */ +entry = msi_setup_entry(msi); +if

Re: [PATCH 0/8] mtd: nand: Support for new DT NAND driver

2014-08-20 Thread Lee Jones
On Mon, 18 Aug 2014, Brian Norris wrote: On Mon, Aug 18, 2014 at 09:39:53AM +0100, Lee Jones wrote: On Thu, 14 Aug 2014, Brian Norris wrote: Particularly, take a hard look at rewriting include/linux/mtd/stm_nand_bbt.h. I don't think there is any need - although this change is

Re: [PATCH 0/8] mtd: nand: Support for new DT NAND driver

2014-08-20 Thread Lee Jones
On Tue, 19 Aug 2014, Brian Norris wrote: On Mon, Aug 18, 2014 at 09:39:53AM +0100, Lee Jones wrote: On Thu, 14 Aug 2014, Brian Norris wrote: drivers/mtd/nand/stm_nand_bch.c: In function 'bch_calc_timing_registers': drivers/mtd/nand/stm_nand_bch.c:1022:6: warning: variable 'ren_half_off'

Re: [PATCH] staging:iio: moved platform_data into include/linux/iio

2014-08-20 Thread Lars-Peter Clausen
On 08/20/2014 08:44 AM, sanjeev sharma wrote: Hi, This was the action item(TO-DO). IMO, it make sense to move into include/linux/iio because IIO complete subsystem may take some time. The code that is in staging is not supposed to 'leak' outside of staging. So either you move the driver as a

Re: [PATCH v3] KVM: vmx: fix ept reserved bits for 1-GByte page

2014-08-20 Thread Paolo Bonzini
Il 20/08/2014 05:17, Wanpeng Li ha scritto: + else if (spte (1ULL 7)) You have to check level == 1 specifically here, or add... + /* + * 1GB/2MB page, bits 29:12 or 20:12 reserved respectively, + * level == 1 if the hypervisor is using the ignored

Re: [PATCH v2 4/4] zram: report maximum used memory

2014-08-20 Thread Minchan Kim
On Wed, Aug 20, 2014 at 02:26:50AM -0400, David Horner wrote: On Tue, Aug 19, 2014 at 3:54 AM, Minchan Kim minc...@kernel.org wrote: Normally, zram user could get maximum memory usage zram consumed via polling mem_used_total with sysfs in userspace. But it has a critical problem because

[PATCHv4 2/4] pwm: make the PWM_POLARITY flag in DTB optional

2014-08-20 Thread Lothar Waßmann
Change the pwm chip driver registration, so that a chip driver that supports polarity inversion can still be used with DTBs that don't provide the 'PWM_POLARITY' flag. This is done to provide polarity inversion support for the pwm-imx driver without having to modify all existing DTS files.

[PATCHv4 4/4] pwm: imx: support output polarity inversion

2014-08-20 Thread Lothar Waßmann
The i.MX pwm unit on i.MX27 and newer SoCs provides a configurable output polarity. This patch adds support to utilize this feature where available. Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- drivers/pwm/pwm-imx.c | 38 +++--- 1 file changed, 35

Re: [PATCH v2 0/8] mtd: nand: Support for new DT NAND driver

2014-08-20 Thread Lee Jones
On Mon, 18 Aug 2014, Brian Norris wrote: On Mon, Aug 18, 2014 at 11:31:51AM +0100, Lee Jones wrote: I believe all of your queries have either been answered or addressed and I am hoping this will be the last submission. :) Sorry, no. I can't review code that doesn't compile, so I'm only now

[PATCHv4 3/4] pwm: imx: indentation cleanup

2014-08-20 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- drivers/pwm/pwm-imx.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index 5449d91..f836635 100644 --- a/drivers/pwm/pwm-imx.c +++

Re: [PATCH] net: stmmac: add fix_mac_speed support for socfpga

2014-08-20 Thread LF.Tan
On Wed, Aug 20, 2014 at 2:33 PM, Ley Foon Tan lf...@altera.com wrote: This patch adds fix_mac_speed() support for Altera socfpga Ethernet controller. Emac splitter is a soft IP core in FPGA system that converts GMII interface from Synopsys mac to RGMII/SGMII interface. This splitter core is

Re: [PATCH v4] KVM: nVMX: nested TPR shadow/threshold emulation

2014-08-20 Thread Wanpeng Li
Hi Paolo, On Tue, Aug 19, 2014 at 10:34:20AM +0200, Paolo Bonzini wrote: Il 19/08/2014 10:30, Wanpeng Li ha scritto: +if (vmx-nested.virtual_apic_page) +nested_release_page(vmx-nested.virtual_apic_page); +vmx-nested.virtual_apic_page = +

[PATCHv4 1/4] pwm: print error messages with pr_err() instead of pr_debug()

2014-08-20 Thread Lothar Waßmann
Make the messages that are printed in case of fatal errors actually visible to the user without having to recompile the driver with debugging enabled. Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- drivers/pwm/core.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCHv4 0/4] pwm: imx: support output polarity inversion

2014-08-20 Thread Lothar Waßmann
This patch series adds support for polarity inversion to the pwm-imx driver. The patches have been tested on i.MX6, i.MX53 and with the ti-ehrpwm.c driver. Changes wrt. v2: - make the use of '#pwm-cells = 3' optional, so that the change does not break existing DT blobs as suggested by Arnd

Re: [RFC PATCH 11/11] x86/MSI: Refactor x86 MSI code

2014-08-20 Thread Yijing Wang
On 2014/8/20 14:20, bharat.bhus...@freescale.com wrote: -Original Message- From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci-ow...@vger.kernel.org] On Behalf Of Yijing Wang Sent: Saturday, July 26, 2014 8:39 AM To: linux-kernel@vger.kernel.org Cc: Xinwei Hu; Wuyun; Bjorn

Re: [PATCH 7/9] KVM: VMX: abstract ple_window modifiers

2014-08-20 Thread Paolo Bonzini
Il 19/08/2014 22:35, Radim Krčmář ha scritto: They were almost identical and thus merged with a loathable macro. Signed-off-by: Radim Krčmář rkrc...@redhat.com --- This solution is hopefully more acceptable than function pointers. I think a little amount of duplication is not a problem.

Re: [PATCH 1/2] SOUND: kill gameport bits

2014-08-20 Thread Takashi Iwai
At Tue, 19 Aug 2014 23:31:30 -0700, Dmitry Torokhov wrote: On Wed, Aug 20, 2014 at 08:09:49AM +0200, Takashi Iwai wrote: At Tue, 19 Aug 2014 22:18:15 -0700, Dmitry Torokhov wrote: Hi Andreas, On Wed, Aug 20, 2014 at 04:46:38AM +0200, Andreas Mohr wrote: Hi,

Re: [PATCH 3/9] KVM: VMX: make PLE window per-vcpu

2014-08-20 Thread Paolo Bonzini
Il 19/08/2014 22:35, Radim Krčmář ha scritto: Change PLE window into per-vcpu variable, seeded from module parameter, to allow greater flexibility. Brings in a small overhead on every vmentry. Signed-off-by: Radim Krčmář rkrc...@redhat.com --- I've been thinking about a general

Re: [PATCH 9/9] KVM: VMX: automatic PLE window maximum

2014-08-20 Thread Paolo Bonzini
Il 19/08/2014 22:35, Radim Krčmář ha scritto: Every increase of ple_window_grow creates potential overflows. They are not serious, because we clamp ple_window and userspace is expected to fix ple_window_max within a second. --- arch/x86/kvm/vmx.c | 34 +- 1

Re: [PATCH 5/9] KVM: VMX: clamp PLE window

2014-08-20 Thread Paolo Bonzini
Il 19/08/2014 22:35, Radim Krčmář ha scritto: Modifications could get unwanted values of PLE window. (low or negative) Use ple_window and the maximal value that cannot overflow as bounds. ple_window_max defaults to a very high value, but it would make sense to set it to some fraction of the

Re: [PATCH 9/9] KVM: VMX: automatic PLE window maximum

2014-08-20 Thread Paolo Bonzini
Il 20/08/2014 09:16, Paolo Bonzini ha scritto: Il 19/08/2014 22:35, Radim Krčmář ha scritto: Every increase of ple_window_grow creates potential overflows. They are not serious, because we clamp ple_window and userspace is expected to fix ple_window_max within a second. ---

[PATCH v4] KVM: vmx: fix ept reserved bits for 1-GByte page

2014-08-20 Thread Wanpeng Li
EPT misconfig handler in kvm will check which reason lead to EPT misconfiguration after vmexit. One of the reasons is that an EPT paging-structure entry is configured with settings reserved for future functionality. However, the handler can't identify if paging-structure entry of reserved bits for

Re: [PATCH 3/3] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-08-20 Thread Thierry Reding
On Wed, Aug 20, 2014 at 01:01:30AM +0200, Boris BREZILLON wrote: Hi Jean-Christophe, On Wed, 20 Aug 2014 06:11:17 +0800 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: Hi, This is a bit weird as the clock of the TC should be off and the irq free so this

Re: [PATCH v3] KVM: vmx: fix ept reserved bits for 1-GByte page

2014-08-20 Thread Wanpeng Li
On Wed, Aug 20, 2014 at 08:51:38AM +0200, Paolo Bonzini wrote: Il 20/08/2014 05:17, Wanpeng Li ha scritto: +else if (spte (1ULL 7)) You have to check level == 1 specifically here, or add... +/* + * 1GB/2MB page, bits 29:12 or 20:12 reserved respectively, +

Re: [PATCH] pwm-backlight: fix bogus request for GPIO#0 when instantiated from DT

2014-08-20 Thread Thierry Reding
On Wed, Aug 20, 2014 at 08:38:36AM +0200, Lothar Waßmann wrote: commit 257462dbf3ed (pwm-backlight: switch to gpiod interface) introduced a regression leading to acquiring a bogus GPIO-0 when configured from DT without an 'enable-gpios' property. The driver will happily accept the 0

Re: [PATCH 1/2] SOUND: kill gameport bits

2014-08-20 Thread Clemens Ladisch
Dmitry Torokhov wrote: Gameport support hasn't been working well ever since cpufreq became mainstream Back in the gameport-mainstream days, we did not have a usable high- resolution timer API. But why can't we use something like getrawmonotonic() now? (Yes, I'm volunteering ...) and it

Re: WARNING in 3.17-rc1 for i915

2014-08-20 Thread Jani Nikula
On Wed, 20 Aug 2014, Larry Finger larry.fin...@lwfinger.net wrote: My Toshiba A50 with graphics adapter described by 00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) gets the following warning on 3.17-rc1:

Re: [PATCH v2 4/4] zram: report maximum used memory

2014-08-20 Thread David Horner
On Wed, Aug 20, 2014 at 2:53 AM, Minchan Kim minc...@kernel.org wrote: On Wed, Aug 20, 2014 at 02:26:50AM -0400, David Horner wrote: On Tue, Aug 19, 2014 at 3:54 AM, Minchan Kim minc...@kernel.org wrote: Normally, zram user could get maximum memory usage zram consumed via polling

Re: [PATCH 2/3] ARM: at91/tclib: move initialization from alloc to probe

2014-08-20 Thread Thierry Reding
On Wed, Aug 20, 2014 at 12:07:51AM +0200, Gaël PORTAY wrote: Move resource retrieval from atmel_tc_alloc to tc_probe to avoid lately reporting resource related issues when a TC block user request a TC block. Moreover, resources retrieval are usually done in the probe function, thus moving

RE: [RFC PATCH 00/11] Refactor MSI to support Non-PCI device

2014-08-20 Thread bharat.bhus...@freescale.com
-Original Message- From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci-ow...@vger.kernel.org] On Behalf Of Yijing Wang Sent: Wednesday, August 20, 2014 11:59 AM To: Bhushan Bharat-R65777; Basu Arnab-B45036 Cc: Xinwei Hu; Wuyun; Bjorn Helgaas; linux-...@vger.kernel.org;

Good day

2014-08-20 Thread Mr. George Wang
-- I have a business proposal for you from my bank. Contact (gewan...@hotmail.com)for more details. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v4] KVM: nVMX: nested TPR shadow/threshold emulation

2014-08-20 Thread Paolo Bonzini
Il 20/08/2014 08:59, Wanpeng Li ha scritto: + /* + * Failing the vm entry is _not_ what the processor does + * but it's basically the only possibility we have. * We could still enter the guest if CR8 load exits are * enabled, CR8 store exits are enabled, and

Re: [PATCH 1/9] KVM: add kvm_arch_sched_in

2014-08-20 Thread Christian Borntraeger
On 19/08/14 22:35, Radim Krčmář wrote: --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -3123,6 +3123,8 @@ static void kvm_sched_in(struct preempt_notifier *pn, int cpu) if (vcpu-preempted) vcpu-preempted = false; + kvm_arch_sched_in(vcpu, cpu); +

Re: [RFC PATCH] powerpc: Make SPU_FS depend on SPARSEMEM

2014-08-20 Thread Geert Uytterhoeven
Hi Pranith, On Tue, Aug 19, 2014 at 11:16 PM, Pranith Kumar bobby.pr...@gmail.com wrote: SPU_FS unconditionally enables MEMORY_HOTPLUG, which will fail to build if SPARSEMEM=n. Make SPU_FS depend on SPARSEMEM so that hotplug-memory.c does not fail to compile. Signed-off-by: Pranith Kumar

Re: [PATCH v2 4/4] zram: report maximum used memory

2014-08-20 Thread Minchan Kim
On Wed, Aug 20, 2014 at 03:38:27AM -0400, David Horner wrote: On Wed, Aug 20, 2014 at 2:53 AM, Minchan Kim minc...@kernel.org wrote: On Wed, Aug 20, 2014 at 02:26:50AM -0400, David Horner wrote: On Tue, Aug 19, 2014 at 3:54 AM, Minchan Kim minc...@kernel.org wrote: Normally, zram user

Re: [PATCH] i2c: designware: deduce speed mode from device tree setting

2014-08-20 Thread Mika Westerberg
On Tue, Aug 19, 2014 at 03:18:49PM -0500, at...@opensource.altera.com wrote: From: Alan Tull at...@opensource.altera.com Use the documented, but unimplemented clock-frequency Device Tree setting as a guide on whether to set the speed mode bits in DW_IC_CON to standard or fast i2c mode.

Re: [PATCH v4 2/6] sched: Wrapper for checking task_struct::on_rq

2014-08-20 Thread Ingo Molnar
* Kirill Tkhai ktk...@parallels.com wrote: Implement task_queued() and use it everywhere instead of on_rq check. No functional changes. The only exception is we do not use the wrapper in check_for_tasks(), because it requires to export task_queued() in global header files. Next patch in

Re: [RFC PATCH 00/11] Refactor MSI to support Non-PCI device

2014-08-20 Thread Yijing Wang
We in Freescale will be using MSI for the devices behind a new-bus (which is not PCI based), We have a separate bus driver for same. And this new bus driver register/provide its own address/data write function which is based on that specific bus protocol. Hi Bharat, I'm glad to know your

Re: [PATCH v2 3/4] zram: zram memory size limitation

2014-08-20 Thread Marc Dietrich
Am Mittwoch, 20. August 2014, 08:32:25 schrieb Minchan Kim: Hello, On Tue, Aug 19, 2014 at 10:06:22AM +0200, Marc Dietrich wrote: Am Dienstag, 19. August 2014, 16:54:46 schrieb Minchan Kim: Since zram has no control feature to limit memory usage, it makes hard to manage system memrory.

Re: [PATCH] powerpc: Fix build failure when MEMORY_HOTPLUG=y

2014-08-20 Thread Geert Uytterhoeven
On Tue, Aug 19, 2014 at 11:01 PM, Pranith Kumar bobby.pr...@gmail.com wrote: ARCH_ENABLE_MEMORY_HOTPLUG is enabled by default for powerpc. This causes build failures when SPARSEMEM=n as memory hotplug needs definition which are defined only when SPARSEMEM=y. The error is as follows:

Re: [PATCHv6 2/2] dt/bindings: Add the DT binding documentation for endianness

2014-08-20 Thread Thierry Reding
On Tue, Jul 15, 2014 at 12:23:03PM +0800, Xiubo Li wrote: Device-Tree binding for device endianness Index Device Endianness properties --- 1 BE 'big-endian' 2 LE 'little-endian' For one device driver,

Re: [PATCH v3 2/6] pinctrl: Introduce pinctrl driver for Qualcomm SSBI PMIC's

2014-08-20 Thread Srinivas Kandagatla
Hi Bjorn, Two things which I noticed while trying out this driver to drive a reset line. 1 gpio numbering for pinconf vs gpio are not consistent, they differ by an offset of 1. For example to control GPIO43 I had to do something like this in pinconf: wlan_default_gpios: wlan-gpios {

[PATCHSET 0/5] perf hists browser: Cleanup callchain routines

2014-08-20 Thread Namhyung Kim
Hello, This patch fixes and cleans up TUI callchain routines. I tried to consolidate similar functions but not to break the current output with this change. Hope that it makes code more readable and maintainable. It should not change any behavior and outputs. I verified it with expanding by

[PATCH 2/5] perf hists browser: Factor out hist_browser__show_callchain_entry()

2014-08-20 Thread Namhyung Kim
Factor out duplicate callchain printing code into the hist_browser__ show_callchain_entry(). Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/browsers/hists.c | 64 ++ 1 file changed, 33

[PATCH 4/5] perf hists browser: Cleanup callchain print functions

2014-08-20 Thread Namhyung Kim
The hist_browser__show_callchain() and friends don't need to be that complex. Simplify the function and consolidate the logic into a single function. It should have no functional change. Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

Re: [PATCH] spi/rockchip: fixup incorrect dma direction setting

2014-08-20 Thread Heiko Stübner
Hi Addy, please always remember to add a real commit message, something similar to: Fix typo that caused the tx direction to be set twice and left out the rx direction. for example. Signed-off-by: Addy Ke addy...@rock-chips.com --- drivers/spi/spi-rockchip.c | 2 +- 1 file changed, 1

Re: [PATCH v6 4/6] mfd: Add hi6421 PMIC core driver

2014-08-20 Thread Lee Jones
On Mon, 18 Aug 2014, Guodong Xu wrote: This adds driver to support HiSilicon Hi6421 PMIC. Hi6421 includes multi- functions, such as regulators, codec, ADCs, Coulomb counter, etc. This driver includes core APIs _only_. Drivers for individul components, like voltage regulators, are

[PATCH 1/5] perf hists browser: Fix children overhead dump

2014-08-20 Thread Namhyung Kim
When perf report runs on TUI, 'P' key dumps current screen to a file but it incorrectly displayed children overhead (as same of self overhead). This was because it fetched the value from self stats. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/hist.c | 2 +- 1 file changed,

[PATCH 3/5] perf hists browser: Get rid of unused 'remaining' variable

2014-08-20 Thread Namhyung Kim
It seems that the 'remaining' variable is not used by any real code. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/browsers/hists.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c

[PATCH 5/5] perf hists browser: Consolidate callchain print functions in TUI

2014-08-20 Thread Namhyung Kim
Currently there're two callchain print functions in TUI - one for the hists browser and another for file dump. They do almost same job so it'd be better consolidate the codes. Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

Re: [PATCH] [v2] TAINT_PERFORMANCE

2014-08-20 Thread Ingo Molnar
* Dave Hansen d...@sr71.net wrote: From: Dave Hansen dave.han...@linux.intel.com Changes from v1: * remove schedstats * add DEBUG_PAGEALLOC and SLUB_DEBUG_ON -- I have more than once myself been the victim of an accidentally- enabled kernel config option being mistaken for a

Re: [PATCH v4] KVM: vmx: fix ept reserved bits for 1-GByte page

2014-08-20 Thread Paolo Bonzini
Il 20/08/2014 09:31, Wanpeng Li ha scritto: EPT misconfig handler in kvm will check which reason lead to EPT misconfiguration after vmexit. One of the reasons is that an EPT paging-structure entry is configured with settings reserved for future functionality. However, the handler can't

Re: [PATCH 3/3] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-08-20 Thread Boris BREZILLON
Hi Thierry, On Wed, 20 Aug 2014 09:31:13 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Wed, Aug 20, 2014 at 01:01:30AM +0200, Boris BREZILLON wrote: Hi Jean-Christophe, On Wed, 20 Aug 2014 06:11:17 +0800 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: Hi,

[PATCH] arch: x86: kernel: apic: Remove unnecessary ifdef

2014-08-20 Thread Andreas Ruprecht
In the file x2apic_uv_x.c, some code is compiled conditionally depending on CONFIG_SMP. However, the file is only built, if CONFIG_X86_UV is enabled. CONFIG_X86_UV depends on CONFIG_NUMA, which itself depends on CONFIG_SMP, so the ifdef will always evaluate to true, if the file is compiled. Thus,

Re: [PATCH 2/3] ARM: at91/tclib: move initialization from alloc to probe

2014-08-20 Thread Boris BREZILLON
Hi Gael, On Wed, 20 Aug 2014 00:07:51 +0200 Gaël PORTAY gael.por...@gmail.com wrote: Move resource retrieval from atmel_tc_alloc to tc_probe to avoid lately reporting resource related issues when a TC block user request a TC block. Moreover, resources retrieval are usually done in the probe

Re: [PATCH] mfd: max77686: make interrupts support optional

2014-08-20 Thread Lee Jones
On Wed, 20 Aug 2014, Marek Szyprowski wrote: Commit 6f1c1e71d93 (mfd: max77686: Convert to use regmap_irq) broke support for boards, which provide no irq for MAX 77686 PMIC. In such case, not all functions of PMIC are available, but the driver still should at least handle voltage regulators

[tip:sched/core] sched: Change autogroup_move_group() to use for_each_thread()

2014-08-20 Thread tip-bot for Oleg Nesterov
Commit-ID: 5aface53d1a0ef7823215c4078fca8445995d006 Gitweb: http://git.kernel.org/tip/5aface53d1a0ef7823215c4078fca8445995d006 Author: Oleg Nesterov o...@redhat.com AuthorDate: Wed, 13 Aug 2014 21:20:03 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 20 Aug 2014 09:47:18

[tip:sched/core] sched: s/do_each_thread/for_each_process_thread/ in debug.c

2014-08-20 Thread tip-bot for Oleg Nesterov
Commit-ID: d38e83c715270cc2e137bbf6f25206c8c023896b Gitweb: http://git.kernel.org/tip/d38e83c715270cc2e137bbf6f25206c8c023896b Author: Oleg Nesterov o...@redhat.com AuthorDate: Wed, 13 Aug 2014 21:19:56 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 20 Aug 2014 09:47:17

(trying again) how to get kernel stack trace if process not blocked?

2014-08-20 Thread Ethan Wilson
Hello list, I know cat /proc/pid/stack shows the kernel call stack of a process, and this is so good, but it will show just 0x if the process is running in kernel space and not blocked (sleeping). It would be *very* useful to get the kernel stack trace for a running process,

[tip:sched/core] sched: Match declaration with definition

2014-08-20 Thread tip-bot for Pranith Kumar
Commit-ID: 8b06c55bdb8b402cb4814e83dc4b1cb245fcc9f5 Gitweb: http://git.kernel.org/tip/8b06c55bdb8b402cb4814e83dc4b1cb245fcc9f5 Author: Pranith Kumar bobby.pr...@gmail.com AuthorDate: Wed, 13 Aug 2014 13:28:12 -0400 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 20 Aug 2014

[tip:sched/core] sched: Change thread_group_cputime() to use for_each_thread()

2014-08-20 Thread tip-bot for Oleg Nesterov
Commit-ID: 1e4dda08b4c39b3d8f4a3ee7269d49e0200c8af8 Gitweb: http://git.kernel.org/tip/1e4dda08b4c39b3d8f4a3ee7269d49e0200c8af8 Author: Oleg Nesterov o...@redhat.com AuthorDate: Wed, 13 Aug 2014 21:20:00 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 20 Aug 2014 09:47:18

<    5   6   7   8   9   10   11   12   13   14   >