Re: [PATCH] dmatest: masking tests for channel capabilities

2013-06-17 Thread Andy Shevchenko
On Tue, Jun 18, 2013 at 12:12 AM, Dan Williams wrote: > On Mon, Jun 17, 2013 at 2:10 PM, Dan Williams wrote: >>> +Example to perform only MEMCPY and PQ mode tests (0x01 | 0x04 = 0x05): >>> + >>> +% modprobe dmatest >>> +% echo dma0chan0 > /sys/kernel/debug/dmatest/channel >>> +

Re: [PATCH] usb: host: Faraday fotg210-hcd driver

2013-06-17 Thread Yuan-Hsin Chen
Hi, On Tue, Jun 18, 2013 at 11:07 AM, Sarah Sharp wrote: > On Tue, Jun 18, 2013 at 10:42:09AM +0800, Yuan-Hsin Chen wrote: >> Hi, >> >> On Tue, Jun 18, 2013 at 4:39 AM, Greg KH wrote: >> > On Wed, Jun 05, 2013 at 05:15:43PM +, Yuan-Hsin Chen wrote: >> >> FOTG210 is an OTG controller which

Re: [PATCH] tcp: Modify the condition for the first skb to collapse

2013-06-17 Thread Eric Dumazet
On Tue, 2013-06-18 at 05:52 -0400, Jun Chen wrote: > > > There are many warning for tcp_recvmsg before this crash. I can't find > other memory warning in the logs, but I'm not sure whether there are > memory issues because of the length limitation of saved logs. I think > this logs will give you

Re: [PATCH v10 0/8] DMA Engine support for AM33XX

2013-06-17 Thread Sekhar Nori
Joel, When you respin this, please base on top of Prabhakar's clean-up titled: "ARM: edma: Convert to devm_* api". Or better still, include his patch in your series. Thanks, Sekhar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH RESEND v5] fat: editions to support fat_fallocate

2013-06-17 Thread Namjae Jeon
Hi, OGAWA. We checked several cases with respect to your questions. But we cannot find any issue. Also, We compare the results with Ext4. It is same. >cluster size == 512b >1) create new file >2) fallocate 100MB >3) write(2) data for each 512b >With this, write_begin() will be called for each

linux-next: manual merge of the irqdomain tree with the tree

2013-06-17 Thread Stephen Rothwell
Hi Grant, Today's linux-next merge of the irqdomain tree got a conflict in kernel/irq/irqdomain.c between commit c5cdc67a58a2 ("irqdomain: Remove temporary MIPS workaround code") from the mips tree and commit bd4641e31e90 ("irq: fix checkpatch error") from the irqdomain tree. I fixed it up (see

Re: [Part1 PATCH v5 00/22] x86, ACPI, numa: Parse numa info earlier

2013-06-17 Thread Tang Chen
Hi tj, On 06/18/2013 10:03 AM, Tejun Heo wrote: .. So, can you please explain why you're doing the above? What are you trying to achieve in the end and why is this the best approach? This is all for memory hotplug, right? Yes, this is all for memory hotplug. [why] At early boot time

Re: [PATCH 1/2] Initial support for Allwinner's Security ID fuses

2013-06-17 Thread Andy Shevchenko
On Mon, Jun 17, 2013 at 11:59 PM, Oliver Schinagl wrote: > From: Oliver Schinagl > > Allwinner has electric fuses (efuse) on their line of chips. This driver > reads those fuses, seeds the kernel entropy and exports them as a sysfs node. > > These fuses are most likly to be programmed at the

Re: [PATCH] clocksource: sh_cmt: 32-bit control register support

2013-06-17 Thread Magnus Damm
Hi Laurent, On Tue, Jun 18, 2013 at 3:37 AM, Laurent Pinchart wrote: > Hi Magnus, > > Thanks for the patch. > > On Monday 17 June 2013 15:40:52 Magnus Damm wrote: >> From: Magnus Damm >> >> Add support for CMT hardware with 32-bit control and counter >> registers, as found on r8a73a4 and

Re: [PATCH V5 1/3] pci: Add PCIe driver for Samsung Exynos

2013-06-17 Thread Jingoo Han
On Monday, June 17, 2013 9:45 PM, Arnd Bergmann wrote: > On Monday 17 June 2013 18:45:52 Jingoo Han wrote: > > On Friday, June 14, 2013 9:54 PM, Arnd Bergmann wrote: > > > [.] > > > > > > +static int __exit exynos_pcie_remove(struct platform_device *pdev) > > > > > > +{ > > > > > > + struct

[PATCH 4/4] idr: Percpu ida

2013-06-17 Thread Kent Overstreet
Percpu frontend for allocating ids. With percpu allocation (that works), it's impossible to guarantee it will always be possible to allocate all nr_tags - typically, some will be stuck on a remote percpu freelist where the current job can't get to them. We do guarantee that it will always be

[PATCH 3/4] idr: Rewrite ida

2013-06-17 Thread Kent Overstreet
This is a new, from scratch implementation of ida that should be simpler, faster and more space efficient. Two primary reasons for the rewrite: * A future patch will reimplement idr on top of this ida implementation + radix trees. Once that's done, the end result will be ~1k fewer lines of

RE: [PATCH 1/4] MFD: Palmas: Add Interrupt feature

2013-06-17 Thread J, KEERTHY
Hi Mark, Thanks for the review. > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Monday, June 17, 2013 9:46 PM > To: J, KEERTHY > Cc: linux-o...@vger.kernel.org; ldewan...@nvidia.com; > sa...@linux.intel.com; grant.lik...@secretlab.ca; swar...@nvidia.com; >

[PATCH] drivers: hv: switch to use mb() instead of smp_mb()

2013-06-17 Thread Jason Wang
Even if guest were compiled without SMP support, it could not assume that host wasn't. So switch to use mb() instead of smp_mb() to force memory barriers for UP guest. Cc: K. Y. Srinivasan Cc: Haiyang Zhang Cc: sta...@vger.kernel.org Signed-off-by: Jason Wang --- drivers/hv/ring_buffer.c |

Re: [PATCH] Allow binding drivers/uio/uio_pdrv_genirq.c to devices using command line option

2013-06-17 Thread Sachin Kamat
Hi Greg, On 17 June 2013 23:07, Greg KH wrote: > On Mon, Jun 17, 2013 at 03:47:41PM +0200, Pavel Machek wrote: >> Hi! >> >> > This adds ability to bind uio driver to given open firmware device >> > using command line option. Thus, userspace driver can be developed and >> > used without modifying

[RESEND PATCH v1 2/3] spi: s3c64xx: Added provision for dedicated cs pin

2013-06-17 Thread girishks2000
From: Girish K S The existing driver supports gpio based /cs signal. For controller's that have one device per controller, the slave device's /cs signal might be internally controlled by the chip select bit of slave select register. They are not externally asserted/deasserted using gpio pin.

[RESEND PATCH v1 1/3] spi: s3c64xx: added support for polling mode

2013-06-17 Thread girishks2000
From: Girish K S The 64xx spi driver supports partial polling mode. Only the last chunk of the transfer length is transferred or recieved in polling mode. Some SoC's that adopt this controller might not have have dma interface. This patch adds support for complete polling mode and gives

[RESEND PATCH v1 0/3] Polling support for s3c64xx spi controller

2013-06-17 Thread girishks2000
From: Girish K S This patch series adds support for the polling mode only. Also 2nd patch in the series adds support for dedicated cs pin. After Thomas's patch for using default gpio is merged(commit id: 00ab539), one of the patch in this series is dropped and new series is generated. Girish K

[RESEND PATCH v1 3/3] spi: s3c64xx: Added support for exynos5440 spi

2013-06-17 Thread girishks2000
From: Girish K S This patch adds support for the exynos5440 spi controller. The integration of the spi IP in exynos5440 is different from other SoC's. The I/O pins are no more configured via gpio, they have dedicated pins. Signed-off-by: Girish K S --- drivers/spi/spi-s3c64xx.c | 12

Re: [RFC patch 1/4] sched: change cfs_rq load avg to unsigned long

2013-06-17 Thread Alex Shi
On 06/07/2013 03:29 PM, Alex Shi wrote: > Since the 'u64 runnable_load_avg, blocked_load_avg' in cfs_rq struct are > smaller than 'unsigned long' cfs_rq->load.weight. We don't need u64 > vaiables to describe them. unsigned long is more efficient and convenience. > update with a a bit clean up in

linux-next: manual merge of the staging tree with the usb tree

2013-06-17 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/serqt_usb2/serqt_usb2.c between commit 1143832eca8f ("USB: serial: ports: add minor and port number") from the usb tree and commit d68edc2881b1 ("staging: serqt_usb2: Fixed coding style CamelCases") from the

Re: Build regressions/improvements in v3.10-rc6

2013-06-17 Thread Michael Ellerman
On Mon, Jun 17, 2013 at 09:19:51PM +0200, Geert Uytterhoeven wrote: > On Mon, 17 Jun 2013, Geert Uytterhoeven wrote: > > powerpc-randconfig > + arch/powerpc/include/asm/mmu-hash64.h: error: control reaches end of > non-void function [-Werror=return-type]: => 180:1 This is running past a

Re: [PATCH v2 2/2] mmc: dw_mmc: Add the ability to set the ciu clock frequency

2013-06-17 Thread Jaehoon Chung
Hi Doug, I have one question for using . I found the fixed-rate-clocks feature. If we want to set , then can we use the fixed-rate-clocks? i'm not sure how use the fixed-rate-clocks. but it seems to set fixed-rate value for clock frequency. clk_set_rate() didn't ensure to set the value. Best

Re: [PATCH] build some drivers only when compile-testing

2013-06-17 Thread Michal Marek
Dne 17.6.2013 22:05, Jiri Slaby napsal(a): > On 05/23/2013 05:09 AM, Jeff Mahoney wrote: >> On 5/22/13 10:23 PM, Greg Kroah-Hartman wrote: >>> On Wed, May 22, 2013 at 11:18:46AM +0200, Jiri Slaby wrote: Some drivers can be built on more platforms than they run on. This causes users and

Re: [PATCH V2 Resend 4/4] timer: Migrate running timer

2013-06-17 Thread Viresh Kumar
On 31 May 2013 16:19, Viresh Kumar wrote: > On 22 May 2013 14:04, Viresh Kumar wrote: >> Sorry for being late in replying to your queries. >> >> On 13 May 2013 16:05, Thomas Gleixner wrote: >>> Which mechanism is migrating the timer away? >> >> It will be the same: get_nohz_timer_target() which

Re: [PATCH] cpufreq: userspace: Simplify governor

2013-06-17 Thread Viresh Kumar
On 5 June 2013 18:38, Viresh Kumar wrote: > To be honest with the amount of experience I have now, my log was > poor :( > > I have used following log in the attached patch: > > Subject: [PATCH] cpufreq: userspace: Simplify governor > > Userspace governor has got more code than what it needs for

Re: [PATCH v10 5/8] dmaengine: edma: Add TI EDMA device tree binding

2013-06-17 Thread Sekhar Nori
On 6/17/2013 9:10 PM, Fernandes, Joel A wrote: > Hi Arnd, > >> -Original Message- >> From: Arnd Bergmann [mailto:a...@arndb.de] >> Sent: Monday, June 17, 2013 6:13 AM >> To: Fernandes, Joel A >> Cc: Tony Lindgren; Nori, Sekhar; Matt Porter; Grant Likely; Rob Herring; >> Vinod >> Koul;

[PATCH] input/joystick: Fix for xpad driver support of "Mad Catz Street Fighter IV FightPad" controllers

2013-06-17 Thread Shawn
From: shawn joseph Added MAP_TRIGGERS_TO_BUTTONS for Mad Catz Street Fighter IV FightPad device. This controller model was already supported by the xpad driver, but none of the buttons work correctly without this change. Tested on kernel version 3.9.5. Signed-off-by: shawn joseph --- ---

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-17 Thread Benjamin Herrenschmidt
On Mon, 2013-06-17 at 20:32 -0600, Alex Williamson wrote: > Right, we don't want to create dependencies across modules. I don't > have a vision for how this should work. This is effectively a complete > side-band to vfio, so we're really just dealing in the iommu group > space. Maybe there

[PATCH V2 11/15] regulator: ti-abb: Convert to use devm_ioremap_resource

2013-06-17 Thread Tushar Behera
Commit 75096579c3ac ("lib: devres: Introduce devm_ioremap_resource()") introduced devm_ioremap_resource() and deprecated the use of devm_request_and_ioremap(). While at it, remove the error message as devm_ioremap_resource prints a similar error message. Signed-off-by: Tushar Behera CC: Mark

[PATCH -next] pinctrl: core: fix missing unlock on error in pinctrl_find_gpio_range_from_pin()

2013-06-17 Thread Wei Yongjun
From: Wei Yongjun Add the missing unlock before return from function pinctrl_find_gpio_range_from_pin() in the error handling case. Introduced by commit 2ff3477efd7086544b9e298fc63afab0645921b4. (pinctrl: add pin list based GPIO ranges) Signed-off-by: Wei Yongjun --- drivers/pinctrl/core.c

Re: [RFC PATCH v4 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-17 Thread Nicolas Pitre
On Mon, 17 Jun 2013, Lorenzo Pieralisi wrote: > The TC2 versatile express core tile integrates a logic block that provides the > interface between the dual cluster test-chip and the M3 microcontroller that > carries out power management. The logic block, called Serial Power Controller > (SPC),

Re: [PATCH] x86, efi: retry ExitBootServices() on failure

2013-06-17 Thread Zachary Bobroff
The timer is shutdown before callbacks on exitbootservices are called. The bios should be entirely single threaded at this point unless Linux has started some other CPUs. So exitbootservices will not return until each until each callback is complete. In short, then it would return the status

Re: [PATCH] firmware loader: fix use-after-free by double abort

2013-06-17 Thread Ming Lei
On Tue, Jun 18, 2013 at 12:05 PM, Guenter Roeck wrote: >> > I may be missing something, but why would mainline not need it ? > Or do you mean "mainline plus 3.9" ? Yes, mainline need it of course, sorry for not mentioning that explicitly. Thanks, -- Ming Lei -- To unsubscribe from this list:

Re: [PATCH 0/8] Volatile Ranges (v8?)

2013-06-17 Thread Minchan Kim
Hello Dhaval, On Mon, Jun 17, 2013 at 12:24:07PM -0400, Dhaval Giani wrote: > Hi John, > > I have been giving your git tree a whirl, and in order to simulate a > limited memory environment, I was using memory cgroups. > > The program I was using to test is attached here. It is your test > code,

[x86] only print out DR registers if they are not power-on defaults.

2013-06-17 Thread Dave Jones
The DR registers are rarely useful when decoding oopses. With screen real estate during oopses at a premium, we can save two lines by only printing out these registers when they are set to something other than they power-on state. Signed-off-by: Dave Jones diff -durpN

Re: [PATCH] net: fec: Fix build for MCF5272

2013-06-17 Thread Guenter Roeck
On Mon, Jun 17, 2013 at 04:11:51PM -0700, David Miller wrote: > From: Guenter Roeck > Date: Mon, 17 Jun 2013 13:16:19 -0700 > > > Commits 4c09eed9 (net: fec: Enable imx6 enet checksum acceleration) and > > baa70a5c (net: fec: enable pause frame to improve rx prefomance for 1G > > network)

Re: [PATCH] firmware loader: fix use-after-free by double abort

2013-06-17 Thread Guenter Roeck
On Tue, Jun 18, 2013 at 08:33:55AM +0800, Ming Lei wrote: > On Tue, Jun 18, 2013 at 7:59 AM, Greg Kroah-Hartman > wrote: > > On Sat, Jun 15, 2013 at 04:36:38PM +0800, Ming Lei wrote: > >> fw_priv->buf is accessed in both request_firmware_load() and > >> writing to sysfs file of 'loading' context,

Re: [GIT PULL] extcon for 3.11

2013-06-17 Thread Chanwoo Choi
On 06/18/2013 08:03 AM, Greg KH wrote: > On Mon, Jun 17, 2013 at 04:01:19PM -0700, Greg KH wrote: >> On Fri, Jun 14, 2013 at 09:39:13PM +0900, Chanwoo Choi wrote: >>> Hi Greg, >>> >>> First of all, I'm so sorry about previous wrong pull-request. >>> I will be careful and not to make same mistakes

[PATCH V3 2/5] arm: mmp: use matrix_keymap for all boards

2013-06-17 Thread Chao Xie
Compile passed for the configuration pxa168_defconfig aspenite.c(MACH_ASPENITE), teton_bgs.c(MACH_TENTON_BGA) Signed-off-by: Chao Xie --- arch/arm/mach-mmp/aspenite.c | 10 +++--- arch/arm/mach-mmp/teton_bga.c | 10 +++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff

[PATCH V3 0/5] input: pxa27x-keypad: enhancement and device tree support

2013-06-17 Thread Chao Xie
The patches include 2 parts 1. use matrix_keypad for matrix keyes support 2. add device tree support for pxa27x-keypad V2->V1: Do not copy the members from pdata. For device tree support, directly allocate the pdata structure. V3->V2 add matrix_keypad changes for all boards using pxa27x-keypad

[PATCH V3 3/5] arm: pxa: use matrix_keymap for all boards

2013-06-17 Thread Chao Xie
Compile passed for configurations em_x270_defconfig em_x270x.c(MACH_EM_X270, MACH_EXEDA) ezx_defconfig ezx.c(MACH_EZX_A780, MACH_EZX_E680, MACH_EZX_A1200, MACH_EZX_A910, MACH_EZX_E6, MACH_EZX_E2) palmz72_defconfig palmld.c(MACH_PALMLD), palmtreo.c(PALM_TREO),

[PATCH V3 5/5] input: pxa27x-keypad: add device tree support

2013-06-17 Thread Chao Xie
Signed-off-by: Chao Xie --- .../devicetree/bindings/input/pxa27x-keypad.txt| 60 + drivers/input/keyboard/pxa27x_keypad.c | 232 +++- 2 files changed, 288 insertions(+), 4 deletions(-) create mode 100644

[PATCH V3 4/5] input: pxa27x-keypad: remove the unused members at platform data

2013-06-17 Thread Chao Xie
Now pxa27x-keypad make use matrix_keymap for matrix keyes, so remove the unused members in platform data. Signed-off-by: Chao Xie --- include/linux/platform_data/keypad-pxa27x.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/linux/platform_data/keypad-pxa27x.h

[PATCH V3 1/5] input: pxa27x-keypad: use matrix_keymap for matrix keyes

2013-06-17 Thread Chao Xie
pxa27x-keypad includes matrix keyes. Make use of matrix_keymap for the matrix keyes. Signed-off-by: Chao Xie --- drivers/input/keyboard/Kconfig |1 + drivers/input/keyboard/pxa27x_keypad.c | 36 +- include/linux/platform_data/keypad-pxa27x.h |

Re: [PATCH V5 1/3] pci: Add PCIe driver for Samsung Exynos

2013-06-17 Thread Jingoo Han
On Monday, June 17, 2013 9:45 PM, Arnd Bergmann wrote: > On Monday 17 June 2013 18:45:52 Jingoo Han wrote: > > On Friday, June 14, 2013 9:54 PM, Arnd Bergmann wrote: > > > > > > Please look up the documentation about inbound viewport and describe > > > in a code comment what it does. I /assume/

Re: [patch v8 6/9] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-06-17 Thread Alex Shi
On 06/18/2013 07:00 AM, Paul Turner wrote: > On Mon, Jun 17, 2013 at 6:57 AM, Alex Shi wrote: >> > On 06/17/2013 08:17 PM, Paul Turner wrote: >>> >> On Mon, Jun 17, 2013 at 3:51 AM, Paul Turner wrote: >>> On Fri, Jun 7, 2013 at 12:20 AM, Alex Shi wrote: > They are the base values

Re: Re: [PATCH 2/3] tracing/kprobes: Kill probe_enable_lock

2013-06-17 Thread Masami Hiramatsu
(2013/06/18 0:18), Oleg Nesterov wrote: >> because >> those calls are the reason why I have introduced this lock. > > Please do not hesitate to nack this patch if you think that we should > keep probe_enable_lock for safety even if it is not currently needed. > In this case I'd suggest to move

Re: [PATCH v3] arch/*/asm/include/bitops.h: api issue, find_*_bit() defination are different with each other

2013-06-17 Thread Chen Gang
Hello related Maintainers: Please help check this patch when you have time. Thanks. On 06/06/2013 05:37 PM, Chen Gang wrote: > > For arm and m68k, they customize find_*_bit(), but the API is different > with 'generic'. > > avr32, s390, and unicore32 also customize find_*_bit(), but the API is

[PATCH 3/4] Staging: silicom: move assignments out of if conditions

2013-06-17 Thread Chad Williamson
Remove a bunch of assignments from if-statement conditions in bpctl_mod.c, resolving checkpatch.pl errors. (This isn't all of them, but the patch is getting rather long...) Signed-off-by: Chad Williamson --- drivers/staging/silicom/bpctl_mod.c | 54 +++-- 1 file

[PATCH 1/4] Staging: silicom: remove unnecessary braces in bpctl_mod.c

2013-06-17 Thread Chad Williamson
Remove unnecessary braces in bpctl_mod.c, resolving checkpatch.pl warnings. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bpctl_mod.c | 58 +++-- 1 file changed, 23 insertions(+), 35 deletions(-) diff --git a/drivers/staging/silicom/bpctl_mod.c

[PATCH 0/4] Staging: silicom: coding style cleanup

2013-06-17 Thread Chad Williamson
More coding style cleanup in bpctl_mod.c, resolving many checkpatch.pl warnings and errors. I've skipped a number of issues in functions that are going to need to be split up/rewritten anyway, etc. Tearing out the new typedefs is next on my todo list... Chad Williamson (4): Staging: silicom:

[PATCH 2/4] Staging: silicom: whitespace fixes in bpctl_mod.c

2013-06-17 Thread Chad Williamson
Two trivial whitespace fixes in bpctl_mod.c for the sake of checkpatch.pl happiness, etc. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bpctl_mod.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/silicom/bpctl_mod.c

[PATCH 4/4] Staging: silicom: move more assignments out of if conditions

2013-06-17 Thread Chad Williamson
Remove more assignments from if-statement conditions in bpctl_mod.c, resolving checkpatch.pl errors. Those that remain need more attention than I'm presently prepared to give them. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bpctl_mod.c | 53 -

[PATCH v3 3/3] sched: scale cpu load for judgment of group imbalance

2013-06-17 Thread Lei Wen
We cannot compare two load directly from two cpus, since the cpu power over two cpu may vary largely. Suppose we meet such two kind of cpus. CPU A: No real time work, and there are 3 task, with rq->load.weight being 512. CPU B: Has real time work, and it take 3/4 of the cpu power,

Re: ext4 extent status tree LRU locking

2013-06-17 Thread Zheng Liu
On Mon, Jun 17, 2013 at 10:51:34PM -0400, Theodore Ts'o wrote: > On Tue, Jun 18, 2013 at 10:25:48AM +0800, Zheng Liu wrote: > > Ah, sorry, I forgot to mention that this patch bases against ext4/master > > branch. Now ext4/dev branch has some regression when I run xfstests. > > What regressions

[PATCH v3 1/3] sched: reduce calculation effort in fix_small_imbalance

2013-06-17 Thread Lei Wen
Actually all below item could be repalced by scaled_busy_load_per_task (sds->busiest_load_per_task * SCHED_POWER_SCALE) /sds->busiest->sgp->power; Signed-off-by: Lei Wen --- kernel/sched/fair.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-)

Re: [PATCH] kernel: timer: looping issue, need reset variable 'found'

2013-06-17 Thread Chen Gang
Sorry again for replying late, and now I can focus on this patch, I will see the related details again. Thanks. On 06/13/2013 11:39 AM, Chen Gang wrote: > > Sorry for replying late during these days, firstly. > > > On 06/10/2013 10:12 PM, Thomas Gleixner wrote: >> On Sun, 9 Jun 2013, Chen

[PATCH v3 0/3] small fix for scale usage

2013-06-17 Thread Lei Wen
Here are three patches which correct scale usage in both fix_small_imbalance and update_sg_lb_stats. And give out comment over when fix_small_imbalance would cause load change. V2: fix scale usage for update_sg_lb_stats V3: fix scale problem in comparing sds->busiest_load_per_task and

[PATCH v3 2/3] sched: scale the busy and this queue's per-task load before compare

2013-06-17 Thread Lei Wen
Since for max_load and this_load, they are the value that already be scaled. It is not reasonble to get a minimum value between the scaled and non-scaled value, like below example. min(sds->busiest_load_per_task, sds->max_load); Also add comment over in what condition, there would be cpu

Re: [RFC 08/10] irqdomain: Refactor irq_domain_associate_many()

2013-06-17 Thread Mike Qiu
于 2013/6/10 8:49, Grant Likely 写道: Originally, irq_domain_associate_many() was designed to unwind the mapped irqs on a failure of any individual association. However, that proved to be a problem with certain IRQ controllers. Some of them only support a subset of irqs, and will fail when

Re: [PATCH] usb: host: Faraday fotg210-hcd driver

2013-06-17 Thread Sarah Sharp
On Tue, Jun 18, 2013 at 10:42:09AM +0800, Yuan-Hsin Chen wrote: > Hi, > > On Tue, Jun 18, 2013 at 4:39 AM, Greg KH wrote: > > On Wed, Jun 05, 2013 at 05:15:43PM +, Yuan-Hsin Chen wrote: > >> FOTG210 is an OTG controller which can be configured as an > >> USB2.0 host. FOTG210 host is an

linux-next: manual merge of the drm-intel tree with the drm tree

2013-06-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in drivers/gpu/drm/i915/intel_fb.c between commit b72447cdf129 ("drm/i915: Drop bogus fbdev sprite disable code") from the drm tree and commit b51b32cde175 ("drm/i915: s/drm_i915_private_t/struct drm_i915_private/") from the

Re: ext4 extent status tree LRU locking

2013-06-17 Thread Theodore Ts'o
On Tue, Jun 18, 2013 at 10:25:48AM +0800, Zheng Liu wrote: > Ah, sorry, I forgot to mention that this patch bases against ext4/master > branch. Now ext4/dev branch has some regression when I run xfstests. What regressions are you seeing? > Ted, I notice that now in ext4 tree we have 'dev',

Re: [PATCH 2/3] tracing/kprobes: Kill probe_enable_lock

2013-06-17 Thread Masami Hiramatsu
(2013/06/18 0:18), Oleg Nesterov wrote: > On 06/17, Masami Hiramatsu wrote: >> >> (2013/06/17 2:21), Oleg Nesterov wrote: >>> enable_trace_probe() and disable_trace_probe() should not worry about >>> serialization, the caller (perf_trace_init or __ftrace_set_clr_event) >>> holds event_mutex. >>>

RE: [PATCH] x86, efi: retry ExitBootServices() on failure

2013-06-17 Thread joeyli
Hi Zach, 於 二,2013-06-18 於 00:18 +,Zachary Bobroff 提到: > All, > > >> Why a single retry is having reasonable guarantees to work when the > original one failed (nothing prevents an event handler to do another > allocation the next time through). > > This patch is being submitted because of

Re: ext4 extent status tree LRU locking

2013-06-17 Thread Theodore Ts'o
> Subject: [PATCH v2] ext4: improve extent cache shrink mechanism to avoid to > burn CPU time > > From: Zheng Liu > > Now we maintain an proper in-order LRU list in ext4 to reclaim entries > from extent status tree when we are under heavy memory pressure. For > keeping this order, a spin lock

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-17 Thread Dave Chinner
On Tue, Jun 18, 2013 at 02:30:05AM +0400, Glauber Costa wrote: > On Mon, Jun 17, 2013 at 02:35:08PM -0700, Andrew Morton wrote: > > On Mon, 17 Jun 2013 19:14:12 +0400 Glauber Costa wrote: > > > > > > I managed to trigger: > > > > [ 1015.776029] kernel BUG at mm/list_lru.c:92! > > > > [

Re: [lttng-dev] [-stable 3.8.1 performance regression] madvise POSIX_FADV_DONTNEED

2013-06-17 Thread Andrew Morton
On Mon, 17 Jun 2013 22:15:28 -0400 Mathieu Desnoyers wrote: > * Andrew Morton (a...@linux-foundation.org) wrote: > > On Mon, 17 Jun 2013 17:39:36 -0400 Rapha__l Beamonte > > wrote: > > > > > 2013/6/17 Andrew Morton > > > > > > > That change wasn't terribly efficient - if there are any

Re: [PATCH] usb: host: Faraday fotg210-hcd driver

2013-06-17 Thread Yuan-Hsin Chen
Hi, On Tue, Jun 18, 2013 at 4:39 AM, Greg KH wrote: > On Wed, Jun 05, 2013 at 05:15:43PM +, Yuan-Hsin Chen wrote: >> FOTG210 is an OTG controller which can be configured as an >> USB2.0 host. FOTG210 host is an ehci-like controller with >> some differences. First, register layout of FOTG210

Re: power-efficient scheduling design

2013-06-17 Thread David Lang
On Fri, 14 Jun 2013, Morten Rasmussen wrote: Looking at the discussion it seems that people have slightly different views, but most agree that the goal is an integrated scheduling, frequency, and idle policy like you pointed out from the beginning. What is less clear is how such design would

Re: [PATCH 4/4 v2] silicom: checkpatch: errors caused by macros

2013-06-17 Thread Joe Perches
On Mon, 2013-06-17 at 14:14 -0700, Greg KH wrote: > On Mon, Jun 17, 2013 at 02:03:43PM -0700, Joe Perches wrote: > > Generally I think it's better that new submitters patches > > should go through more strict reviews and be as correct > > as possible. I think this is especially true for patches >

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-17 Thread Alex Williamson
On Mon, 2013-06-17 at 13:56 +1000, Benjamin Herrenschmidt wrote: > On Sun, 2013-06-16 at 21:13 -0600, Alex Williamson wrote: > > > IOMMU groups themselves don't provide security, they're accessed by > > interfaces like VFIO, which provide the security. Given a brief look, I > > agree, this looks

[PATCH 6/7] sound/usb/misc/ua101.c: convert __list_for_each usage to list_for_each

2013-06-17 Thread Dave Jones
Signed-off-by: Dave Jones --- sound/usb/misc/ua101.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/usb/misc/ua101.c b/sound/usb/misc/ua101.c index 6ad617b..8b5d2c5 100644 --- a/sound/usb/misc/ua101.c +++ b/sound/usb/misc/ua101.c @@ -1349,7 +1349,7 @@ static void

[PATCH 4/7] staging/rtl8187se: Convert __list_for_each use to list_for_each

2013-06-17 Thread Dave Jones
Also remove commented out list manipulation Signed-off-by: Dave Jones --- drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c

[PATCH 7/7] list: Remove __list_for_each

2013-06-17 Thread Dave Jones
__list_for_each used to be the non prefetch() aware list walking primitive. When we removed the prefetch macros from the list routines, it became redundant. Given it does exactly the same thing as list_for_each now, we might as well remove it and call list_for_each directly. Signed-off-by: Dave

[PATCH 1/7] radeon: Remove redundant __list_for_each definition from mkregtable.c

2013-06-17 Thread Dave Jones
Signed-off-by: Dave Jones --- drivers/gpu/drm/radeon/mkregtable.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/gpu/drm/radeon/mkregtable.c b/drivers/gpu/drm/radeon/mkregtable.c index 5a82b6b..af85299 100644 --- a/drivers/gpu/drm/radeon/mkregtable.c +++

[PATCH 3/7] staging/rtl8192u: remove commented out __list_for_each usage

2013-06-17 Thread Dave Jones
Also remove another commented out open-coded list manipulation while we're there. Signed-off-by: Dave Jones --- drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c

[PATCH 5/7] sctp: Convert __list_for_each use to list_for_each

2013-06-17 Thread Dave Jones
Signed-off-by: Dave Jones --- net/sctp/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) netdev: patches 1-4 & 6 are independant to this, and 7 won't be merged until this one gets to Linus' tree. diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index eaee00c..3b70b76

[PATCH 2/7] ipw2200: Convert __list_for_each usage to list_for_each

2013-06-17 Thread Dave Jones
Signed-off-by: Dave Jones --- drivers/net/wireless/ipw2x00/ipw2200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c index d96257b..4ed5e45 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++

Re: [lttng-dev] [-stable 3.8.1 performance regression] madvise POSIX_FADV_DONTNEED

2013-06-17 Thread Mathieu Desnoyers
* Andrew Morton (a...@linux-foundation.org) wrote: > On Mon, 17 Jun 2013 17:39:36 -0400 Rapha__l Beamonte > wrote: > > > 2013/6/17 Andrew Morton > > > > > That change wasn't terribly efficient - if there are any unpopulated > > > pages in the range (which is quite likely), fadvise() will now

Re: pm: System date and time set incorrectly after suspend/resume to disk

2013-06-17 Thread John Stultz
On Mon, Jun 17, 2013 at 6:30 PM, Shuah Khan wrote: > I am seeing a problem on my system after a suspend to disk in reboot or > shutdown mode. When pm_trace is 0 (which is the default), I can't > reproduce the problem easily. I have to run a few more suspend tests > before I see the problem. When

Re: ext4 extent status tree LRU locking

2013-06-17 Thread Zheng Liu
On Mon, Jun 17, 2013 at 02:12:10PM -0700, Dave Hansen wrote: > On 06/17/2013 03:10 AM, Zheng Liu wrote: > > Dave, that would be great if you could do your testing again to confirm > > this patch is useful. > > I was able to apply this to Ted's > >

Không muốn nhận email bản tin!

2013-06-17 Thread PHPList
Không nhận thư bản tin!.   Bạn đã bỏ đăng ký nhận tin từ chúng tôi thành công.   Đây là email cuối cùng bạn sẽ nhận được từ chúng tôi. Chúng tôi đã thêm bạn vào danh sách "không gửi email bản tin", có nghĩa là hệ thống bản tin của chúng tôi,không gửi cho bạn bất kỳ tin nhắn hơn nữa, mà không có

Re: [Part1 PATCH v5 00/22] x86, ACPI, numa: Parse numa info earlier

2013-06-17 Thread Tejun Heo
Hello, On Thu, Jun 13, 2013 at 09:02:47PM +0800, Tang Chen wrote: > One commit that tried to parse SRAT early get reverted before v3.9-rc1. > > | commit e8d1955258091e4c92d5a975ebd7fd8a98f5d30f > | Author: Tang Chen > | Date: Fri Feb 22 16:33:44 2013 -0800 > | > |acpi, memory-hotplug:

Re: Re: [PATCH] tracing/uprobes: Support ftrace_event_file base multibuffer

2013-06-17 Thread Steven Rostedt
On Tue, 2013-06-18 at 10:31 +0900, Masami Hiramatsu wrote: > (2013/06/17 21:33), Steven Rostedt wrote: > > The only reason ftrace function tracer uses the raw (and now > > raw_notrace) version is because it is extremely invasive, and these > > checks done at *every* function call can actually

Re: [3.10rc6] /proc/dri/0/vma broken on nouveau.

2013-06-17 Thread Dave Jones
On Mon, Jun 17, 2013 at 09:49:27PM -0400, David Airlie wrote: > > > Reading /proc/dri/0/vma causes bad things to happen on a box with nouveau > > loaded. > > (Note, no X running on that box) > > > > Trace below shows trinity, but I can reproduce it with just cat > > /proc/dri/0/vma > >

Re: BUG: rtc: rtc_device_unregister() broken in 3.10-rcN

2013-06-17 Thread Jingoo Han
On Tuesday, June 18, 2013 12:40 AM, Alexander Holler wrote: > Am 14.06.2013 19:19, schrieb Alexander Holler: > > Hello, > > > > I've just tested some things with 3.10-rc5+ and discovered that > > rtc_device_unregister is broken. This is most likely because of the > > switch to devm*. As 3.10 is

Re: [Part1 PATCH v5 16/22] x86, mm, numa: Move numa emulation handling down.

2013-06-17 Thread Tejun Heo
On Thu, Jun 13, 2013 at 09:03:03PM +0800, Tang Chen wrote: > From: Yinghai Lu > > numa_emulation() needs to allocate buffer for new numa_meminfo > and distance matrix, so execute it later in x86_numa_init(). > > Also we change the behavoir: > - before this patch, if user input wrong data

[RESEND PATCH] iommu: Split iommu_unmaps

2013-06-17 Thread Alex Williamson
iommu_map splits requests into pages that the iommu driver reports that it can handle. The iommu_unmap path does not do the same. This can cause problems not only from callers that might expect the same behavior as the map path, but even from the failure path of iommu_map, should it fail at a

Re: [PATCH] tcp: Modify the condition for the first skb to collapse

2013-06-17 Thread Jun Chen
On Mon, 2013-06-17 at 06:21 -0700, Eric Dumazet wrote: > On Mon, 2013-06-17 at 14:52 -0400, Jun Chen wrote: > > On Mon, 2013-06-17 at 03:29 -0700, Eric Dumazet wrote: > > > On Mon, 2013-06-17 at 13:29 -0400, Jun Chen wrote: > > > > > > > > > hi, > > > > When the condition of

[PATCH] amd_iommu: Fix leak in free_pagetable()

2013-06-17 Thread Alex Williamson
AMD IOMMU initializes domains with a 3 level page table by default and will dynamically size it up to a 6 level page table. Sadly, free_pagetable() ignores this feature and statically frees as if it's a 3 level page table. Add support for the extra levels. Signed-off-by: Alex Williamson Cc:

Re: [3.10rc6] /proc/dri/0/vma broken on nouveau.

2013-06-17 Thread David Airlie
> Reading /proc/dri/0/vma causes bad things to happen on a box with nouveau > loaded. > (Note, no X running on that box) > > Trace below shows trinity, but I can reproduce it with just cat > /proc/dri/0/vma How about this, lets just rip it all out. Dave.From

[PATCH] amd_iommu: Fix leak in free_pagetable()

2013-06-17 Thread Alex Williamson
AMD IOMMU initializes domains with a 3 level page table by default and will dynamically size it up to a 6 level page table. Sadly, free_pagetable() ignores this feature and statically frees as if it's a 3 level page table. Recurse through all the levels to free everything. Signed-off-by: Alex

Re: [Part1 PATCH v5 14/22] x86, mm, numa: Set memblock nid later

2013-06-17 Thread Tejun Heo
On Thu, Jun 13, 2013 at 09:03:01PM +0800, Tang Chen wrote: > From: Yinghai Lu > > In order to seperate parsing numa info procedure into two steps, Short "why" would be nice. > we need to set memblock nid later because it could change memblock ^

Re: [Part1 PATCH v5 13/22] x86, mm, numa: Use numa_meminfo to check node_map_pfn alignment

2013-06-17 Thread Tejun Heo
On Thu, Jun 13, 2013 at 09:03:00PM +0800, Tang Chen wrote: > From: Yinghai Lu > > We could use numa_meminfo directly instead of memblock nid in > node_map_pfn_alignment(). > > So we could do setting memblock nid later and only do it once > for successful path. > > -v2: according to tj,

Re: [PATCH v2 08/11] irqdomain: Refactor irq_domain_associate_many()

2013-06-17 Thread Stephen Rothwell
Hi all, On Tue, 18 Jun 2013 11:25:34 +1000 Michael Neuling wrote: > > Michael Neuling wrote: > > > In next-20130617 we are getting the below crash on POWER7. Bisecting, > > points to this patch (d39046ec72 in next) > > Also, reverting just d39046ec72 fixes the

[3.10rc6] /proc/dri/0/vma broken on nouveau.

2013-06-17 Thread Dave Jones
Reading /proc/dri/0/vma causes bad things to happen on a box with nouveau loaded. (Note, no X running on that box) Trace below shows trinity, but I can reproduce it with just cat /proc/dri/0/vma [ cut here ] kernel BUG at arch/x86/mm/physaddr.c:79! invalid opcode:

pm: System date and time set incorrectly after suspend/resume to disk

2013-06-17 Thread Shuah Khan
I am seeing a problem on my system after a suspend to disk in reboot or shutdown mode. When pm_trace is 0 (which is the default), I can't reproduce the problem easily. I have to run a few more suspend tests before I see the problem. When pm_trace is disabled, the problem showed up when I ran

Re: Re: [PATCH] tracing/uprobes: Support ftrace_event_file base multibuffer

2013-06-17 Thread Masami Hiramatsu
(2013/06/17 21:33), Steven Rostedt wrote: > On Mon, 2013-06-17 at 11:54 +0900, Masami Hiramatsu wrote: > >>> It makes a lot of sense to me, at least assuming no issues with the >>> interrupts being disabled, but the checks not spotting this. Here >>> is the check: >>> >>> preempt_count() !=

  1   2   3   4   5   6   7   8   9   10   >