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; >

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

[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.

[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

[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

[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

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; >

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:

[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=140821782107427=2 Thanks, that

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

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

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

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

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

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

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

[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

[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:

[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

[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

[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

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

[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

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

[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

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. >

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

[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 @@

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

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; > >

[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

[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 ++

[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

[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

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 -

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

[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

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

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

[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

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=140821782107427=2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

[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

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

[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

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

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

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

2014-08-19 Thread Jiang Liu
Hi Kujau, It seems like a different issue, something wrong with void nfs_fs_proc_net_exit(struct net *net) { struct nfs_net *nn = net_generic(net, nfs_net_id); remove_proc_entry("volumes", nn->proc_nfsfs); remove_proc_entry("servers", nn->proc_nfsfs);

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

2014-08-19 Thread Andreas Mohr
Reply-To: In-Reply-To: <1408466497-25640-1-git-send-email-dmitry.torok...@gmail.com> X-Priority: none 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.

Re: [PATCH v2] PC, KVM, CMA: Fix regression caused by wrong get_order() use

2014-08-19 Thread Joonsoo Kim
On Thu, Aug 14, 2014 at 03:03:07PM +1000, Alexey Kardashevskiy wrote: > fc95ca7284bc54953165cba76c3228bd2cdb9591 claims that there is no > functional change but this is not true as it calls get_order() (which > takes bytes) where it should have called ilog2() and the kernel stops > on VM_BUG_ON().

Re: [PATCHv2 1/3] fs/buffer.c: allocate buffer cache with user specific flag

2014-08-19 Thread Gioh Kim
@@ -1381,12 +1383,7 @@ EXPORT_SYMBOL(__find_get_block); struct buffer_head * __getblk(struct block_device *bdev, sector_t block, unsigned size) { - struct buffer_head *bh = __find_get_block(bdev, block, size); - - might_sleep(); - if (bh == NULL) - bh =

[PATCH] perf, map: Don't try to find DSOs in SYSV maps

2014-08-19 Thread Don Zickus
We are seeing a lot of the following with regards to SYSV memory Failed to open /SYSV279c, continuing without symbols We don't believe this memory will have DSO info, so treat it like the heap and stack for now and skip it to prevent the warning. Signed-off-by: Joe Mario Signed-off-by: Don

Re: slub/debugobjects: lockup when freeing memory

2014-08-19 Thread Paul E. McKenney
On Tue, Aug 19, 2014 at 09:00:05PM -0500, Christoph Lameter wrote: > On Mon, 18 Aug 2014, Paul E. McKenney wrote: > > > > +#ifdef CONFIG_RCU_DEBUG_XYZ > > > > If you make CONFIG_RCU_DEBUG_XYZ instead be CONFIG_DEBUG_OBJECTS_RCU_HEAD, > > then it will automatically show up when it needs to. > >

Re: [PATCHv2 1/3] fs/buffer.c: allocate buffer cache with user specific flag

2014-08-19 Thread Jan Kara
On Wed 20-08-14 08:37:07, Gioh Kim wrote: > > > 2014-08-19 오후 10:03, Jan Kara 쓴 글: > > Hello, > > > >On Tue 19-08-14 15:52:38, Gioh Kim wrote: > >>A buffer cache is allocated from movable area > >>because it is referred for a while and released soon. > >>But some filesystems are taking buffer

Re: [PATCH] zram: add num_discards for discarded pages stat

2014-08-19 Thread Minchan Kim
Hi Sergey, On Tue, Aug 19, 2014 at 08:25:00PM +0900, Sergey Senozhatsky wrote: > Hello, > > On (08/19/14 13:45), Chao Yu wrote: > > > On (08/15/14 11:27), Chao Yu wrote: > > > > Now we have supported handling discard request which is sended by > > > > filesystem, > > > > but no interface could

RE: [f2fs-dev] [PATCH 3/4] f2fs: avoid double lock in truncate_blocks

2014-08-19 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, August 20, 2014 12:58 AM > To: Chao Yu > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 3/4] f2fs: avoid

[PATCH] regulator: max77802: Remove unused fields from struct max77802_regulator_prv

2014-08-19 Thread Axel Lin
Both num_regulators and *rdev[MAX77802_REG_MAX] are not used, remove them. Signed-off-by: Axel Lin --- drivers/regulator/max77802.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/regulator/max77802.c b/drivers/regulator/max77802.c index 5f022f8..ad1caa9 100644 ---

Re: slub/debugobjects: lockup when freeing memory

2014-08-19 Thread Christoph Lameter
On Mon, 18 Aug 2014, Paul E. McKenney wrote: > > +#ifdef CONFIG_RCU_DEBUG_XYZ > > If you make CONFIG_RCU_DEBUG_XYZ instead be CONFIG_DEBUG_OBJECTS_RCU_HEAD, > then it will automatically show up when it needs to. Ok. > The rest looks plausible, for whatever that is worth. We talked in the

Re: [PATCH] leds: make led_blink_set IRQ safe

2014-08-19 Thread Hugh Dickins
On Tue, 19 Aug 2014, Vincent Donnefort wrote: > This patch introduces a work which take care of reseting the blink workqueue > and > avoid calling the cancel_delayed_work_sync function which may sleep, from an > IRQ > context. > > Signed-off-by: Vincent Donnefort Thanks. It does work for

[PATCH 2/2] perf/x86/uncore: register PMU only if uncore pci device exists

2014-08-19 Thread Yan, Zheng
Current code reigsters PMUs for all possible uncore pci devices. This is not good because, on some machines, one or more uncore pci devices can be missing. The missing pci device make corresponding PMU unusable. Signed-off-by: Yan, Zheng --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 19

[PATCH 1/2] perf/x86/intel: Add Haswell-EP uncore support

2014-08-19 Thread Yan, Zheng
The uncore subsystem in Haswell-EP is similar to Sandy/Ivy Bridge-EP. There are some differences in config register encoding and pci device IDs. The Haswell-EP uncore also supports a few new events. Signed-off-by: Yan, Zheng --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 6 +-

Re: [PATCH v1 5/9] block: loop: convert to blk-mq

2014-08-19 Thread Ming Lei
On Wed, Aug 20, 2014 at 4:50 AM, Jens Axboe wrote: > On 2014-08-18 06:53, Ming Lei wrote: >> >> On Mon, Aug 18, 2014 at 9:22 AM, Ming Lei wrote: >>> >>> On Mon, Aug 18, 2014 at 1:48 AM, Jens Axboe wrote: On 2014-08-16 02:06, Ming Lei wrote: > > > On 8/16/14, Jens Axboe

Re: [RFC PATCH 1/4 v2] drivers/bus: Added Freescale Management Complex APIs

2014-08-19 Thread Joe Perches
On Tue, 2014-08-19 at 19:54 -0500, J. German Rivera wrote: > APIs to access the Management Complex (MC) hardware > module of Freescale LS2 SoCs. This patch includes > APIs to check the MC firmware version and to manipulate > DPRC objects in the MC. [] > include/linux/fsl_dpmng.h | 120

Re: [PATCH 1/2] KVM: fix cache stale memslot info with correct mmio generation number

2014-08-19 Thread David Matlack
On Tue, Aug 19, 2014 at 5:29 PM, Xiao Guangrong wrote: > On 08/19/2014 05:03 PM, Paolo Bonzini wrote: >> Il 19/08/2014 10:50, Xiao Guangrong ha scritto: >>> Okay, what confused me it that it seems that the single line patch >>> is ok to you. :) >> >> No, it was late and I was confused. :) >> >>>

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

2014-08-19 Thread Christian Kujau
Hi, the warning below appeared while booting 3.17.0-rc1. I haven't seen the warning before, but found a recent report on oops.kernel.org: http://oops.kernel.org/oops/warning-at-fs-proc-generic-c521-remove_proc_entry0x18f-0x1a0/ and also reports from July 2014, where the issue was reported to

[RFC PATCH 2/4 v2] drivers/bus: Freescale Management Complex (fsl-mc) bus driver

2014-08-19 Thread J. German Rivera
From: "J. German Rivera" Platform device driver that sets up the basic bus infrastructure for the fsl-mc bus type, including support for adding/removing fsl-mc devices, register/unregister of fsl-mc drivers, and bus match support to bind devices to drivers. Signed-off-by: J. German Rivera ---

[RFC PATCH 1/4 v2] drivers/bus: Added Freescale Management Complex APIs

2014-08-19 Thread J. German Rivera
From: "J. German Rivera" APIs to access the Management Complex (MC) hardware module of Freescale LS2 SoCs. This patch includes APIs to check the MC firmware version and to manipulate DPRC objects in the MC. Signed-off-by: J. German Rivera --- drivers/bus/fsl-mc/dpmng.c | 93 +

[RFC PATCH 4/4 v2] Update MAINTAINERS file

2014-08-19 Thread J. German Rivera
From: "J. German Rivera" Signed-off-by: J. German Rivera --- MAINTAINERS |8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7e2eb4c..eb8597d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3841,6 +3841,14 @@ S: Maintained F:

[RFC PATCH 3/4 v2] drivers/bus: Device driver for FSL-MC DPRC devices

2014-08-19 Thread J. German Rivera
From: "J. German Rivera" A DPRC (Data Path Resource Container) is an isolation device that contains a set of DPAA networking devices to be assigned to an isolation domain (e.g., a virtual machine). Signed-off-by: J. German Rivera --- drivers/bus/fsl-mc/Makefile |3 +-

[RFC PATCH 0/4 v2] drivers/bus: Freescale Management Complex bus driver patch series

2014-08-19 Thread J. German Rivera
This patch series introduces Linux support for the Freescale Management Complex (fsl-mc) hardware. The fsl-mc is a hardware resource manager that manages specialized hardware objects used in network-oriented packet processing applications. After the fsl-mc block is enabled, pools of hardware

[PATCH v7 03/11] arm64: Support restart through restart handler call chain

2014-08-19 Thread Guenter Roeck
The kernel core now supports a restart handler call chain to restart the system. Call it if arm_pm_restart is not set. Signed-off-by: Guenter Roeck Acked-by: Catalin Marinas Acked-by: Heiko Stuebner --- v7: No change. v6: No change. v5: Renamed restart function to do_kernel_restart v4: No

[PATCH v7 05/11] watchdog: moxart: Register restart handler with kernel restart handler

2014-08-19 Thread Guenter Roeck
The kernel now provides an API to trigger a system restart. Register with it instead of setting arm_pm_restart. Signed-off-by: Guenter Roeck Acked-by: Catalin Marinas Acked-by: Heiko Stuebner --- v7: No change. v6: No change. v5: Functions and variables renamed: *notifier -> *handler v4: Set

[PATCH v7 08/11] arm/arm64: Unexport restart handlers

2014-08-19 Thread Guenter Roeck
Implementing a restart handler in a module don't make sense as there would be no guarantee that the module is loaded when a restart is needed. Unexport arm_pm_restart to ensure that no one gets the idea to do it anyway. Signed-off-by: Guenter Roeck Acked-by: Catalin Marinas Acked-by: Heiko

[PATCH v7 06/11] watchdog: alim7101: Register restart handler with kernel restart handler

2014-08-19 Thread Guenter Roeck
The kernel core now provides an API to trigger a system restart. Register with it to restart the system instead of misusing the reboot notifier. Signed-off-by: Guenter Roeck Acked-by: Catalin Marinas Acked-by: Heiko Stuebner --- v7: No change. v6: No change. v5: Function and variable renames:

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

2014-08-19 Thread Chen, Alvin
> 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'Donoghue > > Signed-off-by: Bing Niu > > Signed-off-by: Alvin (Weike) Chen > > Can

[PATCH v7 07/11] watchdog: sunxi: Register restart handler with kernel restart handler

2014-08-19 Thread Guenter Roeck
The kernel core now provides an API to trigger a system restart. Register with it instead of setting arm_pm_restart. Signed-off-by: Guenter Roeck Acked-by: Heiko Stuebner --- v7: Added patch to series. Necessary since the restart handler in the driver is now available upstream.

[PATCH v7 11/11] clk: rockchip: add restart handler

2014-08-19 Thread Guenter Roeck
From: Heiko Stübner Add infrastructure to write the correct value to the restart register and register the restart notifier for both rk3188 (including rk3066) and rk3288. Signed-off-by: Heiko Stuebner Signed-off-by: Guenter Roeck --- v7: Added patch to series.

[PATCH v7 09/11] watchdog: s3c2410: add restart handler

2014-08-19 Thread Guenter Roeck
From: Heiko Stübner On a lot of Samsung systems the watchdog is responsible for restarting the system and until now this code was contained in plat-samsung/watchdog-reset.c. With the introduction of the restart handlers, this code can now move into driver itself, removing the need for

[PATCH v7 10/11] clk: samsung: register restart handlers for s3c2412 and s3c2443

2014-08-19 Thread Guenter Roeck
From: Heiko Stübner S3C2412, S3C2443 and their derivatives contain a special software-reset register in their system-controller. Therefore register a restart handler for those. Tested on a s3c2416-based board, s3c2412 compile-tested. Signed-off-by: Heiko Stuebner Signed-off-by: Guenter Roeck

Re: Revert "aio: fix aio request leak when events are reaped by user space"

2014-08-19 Thread Benjamin LaHaise
On Tue, Aug 19, 2014 at 08:14:26PM +0300, Dan Aloni wrote: > On Tue, Aug 19, 2014 at 12:54:04PM -0400, Benjamin LaHaise wrote: > > On Tue, Aug 19, 2014 at 07:37:33PM +0300, Dan Aloni wrote: > > > Some testing I've done today indicates that the original commit broke > > > AIO with regard to users

[PATCH v7 02/11] power/restart: Call machine_restart instead of arm_pm_restart

2014-08-19 Thread Guenter Roeck
machine_restart is supported on non-ARM platforms, and and ultimately calls arm_pm_restart, so dont call arm_pm_restart directly but use the more generic function. Cc: Russell King Signed-off-by: Guenter Roeck Acked-by: Catalin Marinas Acked-by: Heiko Stuebner --- v7: No change. v6: No

[PATCH v7 01/11] kernel: Add support for kernel restart handler call chain

2014-08-19 Thread Guenter Roeck
Various drivers implement architecture and/or device specific means to restart (reset) the system. Various mechanisms have been implemented to support those schemes. The best known mechanism is arm_pm_restart, which is a function pointer to be set either from platform specific code or from

[PATCH v7 04/11] arm: Support restart through restart handler call chain

2014-08-19 Thread Guenter Roeck
The kernel core now supports a restart handler call chain for system restart functions. With this change, the arm_pm_restart callback is now optional, so drop its initialization and check if it is set before calling it. Only call the kernel restart handler if arm_pm_restart is not set.

[PATCH v7 00/11] kernel: Add support for restart handler call chain

2014-08-19 Thread Guenter Roeck
Various drivers implement architecture and/or device specific means to restart (reset) the system. Various mechanisms have been implemented to support those schemes. The best known mechanism is arm_pm_restart, which is a function pointer to be set either from platform specific code or from

Re: [PATCH] UBI: block: fix dereference on uninitialized dev

2014-08-19 Thread Ezequiel Garcia
Hi Colin, Thanks for the fix. On 16 Aug 05:49 PM, Colin King wrote: > From: Colin Ian King > > commit 4df38926f337 ("UBI: block: Avoid disk size integer overflow") > introduced a dereference on dev (which is not initialized at that > point) when printing a warning message. Remove the

Re: [PATCH 1/2] KVM: fix cache stale memslot info with correct mmio generation number

2014-08-19 Thread Xiao Guangrong
On 08/19/2014 05:03 PM, Paolo Bonzini wrote: > Il 19/08/2014 10:50, Xiao Guangrong ha scritto: >> Okay, what confused me it that it seems that the single line patch >> is ok to you. :) > > No, it was late and I was confused. :) > >> Now, do we really need to care the case 2? like David said: >>

Re: [PATCH] [RFC] TAINT_PERFORMANCE

2014-08-19 Thread Christoph Lameter
On Tue, 19 Aug 2014, Laura Abbott wrote: > I nominate CONFIG_DEBUG_PAGEALLOC, CONFIG_SLUB_DEBUG, > CONFIG_SLUB_DEBUG_ON as well since I've wasted days debugging > supposed performance issues where those were on. CONFIG_SLUB_DEBUG is not enabling debugging. It just includes the code to do so at

Re: [PATCH] virt/kvm/assigned-dev.c: Set 'dev->irq_source_id' to '-1' after free it

2014-08-19 Thread Chen Gang
By the way, at present, I use Qemu as user mode program, is there common test with both Qemu and KVM/Xen? And is a PC enough for the common test? Thanks. On 08/20/2014 07:58 AM, Chen Gang wrote: > On 08/19/2014 11:49 PM, Paolo Bonzini wrote: >> Il 19/08/2014 17:44, Chen Gang ha scritto:

Re: [PATCH] virt/kvm/assigned-dev.c: Set 'dev->irq_source_id' to '-1' after free it

2014-08-19 Thread Chen Gang
On 08/19/2014 11:49 PM, Paolo Bonzini wrote: > Il 19/08/2014 17:44, Chen Gang ha scritto: >> > Hello maintainers: >> > >> > Please help check this patch, when you have time. > Hi, it's already on its way to 3.17-rc2, but I first have to run a bunch > of tests. OK, thanks. Also can let me try the

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

2014-08-19 Thread Chanwoo Choi
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 --- Changes from v2: - Fix build break because of missing 'or'

Re: [PATCH 2/3] kbuild: handle module compression while running 'make modules_install'.

2014-08-19 Thread Andi Kleen
> I understand your concern about this, but does is make sense to not use > -9 when then following files use gzip or other compression tools with -9 : Just because someone else makes mistakes doesn't mean that you should make them too. -Andi -- To unsubscribe from this list: send the line

  1   2   3   4   5   6   7   8   9   10   >