Re: [PATCH RESEND 2/2] fs/aio: Add support to aio ring pages migration

2013-07-16 Thread Benjamin LaHaise
On Tue, Jul 16, 2013 at 05:56:16PM +0800, Gu Zheng wrote: > As the aio job will pin the ring pages, that will lead to mem migrated > failed. In order to fix this problem we use an anon inode to manage the aio > ring > pages, and setup the migratepage callback in the anon inode's address space,

Re: [Update][PATCH] ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

2013-07-16 Thread Igor Gnatenko
Hmm. I found regression in user-space. In GNOME (maybe and other DEs) we no longer see switch status of backlight. -- Igor Gnatenko Fedora release 19 (Schrödinger’s Cat) Linux 3.11.0-0.rc0.git7.1.fc20.x86_64 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[PATCH] libfs: export simple_dentry_operations and eliminate extra copies of it

2013-07-16 Thread Jeff Layton
hostfs, procfs, and rpc_pipefs all have functional copies of simple_dentry_operations. Export simple_dentry_operations and have those filesystems just use it instead. Signed-off-by: Jeff Layton --- fs/hostfs/hostfs_kern.c | 11 +-- fs/libfs.c | 9 +

[PATCH v2] watchdog: Add MOXA ART watchdog driver

2013-07-16 Thread Jonas Jensen
and moxart_wdt_restart function (moved to moxart platform startup code) 4. remove unnecessary watchdog_set_drvdata from moxart_wdt_remove 5. stop the watchdog on driver remove Applies to next-20130716 drivers/watchdog/Kconfig | 10 +++ drivers/watchdog/Makefile | 1 + drivers

Re: [fuse-devel] [PATCH] fuse: fix occasional dentry leak when readdirplus is used

2013-07-16 Thread Brian Foster
On 07/16/2013 06:39 AM, Niels de Vos wrote: > On Mon, Jul 15, 2013 at 04:08:22PM -0400, Brian Foster wrote: >> On 07/15/2013 08:59 AM, Niels de Vos wrote: ... > >>> --- >>> fs/fuse/dir.c |4 +++- >>> 1 files changed, 3 insertions(+), 1 deletions(-) >>> >>> diff --git a/fs/fuse/dir.c

Re: [PATCH v2 4/4] ARM: OMAP2+: Provide alias to USB PHY clock

2013-07-16 Thread Arend van Spriel
On 07/16/2013 03:12 PM, Arend van Spriel wrote: On 07/15/2013 04:05 PM, Roger Quadros wrote: Hi Tony, On 06/18/2013 07:04 PM, Roger Quadros wrote: Till the OMAP clocks are correctly defined in device tree, use this temporary hack to provide clock alias to the USB PHY clocks. Without this,

Re: [PATCH 1/4] pinctrl: Remove duplicate code in pinctrl_pm_select_state functions

2013-07-16 Thread Grygorii Strashko
Hi Tony, This patch causes boot failure when I've applied my patch "[RFC] ARM: OMAP2+: omap_device: add pinctrl handling" https://lkml.org/lkml/2013/6/21/309 on top of it: [0.264007] L310 cache controller enabled [0.268310] l2x0: 16 ways, CACHE_ID 0x41c4, AUX_CTRL 0x7e47,

Re: [PATCH RESEND 1/2] fs/anon_inode: Introduce a new lib function anon_inode_getfile_private()

2013-07-16 Thread Benjamin LaHaise
On Tue, Jul 16, 2013 at 05:56:12PM +0800, Gu Zheng wrote: > > Introduce a new lib function anon_inode_getfile_private(), it creates a new > file > instance by hooking it up to an anonymous inode, and a dentry that describe > the > "class" of the file, similar to anon_inode_getfile(), but each

Re: [PATCH] perf, tools, bench: Fix memcpy benchmark for large sizes

2013-07-16 Thread Hitoshi Mitake
At Tue, 16 Jul 2013 13:11:00 +0300 (EEST), Kirill A. Shutemov wrote: > > Andi Kleen wrote: > > From: Andi Kleen > > > > glibc calloc() has an optimization to not explicitely memset() > > very large calloc allocations that just came from mmap(), > > because they are known to be zero. > > > >

Re: [PATCH v3] rtc: Add MOXA ART RTC driver

2013-07-16 Thread Mark Brown
On Tue, Jul 16, 2013 at 02:41:25PM +0200, Jonas Jensen wrote: > 1. don't use hardcoded GPIO numbers, use of_get_named_gpio Since you're now using OF you should also be including a binding document. signature.asc Description: Digital signature

Re: [Ksummit-2013-discuss] KS Topic request: Handling the Stable kernel, let's dump the cc: stable tag

2013-07-16 Thread Josh Boyer
On Tue, Jul 16, 2013 at 3:43 AM, James Bottomley wrote: > On Mon, 2013-07-15 at 23:20 -0700, Greg KH wrote: >> On Tue, Jul 16, 2013 at 09:17:32AM +0400, James Bottomley wrote: >> > On Mon, 2013-07-15 at 14:44 -0700, Greg KH wrote: >> > > On Mon, Jul 15, 2013 at 11:27:56PM +0400, James Bottomley

Re: [PATCH v2 4/4] ARM: OMAP2+: Provide alias to USB PHY clock

2013-07-16 Thread Arend van Spriel
On 07/15/2013 04:05 PM, Roger Quadros wrote: Hi Tony, On 06/18/2013 07:04 PM, Roger Quadros wrote: Till the OMAP clocks are correctly defined in device tree, use this temporary hack to provide clock alias to the USB PHY clocks. Without this, USB Host & Ethernet will not be functional with

RE: [PATCH v7 3/9] iommu/exynos: fix page table maintenance

2013-07-16 Thread Cho KyongHo
> From: grund...@google.com [mailto:grund...@google.com] On Behalf Of Grant > Grundler > Sent: Tuesday, July 16, 2013 1:19 AM > > On Mon, Jul 15, 2013 at 4:21 AM, Cho KyongHo wrote: > ... > >> Maybe you could add LV1TABLE_SIZE define and use it here (there is > >> already a LV2TABLE_SIZE

RE: [PATCH v7 00/12] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2013-07-16 Thread Cho KyongHo
> From: grund...@google.com [mailto:grund...@google.com] On Behalf Of Grant > Grundler > Sent: Tuesday, July 16, 2013 12:56 AM > > On Mon, Jul 15, 2013 at 5:20 AM, Cho KyongHo wrote: > ... > >> > Cho, > >> > Of the above patches, nearly all have been applied to chromeos-3.8 > >> > (kernel-next

Re: [RFC 2/4] Have __free_pages_memory() free in larger chunks.

2013-07-16 Thread Sam Ben
Hi Robin, On 07/12/2013 10:03 AM, Robin Holt wrote: Currently, when free_all_bootmem() calls __free_pages_memory(), the number of contiguous pages that __free_pages_memory() passes to the buddy allocator is limited to BITS_PER_LONG. In order to be able to I fail to understand this. Why the

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Felipe Balbi
Hi, (when replying, can you add some blank lines around your reply and the previous mail, it's quite difficult to find your replies with so many quote marks (>) around) On Tue, Jul 16, 2013 at 03:08:04PM +0300, Grygorii Strashko wrote: > Hi Felipe, > On 07/16/2013 02:27 PM, Felipe Balbi wrote: >

[PATCH v2 2/4] ARM: dts: imx23-evk: enable Low Resolution ADC

2013-07-16 Thread Otavio Salvador
The i.XM23 has a internal Low Resolution ADC; this enables the support for this device. Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/boot/dts/imx23-evk.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx23-evk.dts

[PATCH v2 1/4] ARM: dts: imx23-evk: enable USB PHY and controller

2013-07-16 Thread Otavio Salvador
The i.MX23EVK board provides a USB port so the USB PHY and controller need to be enabled for it to be usable. Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/boot/dts/imx23-evk.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx23-evk.dts

[PATCH v2 4/4] iio: add configuration option for debug support

2013-07-16 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- Changes in v2: - Rework Kconfig help (Lars-Peter Clausen) drivers/iio/Kconfig | 7 +++ drivers/iio/Makefile | 2 ++ 2 files changed, 9 insertions(+) diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig index 9af763a..e5d1cfc 100644 ---

[PATCH v2 3/4] ARM: dts: imx23-olinuxino: enable Low Resolution ADC

2013-07-16 Thread Otavio Salvador
The i.XM23 has a internal Low Resolution ADC; this enables the support for this device. Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/boot/dts/imx23-olinuxino.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx23-olinuxino.dts

[PATCH v2 4/5] arm: omap5: hwmod: add missing ocp2scp hwmod data

2013-07-16 Thread Felipe Balbi
From: Benoit Cousson without that hwmod data, USB3 will not in OMAP5 boards. Signed-off-by: Benoit Cousson Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 45 ++ 1 file changed, 45 insertions(+) diff --git

Re: [PATCH V5 12/12] perf tools: add a sample parsing test

2013-07-16 Thread Jiri Olsa
On Thu, Jul 11, 2013 at 04:12:21PM +0300, Adrian Hunter wrote: > Add a test that checks that sample parsing is correctly > implemented. nice!!! :) > > Signed-off-by: Adrian Hunter SNIP > +static int do_test(u64 sample_type, u64 sample_regs_user) > +{ > + struct perf_evsel evsel = { > +

Re: [PATCH v2 4/4] arm: omap: remove using usb_bind_phy for binding musb and phy

2013-07-16 Thread Tony Lindgren
* Kishon Vijay Abraham I [130708 04:21]: > Now that MUSB for OMAP started using devm_usb_get_phy_by_name > which does not require PHY library to already have the binding > information, removed usb_bind_phy calls that binds the MUSB controller > with the PHY from the board files. > >

Re: [RFC][PATCH 0/9] sched: Power scheduler design proposal

2013-07-16 Thread Catalin Marinas
On Mon, Jul 15, 2013 at 09:39:22PM +0100, Peter Zijlstra wrote: > On Sat, Jul 13, 2013 at 11:23:51AM +0100, Catalin Marinas wrote: > > > This looks like a userspace hotplug deamon approach lifted to kernel > > > space :/ > > > > The difference is that this is faster. We even had hotplug in mind

Re: [PATCH v2 0/4] usb: musb: fix USB enumeration issue in OMAP3 platform

2013-07-16 Thread Tony Lindgren
* Felipe Balbi [130716 05:49]: > Hi, > > On Tue, Jul 16, 2013 at 11:22:38AM +0530, Kishon Vijay Abraham I wrote: > > Tony, > > > > On Monday 08 July 2013 04:44 PM, Kishon Vijay Abraham I wrote: > > > This series fixes the USB enumeration issue caused because of the > > > controller > > > not

Re: [Ksummit-2013-discuss] KS Topic request: Handling the Stable kernel, let's dump the cc: stable tag

2013-07-16 Thread Ben Hutchings
On Tue, 2013-07-16 at 11:46 +0200, Jiri Kosina wrote: > On Tue, 16 Jul 2013, James Bottomley wrote: > > > > But I need, from the distros, specific examples of what they object to. > > > So far all I've gotten is one security patch (that was needed), and one > > > patch for sysfs that I backported

[PATCH v2 3/5] arm: omap5: dts: add palmas-usb node

2013-07-16 Thread Felipe Balbi
Without this node, there will be no palmas driver to notify dwc3 that a cable has been connected and, without that, dwc3 will never initialize. Signed-off-by: Felipe Balbi --- arch/arm/boot/dts/omap5-uevm.dts | 10 ++ arch/arm/boot/dts/omap5.dtsi | 2 +- 2 files changed, 11

[PATCH v2 0/5] ARM: OMAP: DTS/HWMOD/defconfig changes for USB3

2013-07-16 Thread Felipe Balbi
With these patches (plus a few others on the driver side which will be going upstream soon) I could get functional USB3 with my omap5-uevm platform. Changes since v1: - split ocp2scp dts and hwmod data into separate patches - reorganize the series in order to group DTS, hwmod and

[PATCH v2 1/5] arm: omap5: dts: fix reg property size

2013-07-16 Thread Felipe Balbi
USB3 block has a 64KiB space, another 64KiB is used for the wrapper. Without this change, resource_size() will get confused and driver won't probe because size will be negative. Signed-off-by: Felipe Balbi --- arch/arm/boot/dts/omap5.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v2 5/5] arm: omap2plus_defconfig: enable dwc3 and dependencies

2013-07-16 Thread Felipe Balbi
DWC3 enables USB3 functionality for OMAP5 boards, it's safe to enable those drivers in omap2plus_defconfig. Signed-off-by: Felipe Balbi --- arch/arm/configs/omap2plus_defconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig

[PATCH v2 2/5] arm: omap5: dts: fix ocp2scp DTS data

2013-07-16 Thread Felipe Balbi
this patch fixes the DTS data for ocp2scp node by adding the missing reg property. Signed-off-by: Felipe Balbi --- arch/arm/boot/dts/omap5.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index

Re: [PATCH v2 1/4] arm: omap: Add phy binding info for musb in plat data

2013-07-16 Thread Tony Lindgren
* Kishon Vijay Abraham I [130708 04:20]: > In order for controllers to get PHY in case of non dt boot, the phy > binding information (phy label) should be added in the platform > data of the controller. > > Signed-off-by: Kishon Vijay Abraham I > Acked-by: Felipe Balbi > Tested-by: Tomi

Re: [PATCH v2 0/4] usb: musb: fix USB enumeration issue in OMAP3 platform

2013-07-16 Thread Felipe Balbi
Hi, On Tue, Jul 16, 2013 at 11:22:38AM +0530, Kishon Vijay Abraham I wrote: > Tony, > > On Monday 08 July 2013 04:44 PM, Kishon Vijay Abraham I wrote: > > This series fixes the USB enumeration issue caused because of the controller > > not able to get a reference to the PHY because of incorrect

[PATCH v3] rtc: Add MOXA ART RTC driver

2013-07-16 Thread Jonas Jensen
quot; from moxart_rtc_probe 8. remove moxart_rtc_remove function Applies to next-20130716 drivers/rtc/Kconfig | 9 ++ drivers/rtc/Makefile | 1 + drivers/rtc/rtc-moxart.c | 330 +++ 3 files changed, 340 insertions(+) create m

Re: DWC2 and/or S3C-HSOTG for STA2X11 board

2013-07-16 Thread Felipe Balbi
On Tue, Jul 16, 2013 at 02:27:43PM +0200, Federico Vaga wrote: > Thank you Felipe > > [add CC Giancarlo from ST] > > On Tuesday 16 July 2013 15:04:25 Felipe Balbi wrote: > > Hi, > > > > On Tue, Jul 16, 2013 at 02:01:33PM +0200, Federico Vaga wrote: > > > Hello, > > > > > > I have an x86 board

[GIT PULL] PHY Framework for 3.12 merge window

2013-07-16 Thread Kishon Vijay Abraham I
Hi Greg, Here's the pull request for the PHY Framework which I've been working on for a while. I've applied these patches on the current linux mainline HEAD (which has one commit after 3.11-rc1 is tagged). Even before this framework is merged, quite a few people started using it. I've queued

Re: [PATCH 2/5] ARM: mxs-lradc: Simplify mxs_lradc_trigger_init error handle

2013-07-16 Thread Otavio Salvador
On Mon, Jul 15, 2013 at 8:00 PM, Marek Vasut wrote: > Dear Otavio Salvador, > >> On Mon, Jul 15, 2013 at 11:24 AM, Marek Vasut wrote: >> > Dear Otavio Salvador, >> > >> >> As we have a 'ret' variable with the iio_trigger_register return, this >> >> can be used as result. >> >> >> >>

Re: [PATCH v2 4/4] ARM: OMAP2+: Provide alias to USB PHY clock

2013-07-16 Thread Tony Lindgren
* Roger Quadros [130715 07:11]: > Hi Tony, > > On 06/18/2013 07:04 PM, Roger Quadros wrote: > > Till the OMAP clocks are correctly defined in device tree, use > > this temporary hack to provide clock alias to the USB PHY clocks. > > > > Without this, USB Host & Ethernet will not be functional

Re: [PATCH] ASoC: imx-sgtl5000: fix error return code in imx_sgtl5000_probe()

2013-07-16 Thread Shawn Guo
On Tue, Jul 16, 2013 at 08:05:07PM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Signed-off-by: Wei Yongjun Acked-by: Shawn Guo -- To unsubscribe from this list: send

Re: DWC2 and/or S3C-HSOTG for STA2X11 board

2013-07-16 Thread Federico Vaga
Thank you Felipe [add CC Giancarlo from ST] On Tuesday 16 July 2013 15:04:25 Felipe Balbi wrote: > Hi, > > On Tue, Jul 16, 2013 at 02:01:33PM +0200, Federico Vaga wrote: > > Hello, > > > > I have an x86 board made by STMicroelectronics (STA2X11) with the Synopsis > > USB-OTG DesignWare 2 on it

Re: [PATCH 1/5] ARM: dts: imx23-evk: enable USB PHY and controller

2013-07-16 Thread Otavio Salvador
On Mon, Jul 15, 2013 at 10:30 PM, Shawn Guo wrote: > On Mon, Jul 15, 2013 at 01:39:13PM -0300, Otavio Salvador wrote: >> On Mon, Jul 15, 2013 at 12:39 PM, Fabio Estevam wrote: >> > Hi Otavio, >> > >> > On Mon, Jul 15, 2013 at 11:22 AM, Otavio Salvador >> > wrote: >> >> The i.MX23EVK board

Re: [PATCH 1/5] ARM: dts: imx23-evk: enable USB PHY and controller

2013-07-16 Thread Otavio Salvador
On Tue, Jul 16, 2013 at 12:42 AM, Fabio Estevam wrote: > On Mon, Jul 15, 2013 at 11:22 AM, Otavio Salvador > wrote: >> The i.MX23EVK board provides a USB port so the USB PHY and controller >> need to be enabled for it to be usable. > > Has this been tested? I don't see in this patch any code to

Re: [PATCH -next] clk: sunxi: fix return value check

2013-07-16 Thread Maxime Ripard
Hi Wei, On Tue, Jul 16, 2013 at 08:17:45PM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > In case of error, the function clk_register_composite() and > clk_register_factors() returns ERR_PTR() not NULL. The NULL test > in the return value check should be replaced with IS_ERR(). > >

[PATCH -next] clk: sunxi: fix return value check

2013-07-16 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function clk_register_composite() and clk_register_factors() returns ERR_PTR() not NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun --- drivers/clk/sunxi/clk-sunxi.c | 4 ++-- 1 file changed, 2

Re: [PATCH 5/5] iio: add configuration option for debug support

2013-07-16 Thread Lars-Peter Clausen
On 07/16/2013 02:01 PM, Otavio Salvador wrote: > On Tue, Jul 16, 2013 at 7:26 AM, Lars-Peter Clausen wrote: >> On 07/16/2013 11:58 AM, Jonathan Cameron wrote: >>> On 07/15/2013 03:22 PM, Otavio Salvador wrote: Signed-off-by: Otavio Salvador >>> seems a sensible facility to have available.

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Grygorii Strashko
Hi Felipe, On 07/16/2013 02:27 PM, Felipe Balbi wrote: Hi, On Tue, Jul 16, 2013 at 02:01:11PM +0300, Grygorii Strashko wrote: On a OMAP4460, i2c-bus-3: A driver (lm75) is causing many 'timeout waiting for bus ready' errors. SDA remains high (as it should), but SCL remains low after a NACK.

Re: [PATCH v5 2/7] cpufreq: Add boost frequency support in core

2013-07-16 Thread Lukasz Majewski
On Tue, 16 Jul 2013 15:11:54 +0530 Viresh Kumar viresh.ku...@linaro.org wrote, > On 4 July 2013 14:20, Lukasz Majewski wrote: > > diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c > > > +int cpufreq_boost_trigger_state(int state) > > +{ > > + unsigned long flags; > > +

Re: [PATCH V6 06/12] perf tools: remove unnecessary callchain validation

2013-07-16 Thread Jiri Olsa
On Tue, Jul 16, 2013 at 09:38:12AM +0300, Adrian Hunter wrote: SNIP > } > } > > -static int perf_session__preprocess_sample(struct perf_session *session, > -union perf_event *event, struct > perf_sample *sample) > -{ > - if

Re: [PATCH 3/4] pinctrl: Add support for additional dynamic states

2013-07-16 Thread Tony Lindgren
* Felipe Balbi [130716 02:42]: > Hi, > > On Tue, Jul 16, 2013 at 02:05:36AM -0700, Tony Lindgren wrote: > > +int pinctrl_check_dynamic(struct device *dev, struct pinctrl_state *st1, > > + struct pinctrl_state *st2) > > +{ > > + struct pinctrl_setting *s1, *s2; > > + > > +

Re: [PATCH] drm/i915: fix long-standing SNB regression in power consumption after resume

2013-07-16 Thread Daniel Vetter
On Tue, Jul 16, 2013 at 08:32:40AM +0200, Daniel Vetter wrote: > On Sun, Jul 14, 2013 at 08:30:09PM +0400, Konstantin Khlebnikov wrote: > > This patch fixes regression in power consumtion of sandy bridge gpu, which > > exists since v3.6 Sometimes after resuming from s2ram gpu starts thinking > >

Re: DWC2 and/or S3C-HSOTG for STA2X11 board

2013-07-16 Thread Felipe Balbi
Hi, On Tue, Jul 16, 2013 at 02:01:33PM +0200, Federico Vaga wrote: > Hello, > > I have an x86 board made by STMicroelectronics (STA2X11) with the Synopsis > USB-OTG DesignWare 2 on it and connected through the PCI-e bus. > > > I know that there are two drivers for the same controller: > >

[PATCH] ASoC: imx-sgtl5000: fix error return code in imx_sgtl5000_probe()

2013-07-16 Thread Wei Yongjun
From: Wei Yongjun Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- sound/soc/fsl/imx-sgtl5000.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/soc/fsl/imx-sgtl5000.c

Re: [PATCH 5/5] iio: add configuration option for debug support

2013-07-16 Thread Otavio Salvador
On Tue, Jul 16, 2013 at 7:26 AM, Lars-Peter Clausen wrote: > On 07/16/2013 11:58 AM, Jonathan Cameron wrote: >> On 07/15/2013 03:22 PM, Otavio Salvador wrote: >>> Signed-off-by: Otavio Salvador >> seems a sensible facility to have available. >> >> Applied to the togreg branch of iio.git > > Can

DWC2 and/or S3C-HSOTG for STA2X11 board

2013-07-16 Thread Federico Vaga
Hello, I have an x86 board made by STMicroelectronics (STA2X11) with the Synopsis USB-OTG DesignWare 2 on it and connected through the PCI-e bus. I know that there are two drivers for the same controller: (host) drivers/staging/dwc2/* (device) drivers/usb/gadget/s3c-hsotg.{c|h} So,

[PATCH v2] gpio: Add MOXA ART GPIO driver

2013-07-16 Thread Jonas Jensen
Add GPIO driver for MOXA ART SoCs. Signed-off-by: Jonas Jensen --- Notes: Changes since v1: 1. don't use hardcoded GPIO numbers, use of_get_named_gpio 2. check gpiochip_add return value 3. set gpio_chip .dev member to platform device Applies to next-20130703

Re: [PATCH 3.11-rc1] crypto: Fix boot failure due to module dependency.

2013-07-16 Thread Herbert Xu
On Tue, Jul 16, 2013 at 08:53:02PM +0900, Tetsuo Handa wrote: > I got below failure. > > [5.258911] scsi 1:0:0:0: CD-ROMNECVMWar VMware IDE CDR10 > 1.00 PQ: 0 ANSI: 5 > [5.267651] modprobe (156) used greatest stack depth: 4064 bytes left > [5.293607] Fusion MPT base

Re: [PATCH V6 05/12] perf tools: tidy up sample parsing overflow checking

2013-07-16 Thread Jiri Olsa
On Tue, Jul 16, 2013 at 09:38:11AM +0300, Adrian Hunter wrote: > The size of data retrieved from a sample event must be > validated to ensure it does not go past the end of the > event. That was being done sporadically and without > considering integer overflows. > > Signed-off-by: Adrian Hunter

[PATCH 0/3] Add clk driver to register s2mps11 clocks

2013-07-16 Thread Yadwinder Singh Brar
This series adds support to register three(AP/CP/BT) buffered 32.768 KHz outputs of mfd-s2mps11 with common clock framework and removes clocks from regulators list. Yadwinder Singh Brar (3): clk: s2mps11: Add support for s2mps11 mfd: sec: Add clock cell for s2mps11 mfd: s2mps11: Remove

[PATCH 1/3] clk: s2mps11: Add support for s2mps11

2013-07-16 Thread Yadwinder Singh Brar
This patch adds support to register three(AP/CP/BT) buffered 32.768 KHz outputs of mfd-s2mps11 with common clock framework. Signed-off-by: Yadwinder Singh Brar --- drivers/clk/Kconfig |6 + drivers/clk/Makefile |1 + drivers/clk/clk-s2mps11.c | 273

Re: [PATCH] ata: Fix DVD not dectected at some platform with Wellsburg PCH

2013-07-16 Thread Tejun Heo
On Tue, Jul 16, 2013 at 05:48:26AM -0600, Tejun Heo wrote: > On Thu, Jul 11, 2013 at 09:15:57PM -0400, Youquan Song wrote: > > There is a patch b55f84e2d527182e7c611d466cd0bb6ddce201de "ata_piix: Fix DVD > > not dectected at some Haswell platforms" to fix an issue of DVD not > > recognized on

[PATCH 2/3] mfd: sec: Add clock cell for s2mps11

2013-07-16 Thread Yadwinder Singh Brar
This patch adds clock to list of mfd cells for s2mps11 and DT documentation for clock part. Signed-off-by: Yadwinder Singh Brar --- Documentation/devicetree/bindings/mfd/s2mps11.txt | 20 drivers/mfd/sec-core.c|4 +++- 2 files changed, 23

[PATCH 3/3] mfd: s2mps11: Remove clocks from regulators list

2013-07-16 Thread Yadwinder Singh Brar
Since these are fixed rate clocks which are registered with common clock framework so remove these from list of regulators which were unnecessarily incrementing the count(S2MPS11_REGULATOR_MAX) of regulators. Signed-off-by: Yadwinder Singh Brar --- include/linux/mfd/samsung/s2mps11.h |6

[PATCH 3.11-rc1] crypto: Fix boot failure due to module dependency.

2013-07-16 Thread Tetsuo Handa
I got below failure. [5.258911] scsi 1:0:0:0: CD-ROMNECVMWar VMware IDE CDR10 1.00 PQ: 0 ANSI: 5 [5.267651] modprobe (156) used greatest stack depth: 4064 bytes left [5.293607] Fusion MPT base driver 3.04.20 [5.294416] Copyright (c) 1999-2008 LSI Corporation

Re: linux-next: build failure after merge of the sound-asoc tree

2013-07-16 Thread Mark Brown
On Tue, Jul 16, 2013 at 01:18:28PM +1000, Stephen Rothwell wrote: > Caused by commit df7e4082f47d ("ASoC: tegra: Enable COMPILE_TEST > builds"). If you are going to do that, please test via (at least) an > x86_64 allmodconf build. Including asm/mach-types.h is an architecture > dependency. I'm

Re: [PATCH 1/5] perf: fix broken union in perf_event_mmap_page

2013-07-16 Thread H. Peter Anvin
On 06/28/2013 08:22 AM, Peter Zijlstra wrote: > > Ick, it did that!? and here I thought there was a difference between: > > int foo:1, > bar:1; > > and > > int foo:1; > int bar:1; > > That made all the difference in this particular case. I guess I should > go read the language

Re: [PATCH v5 6/7] cpufreq:boost:Kconfig: Enable software managed BOOST support at Kconfig

2013-07-16 Thread Lukasz Majewski
On Tue, 16 Jul 2013 15:28:40 +0530 Viresh Kumar viresh.ku...@linaro.org wrote, > On 4 July 2013 14:20, Lukasz Majewski wrote: > > diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig > > > +config CPU_FREQ_BOOST_SW > > + bool "CPU frequency overclocking (BOOST)" > > Name it "CPU

[PATCH v4 0/2] TWL6030, TWL6032 GPADC driver

2013-07-16 Thread Oleksandr Kozaruk
Hello, v4 - addressed comments: fixed style violation, bug in freeing memory, added comments explaining calibration method, removed test network channels from exposing to userspace, error handling for wait_for_complition v3 - fixed compiler warning v2 - the driver put in

[PATCH v4 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-16 Thread Oleksandr Kozaruk
The GPADC is general purpose ADC found on TWL6030, and TWL6032 PMIC, known also as Phoenix and PhoenixLite. The TWL6030 and TWL6032 have GPADC with 17 and 19 channels respectively. Some channels have current source and are used for measuring voltage drop on resistive load for detecting battery ID

Re: [PATCH] ata: Fix DVD not dectected at some platform with Wellsburg PCH

2013-07-16 Thread Tejun Heo
On Thu, Jul 11, 2013 at 09:15:57PM -0400, Youquan Song wrote: > There is a patch b55f84e2d527182e7c611d466cd0bb6ddce201de "ata_piix: Fix DVD > not dectected at some Haswell platforms" to fix an issue of DVD not > recognized on Haswell Desktop platform with Lynx Point. > Recently, it is also

[PATCH v4 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-16 Thread Oleksandr Kozaruk
GPADC is the general purpose ADC present on twl6030. The dt data is interrupt used to trigger end of ADC conversion. Signed-off-by: Oleksandr Kozaruk --- arch/arm/boot/dts/twl6030.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/twl6030.dtsi

Re: [PATCH] AHCI: fix Null pointer dereference in achi_host_active()

2013-07-16 Thread Sergei Shtylyov
Hello. On 16-07-2013 9:18, Xiaotian Feng wrote: commit b29900e6 introuded a regression, which resulted Null pointer Please also specify that commit's summary in parens. dereference for achi host with dummy ports. For ahci ports, when the port is dummy port, its private_data will be

Re: [PATCH] tty: serial: Add initial MSM UART High Speed Lite driver

2013-07-16 Thread Ivan T. Ivanov
Hi Greg, On Mon, 2013-07-01 at 12:11 +0300, Ivan T. Ivanov wrote: > From: "Ivan T. Ivanov" > > This is a tty driver with console support for Qualcomm's UART > controllers found in the MSM8974 chipsets. Driver is completely > based on implementation found in codeaurora.org msm_serial_hs_lite >

Re: [Update][PATCH] ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

2013-07-16 Thread Rafael J. Wysocki
On Tuesday, July 16, 2013 11:24:05 AM Aaron Lu wrote: > On 07/15/2013 07:42 PM, Rafael J. Wysocki wrote: > > On Monday, July 15, 2013 10:36:15 AM Aaron Lu wrote: > >> On 07/13/2013 08:46 AM, Rafael J. Wysocki wrote: > >>> From: Rafael J. Wysocki > >>> > >>> According to Matthew Garrett, "Windows

[PATCH v4 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-16 Thread Oleksandr Kozaruk
GPADC is the general purpose ADC present on twl6030. The dt data is interrupt used to trigger end of ADC conversion. Signed-off-by: Oleksandr Kozaruk --- arch/arm/boot/dts/twl6030.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/twl6030.dtsi

[PATCH v4 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-16 Thread Oleksandr Kozaruk
The GPADC is general purpose ADC found on TWL6030, and TWL6032 PMIC, known also as Phoenix and PhoenixLite. The TWL6030 and TWL6032 have GPADC with 17 and 19 channels respectively. Some channels have current source and are used for measuring voltage drop on resistive load for detecting battery ID

Re: [PATCH 1/3] arcmsr: Modify maximum outstanding command

2013-07-16 Thread James Bottomley
On Tue, 2013-07-16 at 18:22 +0800, 黃清隆 wrote: > From: Ching > > Modify maximum outstanding command value, notify auto request sense, reassign > ARC12x4 series to SATA adapter. > Signed-off-by:Ching > --- This patch needs to make it to the SCSI mailing list and it didn't. You can easily check

Re: [PATCH v5 7/7] Documentation:cpufreq:boost: Update BOOST documentation

2013-07-16 Thread Lukasz Majewski
On Tue, 16 Jul 2013 15:31:43 +0530 Viresh Kumar viresh.ku...@linaro.org wrote, > On 4 July 2013 14:20, Lukasz Majewski wrote: > > -Reading the file is always supported, even if the processor does > > not -support boosting. In this case the file will be read-only and > > always -reads as "0".

Re: [PATCH] iommu/vt-d: Expand interrupt remapping quirk to cover x58 chipset

2013-07-16 Thread Neil Horman
On Thu, Jul 11, 2013 at 06:59:52AM -0400, Neil Horman wrote: > On Wed, Jul 10, 2013 at 01:31:36PM -0400, Don Dutile wrote: > > On 07/09/2013 03:11 PM, Neil Horman wrote: > > >Recently we added an early quirk to detect 5500/5520 chipsets with early > > >revisions that had problems with irq draining

[PATCH 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-16 Thread Oleksandr Kozaruk
GPADC is the general purpose ADC present on twl6030. The dt data is interrupt used to trigger end of ADC conversion. Signed-off-by: Oleksandr Kozaruk --- arch/arm/boot/dts/twl6030.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/twl6030.dtsi

[PATCH v4 0/2] TWL6030, TWL6032 GPADC driver

2013-07-16 Thread Oleksandr Kozaruk
Hello, v4 - addressed comments: fixed style violation, bug in freeing memory, added comments explaining calibration method, removed test network channels from exposing to userspace, error handling for wait_for_complition v3 - fixed compiler warning v2 - the driver put in

[PATCH 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-16 Thread Oleksandr Kozaruk
The GPADC is general purpose ADC found on TWL6030, and TWL6032 PMIC, known also as Phoenix and PhoenixLite. The TWL6030 and TWL6032 have GPADC with 17 and 19 channels respectively. Some channels have current source and are used for measuring voltage drop on resistive load for detecting battery ID

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Felipe Balbi
Hi, On Tue, Jul 16, 2013 at 02:01:11PM +0300, Grygorii Strashko wrote: > On a OMAP4460, i2c-bus-3: > > A driver (lm75) is causing many 'timeout waiting for bus ready' errors. > SDA remains high (as it should), but SCL remains low after a NACK. > The bus becomes _unusable for

Re: [PATCH v2 0/7] usb: phy: msm: Fixes and cleanups

2013-07-16 Thread Ivan T. Ivanov
Hi Felipe, On Tue, 2013-07-09 at 18:47 +0300, Ivan T. Ivanov wrote: > From: "Ivan T. Ivanov" > > Changes since first version. > * Extend commit messages a little bit. > > Following patches make initial cleanup of usb phy found in the Qualcomm > chipsets. Changes include: > * Build time error

Re: [PATCH v5 3/7] cpufreq:acpi:x86: Adjust the acpi-cpufreq.c code to work with common boost solution

2013-07-16 Thread Lukasz Majewski
On Tue, 16 Jul 2013 15:34:02 +0530 Viresh Kumar viresh.ku...@linaro.org wrote, > On 4 July 2013 14:20, Lukasz Majewski wrote: > > static void __init acpi_cpufreq_boost_init(void) > > @@ -953,33 +937,22 @@ static void __init > > acpi_cpufreq_boost_init(void) if (!msrs) > >

Re: [PATCH 1/2] i2c-designware: make *CNT values configurable

2013-07-16 Thread Christian Ruppert
On Sat, Jul 13, 2013 at 02:36:43PM +0900, Shinya Kuribayashi wrote: > Hi, > > Now I've had a look at the whole discussion. > > Basically, DW I2C core provides a good enough (and quite direct) way > to control tHIGH and tLOW timing specs, *HCNT and *LCNT registers. > > But from my experience

Re: [PATCH v3 0/2] Enable lm90 in Tegra30 and Tegra114.

2013-07-16 Thread Wei Ni
On 07/16/2013 01:13 AM, Stephen Warren wrote: > On 07/15/2013 10:48 AM, Stephen Warren wrote: >> On 07/12/2013 01:49 AM, Wei Ni wrote: >>> Enable thermal sensor lm90 for Tegra30 Cardhu and Tegra114 Dalmore. >> >> I have applied the series to Tegra's for-3.12/dt branch. > > Actually, I see the

Re: [PATCH] drm/i915: fix long-standing SNB regression in power consumption after resume

2013-07-16 Thread Daniel Vetter
On Tue, Jul 16, 2013 at 10:31 AM, Chris Wilson wrote: > On Tue, Jul 16, 2013 at 09:44:59AM +0200, Daniel Vetter wrote: >> The issue I have with the current patch is that it looks a bit like >> duct-tape since the point where we drop the forcewake references seems to >> lack justification. The

[PATCH 1/3] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-07-16 Thread Sonic Zhang
From: Sonic Zhang The new ADI GPIO2 controller was introduced since the BF548 and BF60x processors. It differs a lot from the old one on BF5xx processors. So, create a pinctrl driver under pinctrl framework. - Define gpio ports and gpio interrupt controllers as individual platform devices. -

[PATCH 3/3] blackfin: pinctrl-adi2: Add pin control device groups and function data.

2013-07-16 Thread Sonic Zhang
From: Sonic Zhang Select PINCTRL_ADI2 for bf54x and bf60x by default. Signed-off-by: Sonic Zhang --- arch/blackfin/Kconfig | 7 + arch/blackfin/include/asm/portmux.h | 14 +- arch/blackfin/mach-bf548/include/mach/portmux.h | 595

[PATCH 2/3] blackfin: gpio: Remove none gpio lib code.

2013-07-16 Thread Sonic Zhang
From: Sonic Zhang - Remove non gpio lib code from blackfin architecture. - Limit the lagecy blackfin gpio driver to bf5xx processors only. - Remove unused definition of the pint power functions. Signed-off-by: Sonic Zhang --- arch/blackfin/Kconfig| 7 ++

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Grygorii Strashko
Hi Hein, Felipe On 07/16/2013 12:42 PM, Felipe Balbi wrote: Hi, On Tue, Jul 16, 2013 at 05:33:47PM +0800, Hein Tibosch wrote: On 7/16/2013 5:03 PM, Felipe Balbi wrote: Hi, On Tue, Jul 16, 2013 at 04:19:35PM +0800, Hein Tibosch wrote: Hi Vikram, On a OMAP4460, i2c-bus-3: A driver (lm75)

[PATCH] FMC: fix locking in sample chardev driver

2013-07-16 Thread Alessandro Rubini
The fmc-chardev module was over-locking, by calling misc register/unregister while holding its spinlock. This reported a "scheduling while atomic" error. Since the misc driver already serializes operations internally, this commit downgrades the fmc-chardev lock to just cover its own list.

Re: [PATCH v5 4/7] cpufreq:exynos:Extend Exynos cpufreq driver to support boost framework

2013-07-16 Thread Lukasz Majewski
On Tue, 16 Jul 2013 15:18:57 +0530 Viresh Kumar viresh.ku...@linaro.org wrote, > On 4 July 2013 14:20, Lukasz Majewski wrote: > > The struct cpufreq_driver has been extended to embrace the > > information related to boost support. > > > > When "boost_mode" device tree attribute is defined for a

Re: [LOCKDEP] cpufreq: possible circular locking dependency detected

2013-07-16 Thread Sergey Senozhatsky
On (07/16/13 14:03), Srivatsa S. Bhat wrote: > >> So here is the solution: > >> > >> On 3.11-rc1, apply these patches in the order mentioned below, and check > >> whether it fixes _all_ problems (both the warnings about IPI as well as the > >> lockdep splat). > >> > >> 1. Patch given in:

[PATCH] microblaze: Fix clone syscall

2013-07-16 Thread Michal Simek
Microblaze was assign to CLONE_BACKWARDS type where parent tid was passed via 3rd argument. Microblaze glibc is using 4th argument for it. Create new CLONE_BACKWARDS3 type where stack_size is passed via 3rd argument, parent thread id pointer via 4th, child thread id pointer via 5th and tls value

Re: [RFC 4/4] Sparse initialization of struct page array.

2013-07-16 Thread Robin Holt
On Mon, Jul 15, 2013 at 02:30:37PM -0700, Andrew Morton wrote: > On Thu, 11 Jul 2013 21:03:55 -0500 Robin Holt wrote: > > > During boot of large memory machines, a significant portion of boot > > is spent initializing the struct page array. The vast majority of > > those pages are not

Re: [fuse-devel] [PATCH] fuse: fix occasional dentry leak when readdirplus is used

2013-07-16 Thread Niels de Vos
On Mon, Jul 15, 2013 at 04:08:22PM -0400, Brian Foster wrote: > On 07/15/2013 08:59 AM, Niels de Vos wrote: > > In case d_lookup() returns a dentry with d_inode == NULL, the dentry is > > not returned with dput(). This results in triggering a BUG() in > > shrink_dcache_for_umount_subtree(): > > >

Re: [PATCH 16/18] sched: Avoid overloading CPUs on a preferred NUMA node

2013-07-16 Thread Peter Zijlstra
On Tue, Jul 16, 2013 at 09:23:42AM +0100, Mel Gorman wrote: > On Mon, Jul 15, 2013 at 10:03:21PM +0200, Peter Zijlstra wrote: > > On Mon, Jul 15, 2013 at 04:20:18PM +0100, Mel Gorman wrote: > > > --- > > > + src_eff_load = 100 + (imbalance_pct - 100) / 2; > > > + src_eff_load *= power_of(src_cpu);

Re: [alsa-devel] [BUG] 3.10.[01] modprobe snd-... hangs

2013-07-16 Thread Takashi Iwai
At Tue, 16 Jul 2013 10:28:02 +0200, Philipp Hahn wrote: > > Hello, > > Am Dienstag 16 Juli 2013, 08:43:36 schrieb Takashi Iwai: > > At Tue, 16 Jul 2013 15:11:51 +0930, Rusty Russell wrote: > > > Philipp Matthias Hahn writes: > > > > My x86_64 systems has some trouble loading some ALSA snd-*

Re: [RFC 4/4] Sparse initialization of struct page array.

2013-07-16 Thread Robin Holt
On Fri, Jul 12, 2013 at 09:19:12PM -0700, Yinghai Lu wrote: > On Thu, Jul 11, 2013 at 7:03 PM, Robin Holt wrote: > > During boot of large memory machines, a significant portion of boot > > is spent initializing the struct page array. The vast majority of > > those pages are not referenced during

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