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

2014-08-19 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 --- drivers/pwm/core.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pwm/core.

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

2014-08-19 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 on

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

2014-08-19 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann --- 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 +++ b/drivers/pwm/pwm-imx.c @@ -25,20 +25,

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

2014-08-19 Thread LF.Tan
On Wed, Aug 20, 2014 at 2:33 PM, Ley Foon Tan 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 > an optional I

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

2014-08-19 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 0/4] pwm: imx: support output polarity inversion

2014-08-19 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 Ber

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

2014-08-19 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 --- drivers/pwm/pwm-imx.c | 38 +++--- 1 file changed, 35 insertions(+), 3 deletion

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

2014-08-19 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. Signed

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

2014-08-19 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 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 mi

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

2014-08-19 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 ig

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

2014-08-19 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 0/8] mtd: nand: Support for new DT NAND driver

2014-08-19 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_ha

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

2014-08-19 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 chan

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

2014-08-19 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(m

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

2014-08-19 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 > > thi

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

2014-08-19 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: [PATCH 1/2] SOUND: kill gameport bits

2014-08-19 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 i

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

2014-08-19 Thread Viresh Kumar
On 20 August 2014 01:14, Tuomas Tynkkynen 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 by hand. How exa

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

2014-08-19 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 majord...@vger.k

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

2014-08-19 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_entrie

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

2014-08-19 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 syste

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

2014-08-19 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

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

2014-08-19 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

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

2014-08-19 Thread Randy Dunlap
On 08/19/14 23:26, harish_kand...@mentor.com wrote: > From: Harish Jenny K N > > s/BOOTPARAM_HARDLOCKUP_PANIC/BOOTPARAM_SOFTLOCKUP_PANIC > > Signed-off-by: Harish Jenny K N Acked-by: Randy Dunlap Jiri, please add to the trivial tree. Thanks. > --- > Documentation/lockup-watchdogs.txt |

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

2014-08-19 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, the

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

2014-08-19 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 --- drivers/staging/iio/adc/ad7192.c| 3 +- drivers/staging/iio/adc/ad7192.h| 47 - drivers/staging/iio/adc/ad7280a.c | 3

[PATCH] mfd: max77686: make interrupts support optional

2014-08-19 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 pr

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

2014-08-19 Thread David Horner
On Tue, Aug 19, 2014 at 3:54 AM, Minchan Kim 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. For avoiding t

[PATCH] lockup-watchdogs: Fix a typo

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

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

2014-08-19 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 i

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

2014-08-19 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.j

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

2014-08-19 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

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

2014-08-19 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

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

2014-08-19 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 se

net_ns cleanup / RCU overhead

2014-08-19 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 a

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

2014-08-19 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 > --- > arch/a

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-19 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-19 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 ena

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

2014-08-19 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

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

2014-08-19 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 old

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

2014-08-19 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

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

2014-08-19 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-19 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 ar

Re: slub/debugobjects: lockup when freeing memory

2014-08-19 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 w

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

2014-08-19 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

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

2014-08-19 Thread Andreas Mohr
On Tue, Aug 19, 2014 at 10:18:15PM -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 hardw

[PATCH v4 3/3] usb: gadget: f_fs: virtual endpoint address mapping

2014-08-19 Thread Robert Baldyga
This patch introduces virtual endpoint address mapping. It separates function logic form physical endpoint addresses making it more hardware independent. Following modifications changes user space API, so to enable them user have to switch on the FUNCTIONFS_VIRTUAL_ADDR flag in descriptors. Endpo

[PATCH v4 1/3] usb: gadget: f_fs: fix the redundant ep files problem

2014-08-19 Thread Robert Baldyga
Up to now, when endpoint addresses in descriptors were non-consecutive, there were created redundant files, which could cause problems in kernel, when user tryed to read/write to them. It was result of fact that maximum endpoint address was taken as total number of endpoints in funciton. This patc

[PATCH v4 2/3] usb: gadget: f_fs: add ioctl returning ep descriptor

2014-08-19 Thread Robert Baldyga
This patch introduces ioctl named FUNCTIONFS_ENDPOINT_DESC, which returns endpoint descriptor to userspace. It works only if function is active. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/function/f_fs.c | 21 + include/uapi/linux/usb/functionfs.h | 6 ++ 2 fi

[PATCH v4 0/3] usb: gadget: f_fs: userspace API fixes and improvements

2014-08-19 Thread Robert Baldyga
This patchset contains changes in FunctionFS making it easier and safer to use. It fixes bug in endpoint files handling code, adds new ioctl allowing to obtain endpoint descriptor, and introduces virtual address mapping which allows to separate endpoint address space in function from physical endpo

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

2014-08-19 Thread bharat.bhus...@freescale.com
Hi Yijing > -Original Message- > From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci-ow...@vger.kernel.org] > On Behalf Of Yijing Wang > Sent: Monday, August 04, 2014 8:34 AM > To: Basu Arnab-B45036 > Cc: Xinwei Hu; Wuyun; Bjorn Helgaas; linux-...@vger.kernel.org; > paul.mu...@huawei.c

RE: [PATCH] sgi-xp: Do not use BUG_ON(!spin_is_locked())

2014-08-19 Thread Sharma, Sanjeev
Opps ! Thanks for review comment. Just sent V2 updated patch. Sanjeev Sharma -Original Message- From: Ryan Mallon [mailto:rmal...@gmail.com] Sent: Wednesday, August 20, 2014 4:34 AM To: Sharma, Sanjeev; c...@sgi.com; robinmh...@gmail.com Cc: linux-kernel@vger.kernel.org Subject: Re: [PAT

[PATCH v2] sgi-xp: Do not use BUG_ON(!spin_is_locked())

2014-08-19 Thread Sanjeev Sharma
on some architecture spin_is_locked() always return false in uniprocessor configuration and can therefore not be used with BUG_ON.it would be advise to replace with lockdep_assert_held(). Signed-off-by: Sanjeev Sharma --- Changes in v2: - corrected the typo drivers/misc/sgi-xp/xpc_channel.c |

Re: WARNING: CPU: 6 PID: 79 at fs/proc/generic.c:521 remove_proc_entry+0x170/0x180()

2014-08-19 Thread Christian Kujau
On Tue, 19 Aug 2014 at 20:13, Cong Wang wrote: > On Tue, Aug 19, 2014 at 7:50 PM, Jiang Liu wrote: > > Hi Kujau, > > It seems like a different issue, something wrong with > > void nfs_fs_proc_net_exit(struct net *net) > > http://marc.info/?l=linux-nfs&m=140821782107427&w=2 Thanks, that h

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

2014-08-19 Thread Dmitry Torokhov
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 > > software > > that would run on such old hardware. > > Given that I'm

Re: Overriding -Werror

2014-08-19 Thread Sam Ravnborg
On Wed, Aug 20, 2014 at 01:43:59AM +0200, Andi Kleen wrote: > On Tue, Aug 19, 2014 at 10:11:30PM +0200, Sam Ravnborg wrote: > > On Tue, Aug 19, 2014 at 06:15:07AM -0700, Andi Kleen wrote: > > > Brian Norris writes: > > > > > > > > 4. better ideas? > > > > > > Just send patches to remove -Werror i

Re: [PATCH] thermal: exynos: Remove duplicate code when reading triminfo register of Exynos5440

2014-08-19 Thread amit daniel kachhap
On Wed, Aug 20, 2014 at 9:54 AM, Chanwoo Choi wrote: > This patch remove simply duplicate code when reading triminfo register of > Exynos5440. > > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park > Cc: Zhang Rui > Cc: Eduardo Valentin > Cc: Amit Daniel Kachhap Reviewed-by: Amit Daniel K

Re: [PATCHv3] thermal: exynos: Add support for TRIM_RELOAD feature at Exynos3250

2014-08-19 Thread Chanwoo Choi
Dear Amit, On 08/20/2014 01:51 PM, amit daniel kachhap wrote: > On Wed, Aug 20, 2014 at 5:22 AM, Chanwoo Choi wrote: >> This patch add support for TRIM_RELOAD feature at Exynos3250. The TMU of >> Exynos3250 has two TRIMINFO_CON register. >> >> Signed-off-by: Chanwoo Choi >> Acked-by: Kyungmin Pa

Re: [PATCHv3] thermal: exynos: Add support for TRIM_RELOAD feature at Exynos3250

2014-08-19 Thread amit daniel kachhap
On Wed, Aug 20, 2014 at 5:22 AM, Chanwoo Choi wrote: > This patch add support for TRIM_RELOAD feature at Exynos3250. The TMU of > Exynos3250 has two TRIMINFO_CON register. > > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park > Cc: Zhang Rui > Cc: Eduardo Valentin > Cc: Amit Daniel Kachhap

Re: [PATCH v2 2/4] zsmalloc: change return value unit of zs_get_total_size_bytes

2014-08-19 Thread Seth Jennings
On Wed, Aug 20, 2014 at 08:46:21AM +0900, Minchan Kim wrote: > Hey Seth, > > On Tue, Aug 19, 2014 at 09:46:28AM -0500, Seth Jennings wrote: > > On Tue, Aug 19, 2014 at 04:54:45PM +0900, Minchan Kim wrote: > > > zs_get_total_size_bytes returns a amount of memory zsmalloc > > > consumed with *byte u

Re: [PATCH v1 3/3] ARM: dts: Add TLMM DT node for apq8084

2014-08-19 Thread Bjorn Andersson
On Tue 19 Aug 10:22 PDT 2014, Georgi Djakov wrote: > This patch adds the TLMM node for the apq8084 platform. > > Signed-off-by: Georgi Djakov > --- > arch/arm/boot/dts/qcom-apq8084.dtsi | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi

Re: [PATCH v1 1/3] pinctrl: qcom: Add APQ8084 pinctrl support

2014-08-19 Thread Bjorn Andersson
On Tue 19 Aug 10:22 PDT 2014, Georgi Djakov wrote: > This patch adds support for the TLMM (Top-Level Mode Mux) block found > in the APQ8084 platform. > [...] > + > +#define NUM_GPIO_PINGROUPS 143 > + I think this looks good overall, but in my APQ8084 documentation (80-NG550-2X Rev. B) there are

Re: [PATCH 2/2] Install udev rules in system-default directory

2014-08-19 Thread Amit Shah
On (Tue) 19 Aug 2014 [19:20:20], Paolo Bonzini wrote: > Il 07/08/2014 15:09, Amit Shah ha scritto: > > +udevrules_DATA = 90-virtio-rng.rules > > If rng-tools is packaged with "make dist" you need this to be > > dist_udevrules_DATA= 90-virtio-rng.rules > > or alternatively > > EXTRA_DIS

[PATCH 2/4] usbip: move usbip kernel code out of staging

2014-08-19 Thread Valentina Manea
At this point, USB/IP kernel code is fully functional and can be moved out of staging. Signed-off-by: Valentina Manea --- drivers/staging/Kconfig| 2 -- drivers/staging/Makefile | 1 - drivers/usb/Kconfig

[PATCH 3/4] usbip: remove struct usb_device_id table

2014-08-19 Thread Valentina Manea
This was used back when usbip-host was an interface device driver; after the conversion to device driver, the table remained unused. Remove it in order to stop receiving a warning about it. Signed-off-by: Valentina Manea --- drivers/usb/usbip/stub_dev.c | 27 --- 1 file c

[PATCH 4/4] MAINTAINERS: Add an entry for USB/IP driver

2014-08-19 Thread Valentina Manea
This patch adds an entry in MAINTAINERS file for USB/IP driver. Signed-off-by: Valentina Manea --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index aefa948..76ac03d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9515,6 +9515,14 @@ S: M

[PATCH 1/4] usbip: move usbip userspace code out of staging

2014-08-19 Thread Valentina Manea
At this point, USB/IP userspace code is fully functional and can be moved out of staging. Signed-off-by: Valentina Manea --- {drivers/staging/usbip/userspace => tools/usb/usbip}/.gitignore | 0 {drivers/staging/usbip/userspace => tools/usb/usbip}/AUTHORS | 0 {drivers/stag

[PATCH 0/4] *** SUBJECT HERE ***

2014-08-19 Thread Valentina Manea
After migrating userspace code to libudev, converting usbip-host to a device driver and various bug fixes and enhancements, USB/IP is fully functional and can be moved out of staging. This patch series moves it as following: * userspace code to tools/usb/usbip * kernel code to drivers/usb/usbip A

[PATCH] thermal: exynos: Remove duplicate code when reading triminfo register of Exynos5440

2014-08-19 Thread Chanwoo Choi
This patch remove simply duplicate code when reading triminfo register of Exynos5440. Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Cc: Zhang Rui Cc: Eduardo Valentin Cc: Amit Daniel Kachhap --- drivers/thermal/samsung/exynos_tmu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions

Re: [PATCH v2] nfs: fix kernel warning when removing proc entry

2014-08-19 Thread Eric W. Biederman
Cong Wang writes: > I saw the following kernel warning: Cong thanks for finding and tracking this. I was clearly asleep at the switch when I was testing my fix to the nfs client code :( I have applied this patch and will push it to Linus after it has a little bit to sit in linux-next. Eric >

Re: [PATCH v2 05/18] ARM64 / ACPI: Parse FADT table to get PSCI flags for PSCI init

2014-08-19 Thread Hanjun Guo
Hi Bob, On 2014-8-20 6:55, Moore, Robert wrote: > I should warn you that FADT version numbers are notoriously unreliable; > In fact, in ACPICA we were eventually forced to abandon them entirely. > We use the actual size of the FADT instead. Yes, I heard that story, thanks for the reminding. But

Re: [PATCH V3 0/6] namespaces: log namespaces per task

2014-08-19 Thread Eric W. Biederman
Richard Guy Briggs writes: > On 14/05/20, Richard Guy Briggs wrote: >> On 14/05/20, Eric Paris wrote: >> > On Tue, 2014-05-20 at 09:12 -0400, Richard Guy Briggs wrote: >> > > The purpose is to track namespaces in use by logged processes from the >> > > perspective of init_*_ns. > > (Including the

[PATCH] powerpc: fsl_pamu_domain: Fix build error

2014-08-19 Thread Pranith Kumar
Fix build failure in fsl_pamu_domain.o caused as follows drivers/iommu/fsl_pamu_domain.c: In function 'pamu_domain_init': drivers/iommu/fsl_pamu_domain.c:1103:17: error: 'pci_bus_type' undeclared (first use in this function) drivers/iommu/fsl_pamu_domain.c:1103:17: note: each undeclared identifier

Re: [PATCH 2/3] usbip: move usbip kernel code out of staging

2014-08-19 Thread Greg KH
On Tue, Aug 19, 2014 at 08:21:47PM -0700, Valentina Manea wrote: > On Tue, Aug 19, 2014 at 11:38 AM, Greg KH wrote: > > > > This patch moves the code, but now it's "gone" from the build system as > > it is not hooked up and can not be built at all. > > > > So while I really wanted to apply this se

[PATCH] [v2] TAINT_PERFORMANCE

2014-08-19 Thread Dave Hansen
From: Dave Hansen 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 true performance problem. I'm sure I've also taken profiles or performance mea

Re: [vfs mnt_set_mountpoint] invalid opcode: 0000 [#1] DEBUG_PAGEALLOC

2014-08-19 Thread Eric W. Biederman
Fengguang Wu writes: > // Fix email address for Eric and add another oops message. > // This commit seem to generate all kinds of oops. My apologies about the email. This patch has taken so long to get somewhere that email address has bit-rotted. > git://git.kernel.org/pub/scm/linux/kernel/git

Re: [PATCH 0/5] RCU-walk support for autofs

2014-08-19 Thread Ian Kent
On Wed, 2014-08-20 at 11:42 +0800, Ian Kent wrote: > > > > From 201f75bc25906e8f64e28b37f1bb478958bf2987 Mon Sep 17 00:00:00 2001 > > From: NeilBrown > > Date: Wed, 20 Aug 2014 12:40:06 +1000 > > Subject: [PATCH] autofs4: make "autofs4_can_expire" idempotent. > > > > Have a "test" function chang

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

2014-08-19 Thread Addy Ke
Signed-off-by: Addy Ke --- drivers/spi/spi-rockchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c index cb8fd6f..4ef3fd3 100644 --- a/drivers/spi/spi-rockchip.c +++ b/drivers/spi/spi-rockchip.c @@ -679,7 +679,7 @@ sta

Re: [PATCH 0/5] RCU-walk support for autofs

2014-08-19 Thread Ian Kent
On Wed, 2014-08-20 at 13:13 +1000, NeilBrown wrote: > On Tue, 19 Aug 2014 20:36:55 +0800 Ian Kent wrote: > > > On Tue, 2014-08-19 at 21:16 +1000, NeilBrown wrote: > > > On Tue, 19 Aug 2014 18:02:27 +0800 Ian Kent wrote: > > > > > > > On Mon, 2014-08-18 at 16:25 +0800, Ian Kent wrote: > > > > >

[PATCH v2 5/5] Clk: RK808: Add clkout driver for RK808

2014-08-19 Thread Chris Zhong
Signed-off-by: Chris Zhong --- Changes in v2: None drivers/clk/Kconfig |9 +++ drivers/clk/Makefile|1 + drivers/clk/clk-rk808.c | 146 +++ 3 files changed, 156 insertions(+) create mode 100644 drivers/clk/clk-rk808.c diff --git a/

Re: [hyperv] BUG at drivers/hv/channel.c:462 while changing MTU

2014-08-19 Thread Sitsofe Wheeler
On Tue, Aug 19, 2014 at 09:29:44PM +, Haiyang Zhang wrote: > > > -Original Message- > > From: Sitsofe Wheeler [mailto:sits...@gmail.com] > > Sent: Tuesday, August 19, 2014 8:37 AM > > To: KY Srinivasan > > Cc: Greg Kroah-Hartman; Haiyang Zhang; de...@linuxdriverproject.org; > > linux-k

[PATCH v2 4/5] Regulator: RK808: Add regulator driver for RK808

2014-08-19 Thread Chris Zhong
The regulator module consists of 4 DCDCs, 8 LDOs and 2 switches. The output voltages are configurable and are meant to supply power to the main processor and other components Signed-off-by: Chris Zhong --- Changes in v2: Adviced by Mark Browm: - use defines for register setting value - remove r

[PATCH v2 3/5] RTC: RK808: add RTC driver for RK808

2014-08-19 Thread Chris Zhong
RK808 PMIC is a MFD with RTC as one of the device. Adding RTC driver for supporting RTC device present inside RK808 PMIC. Signed-off-by: Chris Zhong --- Changes in v2: Adviced by javier.martinez - Add a separate clock driver, rather than in RTC driver drivers/rtc/Kconfig | 11 ++ driver

[PATCH v2 2/5] MFD: RK808: Add new mfd driver for RK808

2014-08-19 Thread Chris Zhong
The RK808 chip is a power management IC for multimedia and handheld devices. It contains the following components: - Regulators - RTC The rk808 core driver is registered as a platform driver and provides communication through I2C with the host device for the different components. Signed-off-by:

Re: [PATCH] [RFC] TAINT_PERFORMANCE

2014-08-19 Thread Mike Galbraith
On Wed, 2014-08-20 at 01:26 +0300, Kirill A. Shutemov wrote: > On Tue, Aug 19, 2014 at 02:26:04PM -0700, Dave Hansen wrote: > > + TAINT_PERF_IF(SCHEDSTATS); > > Is SCHEDSTATS really harmful? If your config is minimalist, a tad. If your config is.. Rubenesque (distro), you probably won't noti

[PATCH v2 1/5] MFD: Add rk808 device tree bindings documentation

2014-08-19 Thread Chris Zhong
rk808.txt: Add device tree bindings for rockchip's rk808 pmic. Signed-off-by: Chris Zhong --- Changes in v2: Adviced by javier.martinez - separated from rtc-rk808.c Documentation/devicetree/bindings/mfd/rk808.txt | 128 +++ 1 file changed, 128 insertions(+) create mode 1

Re: [PATCH v2 08/18] ARM64 / ACPI: Get the enable method for SMP initialization in ACPI way

2014-08-19 Thread Hanjun Guo
On 2014-8-20 3:25, Geoff Levand wrote: > Hi Hanjun, > > On Tue, 2014-08-19 at 20:11 +0800, Hanjun Guo wrote: >> On 2014-8-19 2:56, Geoff Levand wrote: > >>> message = acpi_disabled ? dn->full_name : ""; >>> >>> ... >>> >>> pr_warn("CPU %d: %s unsupported enable-method property: %

[PATCH v2 0/5] Add rockchip RK808 pmic driver

2014-08-19 Thread Chris Zhong
This is the initial version of the RK808 PMIC. This is a power management IC for multimedia products. It provides regulators that are able to supply power to processor cores and other components. The chip provides other modules including RTC, Clockout Changes in v2: Adviced by javier.martinez - s

Re: [Linaro-acpi] [PATCH v2 06/18] ARM64 / ACPI: Parse MADT to map logical cpu to MPIDR and get cpu_possible/present_map

2014-08-19 Thread Hanjun Guo
On 2014-8-20 0:46, Zi Shen Lim wrote: > Hanjun, Hi Lim, > > On Tue, Aug 19, 2014 at 6:00 AM, Hanjun Guo wrote: >> Will INTERRUPT_CONTROLLER confuse people? There is only one GIC redistributor >> (some people regard it as interrupt controller) in ARM system, if we use >> INTERRUPT_CONTROLLER peo

[PATCH] powerpc: Export dcr_ind_lock to fix build error

2014-08-19 Thread Pranith Kumar
Fix build error caused by missing export: ERROR: "dcr_ind_lock" [drivers/net/ethernet/ibm/emac/ibm_emac.ko] undefined! Signed-off-by: Pranith Kumar --- arch/powerpc/sysdev/dcr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/sysdev/dcr.c b/arch/powerpc/sysdev/dcr.c index e9056

Re: [PATCH 2/3] usbip: move usbip kernel code out of staging

2014-08-19 Thread Valentina Manea
On Tue, Aug 19, 2014 at 11:38 AM, Greg KH wrote: > > This patch moves the code, but now it's "gone" from the build system as > it is not hooked up and can not be built at all. > > So while I really wanted to apply this series right now, I can't, as > this is a regression (working driver -> no driv

Re: [PATCH] USB: pch_udc: USB gadget device support for Intel Quark X1000

2014-08-19 Thread Felipe Balbi
Hi, On Wed, Aug 20, 2014 at 12:46:33AM +, Chen, Alvin wrote: > > > Hi, > > > > On Mon, Aug 04, 2014 at 10:22:54AM -0700, Chen, Alvin wrote: > > > From: Bryan O'Donoghue > > > > > > This patch is to enable the USB gadget device for Intel Quark X1000 > > > > > > Signed-off-by: Bryan O'Donoghu

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

2014-08-19 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 0/5] RCU-walk support for autofs

2014-08-19 Thread NeilBrown
On Tue, 19 Aug 2014 20:36:55 +0800 Ian Kent wrote: > On Tue, 2014-08-19 at 21:16 +1000, NeilBrown wrote: > > On Tue, 19 Aug 2014 18:02:27 +0800 Ian Kent wrote: > > > > > On Mon, 2014-08-18 at 16:25 +0800, Ian Kent wrote: > > > > On Mon, 2014-08-18 at 16:33 +1000, NeilBrown wrote: > > > > > Hi I

Re: WARNING: CPU: 6 PID: 79 at fs/proc/generic.c:521 remove_proc_entry+0x170/0x180()

2014-08-19 Thread Cong Wang
On Tue, Aug 19, 2014 at 7:50 PM, Jiang Liu wrote: > Hi Kujau, > It seems like a different issue, something wrong with > void nfs_fs_proc_net_exit(struct net *net) http://marc.info/?l=linux-nfs&m=140821782107427&w=2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[PATCH] booke_wdt: Fix build failure as a module

2014-08-19 Thread Pranith Kumar
Building booke_wdt fails when trying to build as a module as there is no early_param() in module. Fix by enclosing within MODULE check. Also remove notrace attribute as it is implicit in the __init attribute. Signed-off-by: Pranith Kumar --- drivers/watchdog/booke_wdt.c | 5 - 1 file change

Re: Linux 3.16 boot hangs at initramfs scripts when mounting filesystems

2014-08-19 Thread Petri Gynther
Alex's commit fixes the Linux 3.16 boot hang on BMIPS5000 that I reported. Please include this fix to 3.16.x and 3.14.x stable trains. commit e90e6fddc57055c4c6b57f92787fea1c065d440b Author: Alex Smith Date: Wed Jul 23 14:40:11 2014 +0100 MIPS: O32/32-bit: Fix bug which can cause incorrect

[PATCH] nfs: use canonical path in nfs_show_devname

2014-08-19 Thread Xiong Zhou
When export root dir(/) via nfs, and mount a particular dir under root, eg /nfsexport, there will be defect double slash output in /proc/mounts, like localhost://nfsexport. Signed-off-by: Xiong Zhou --- fs/nfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs/su

Re: [PATCH v3 03/15] clk: tegra: Add closed loop support for the DFLL

2014-08-19 Thread Vince Hsu
Hi, On 08/19/2014 11:33 AM, Tuomas Tynkkynen wrote: From: Tuomas Tynkkynen With closed loop support, the clock rate of the DFLL can be adjusted. The oscillator itself in the DFLL is a free-running oscillator whose rate is directly determined the supply voltage. However, the DFLL module contai

Re: [PATCH] regulator: core: Fix build error due to const qualifier for ops

2014-08-19 Thread Axel Lin
2014-08-18 22:10 GMT+08:00 Mark Brown : > On Mon, Aug 18, 2014 at 10:34:08AM +0800, Axel Lin wrote: >> Drop const qualifier for ops of struct regulator_desc. >> Allow regulator drivers to update ops before registering regulator. > > Applied, thanks. Hi Mark, I found this commit is applied and I go

  1   2   3   4   5   6   7   8   >