Re: 82571EB: Detected Hardware Unit Hang

2012-07-11 Thread Joe Jin
On 07/12/12 10:52, Dave, Tushar N wrote: > What is the exact error messages in BIOS log? Error message from BIOS event log: 07/12/12 05:54:00 PCI Express Non-Fatal Error Thanks, Joe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord..

[PATCH v2] usb/host/ehci-hub: Fix the issue EG20T USB host controller has long resuming time, when pen drive is attached.

2012-07-11 Thread Tomoya MORINAGA
Intel EG20T USB host controller does not send SOF in resuming time after suspending, if the FLR bit was not cleared. When pen drive is attached, the controller has a long resuming time to try re-connect it. This patch clear the FLR bit in suspending time for fixing the issue. Signed-off-by: Tom

RE: 82571EB: Detected Hardware Unit Hang

2012-07-11 Thread Dave, Tushar N
>-Original Message- >From: Joe Jin [mailto:joe@oracle.com] >Sent: Wednesday, July 11, 2012 7:23 PM >To: Dave, Tushar N >Cc: e1000-de...@lists.sf.net; net...@vger.kernel.org; linux- >ker...@vger.kernel.org >Subject: Re: 82571EB: Detected Hardware Unit Hang > >On 07/12/12 02:51, Dave, Tus

RE: [PATCH 2/7] i2c-bfin-twi: Use struct dev_pm_ops for power management

2012-07-11 Thread Zhang, Sonic
Acked-by: Sonic Zhang >-Original Message- >From: Rafael J. Wysocki [mailto:r...@sisk.pl] >Sent: Thursday, July 12, 2012 3:24 AM >To: LKML >Cc: Linux PM list; Linus Walleij; linux-...@vger.kernel.org; Zhang, Sonic; Jean >Delvare; Ben Dooks; Wolfram Sang; Peter Korsgaard; Guan Xuetao; Vital

Re: [PATCH 1/3] tmpfs: revert SEEK_DATA and SEEK_HOLE

2012-07-11 Thread Hugh Dickins
On Thu, 12 Jul 2012, Dave Chinner wrote: > On Wed, Jul 11, 2012 at 11:55:34AM -0700, Hugh Dickins wrote: > > On Wed, 11 Jul 2012, Cong Wang wrote: > > > > > > If you don't have burden to maintain it, I'd prefer to leave as it is, > > > I don't think 752-bytes is the reason we revert it. > > > > T

[PATCH 2/3 v3] mm: bug fix free page check in zone_watermark_ok

2012-07-11 Thread Minchan Kim
In __zone_watermark_ok, free and min are signed long type while z->lowmem_reserve[classzone_idx] is unsigned long type. So comparision of them could be wrong due to type conversion to unsigned although free_pages is minus value. It could return true instead of false in case of order-0 check so tha

[PATCH 3/3 v3] memory-hotplug: fix kswapd looping forever problem

2012-07-11 Thread Minchan Kim
When hotplug offlining happens on zone A, it starts to mark freed page as MIGRATE_ISOLATE type in buddy for preventing further allocation. (MIGRATE_ISOLATE is very irony type because it's apparently on buddy but we can't allocate them). When the memory shortage happens during hotplug offlining, cur

[PATCH 1/3 v3] mm: Factor out memory isolate functions

2012-07-11 Thread Minchan Kim
Now mm/page_alloc.c has some memory isolation functions but they are used oly when we enable CONFIG_{CMA|MEMORY_HOTPLUG|MEMORY_FAILURE}. So let's make it configurable by new CONFIG_MEMORY_ISOLATION so that it can reduce binary size and we can check it simple by CONFIG_MEMORY_ISOLATION, not if defin

Re: [PATCH RESEND] Fix a dead loop in async_synchronize_full()

2012-07-11 Thread Li Zhong
On Wed, 2012-07-11 at 15:42 -0700, Andrew Morton wrote: > On Mon, 09 Jul 2012 15:04:25 +0800 > Li Zhong wrote: > > > This patch tries to fix a dead loop in async_synchronize_full(), which > > could be seen when preemption is disabled on a single cpu machine. > > > > void async_synchronize_full

Re: [PATCHv3 1/4] staging: OMAP4+: thermal: introduce bandgap temperature sensor

2012-07-11 Thread Valentin, Eduardo
Hello, On Thu, Jul 12, 2012 at 3:32 AM, Greg Kroah-Hartman wrote: > On Wed, Jul 11, 2012 at 11:41:06PM +0300, Eduardo Valentin wrote: >> In the System Control Module, OMAP supplies a voltage reference >> and a temperature sensor feature that are gathered in the band >> gap voltage and temperature

Re: [PATCH 5/7] i2c-puv3: Use struct dev_pm_ops for power management

2012-07-11 Thread guanxuetao
> From: Rafael J. Wysocki > > Make the PKUnity-v3 SoC I2C controller driver define its suspend > callback through a struct dev_pm_ops object rather than by using > a legacy PM hook in struct platform_driver. The empty resume > callback is not necessary, so remove it. > > Signed-off-by: Rafael J.

RE: [PATCH V3 1/2] driver: add PPI support in tpm driver

2012-07-11 Thread Zhang, Xiaoyan
Hi Kent, Thanks for your comment on the patch. But there's some confusion on my side. You mentioned not to change the tpm driver name. But the driver is linked from tpm.c and tpm_ppi.c, so I should change the original tpm.c file name, right? Is it acceptable to change tpm.c to tpm_common.c or tp

Re: [patch RT 3/7] Disable RT_GROUP_SCHED in PREEMPT_RT_FULL

2012-07-11 Thread Mike Galbraith
On Wed, 2012-07-11 at 22:05 +, Thomas Gleixner wrote: > plain text document attachment > (disable-rt_group_sched-in-preempt_rt_full.patch) > Strange CPU stalls have been observed in RT when RT_GROUP_SCHED > was configured. > > Disable it for now. > > Signed-off-by: Carsten Emde > Signed-off-

Re: AutoNUMA15

2012-07-11 Thread Alex Shi
> > Ok the problem is that you must not pin anything. If you hard pin > AutoNUMA won't do anything on those processes. > > It is impossible to run faster than the raw hard pinning, impossible > because AutoNUMA has also to migrate memory, hard pinning avoids all > memory migrations. > > > Th

[PATCH v3] panel: Use pr_err(...) rather than printk(KERN_ERR ...)

2012-07-11 Thread Toshiaki Yamane
This change is inspired by checkpatch. Signed-off-by: Toshiaki Yamane --- drivers/staging/panel/panel.c | 42 +--- 1 files changed, 18 insertions(+), 24 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 7365089..a

Re: [PATCH v2] mm: Warn about costly page allocation

2012-07-11 Thread David Rientjes
On Thu, 12 Jul 2012, Minchan Kim wrote: > Agreed and that's why I suggested following patch. > It's not elegant but at least, it could attract interest of configuration > people and they could find a regression during test phase. > This description could be improved later by writing new documenati

RE: [PATCH 3/3] regulator: s2mps11: Use sec_reg_write rather than sec_reg_update when mask is 0xff

2012-07-11 Thread Sangbeom Kim
Hi, On Thursday, July 12, 2012 10:39 AM +0900, Axel Lin wrote: > > Signed-off-by: Axel Lin Acked-by: Sangbeom Kim Thanks, Sangbeom. -- 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 http://v

Re: [PATCH -mm v3] mm: have order > 0 compaction start off where it left

2012-07-11 Thread Minchan Kim
Hi Rik, On Wed, Jul 11, 2012 at 04:18:00PM -0400, Rik van Riel wrote: > This patch makes the comment for cc->wrapped longer, explaining > what is really going on. It also incorporates the comment fix > pointed out by Minchan. > > Additionally, Minchan found that, when no pages get isolated, > hig

RE: [PATCH 2/3] regulator: s2mps11: Fix wrong setting for config.dev

2012-07-11 Thread Sangbeom Kim
Hi, On Thursday, July 12, 2012 10:38 AM +0900, Axel Lin wrote: > > Signed-off-by: Axel Lin Acked-by: Sangbeom Kim Thanks, Sangbeom. -- 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 http://v

RE: [PATCH 1/3] regulator: s2mps11: Fixup missing commas

2012-07-11 Thread Sangbeom Kim
Hi! On Thursday, July 12, 2012 10:36 AM +0900, Axel Lin wrote: > Signed-off-by: Axel Lin S2mps11 regulator patch is based on mfd/for-next branch. On mfd/for-next branch, Some regulator features didn't apply like a set_voltage_time_sel. So, I didn't add some feature like a set_voltage_time_sel,

Re: 82571EB: Detected Hardware Unit Hang

2012-07-11 Thread Joe Jin
On 07/12/12 02:51, Dave, Tushar N wrote: > > Joe, > > I see couple of errors in lspci output. > Device capability status register shows UnCorrectable PCIe error. This means > there is certainly something went wrong. The only way to recover from > Uncorrectable errors is reset. > > Dev

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Benjamin Herrenschmidt
On Wed, 2012-07-11 at 14:23 +0300, Avi Kivity wrote: > On 07/11/2012 02:16 PM, Alexander Graf wrote: > >> > >>> yes the data structure itself seems based on the algorithm > >>> and not on arch specific things. That should work. If we move that to > >>> common > >>> code then s390 will use that s

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Benjamin Herrenschmidt
> ARM doesn't have an instruction for cpu_relax(), so it can't intercept > it. Given ppc's dislike of overcommit, and the way it implements > cpu_relax() by adjusting hw thread priority, I'm guessing it doesn't > intercept those either, but I'm copying the ppc people in case I'm > wrong. So it's

Re: [PATCH v2 -mm] memcg: prevent from OOM with too many dirty pages

2012-07-11 Thread Andrew Morton
On Wed, 11 Jul 2012 18:57:43 -0700 (PDT) Hugh Dickins wrote: > --- 3.5-rc6-mm1/mm/vmscan.c 2012-07-11 14:42:13.668335884 -0700 > +++ linux/mm/vmscan.c 2012-07-11 16:01:20.712814127 -0700 > @@ -726,7 +726,8 @@ static unsigned long shrink_page_list(st >* writeback from rec

ARM: why smp_mb() is not needed in the "__mutex_fastpath_lock" and "__mutex_fastpath_unlock" functions

2012-07-11 Thread shan kang
Hello, I wonder why smp_mb() is not needed in the "__mutex_fastpath_lock" and "__mutex_fastpath_unlock" functions which are located in the "arch/arm/include/asm/mutex.h"? I think "dmb" instruction is necessary there. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

linux-next: manual merge of the net-next tree with the infiniband tree

2012-07-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in include/linux/mlx4/device.h between commit 396f2feb05d7 ("mlx4_core: Implement mechanism for reserved Q_Keys") from the infiniband tree and commit 0ff1fb654bec ("{NET, IB}/mlx4: Add device managed flow steering firmware API")

linux-next: manual merge of the net-next tree with the infiniband tree

2012-07-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/net/ethernet/mellanox/mlx4/main.c between commit 6634961c14d3 ("mlx4: Put physical GID and P_Key table sizes in mlx4_phys_caps struct and paravirtualize them") from the infiniband tree and commit 0ff1fb654bec ("{NET, I

Re: [PATCH 5/6] ftrace/x86: Add separate function to save regs

2012-07-11 Thread Masami Hiramatsu
(2012/07/12 1:28), Steven Rostedt wrote: > On Wed, 2012-07-11 at 12:22 -0400, Steven Rostedt wrote: >> On Tue, 2012-07-03 at 17:29 +0900, Masami Hiramatsu wrote: >> >> >>> + /* Restore flags */ + pushq EFLAGS(%rsp) + popfq + + MCOUNT_RESTORE_FRAME >>> >>> Here, if MCOUN

Re: Deadlocks due to per-process plugging

2012-07-11 Thread Mike Galbraith
On Wed, 2012-07-11 at 22:16 +0200, Jan Kara wrote: > On Wed 11-07-12 12:05:51, Jeff Moyer wrote: > > Jan Kara writes: > > > > > Hello, > > > > > > we've recently hit a deadlock in our QA runs which is caused by the > > > per-process plugging code. The problem is as follows: > > > process A

Re: [PATCH] resource: make sure requested range intersects root range

2012-07-11 Thread Ram Pai
On Wed, Jul 11, 2012 at 06:26:49PM +0300, Purdila, Octavian wrote: > On Wed, Jul 11, 2012 at 5:54 PM, Ram Pai wrote: > > On Wed, Jul 11, 2012 at 02:06:10PM +0300, Purdila, Octavian wrote: > >> On Wed, Jul 11, 2012 at 5:09 AM, Ram Pai wrote: > >> > >> > > >> > Wait.. I am not sure this will fix th

Re: [PATCH v2 -mm] memcg: prevent from OOM with too many dirty pages

2012-07-11 Thread Hugh Dickins
Hi Michal, On Wed, 20 Jun 2012, Michal Hocko wrote: > Hi Andrew, > here is an updated version if it is easier for you to drop the previous > one. > changes since v1 > * added Mel's Reviewed-by > * updated changelog as per Andrew > * updated the condition to be optimized for no-memcg case I mentio

linux-next: manual merge of the scsi tree with the libata tree

2012-07-11 Thread Stephen Rothwell
Hi James, Today's linux-next merge of the scsi tree got a conflict in include/scsi/scsi_device.h between commits 166a2967b45e ("libata: tell scsi layer device supports runtime power off") and a4120295a40a ("sr: support zero power ODD") from the libata tree and commit 2516034c2270 ("[SCSI] set to W

[PATCH 3/3] regulator: s2mps11: Use sec_reg_write rather than sec_reg_update when mask is 0xff

2012-07-11 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/s2mps11.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/s2mps11.c b/drivers/regulator/s2mps11.c index b3c2705..4669dc9 100644 --- a/drivers/regulator/s2mps11.c +++ b/drivers/regulator/s2mps11.c @@ -280,8

[PATCH 2/3] regulator: s2mps11: Fix wrong setting for config.dev

2012-07-11 Thread Axel Lin
Currently s2mps11->iodev, s2mps11->dev and config.dev point to NULL. This patch fixes the settings for config.dev. Current code does not need the *dev and *iodev of struct s2mps11_info, so remove them. Signed-off-by: Axel Lin --- drivers/regulator/s2mps11.c | 14 +- 1 file changed,

[PATCH 1/3] regulator: s2mps11: Fixup missing commas

2012-07-11 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/s2mps11.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/regulator/s2mps11.c b/drivers/regulator/s2mps11.c index 514cf54..da8c3d1 100644 --- a/drivers/regulator/s2mps11.c +++ b/drivers/regulator/s2mps11.c

Re: [PATCH 3/4] zsmalloc: add details to zs_map_object boiler plate

2012-07-11 Thread Minchan Kim
On Wed, Jul 11, 2012 at 09:15:43AM -0500, Seth Jennings wrote: > On 07/11/2012 02:42 AM, Minchan Kim wrote: > > On 07/11/2012 12:17 AM, Seth Jennings wrote: > >> On 07/09/2012 09:35 PM, Minchan Kim wrote: > >>> Maybe we need local_irq_save/restore in zs_[un]map_object path. > >> > >> I'd rather not

Re: [PATCH 09/16] sched: normalize tg load contributions against runnable time

2012-07-11 Thread Andre Noll
On Fri, Jul 06, 13:52, Peter Zijlstra wrote: > This then yields: > > P(\Union_{i=1..n} u_i) ~= \Sum_{k=1..n} (-1)^(k-1) (n choose k) u^k > > Which unfortunately isn't a series I found a sane solution for, but > numerically (see below) we can see it very quickly approaches 1 when n > >> 1. Isn'

Re: [PATCH 00/13] rbtree updates

2012-07-11 Thread Michel Lespinasse
On Wed, Jul 11, 2012 at 6:23 AM, Peter Zijlstra wrote: > Looks nice.. How about something like the below on top.. I couldn't > immediately find a sane reason for the grand-parent to always be red in > the insertion case. Do you mean the case you marked XXX ? it is actually parent that is red, whi

Re: [RFC internal PATCH] mfd/mc13xxx: drop modifying driver's id_table in probe

2012-07-11 Thread Shawn Guo
On Wed, Jul 11, 2012 at 01:36:48PM +0200, Uwe Kleine-König wrote: > This was introduced in commit > > 876989d (mfd: Add device tree probe support for mc13xxx) > > for spi and later while introducing support for i2c copied to the i2c > driver. > > Modifying driver details is very strange, f

Re: [PATCH 0/4] zsmalloc improvements

2012-07-11 Thread Minchan Kim
On Wed, Jul 11, 2012 at 09:00:30AM -0500, Seth Jennings wrote: > On 07/11/2012 02:03 AM, Minchan Kim wrote: > > On 07/03/2012 06:15 AM, Seth Jennings wrote: > >> zsmapbench measures the copy-based mapping at ~560 cycles for a > >> map/unmap operation on spanned object for both KVM guest and bare-me

Re: 3.5-rc6 printk formatting problem during oom-kill.

2012-07-11 Thread Dave Jones
On Mon, Jul 09, 2012 at 08:48:51PM +0200, Kay Sievers wrote: > On Mon, 2012-07-09 at 20:27 +0200, Kay Sievers wrote: > > On Mon, Jul 9, 2012 at 8:03 PM, Dave Jones wrote: > > > I noticed that the format of the oom-killer output seems to have > > > changed, and > > > now it spews stuff like..

Re: [PATCH] misc/pch_phub: Enable UART clock setting by module parameter

2012-07-11 Thread Tomoya MORINAGA
On Wed, Jul 11, 2012 at 7:45 PM, Arnd Bergmann wrote: > This looks like a rather nonscalable solution if you get to systems > with lots of clocks. This "clock" is internal clock, not external clock. This PacketHub provides clock to the UART module Both the PacketHub and the UART is in 1 chip LSI

Re: [RFC PATCH -tip ] tracing: make a snapshot feature available from userspace.

2012-07-11 Thread Rob Landley
On 07/11/2012 12:39 AM, Hiraku Toyooka wrote: > Hello, Rob, > > Thank you very much for your advice. > > (2012/07/05 10:01), Rob Landley wrote: >> On 07/04/2012 05:47 AM, Hiraku Toyooka wrote: >>> Hello, Steven, >>> >>> I've sent below RFC patch, but still have no responses. This patch can >>> be

feature-removal-schedule entry from 2009

2012-07-11 Thread Rob Landley
IRQF_SAMPLE_RANDOM is 3 years past its sell-by date in feature-removal-schedule: What: IRQF_SAMPLE_RANDOM Check: IRQF_SAMPLE_RANDOM When: July 2009 Why:Many of IRQF_SAMPLE_RANDOM users are technically bogus as entropy sources in the kernel's current entropy model. To reso

Re: [GIT PULL] DT clk binding support for 3.6

2012-07-11 Thread Mike Turquette
On 20120707-12:03, Rob Herring wrote: > Mike, > > Please pull DT clk binding and highbank clk support for 3.6. The only > real change from 3.5 pull request is returning error values rather than > NULL to align with the rest of the clk framework. There's been a little > discussion but otherwise has

[PATCH 2/4] copyleft-next: more project name updates Copyleft.next->copyleft-next

2012-07-11 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" This reflects the present gitorious.org name and reflects better with other foo-next git trees out there. --- ABOUT | 10 +- COPYLEFT.next |6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ABOUT b/ABOUT index 0e8ce0b..791000

[PATCH 3/4] copyleft-next: rename the file COPYLEFT.next to copyleft-next

2012-07-11 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" Also update the CONTRIBUTING to reflect the new file name change. --- CONTRIBUTING |2 +- COPYLEFT.next => copyleft-next |0 2 files changed, 1 insertion(+), 1 deletion(-) rename COPYLEFT.next => copyleft-next (100%) diff --git a/CONTRIBUTING

[PATCH 4/4] copyleft-next: embrace the Signed-off-by practice

2012-07-11 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" The idea is taken from Linus Torvald's subsurface project [0] README file. The Signed-off-by is widely used in public projects and we stand to gain to make its usage more prevalent. The meaning of the Signed-off-by is borrowed from the Linux kernel's. [0] git://github.c

[PATCH 1/4] copyleft-next: remove issue tracker references

2012-07-11 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" This uses github, lets not confuse the focus for development for now. --- CONTRIBUTING | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/CONTRIBUTING b/CONTRIBUTING index 1db3cd2..d06f5da 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@

[PATCH 0/4] copyleft-next: first set of patches

2012-07-11 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" Fontana, Here is my first series of patches against the new copyleft-next.git project [0]. These patches consists of a few cosmetic changes along with the idea of embracing the usage of the Signed-off-by tag. I've decided to use lkml given since there is no mailing list

Re: [PATCHv3 1/4] staging: OMAP4+: thermal: introduce bandgap temperature sensor

2012-07-11 Thread Greg Kroah-Hartman
On Wed, Jul 11, 2012 at 11:41:06PM +0300, Eduardo Valentin wrote: > In the System Control Module, OMAP supplies a voltage reference > and a temperature sensor feature that are gathered in the band > gap voltage and temperature sensor (VBGAPTS) module. The band > gap provides current and voltage ref

Re: [GIT] selinux: fix regression

2012-07-11 Thread James Morris
On Wed, 11 Jul 2012, Andrew Morton wrote: > The patch was authored by eparis, not me. I don't even know what it does (I > never looked). But it lets me log into my (old) Fedora test box, which > is a distinct improvement over mainline. Ok, it needs his signoff, then. Not sure why it doesn't al

Re: [PATCH 1/4] zsmalloc: remove x86 dependency

2012-07-11 Thread Seth Jennings
On 07/11/2012 05:42 PM, Nitin Gupta wrote: > On Wed, Jul 11, 2012 at 1:32 PM, Seth Jennings > wrote: >> On 07/11/2012 01:26 PM, Nitin Gupta wrote: >>> Now obj-1 lies completely within page-2, so can be kmap'ed as usual. On >>> zs_unmap_object() we would just do the reverse and restore objects as

Re: [PATCH] dma-fence: dma-buf synchronization

2012-07-11 Thread Rob Clark
On Wed, Jul 11, 2012 at 6:49 PM, Maarten Lankhorst wrote: > Op 12-07-12 00:29, Rob Clark schreef: >> From: Rob Clark >> >> A dma-fence can be attached to a buffer which is being filled or consumed >> by hw, to allow userspace to pass the buffer without waiting to another >> device. For example,

Re: [PATCH 33/36] AArch64: Generic timers support

2012-07-11 Thread Linus Walleij
I'm reviewing the only patch I really understand... 2012/7/6 Catalin Marinas : > +/* This isn't really used any more */ > +#define CLOCK_TICK_RATE 1000 Is it still necessary to even have it there? > + /* Try to determine the frequency from the device tree or CNTFRQ */ > + if (!of_pr

Re: [PATCH 14/16] sched: make __update_entity_runnable_avg() fast

2012-07-11 Thread Paul Turner
So I've been trying to dig up the little proglets that originally computed this stuff, since some specific adjustments were made but for the life of me[*] I cannot find it, so I am stuck trying to reverse engineer it like you :-). [*] Including some over-night greps on all my source trees. The sho

Re: [PATCH 01/16] sched: track the runnable average on a per-task entitiy basis

2012-07-11 Thread Paul Turner
On Wed, Jun 27, 2012 at 11:06 PM, Namhyung Kim wrote: > Hi, > > Some nitpicks and questions. > > > On Wed, 27 Jun 2012 19:24:14 -0700, Paul Turner wrote: >> Instead of tracking averaging the load parented by a cfs_rq, we can track >> entity load directly. With the load for a given cfs_Rq then bei

Re: [PATCH 01/16] sched: track the runnable average on a per-task entitiy basis

2012-07-11 Thread Paul Turner
On Wed, Jul 4, 2012 at 8:32 AM, Peter Zijlstra wrote: > On Wed, 2012-06-27 at 19:24 -0700, Paul Turner wrote: >> Instead of tracking averaging the load parented by a cfs_rq, we can track >> entity load directly. With the load for a given cfs_Rq then being the sum of >> its children. >> >> To do t

Re: [PATCH] pci: support alignments upto 8Gb in pbus_size_mem()

2012-07-11 Thread Yinghai Lu
On Wed, Jul 11, 2012 at 3:53 PM, Bjorn Helgaas wrote: > On Mon, Jun 25, 2012 at 2:54 PM, Nikhil P Rao wrote: >> On Sat, 2012-06-23 at 12:15 -0600, Bjorn Helgaas wrote: >>> On Thu, Jun 21, 2012 at 5:47 PM, Nikhil P Rao wrote: >>> > I ran into the "disabling BAR .." error message when >>> > trying

Re: [PATCH 12/16] sched: refactor update_shares_cpu() -> update_blocked_avgs()

2012-07-11 Thread Paul Turner
On Thu, Jul 5, 2012 at 4:58 AM, Peter Zijlstra wrote: > On Wed, 2012-06-27 at 19:24 -0700, Paul Turner wrote: >> Now that running entities maintain their own load-averages the work we must >> do >> in update_shares() is largely restricted to the periodic decay of blocked >> entities. This allows

Re: [PATCH 12/16] sched: refactor update_shares_cpu() -> update_blocked_avgs()

2012-07-11 Thread Paul Turner
On Fri, Jun 29, 2012 at 12:28 AM, Namhyung Kim wrote: > On Wed, 27 Jun 2012 19:24:15 -0700, Paul Turner wrote: >> Now that running entities maintain their own load-averages the work we must >> do >> in update_shares() is largely restricted to the periodic decay of blocked >> entities. This allow

Re: [PATCH 09/16] sched: normalize tg load contributions against runnable time

2012-07-11 Thread Paul Turner
On Wed, Jul 4, 2012 at 12:48 PM, Peter Zijlstra wrote: > > On Wed, 2012-06-27 at 19:24 -0700, Paul Turner wrote: > > Entities of equal weight should receive equitable distribution of cpu time. > > This is challenging in the case of a task_group's shares as execution may be > > occurring on multipl

Re: mmotm 2012-07-10-16-59 uploaded (staging/ccg)

2012-07-11 Thread Andrew Morton
On Wed, 11 Jul 2012 16:38:14 -0700 "Nicholas A. Bellinger" wrote: > I certainly won't attempt to defend this particular piece of code, but > FYI the original design limitation(s) for usb-gadget that requires this > type of strangeness was elaborated by Sebastian a few months back here: > > http:

Re: [patch] Extcon: Arizona: unlock on an error in arizona_micdet()

2012-07-11 Thread Chanwoo Choi
Hi Dan, On 07/11/2012 03:36 PM, Dan Carpenter wrote: > Smatch complains about this. I don't have a way to test this, but it > does look like we should unlock on error here. > > Signed-off-by: Dan Carpenter > > diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c > in

Re: [PATCH v2] mm: Warn about costly page allocation

2012-07-11 Thread Minchan Kim
On Wed, Jul 11, 2012 at 04:02:00PM -0700, David Rientjes wrote: > On Thu, 12 Jul 2012, Minchan Kim wrote: > > > There is QA team in embedded company and they have tested their product. > > In test scenario, they can allocate 100 high order allocation. > > (they don't matter how many high order all

lots of APIC_TMICT exit on VM with assigned NIC

2012-07-11 Thread sheng qiu
Hi all, i saw lots of APIC_TMICT exits while running a linux guest with assigned NIC. The APIC_TMICT exits is only a little fewer than the number of injected interrupts while handling network traffic on the assigned NIC. The network traffic was generated by running netperf on another machine targe

Re: [PATCH] dma-fence: dma-buf synchronization

2012-07-11 Thread Maarten Lankhorst
Op 12-07-12 00:29, Rob Clark schreef: > From: Rob Clark > > A dma-fence can be attached to a buffer which is being filled or consumed > by hw, to allow userspace to pass the buffer without waiting to another > device. For example, userspace can call page_flip ioctl to display the > next frame of

Re: [PATCH] clk: allow clocks without parents to change rate

2012-07-11 Thread Mike Turquette
On 20120705-00:09, Linus Walleij wrote: > The clk_change_rate() code would dereference clk->parent > to get clk->parent->rate without first checking that clk->parent > was valid. This doesn't work if the clock is (A) a root clock > and (B) can change rate. Such is the case with a VCO clock > like t

Re: mmotm 2012-07-10-16-59 uploaded (staging/ccg)

2012-07-11 Thread Nicholas A. Bellinger
Hi Andrew, On Wed, 2012-07-11 at 15:16 -0700, Andrew Morton wrote: > On Wed, 11 Jul 2012 15:01:32 -0700 > Randy Dunlap wrote: > > > In file included from drivers/staging/ccg/ccg.c:59:0: > > drivers/staging/ccg/../../usb/gadget/f_fs.c:41:0: warning: "pr_vdebug" > > redefined > > drivers/staging/

Re: [Patch] kernel/sys.c: fix an incorrect error branch in orderly_poweroff()

2012-07-11 Thread Andrew Morton
Also, the call_usermodehelper_fns() interface is rather nasty. Let's try to prevent mistakes: --- a/kernel/kmod.c~a +++ a/kernel/kmod.c @@ -577,6 +577,12 @@ unlock: return retval; } +/* + * call_usermodehelper_fns() will not run the caller-provided cleanup function + * if a memory all

Re: [patch RT 0/7] Various fixes for the stable RT series - part I

2012-07-11 Thread Steven Rostedt
On Wed, 2012-07-11 at 22:05 +, Thomas Gleixner wrote: > The following patch series is a collection of bug fixes, which should > go into the 3.x based stable RT trees. > > I have them locally applied to my 3.5 devel queue, but I'm still > distracted by other events (leap seconds and the like) t

Re: [RFC PATCH -tip ] tracing: make a snapshot feature available from userspace.

2012-07-11 Thread Steven Rostedt
Sorry for taking so long, I've been hammering away at other things. :-/ On Tue, 2012-06-05 at 21:06 +0900, Hiraku Toyooka wrote: > Hello, > > This patch provides new debugfs interfaces for taking a snapshot > in ftrace. > > Ftrace is available as a flight recorder. When a kernel panic > occurs,

Re: [PATCH 2/2] gpio/omap: add *remove* callback in platform_driver

2012-07-11 Thread Kevin Hilman
Tarun Kanti DebBarma writes: > Add *remove* callback so that necessary cleanup operations are > performed when device is unregistered. How was this tested? on what platforms? > The device is deleted > from the list and associated clock handle is released by > calling clk_put() and irq descr

Re: [Patch] kernel/sys.c: fix an incorrect error branch in orderly_poweroff()

2012-07-11 Thread Andrew Morton
On Wed, 4 Jul 2012 11:31:47 +0800 Cong Wang wrote: > From: WANG Cong > > When argv_split() fails, argv is NULL, thus we should avoid calling > agrv_free(argv), and should jump after it. > > Cc: Cyrill Gorcunov > Cc: Kees Cook > Cc: Serge Hallyn > Cc: "Eric W. Biederman" > Cc: Andrew Morto

Re: [PATCH] pci: 64bit resource fix in setup-res.c

2012-07-11 Thread Bjorn Helgaas
On Wed, Jun 20, 2012 at 1:56 PM, Nikhil P Rao wrote: > size parameter of _pci_assign_resource() needs to be > of type resource_size_t rather than int > > Signed-off-by: Nikhil P Rao > --- > drivers/pci/setup-res.c |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/dr

Re: [PATCH v2] mm: Warn about costly page allocation

2012-07-11 Thread David Rientjes
On Thu, 12 Jul 2012, Minchan Kim wrote: > There is QA team in embedded company and they have tested their product. > In test scenario, they can allocate 100 high order allocation. > (they don't matter how many high order allocations in kernel are needed > during test. their concern is just only wo

Re: [PATCH 1/3] tmpfs: revert SEEK_DATA and SEEK_HOLE

2012-07-11 Thread Dave Chinner
On Wed, Jul 11, 2012 at 11:55:34AM -0700, Hugh Dickins wrote: > On Wed, 11 Jul 2012, Cong Wang wrote: > > On Mon, 09 Jul 2012 at 22:41 GMT, Hugh Dickins wrote: > > > Revert 4fb5ef089b28 ("tmpfs: support SEEK_DATA and SEEK_HOLE"). > > > I believe it's correct, and it's been nice to have from rc1 to

RE: [PATCH v4] x86/irq: handle chained interrupts during IRQ migration

2012-07-11 Thread Thomas Gleixner
On Wed, 11 Jul 2012, Iyer, Sundar wrote: > Hi Thomas, > > Any status on this one? Yes. I have thought about this some more. 1) Why is this an issue at all ? The irq is not visible to irqbalanced or /proc/irq/N/smp_affinity settings. So how would this irq have an affinity mask which i

Re: [PATCH] pci: support alignments upto 8Gb in pbus_size_mem()

2012-07-11 Thread Bjorn Helgaas
On Mon, Jun 25, 2012 at 2:54 PM, Nikhil P Rao wrote: > On Sat, 2012-06-23 at 12:15 -0600, Bjorn Helgaas wrote: >> On Thu, Jun 21, 2012 at 5:47 PM, Nikhil P Rao wrote: >> > I ran into the "disabling BAR .." error message when >> > trying to use a 8Gb PCIe card on a system with a BIOS >> > that did

Re: [PATCH RESEND] Fix a dead loop in async_synchronize_full()

2012-07-11 Thread Dan Williams
On Wed, Jul 11, 2012 at 3:42 PM, Andrew Morton wrote: > The patch is fairly wordwrapped - please fix up your email client. > > More seriously, it does not apply to linux-next due to some fairly > significant changes which have been sitting in Dan's tree since May. > What's going on? > Those chang

Re: [PATCH] nfs-util: Add cache_flush in mountd UMNT procedure.

2012-07-11 Thread Namjae Jeon
2012/7/12, Namjae Jeon : > 2012/7/11, J. Bruce Fields : >> On Wed, Jul 11, 2012 at 01:10:53PM +0900, Namjae Jeon wrote: >>> 2012/7/10, J. Bruce Fields : >>> > On Sat, Jul 07, 2012 at 11:17:39PM -0400, Namjae Jeon wrote: >>> >> For removing storage device - user needs to safely un-mount the >>> >> d

Re: [PATCH 1/4] zsmalloc: remove x86 dependency

2012-07-11 Thread Nitin Gupta
On Wed, Jul 11, 2012 at 1:32 PM, Seth Jennings wrote: > On 07/11/2012 01:26 PM, Nitin Gupta wrote: >> On 07/02/2012 02:15 PM, Seth Jennings wrote: >>> This patch replaces the page table assisted object mapping >>> method, which has x86 dependencies, with a arch-independent >>> method that does a s

Re: [PATCH RESEND] Fix a dead loop in async_synchronize_full()

2012-07-11 Thread Andrew Morton
On Mon, 09 Jul 2012 15:04:25 +0800 Li Zhong wrote: > This patch tries to fix a dead loop in async_synchronize_full(), which > could be seen when preemption is disabled on a single cpu machine. > > void async_synchronize_full(void) > { > do { > async_synchronize_cookie(n

[GIT PULL] fbdev fixes for 3.5#2

2012-07-11 Thread Florian Tobias Schandinat
Hi Linus, please pull the fixes below. Thanks, Florian Tobias Schandinat The following changes since commit b67989515defba7412acff01162e5bb1f0f5923a: video: s3c-fb: fix possible division by zero in s3c_fb_calc_pixclk (2012-06-13 17:34:16 +) are available in the git repository at:

Re: [PATCH] nfs-util: Add cache_flush in mountd UMNT procedure.

2012-07-11 Thread Namjae Jeon
2012/7/11, J. Bruce Fields : > On Wed, Jul 11, 2012 at 01:10:53PM +0900, Namjae Jeon wrote: >> 2012/7/10, J. Bruce Fields : >> > On Sat, Jul 07, 2012 at 11:17:39PM -0400, Namjae Jeon wrote: >> >> For removing storage device - user needs to safely un-mount the device >> >> and then eject. But if 'EB

[PATCH 30/30] staging: comedi: ke_counter: use comedi_device pci_dev pointer

2012-07-11 Thread H Hartley Sweeten
Use the pci_dev pointer in the comedi_device struct instead of carrying it in the private data. Since the pci_dev pointer was the only variable in the private data, remove it as well. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ke

Re: [RFC] dma-fence: dma-buf synchronization

2012-07-11 Thread Rob Clark
oh, btw, this should be an [RFC] On Wed, Jul 11, 2012 at 5:29 PM, Rob Clark wrote: > From: Rob Clark > > A dma-fence can be attached to a buffer which is being filled or consumed > by hw, to allow userspace to pass the buffer without waiting to another > device. For example, userspace can call

[PATCH 29/30] staging: comedi: ke_counter: cleanup the "find pci device" code

2012-07-11 Thread H Hartley Sweeten
Cleanup the "find pci device" code to follow the format of the other comedi pci drivers. Use local variables for the bus and slot options to clarify the code. Reorder and refactor some of the tests to reduce the indent level and get rid of the 'goto'. Change the printk's to dev_printk's. Signed-o

[PATCH 28/30] staging: comedi: ke_counter: factor out the "find pci device" code

2012-07-11 Thread H Hartley Sweeten
Factor the "find pci device" code out of the attach function. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ke_counter.c | 46 ++--- 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/drivers/stagi

[PATCH 27/30] staging: comedi: dyna_pci10xx: use comedi_device iobase

2012-07-11 Thread H Hartley Sweeten
Use the iobase in the comedi_device struct instead of carrying it in the private data. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dyna_pci10xx.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/driver

[PATCH 26/30] staging: comedi: dyna_pci10xx: remove unused variables in the private data

2012-07-11 Thread H Hartley Sweeten
These variables are set during the attach of the device but they are never read. Just remove them. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dyna_pci10xx.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a

[PATCH 25/30] staging: comedi: dyna_pci10xx: use comedi_device pci_dev pointer

2012-07-11 Thread H Hartley Sweeten
Use the pci_dev pointer in the comedi_device struct instead of carrying it in the private data. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dyna_pci10xx.c | 25 - 1 file changed, 12 insertions(+), 13 deletion

[PATCH 24/30] staging: comedi: dyna_pci10xx: cleanup the "find pci device" code

2012-07-11 Thread H Hartley Sweeten
Cleanup the "find pci device" code to follow the format of the other comedi pci drivers. Use for_each_pci_dev() instead of open-coding the for loop. Reorder and refactor some of the tests to reduce the indent level. Change the printk's to dev_printk's. Signed-off-by: H Hartley Sweeten Cc: Ian Ab

[PATCH 23/30] staging: comedi: dyna_pci10xx: factor out the "find pci device" code

2012-07-11 Thread H Hartley Sweeten
Factor the "find pci device" code out of the attach function. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/dyna_pci10xx.c | 86 ++- 1 file changed, 44 insertions(+), 42 deletions(-) diff --git a/drivers/stagi

[PATCH 22/30] staging: comedi: contec_pci_dio: remove private data

2012-07-11 Thread H Hartley Sweeten
The private data is no longer needed by this driver. Remove it. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/contec_pci_dio.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/comedi/drivers/contec_pci_dio.c

[PATCH 21/30] staging: comedi: contec_pci_dio: use comedi_device pci_dev pointer

2012-07-11 Thread H Hartley Sweeten
Use the pci_dev pointer in the comedi_device struct instead of carrying it in the private data. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/contec_pci_dio.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) d

[PATCH] dma-fence: dma-buf synchronization

2012-07-11 Thread Rob Clark
From: Rob Clark A dma-fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example, userspace can call page_flip ioctl to display the next frame of graphics after kicking the GPU but while the GPU

[PATCH 20/30] staging: comedi: contec_pci_dio: cleanup the "find pci device" code

2012-07-11 Thread H Hartley Sweeten
Cleanup the "find pci device" code to follow the format of the other comedi pci drivers. Create local variables for the bus and slot options to clarify the code. Change the pci ven/dev test to reduce the indent level. Change the printk into a dev_warn. Signed-off-by: H Hartley Sweeten Cc: Ian Ab

Re: [PATCH] thermal: add Renesas R-Car thermal sensor support

2012-07-11 Thread Andrew Morton
On Tue, 10 Jul 2012 11:59:42 +0900 Kuninori Morimoto wrote: > This patch add basic Renesas R-Car thermal sensor support. > It was tested on R-Car H1 Marzen board. > > ... > > +static void rcar_thermal_bset(struct rcar_thermal_priv *priv, u32 reg, > + u32 mask, u32 data)

[PATCH 19/30] staging: comedi: contec_pci_dio: factor out the "find pci device" code

2012-07-11 Thread H Hartley Sweeten
Factor the "find pci device" code out of the attach function. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/contec_pci_dio.c | 91 + 1 file changed, 49 insertions(+), 42 deletions(-) diff --git a/drivers/stagi

<    1   2   3   4   5   6   7   8   >