Re: [PATCH] KVM: mmu: allow page tables to be in read-only slots

2013-09-02 Thread Paolo Bonzini
Il 02/09/2013 12:07, Gleb Natapov ha scritto: > On Mon, Sep 02, 2013 at 06:00:39PM +0800, Xiao Guangrong wrote: >> On 09/02/2013 05:25 PM, Gleb Natapov wrote: >>> On Mon, Sep 02, 2013 at 05:20:15PM +0800, Xiao Guangrong wrote: On 08/30/2013 08:41 PM, Paolo Bonzini wrote: > Page tables in

[PATCH] of_irq.h: fix build warnings when CONFIG_OF is not enabled

2013-09-02 Thread Randy Dunlap
From: Randy Dunlap Fix build warnings when CONFIG_OF is not enabled: include/linux/of_irq.h:82:7: warning: 'struct device_node' declared inside parameter list [enabled by default] include/linux/of_irq.h:82:7: warning: its scope is only this definition or declaration, which is probably not

Re: 3.10.9: kmemleak disables all CPUs except CPU0

2013-09-02 Thread Martin MOKREJŠ
Catalin Marinas wrote: > On Mon, Sep 02, 2013 at 04:44:52PM +0100, Max Filippov wrote: >> On Mon, Sep 2, 2013 at 7:31 PM, Catalin Marinas >> wrote: >>> On 31 August 2013 14:35, Martin MOKREJŠ wrote: never realized that my CPUs are gone if I compile into kernel kmemleak. Is that

Re: [PATCH V3 RFC 00/16] EFI stub for ARM

2013-09-02 Thread Roy Franz
On Mon, Sep 2, 2013 at 3:33 AM, Matt Fleming wrote: > On Tue, 13 Aug, at 10:58:16AM, Roy Franz wrote: >> Hi Matt, >> >>Do you have any more feedback on the X86 and common code (patches >> 1-13) that needs to be addressed? Mark Salter has a working ARM64 EFI >> stub implemented based on these

Re: 3.10.9: kmemleak disables all CPUs except CPU0

2013-09-02 Thread Catalin Marinas
On Mon, Sep 02, 2013 at 04:44:52PM +0100, Max Filippov wrote: > On Mon, Sep 2, 2013 at 7:31 PM, Catalin Marinas > wrote: > > On 31 August 2013 14:35, Martin MOKREJŠ wrote: > >> never realized that my CPUs are gone if I compile into kernel kmemleak. > >> Is that really the aim? > >> > >>

[PATCH 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY

2013-09-02 Thread Kishon Vijay Abraham I
There can be systems which does not have a external usb_phy, so get usb_phy only if usb-phy property is added in the case of dt boot or if platform_data indicates the presence of PHY. Also remove checking if return value is -ENXIO since it's now changed to always enable usb_phy layer.

Re: 3.10.9: kmemleak disables all CPUs except CPU0

2013-09-02 Thread Martin MOKREJŠ
Catalin Marinas wrote: > On 31 August 2013 14:35, Martin MOKREJŠ wrote: >> never realized that my CPUs are gone if I compile into kernel kmemleak. >> Is that really the aim? >> >> CONFIG_HAVE_DEBUG_KMEMLEAK=y >> CONFIG_DEBUG_KMEMLEAK=y >> CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400 >> #

[PATCH 2/7] usb: dwc3: adapt dwc3 core to use Generic PHY Framework

2013-09-02 Thread Kishon Vijay Abraham I
Adapted dwc3 core to use the Generic PHY Framework. So for init, exit, power_on and power_off the following APIs are used phy_init(), phy_exit(), phy_power_on() and phy_power_off(). However using the old USB phy library wont be removed till the PHYs of all other SoC's using dwc3 core is adapted

[PATCH 3/7] drivers: phy: usb3/pipe3: Adapt pipe3 driver to Generic PHY Framework

2013-09-02 Thread Kishon Vijay Abraham I
Adapted omap-usb3 PHY driver to Generic PHY Framework and moved phy-omap-usb3 driver in drivers/usb/phy to drivers/phy and also renamed the file to phy-omap-pipe3 since this same driver will be used for SATA PHY and PCIE PHY. Signed-off-by: Kishon Vijay Abraham I ---

Re: 3.10.9: kmemleak disables all CPUs except CPU0

2013-09-02 Thread Max Filippov
On Mon, Sep 2, 2013 at 7:31 PM, Catalin Marinas wrote: > On 31 August 2013 14:35, Martin MOKREJŠ wrote: >> never realized that my CPUs are gone if I compile into kernel kmemleak. >> Is that really the aim? >> >> CONFIG_HAVE_DEBUG_KMEMLEAK=y >> CONFIG_DEBUG_KMEMLEAK=y >>

[PATCH 6/7] arm/dts: added dt properties to adapt to the new phy framwork

2013-09-02 Thread Kishon Vijay Abraham I
Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap5.dtsi |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 94abef5..9fe71ff 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++

[PATCH 4/7] Documentation: dt bindings: move ..usb/usb-phy.txt to ..phy/omap-phy.txt

2013-09-02 Thread Kishon Vijay Abraham I
Since now we have a separate folder for phy, move the PHY dt binding documentation of OMAP to that folder. Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/{usb/usb-phy.txt => phy/omap-phy.txt}|2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename

[PATCH 5/7] phy: omap-usb2: move omap_usb.h from linux/usb/ to linux/phy/

2013-09-02 Thread Kishon Vijay Abraham I
No functional change. Moved omap_usb.h from linux/usb/ to linux/phy/. Also removed the unused members of struct omap_usb (after phy-omap-pipe3 started using it's own header file) Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/phy-omap-usb2.c |2 +-

[PATCH 7/7] drivers: phy: renamed struct omap_control_usb to struct omap_control_phy

2013-09-02 Thread Kishon Vijay Abraham I
renamed struct omap_control_usb to struct omap_control_phy since it can be used to control PHY of USB, SATA and PCIE. Also moved the driver and include files under *phy* and made the corresponding changes in the users of phy-omap-control. Signed-off-by: Kishon Vijay Abraham I ---

[PATCH 0/7] Make dwc3 use Generic PHY Framework and misc cleanup

2013-09-02 Thread Kishon Vijay Abraham I
Modified dwc3 core to find PHYs only if the platform indicates that it has to use a PHY. Adapted DWC3 and USB3 PHY to use Generic PHY framework. Also changed the name of USB3 PHY driver to PIPE3 PHY driver since the same driver has to be used for SATA and PCIE too. This series also includes a

Hallo..........

2013-09-02 Thread Mutoni Williams
Hello,How are you,I hope you're well,my name is Mutoni,I'm medium height and fair in complexion,i love,caring and I decided to contact you.I really want to have a good relationship with you.Next I have a special something I want to discuss with you,and tell you more about my self.Hope hear

Re: 3.10.9: kmemleak disables all CPUs except CPU0

2013-09-02 Thread Catalin Marinas
On 31 August 2013 14:35, Martin MOKREJŠ wrote: > never realized that my CPUs are gone if I compile into kernel kmemleak. > Is that really the aim? > > CONFIG_HAVE_DEBUG_KMEMLEAK=y > CONFIG_DEBUG_KMEMLEAK=y > CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400 > # CONFIG_DEBUG_KMEMLEAK_TEST is not set > #

[PATCH] ARM: mach-iop32x: iq31244: Replace if-then-else with a switch statement

2013-09-02 Thread Valentin Ilie
Convert a compound if-else blob to a switch statement. Signed-off-by: Valentin Ilie --- arch/arm/mach-iop32x/iq31244.c | 29 +++-- 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-iop32x/iq31244.c b/arch/arm/mach-iop32x/iq31244.c index

Re: [PATCH] Remove support for score architecture

2013-09-02 Thread Lennox Wu
Before we start the development of the S+core, Sunplus had licensed ARM and MIPS. We develop S+core for other reason such as the price. Some products on the web of Sunplus adopt S+core , for example the SPV7050.(http://w3.sunplus.com/products/spv7050.asp) These products could still be bought from

Re: [GIT PULL] ARM/ARM64 architected timer updates for v3.12, take 2

2013-09-02 Thread Daniel Lezcano
On 09/02/2013 05:04 PM, Sudeep KarkadaNagesha wrote: > On 02/09/13 15:54, Daniel Lezcano wrote: >> On 08/30/2013 06:52 PM, Sudeep KarkadaNagesha wrote: >>> git://linux-arm.org/linux-skn.git timer_evtstrm >> >> Hi Sudeep, >> >> I don't see the acked-by from Olof or Kevin. >> >> Your patchset

Re: [GIT PULL] ARM/ARM64 architected timer updates for v3.12, take 2

2013-09-02 Thread Sudeep KarkadaNagesha
On 02/09/13 15:54, Daniel Lezcano wrote: > On 08/30/2013 06:52 PM, Sudeep KarkadaNagesha wrote: >> git://linux-arm.org/linux-skn.git timer_evtstrm > > Hi Sudeep, > > I don't see the acked-by from Olof or Kevin. > > Your patchset touches files under arch/arm which are maintained by them > and I

[PATCH 1/1] drivers/acpi: acpi_ipmi.c replace mutex with spin_lock_irqsave

2013-09-02 Thread Tony Camuso
From: tcam...@redhat.com From: Tony Camuso We were getting occasional "Scheduling while atomic" call traces during boot on some systems. Problem was first seen on a Cisco C210 but we were able to reproduce it on a Cisco c220m3. Setting CONFIG_LOCKDEP and LOCKDEP_SUPPORT to 'y' exposed a lockdep

Re: [GIT PULL] ARM/ARM64 architected timer updates for v3.12, take 2

2013-09-02 Thread Daniel Lezcano
On 08/30/2013 06:52 PM, Sudeep KarkadaNagesha wrote: > git://linux-arm.org/linux-skn.git timer_evtstrm Hi Sudeep, I don't see the acked-by from Olof or Kevin. Your patchset touches files under arch/arm which are maintained by them and I won't take the patchset if they don't agree the

Re: [PATCH] drm/i2c: Fix broken TDA998x audio (was: Re: [PATCH v2 5/8] drm/i2c: tda998x: add video and audio input configuration)

2013-09-02 Thread Russell King - ARM Linux
On Wed, Aug 14, 2013 at 09:43:30PM +0200, Sebastian Hesselbarth wrote: > From: Russell King > > This patch adds tda998x specific parameters to allow it to be configured > for different boards using it. Also, this implements rudimentary audio > support for S/PDIF attached controllers. > >

Re: [PATCH] dmaengine: dma_slave_caps: remove sg entries

2013-09-02 Thread Lars-Peter Clausen
On 09/02/2013 02:21 PM, Vinod Koul wrote: > As pointed by Russell in [1], the sg properties are already availble in > struct device, > so no need to duplicate here. > > [1]: http://marc.info/?l=linux-omap=137416733628831 Hm, I guess that will work as well, but shouldn't we update the drivers

Re: Clock framework deadlock with external SPI clockchip

2013-09-02 Thread Lars-Peter Clausen
On 09/02/2013 01:18 PM, Peter De Schrijver wrote: > On Fri, Aug 30, 2013 at 03:24:45PM +0200, Lars-Peter Clausen wrote: >> Hi, >> >> I'm currently facing a deadlock in the common clock framework that >> unfortunately is not addressed by the reentrancy patches. I have a external >> clock chip that

Re: [Xen-devel] [PATCH v5 02/13] arm: introduce a global dma_ops pointer

2013-09-02 Thread Julien Grall
On 08/29/2013 07:32 PM, Stefano Stabellini wrote: > Initially set dma_ops to arm_dma_ops. > > > Signed-off-by: Stefano Stabellini > Acked-by: Konrad Rzeszutek Wilk > CC: will.dea...@arm.com > CC: li...@arm.linux.org.uk > > > Changes in v3: > - keep using arm_dma_ops in dmabounce. > --- >

Re: [PATCH] ipv6: ipv6_create_tempaddr cleanup

2013-09-02 Thread Ding Tianhong
于 2013/9/2 2:35, Hannes Frederic Sowa 写道: On Fri, Aug 30, 2013 at 05:02:38PM +0200, Petr Holasek wrote: This two-liner removes max_addresses variable which is now unecessary related to patch [ipv6: remove max_addresses check from ipv6_create_tempaddr]. Signed-off-by: Petr Holasek Uh, yes, I

RE: linux-next: build failure after merge of the final tree (drm tree related)

2013-09-02 Thread Deucher, Alexander
> -Original Message- > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > Sent: Monday, September 02, 2013 5:01 AM > To: Dave Airlie > Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; Deucher, > Alexander > Subject: linux-next: build failure after merge of the final

[PATCH] smp: harmonize prototypes of smp functions

2013-09-02 Thread Javi Merino
Avoid unnecessary casts from int to bool in smp functions. Some functions in kernel/smp.c have a wait parameter that can be set to one if you want to wait for the command to complete. It's defined as bool in a few of them and int in the rest. If a function with wait declared as int calls a

[PATCH v2 4/7] xfsprogs: xfsio: add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon Add support FALLOC_FL_COLLAPSE_RANGE for fallocate. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- io/prealloc.c | 39 ++- man/man8/xfs_io.8 |6 ++ 2 files changed, 44 insertions(+), 1 deletion(-) diff --git

[PATCH v2 3/7] ext4: add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon Add support FALLOC_FL_COLLAPSE_RANGE for fallocate. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- fs/ext4/ext4.h |3 + fs/ext4/extents.c | 286 ++- fs/ext4/move_extent.c |2 +-

[PATCH v2 7/7] manpage: update FALLOC_FL_COLLAPSE_RANGE flag in fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon Update FALLOC_FL_COLLAPSE_RANGE flag in fallocate. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- man2/fallocate.2 | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/man2/fallocate.2 b/man2/fallocate.2 index

[PATCH v2 6/7] xfstest: Add test case to test multiple collapse range call

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon We execute collapse range multiple times on same file. Each collapse range call collapses a single alternate block. After the test execution, file will be left with 80 blocks and as much number of extents. We also check for file system consistency after the completion.

[PATCH v2 5/7] xfstest: Add test case to check various corner cases for collapsing range

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon This patch checks various corner cases for collapsing a range. This patch is based on generic/255 test case which checks various corner cases for punch hole. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- common/collapse | 264

[PATCH v4 4/7] xfsprogs: xfsio: add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon Add support FALLOC_FL_COLLAPSE_RANGE for fallocate. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- io/prealloc.c | 39 ++- man/man8/xfs_io.8 |6 ++ 2 files changed, 44 insertions(+), 1 deletion(-) diff --git

[PATCH v3 3/7] ext4: add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon Add support FALLOC_FL_COLLAPSE_RANGE for fallocate. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- fs/ext4/ext4.h |3 + fs/ext4/extents.c | 286 ++- fs/ext4/move_extent.c |2 +-

[PATCH v2 2/7] xfs: add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon Add support FALLOC_FL_COLLAPSE_RANGE for fallocate. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- fs/xfs/xfs_bmap.c | 174 fs/xfs/xfs_bmap.h |3 + fs/xfs/xfs_bmap_util.c | 96

[PATCH v2 1/7] fs: add new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon Add new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate. updated detailed semantics in comments. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- fs/open.c | 24 +--- include/uapi/linux/falloc.h | 17 + 2

[PATCH v2 0/7] fs: Introduce new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon This patch series is in response of the following post: http://lwn.net/Articles/556136/ "ext4: introduce two new ioctls" Dave chinner suggested that truncate_block_range (which was one of the ioctls name) should be an fallocate operation and not any fs specific ioctl, hence

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-09-02 Thread Sergey Senozhatsky
On (09/02/13 16:13), Frederic Weisbecker wrote: > > On Mon, Sep 02, 2013 at 03:07:45PM +0200, Frederic Weisbecker wrote: > > > > Hope this may help. > > > > I've added a silly check to make sure that `stime < rtime' > > > > > > > > @@ -579,6 +582,10 @@ static void cputime_adjust(struct

[PATCH RFC 5/6] ARM: dts: AM335x: prcm node (for reset)

2013-09-02 Thread Afzal Mohammed
Add AM335x prcm node with reset binding. Signed-off-by: Afzal Mohammed --- arch/arm/boot/dts/am33xx.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 4701e3c..c2ccf94 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++

[PATCH RFC 6/6] ARM: dts: AM4372: prcm node (for reset)

2013-09-02 Thread Afzal Mohammed
Add AM4372 prcm node with reset binding. Signed-off-by: Afzal Mohammed --- arch/arm/boot/dts/am4372.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 5a68fde..d0d11b3 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++

[PATCH RFC 4/6] ARM: OMAP2+: AM43x/AM335x: have reset controller

2013-09-02 Thread Afzal Mohammed
AM43x, AM335x have reset block as part of prcm, let reset driver be usable with these SoC's. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 3eed000..fa28d1d

[PATCH RFC 3/6] reset: am43x/am335x support

2013-09-02 Thread Afzal Mohammed
Driver to handle reset block in prcm of AM43x, AM335x SoC's. There are three reset's that can be handled by this reset driver - gfx, m3 and pruss. Of this only gfx has been handled here, adding support for the remaining only require adding array entries with details of pruss and m3.

[PATCH RFC 2/6] doc: dt: binding: omap: am43x/am335x prcm reset

2013-09-02 Thread Afzal Mohammed
prcm reset binding for AM43x/AM335x SoC's. This was started with an attempt to add reset binding without a clear idea on the device node where binding should appear. So a new node with compatible "am4372-reset" to represent reset managment in prcm was added. But finally ended up with a node to

[PATCH RFC 1/6] reset: is_reset and clear_reset api's

2013-09-02 Thread Afzal Mohammed
Enhance reset framework with "is_reset" and "clear_reset" api's. is_reset - used by client driver to know reset status clear_reset - used by client driver to clear reset status These functionalities may sometimes be achieved by using existing api like deassert. But in some scenarios, steps to

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-09-02 Thread Frederic Weisbecker
On Mon, Sep 02, 2013 at 03:50:34PM +0200, Stanislaw Gruszka wrote: > On Mon, Sep 02, 2013 at 03:07:45PM +0200, Frederic Weisbecker wrote: > > > Hope this may help. > > > I've added a silly check to make sure that `stime < rtime' > > > > > > @@ -579,6 +582,10 @@ static void cputime_adjust(struct

[PATCH RFC 0/6] ARM: OMAP2+: AM43x/AM335x prcm reset driver

2013-09-02 Thread Afzal Mohammed
Hi, This is an attempt to achieve reset on AM43x/AM335x based SoC's with reset driver making use of the reset framework. prcm node is added in device tree, which would hold reset bindings. Initially node was made as a one that represents reset functionality of SoC. but ended up with node for

Re: [PATCHv2 3/5] drivers: thermal: make usage of CONFIG_THERMAL_HWMON optional

2013-09-02 Thread Eduardo Valentin
Hi, On 29-08-2013 16:12, Eduardo Valentin wrote: > When registering a new thermal_device, the thermal framework > will always add a hwmon sysfs interface. > > This patch adds a flag to make this behavior optional. Now > when registering a new thermal device, the caller can > optionally inform if

Re: [PATCH v4 3/6] ARM: edma: Add function to manually trigger an EDMA channel

2013-09-02 Thread Sekhar Nori
On 8/30/2013 4:35 AM, Joel Fernandes wrote: > Manual trigger for events missed as a result of splitting a > scatter gather list and DMA'ing it in batches. Add a helper > function to trigger a channel incase any such events are missed. > > Signed-off-by: Joel Fernandes Acked-by: Sekhar Nori

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-09-02 Thread Sergey Senozhatsky
On (09/02/13 15:50), Stanislaw Gruszka wrote: > Date: Mon, 2 Sep 2013 15:50:34 +0200 > From: Stanislaw Gruszka > To: Frederic Weisbecker > Cc: Sergey Senozhatsky , Ingo Molnar > , Peter Zijlstra , "Paul E. > McKenney" , Borislav Petkov , > linux-kernel@vger.kernel.org > Subject: Re: [sched

Fix style in s3c-hsotg.c

2013-09-02 Thread Pavel Machek
Hi! checkpatch.pl has some valid complaints about style in s3c-hsotg.c : macro with if should be really enclosed in do {} while, and puts is going to be slightly faster. Here's suggested patch. I don't have the hardware, so it is completely untested. Signed-off-by: Pavel Machek, diff --git

Please discard "checkpatch: warn when using extern with function prototypes in .h files"

2013-09-02 Thread David Howells
I noticed that a patch got committed to checkpatch to complain about function prototypes prefixed by "extern". Please discard/revert this patch: commit 7cd0f806622836e386ef18ad1950a9a729803019 Author: Joe Perches Date: Wed Aug 28 10:16:00 2013 +1000

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-09-02 Thread Stanislaw Gruszka
On Mon, Sep 02, 2013 at 03:07:45PM +0200, Frederic Weisbecker wrote: > > Hope this may help. > > I've added a silly check to make sure that `stime < rtime' > > > > @@ -579,6 +582,10 @@ static void cputime_adjust(struct task_cputime *curr, > > if (total) { > > stime =

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-09-02 Thread Sergey Senozhatsky
On (09/02/13 15:07), Frederic Weisbecker wrote: > > $ dmesg | grep Ooops > > [ 1295.311056] Ooops: stime:4622750929 rtime:4622750928 > > [ 1301.384396] Ooops: stime:4654072951 rtime:4654072950 > > [ 1307.438935] Ooops: stime:4687858107 rtime:4687858106 > > [ 1313.493462] Ooops: stime:4724166945

Re: perf_event: rdpmc self-monitoring overhead issue

2013-09-02 Thread Vince Weaver
On Mon, 2 Sep 2013, Stephane Eranian wrote: > On Mon, Sep 2, 2013 at 4:50 AM, Andi Kleen wrote: > > Stephane Eranian writes: > > > >> I don't see a flag in mmap() to fault it in immediately. > > > > MAP_PRESENT > > > I could not find this constant defined anywhere in the kernel source tree >

[PATCH] dmaengine: dma_slave_caps: remove sg entries

2013-09-02 Thread Vinod Koul
As pointed by Russell in [1], the sg properties are already availble in struct device, so no need to duplicate here. [1]: http://marc.info/?l=linux-omap=137416733628831 Signed-off-by: Vinod Koul --- include/linux/dmaengine.h |8 1 files changed, 0 insertions(+), 8 deletions(-)

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-09-02 Thread Frederic Weisbecker
ere ] > [ 1295.311072] WARNING: CPU: 1 PID: 2167 at kernel/sched/cputime.c:584 > cputime_adjust+0x132/0x140() > [ 1295.311123] CPU: 1 PID: 2167 Comm: top Tainted: G C > 3.11.0-rc7-next-20130902-dbg-dirty #2 > [ 1295.311126] Hardware name: Acer

Re: [PATCH 1/2] dma: sh: use devm_ioremap_resource() instead of devm_request_and_ioremap()

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 12:04:29PM +0530, Vinod Koul wrote: > On Mon, Sep 02, 2013 at 10:23:15AM +0900, Jingoo Han wrote: > > Use devm_ioremap_resource() because devm_request_and_ioremap() is > > obsoleted by devm_ioremap_resource(). > Applied both, Thanks I have removed this one and reapplied

Re: [PATCH 4/7] dma: replace devm_request_and_ioremap by devm_ioremap_resource

2013-09-02 Thread Vinod Koul
On Mon, Aug 19, 2013 at 01:20:38PM +0200, Julia Lawall wrote: > From: Julia Lawall > > Use devm_ioremap_resource instead of devm_request_and_ioremap. > > This was done using the semantic patch > scripts/coccinelle/api/devm_ioremap_resource.cocci > > The relevant call to platform_get_resource

Re: [PATCH v4 0/6] dma: edma: Support scatter-lists of any length

2013-09-02 Thread Vinod Koul
On Thu, 2013-08-29 at 18:05 -0500, Joel Fernandes wrote: > The following series adds support to EDMA driver to enable DMA of > scatter-gather lists of arbitrary length, but still make use of only > a certain MAX number of slots at a time for a given channel. Thus > free-ing up the rest of the

tsc2007 driver, read data abort after i2c timeout

2013-09-02 Thread Super Eichtig
Hello!   In the last few weeks I worked on a problem I had with I2C errors and the effect they had on the touchscreen performance with a TI TSC2007 IC. For I'm stuck with an old kernel (2.6.28) i used the tsc2003 driver, but the code seems to be close to the tsc2007.c .   I came across the

Re: [PATCH v3 2/4] dmaengine: add driver for Samsung s3c24xx SoCs

2013-09-02 Thread Vinod Koul
On Wed, Aug 28, 2013 at 12:13:51AM +0200, Heiko Stübner wrote: > This adds a new driver to support the s3c24xx dma using the dmaengine > and makes the old one in mach-s3c24xx obsolete in the long run. > > Conceptually the s3c24xx-dma feels like a distant relative of the pl08x > with numerous

[PATCH 2/3] mm/vmalloc: don't warning vmalloc allocation failure twice

2013-09-02 Thread Wanpeng Li
Don't warning twice in __vmalloc_area_node and __vmalloc_node_range if __vmalloc_area_node allocation failure. Signed-off-by: Wanpeng Li --- mm/vmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index ee41cc6..e324d38 100644 ---

[PATCH 3/3] mm/vmalloc: move VM_UNINITIALIZED just before show_numa_info

2013-09-02 Thread Wanpeng Li
The VM_UNINITIALIZED/VM_UNLIST flag introduced by commit f5252e00(mm: avoid null pointer access in vm_struct via /proc/vmallocinfo) is used to avoid accessing the pages field with unallocated page when show_numa_info() is called. This patch move the check just before show_numa_info in order

[PATCH 1/3] mm/vmalloc: don't set area->caller twice

2013-09-02 Thread Wanpeng Li
The caller address has already been set in set_vmalloc_vm(), there's no need to set it again in __vmalloc_area_node. Signed-off-by: Wanpeng Li --- mm/vmalloc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 1074543..d78d117 100644 --- a/mm/vmalloc.c +++

[PATCH 1/4] mm/hwpoison: fix traverse hugetlbfs page to avoid printk flood

2013-09-02 Thread Wanpeng Li
madvise_hwpoison won't check if the page is small page or huge page and traverse in small page granularity against the range unconditional, which result in a printk flood "MCE xxx: already hardware poisoned" if the page is huge page. This patch fix it by increase

[PATCH 2/4] mm/hwpoison: fix miss catch transparent huge page

2013-09-02 Thread Wanpeng Li
PageTransHuge() can't guarantee the page is transparent huge page since it return true for both transparent huge and hugetlbfs pages. This patch fix it by check the page is also !hugetlbfs page. Before patch: [ 121.571128] Injecting memory failure at pfn 23a200 [ 121.571141] MCE 0x23a200:

[PATCH 3/4] mm/hwpoison: fix false report 2nd try page recovery

2013-09-02 Thread Wanpeng Li
If the page is poisoned by software inject w/ MF_COUNT_INCREASED flag, there is a false report 2nd try page recovery which is not truth, this patch fix it by report first try free buddy page recovery if MF_COUNT_INCREASED is set. Before patch: [ 346.332041] Injecting memory failure at pfn

[PATCH 4/4] mm/hwpoison: fix the lack of one reference count against poisoned page

2013-09-02 Thread Wanpeng Li
The lack of one reference count against poisoned page for hwpoison_inject w/o hwpoison_filter enabled result in hwpoison detect -1 users still referenced the page, however, the number should be 0 except the poison handler held one after successfully unmap. This patch fix it by hold one

Re: [PATCH 2/2] cpufreq: serialize calls to __cpufreq_governor()

2013-09-02 Thread Rafael J. Wysocki
On Sunday, September 01, 2013 09:30:49 PM Viresh Kumar wrote: > On 1 September 2013 18:58, Rafael J. Wysocki wrote: > > On Sunday, September 01, 2013 10:56:02 AM Viresh Kumar wrote: > >> We can't take a big lock around __cpufreq_governor() as this causes > >> recursive > >> locking for some

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-09-02 Thread Sergey Senozhatsky
0928 [ 1295.311063] [ cut here ] [ 1295.311072] WARNING: CPU: 1 PID: 2167 at kernel/sched/cputime.c:584 cputime_adjust+0x132/0x140() [ 1295.311123] CPU: 1 PID: 2167 Comm: top Tainted: G C 3.11.0-rc7-next-20130902-dbg-dirty #2 [ 1295.311126] Hardware name: Acer

can not debug using gdbserver

2013-09-02 Thread Suki Buryani
hi, i am tring debug a application on an arm based device using gdbserver, in code i am trying to add `set_debug_traps' and `breakpoint' functions but its giving me compilation error something like undefined reference to `set_debug_traps' multisoc.c:594: undefined reference to `breakpoint' i

Re: [PATCH] ACPI / LPSS: don't crash if a device has no MMIO resources

2013-09-02 Thread Rafael J. Wysocki
On Monday, September 02, 2013 01:30:25 PM Mika Westerberg wrote: > Intel LPSS devices that are enumerated from ACPI have both MMIO and IRQ > resources returned in their _CRS method. However, Apple Macbook Air with > Haswell has LPSS devices enumerated from PCI bus instead and _CRS method > returns

Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Baoquan He
On 09/02/2013 05:04 PM, Ding Tianhong wrote: > On 2013/9/2 16:24, Baoquan He wrote: >> Hi Tianhong, >> >> I applied your patch and execute below cmd. >> Then keyboard inputting problems happened, >> I can't enter user/password correctly, then reboot again, it's OK now. > Thanks for your work, I

Re: [PATCH v2 0/6] Remove the duplicated _MAT evaluation and simplify _acpi_map_lsapic()

2013-09-02 Thread Rafael J. Wysocki
On Monday, September 02, 2013 11:57:33 AM Hanjun Guo wrote: > v1->v2: Return specific error value instead of just return -1, and > correct some grammar mistake in changelog. > > For cpu hot add, evaluate _MAT or parse MADT will did twice to get > APIC id: > acpi_processor_add() >

Re: [PATCH v4 3/3] dma: Add Freescale eDMA engine driver support

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 07:32:53AM +, Lu Jingchang-B35083 wrote: > > > > > > > + chan->private = fn_param; > > > > > > why do you need to use chan->private? > > > > > [Lu Jingchang] > > > > > The private used here is to store the slot_id information, which > > must > > > > be used > > > > > by

Re: Memory synchronization vs. interrupt handlers

2013-09-02 Thread Catalin Marinas
On 26 August 2013 16:49, Alan Stern wrote: > Here's a question that doesn't seem to be answered in > Documentation/memory-barriers.txt. Are memory accesses within an > interrupt handler synchronized with respect to interrupts? > > In more detail, suppose we have an interrupt handler that uses a

[PATCH] mm: fix accounting on page_remove_rmap()

2013-09-02 Thread Kirill A. Shutemov
There's typo in page_remove_rmap(): we increase NR_ANON_PAGES counter instead of decreasing it. Let's fix this. Signed-off-by: Kirill A. Shutemov Reported-by: Ning Qu --- mm/rmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/rmap.c b/mm/rmap.c index 52cc59a..6219f07

Re: [PATCH] Kconfig.debug: Add FRAME_POINTER anti-dependency for ARC

2013-09-02 Thread Vineet Gupta
Hi Gilad, On 09/02/2013 02:33 PM, Gilad Ben-Yossef wrote: > Hi, > > On Tue, Aug 27, 2013 at 11:31 AM, Vineet Gupta > wrote: >> Frame pointer on ARC doesn't serve the conventional purpose of stack >> unwinding due to the typical way ABI designates it's usage. > More out of curiosity to understand

Re: [PATCH] HID: roccat: Added support for KonePureOptical v2

2013-09-02 Thread Jiri Kosina
On Fri, 30 Aug 2013, Stefan Achatz wrote: > KonePureOptical is a KonePure with different sensor. > > Signed-off-by: Stefan Achatz Applied, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 05/23] thp: represent file thp pages in meminfo and friends

2013-09-02 Thread Kirill A. Shutemov
Ning Qu wrote: > Hi, Kirill > > I believe there is a typo in your previous commit, but you didn't include > it in this series of patch set. Below is the link for the commit. I think > you are trying to decrease the value NR_ANON_PAGES in page_remove_rmap, but > it is currently adding the value

Re: [PATCH v2] HID: usbhid: quirk for N-Trig DuoSense Touch Screen

2013-09-02 Thread Jiri Kosina
On Fri, 30 Aug 2013, Vasily Titskiy wrote: > The DuoSense touchscreen device causes a 10 second timeout. This fix > removes the delay. > > Signed-off-by: Vasily Titskiy > --- > drivers/hid/hid-ids.h |1 + > drivers/hid/usbhid/hid-quirks.c |1 + > 2 files changed, 2

Re: [PATCH 1/2] dma: ste_dma40: Remove duplicate const

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 01:44:58PM +0530, Sachin Kamat wrote: > 'const' was added twice. > Applied, both thanks ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 1/1] dma: imx-dma: Remove redundant NULL check

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 01:21:18PM +0530, Sachin Kamat wrote: > kfree on a NULL pointer is a no-op. Null pointer check is > not necessary. Applied, thanks ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] HID: Correct the USB IDs for the new Macbook Air 6

2013-09-02 Thread Jiri Kosina
On Sun, 1 Sep 2013, Henrik Rydberg wrote: > A recent patch (9d9a04ee) added support for the new machine, but got > the sequence of USB ids wrong. Reports from both Ian and Linus T show > that the 0x0291 id is for ISO, not ANSI, which should have the missing > number 0x0290. This patchs moves the

[PATCH 4/4] pm2301-charger: Staticize pm2xxx_charger_die_therm_mngt

2013-09-02 Thread Sachin Kamat
pm2xxx_charger_die_therm_mngt is used only in this file. Make it static. Signed-off-by: Sachin Kamat Cc: Lee Jones --- drivers/power/pm2301_charger.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/pm2301_charger.c b/drivers/power/pm2301_charger.c index

[PATCH 2/4] ab8500-charger: Remove redundant break

2013-09-02 Thread Sachin Kamat
Each of the if-else blocks has a break statement. Remove the additional one which is unreachable. Signed-off-by: Sachin Kamat --- drivers/power/ab8500_charger.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/power/ab8500_charger.c b/drivers/power/ab8500_charger.c index

[PATCH 1/4] ab8500-charger: Check return value of regulator_enable

2013-09-02 Thread Sachin Kamat
Check the return value of regulator_enable to silence the following type of warnings: drivers/power/ab8500_charger.c:1390:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Sachin Kamat Cc: Lee Jones ---

[PATCH 3/4] pm2301-charger: Check return value of regulator_enable

2013-09-02 Thread Sachin Kamat
Check the return value of regulator_enable to silence the following warning: drivers/power/pm2301_charger.c:725:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Sachin Kamat Cc: Lee Jones ---

[PATCH 3/5] uas: rename work list lock + list field

2013-09-02 Thread Gerd Hoffmann
This patch prepares for the addition of another list and renames the work list lock and the list_head field in struct uas_cmd_info. Signed-off-by: Gerd Hoffmann --- drivers/usb/storage/uas.c | 50 +++ 1 file changed, 25 insertions(+), 25 deletions(-)

[PATCH 2/5] uas: properly reinitialize in uas_eh_bus_reset_handler

2013-09-02 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/usb/storage/uas.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c index d966b59..f89202f 100644 --- a/drivers/usb/storage/uas.c +++ b/drivers/usb/storage/uas.c @@ -85,6 +85,8 @@ static int

[PATCH 4/5] uas: add dead request list

2013-09-02 Thread Gerd Hoffmann
This patch adds a new list where all requests which are canceled are added to, so we don't loose them. Then, after killing all inflight urbs on bus reset (and disconnect) we'll walk over the list and clean them up. Without this we can end up with aborted requests lingering around in case of

[PATCH 5/5] uas: remove BROKEN

2013-09-02 Thread Gerd Hoffmann
xhci streams support is fixed, unblock usb attached scsi. Signed-off-by: Gerd Hoffmann --- drivers/usb/storage/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/storage/Kconfig b/drivers/usb/storage/Kconfig index 8470e1b..4761a28 100644 ---

[PATCH 1/5] xhci: fix usb3 streams

2013-09-02 Thread Gerd Hoffmann
xhci maintains a radix tree for each stream endpoint because it must be able to map a trb address to the stream ring. Each ring segment must be added to the ring for this to work. Currently xhci sticks only the first segment of each stream ring into the radix tree. Result is that things work

Re: Clock framework deadlock with external SPI clockchip

2013-09-02 Thread Peter De Schrijver
On Fri, Aug 30, 2013 at 03:24:45PM +0200, Lars-Peter Clausen wrote: > Hi, > > I'm currently facing a deadlock in the common clock framework that > unfortunately is not addressed by the reentrancy patches. I have a external > clock chip that is controlled via SPI. So for example to configure the

Re: [PATCH v3] dma: add driver for R-Car HPB-DMAC

2013-09-02 Thread Vinod Koul
On Sun, Aug 25, 2013 at 12:33:24AM +0400, Sergei Shtylyov wrote: > From: Max Filippov > > Add support for HPB-DMAC found in Renesas R-Car SoCs, using 'shdma-base' DMA > driver framework. > > Based on the original patch by Phil Edworthy . > > Signed-off-by: Max Filippov > [Sergei: removed

RE: [PATCH 2/2] thp: support split page table lock

2013-09-02 Thread Kirill A. Shutemov
Naoya Horiguchi wrote: > Thp related code also uses per process mm->page_table_lock now. So making > it fine-grained can provide better performance. > > This patch makes thp support split page table lock which makes us use > page->ptl of the pages storing "pmd_trans_huge" pmds. Hm. So, you use

Re: [RFC PATCH 1/2] i2c: prepare runtime PM support for I2C client devices

2013-09-02 Thread Mika Westerberg
On Wed, Aug 28, 2013 at 11:38:58AM +0200, Wolfram Sang wrote: > On Tue, Aug 20, 2013 at 05:03:35PM +0300, Mika Westerberg wrote: > > From: Aaron Lu > > > > This patch adds runtime PM support for the I2C bus in a similar way that > > has been done for PCI bus already. This means that the I2C bus

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