[PATCH 2/5] serial: 8250_dw: Don't use UPF_FIXED_TYPE

2012-11-28 Thread Heikki Krogerus
Allow 8250.c to determine the port type for us. This allows the driver take advantage of FIFO on Designware UARTs that have it. Signed-off-by: Heikki Krogerus --- drivers/tty/serial/8250/8250_dw.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/8250/8250

[PATCH 4/5] serial: 8250_dw: Move device tree code to separate function

2012-11-28 Thread Heikki Krogerus
Trivial cleanup. This makes it easier to add different methods to enumerate the device, for example ACPI 5.0 enumeration. Signed-off-by: Heikki Krogerus --- drivers/tty/serial/8250/8250_dw.c | 76 ++--- 1 file changed, 46 insertions(+), 30 deletions(-) diff --g

[PATCH 3/5] serial: 8250_dw: Map IO memory

2012-11-28 Thread Heikki Krogerus
This needs to be done in order to later access the Designware specific registers. Signed-off-by: Heikki Krogerus --- drivers/tty/serial/8250/8250_dw.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_d

[PATCH 1/2] KVM: VMX: fix invalid cpu passed to smp_call_function_single

2012-11-28 Thread Xiao Guangrong
In loaded_vmcs_clear, loaded_vmcs->cpu is the fist parameter passed to smp_call_function_single, if the target cpu is downing (doing cpu hot remove), loaded_vmcs->cpu can become -1 then -1 is passed to smp_call_function_single It can be triggered when vcpu is being destroyed, loaded_vmcs_clear is

[PATCH 2/2] KVM: VMX: fix memory order between loading vmcs and clearing vmcs

2012-11-28 Thread Xiao Guangrong
vmcs->cpu indicates whether it exists on the target cpu, -1 means the vmcs does not exist on any vcpu If vcpu load vmcs with vmcs.cpu = -1, it can be directly added to cpu's percpu list. The list can be corrupted if the cpu prefetch the vmcs's list before reading vmcs->cpu. Meanwhile, we should re

Re: [RFC PATCH v2] Add rcu user eqs exception hooks for async page fault

2012-11-28 Thread Frederic Weisbecker
2012/11/28 Li Zhong : > Thank you all for the review and education. > > Below are my current understandings and an update version. Would you > please help to review it again and give your comments? > > Thanks, Zhong > > Now it seems to me that it is legal to call rcu_irq_exit/enter() without > a ma

Re: [PATCH v3 9/9] davinci: vpfe: Add documentation and TODO

2012-11-28 Thread Laurent Pinchart
Hi Mauro, Please see below. On Wednesday 28 November 2012 09:22:13 Mauro Carvalho Chehab wrote: > Hi Prabhakar, > > Em Wed, 28 Nov 2012 16:12:09 +0530 > > Prabhakar Lad escreveu: > > +Introduction > > + > > + > > + This file documents the Texas Instruments Davinci Video processing

Re: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-11-28 Thread Michal Nazarewicz
> On 11/27/2012 05:23 PM, Michal Nazarewicz wrote: >> How should a generic tool know what kind of actions are needed for given >> function to be removed? If you ask me, there should be a way to unbind >> gadget and unload all modules without any specific knowledge of the >> functions. If there is

Re: Recent kernel "mount" slow

2012-11-28 Thread Jeff Chua
On Wed, Nov 28, 2012 at 4:33 PM, Jens Axboe wrote: > On 2012-11-28 04:57, Mikulas Patocka wrote: >> >> >> On Tue, 27 Nov 2012, Jens Axboe wrote: >> >>> On 2012-11-27 11:06, Jeff Chua wrote: On Tue, Nov 27, 2012 at 3:38 PM, Jens Axboe wrote: > On 2012-11-27 06:57, Jeff Chua wrote: >>

Re: [PATCH 5/5] serial: 8250_dw: Set FIFO size dynamically

2012-11-28 Thread Alan Cox
> + if (!reg || (reg & 0xff) != '*') > + return; > + That looks bogus. If reg == 0 then reg & 0xFF != '*' So why the double test ? -- 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

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-28 Thread Terje Bergström
On 28.11.2012 01:00, Dave Airlie wrote: > We generally aim for the first, to stop the gpu from reading/writing > any memory it hasn't been granted access to, > the second is nice to have though, but really requires a GPU with VM > to implement properly. I wonder if we should aim at root only acce

Re: [PATCH 1/1] regmap: Add support for continously numbered pages across regmap range

2012-11-28 Thread Mark Brown
On Wed, Nov 28, 2012 at 12:10:21PM +, Navada Kanyana, Mukund wrote: To repeat, fix your mailer to word wrap within paragraphs. > > You appear to have two different ranges with the same selector and > > window. I'm really not sure why you expect this to work... what > > happens when someone

[PATCH 1/8] staging/rtl8187se: Fix include file issue in ieee80211/ieee80211_rx.c

2012-11-28 Thread YAMANE Toshiaki
The following warning fixed. - WARNING: Use #include instead of Signed-off-by: YAMANE Toshiaki --- drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c b/drivers/staging/rtl

Re: [PATCH 6/6 v6] cpufreq, highbank: add support for highbank cpufreq

2012-11-28 Thread Mark Langsdorf
On 11/27/2012 08:32 PM, Shawn Guo wrote: > On Tue, Nov 27, 2012 at 02:04:32PM -0600, Mark Langsdorf wrote: >> Highbank processors depend on the external ECME to perform voltage >> management based on a requested frequency. Communication between the >> A9 cores and the ECME happens over the pl320 IP

[PATCH 2/8] staging/rtl8187se: Fix spacing coding style in ieee80211/ieee80211_rx.c

2012-11-28 Thread YAMANE Toshiaki
The following warnings fixed. - WARNING: suspect code indent for conditional statements Signed-off-by: YAMANE Toshiaki --- drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c | 56 ++-- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/staging/rtl8187se/iee

Re: [PATCH 07/24] MAINTAINERS: adjust for UAPI

2012-11-28 Thread David Howells
Cesar Eduardo Barros wrote: > Several headers were moved or split to uapi/. I was going to wait to do this till all the bits have got upstream. Several are still wending their way through maintainer trees. Feel free to send your patch to Linus with: Acked-by: David Howells attached,

[PATCH 3/8] staging/rtl8187se: Fix spacing coding style in ieee80211/ieee80211_rx.c

2012-11-28 Thread YAMANE Toshiaki
The following warnings fixed. -- ERROR: space required after that ',' (ctx:VxV) -- ERROR: spaces required around that '&&' (ctx:VxV) -- ERROR: space prohibited before that '++' (ctx:WxO) -- ERROR: spaces required around that '?' (ctx:VxV) -- ERROR: spaces required around that ':' (ctx:VxV) -- ERROR

[PATCH 4/8] staging/rtl8187se: Fix spacing coding style in ieee80211/ieee80211_rx.c

2012-11-28 Thread YAMANE Toshiaki
The following warnings fixed. - ERROR: space required before the open parenthesis '(' - ERROR: that open brace { should be on the previous line - ERROR: space required before the open brace '{' - ERROR: else should follow close brace '}' - ERROR: space prohibited before that close parenthesis ')'

[PATCH 5/8] staging/rtl8187se: Fix spacing coding style in ieee80211/ieee80211_rx.c

2012-11-28 Thread YAMANE Toshiaki
The following errors fixed. - ERROR: "foo* bar" should be "foo *bar" Signed-off-by: YAMANE Toshiaki --- drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c b/drivers/

[PATCH 6/8] staging/rtl8187se: Use netdev_ printks in ieee80211/ieee80211_rx.c

2012-11-28 Thread YAMANE Toshiaki
The following warnings fixed. - WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ... - WARNING: Prefer netdev_warn(netdev, ... then dev_warn(dev, ... then pr_warn(... to printk(KERN_WARNING ... - WARNING: Prefer netdev_info(netdev, ... then dev

[PATCH 7/8] staging/rtl8187se: Fix spacing coding style in ieee80211/ieee80211_rx.c

2012-11-28 Thread YAMANE Toshiaki
The following warnings fixed. - WARNING: braces {} are not necessary for single statement blocks Signed-off-by: YAMANE Toshiaki --- drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c | 47 +--- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/drivers/staging/rtl8

Darwin - A servant of Satan - testimony and proof, and LSD revealed.

2012-11-28 Thread Ove Karlsen
Hello. I am writing you, because I have many likeminded intelligent people in the linux-crowd. And God has blessed and prefers the intelligent, truly, who can understand his religion. I also did the minimal-jitter config on linux, which gave much joy to many. However I am also doing religiou

[PATCH 8/8] staging/rtl8187se: Fix spacing coding style in ieee80211/ieee80211_rx.c

2012-11-28 Thread YAMANE Toshiaki
The following warnings fixed. - WARNING: please, no spaces at the start of a line - WARNING: please, no space before tabs Signed-off-by: YAMANE Toshiaki --- drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c | 34 ++-- 1 file changed, 17 insertions(+), 17 deletions(-) diff --g

Re: [PATCH v3 02/11] clk: davinci - add PSC clock driver

2012-11-28 Thread Sekhar Nori
On 11/27/2012 10:59 PM, Mike Turquette wrote: > Quoting Sekhar Nori (2012-11-27 07:05:21) >> Hi Mike, >> >> On 11/10/2012 7:52 AM, Mike Turquette wrote: >>> Quoting Murali Karicheri (2012-11-05 07:10:52) On 11/03/2012 08:07 AM, Sekhar Nori wrote: > On 10/25/2012 9:41 PM, Murali Karicheri w

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-28 Thread Lucas Stach
Am Mittwoch, den 28.11.2012, 15:17 +0200 schrieb Terje Bergström: > On 28.11.2012 01:00, Dave Airlie wrote: > > We generally aim for the first, to stop the gpu from reading/writing > > any memory it hasn't been granted access to, > > the second is nice to have though, but really requires a GPU wit

[FIRMWARE BUG] Lenovo x120e

2012-11-28 Thread Denis Lotarev
Im using kernel (Linux initbox 3.6.7-1-ARCH #1 SMP PREEMPT Sun Nov 18 10:11:22 CET 2012 x86_64 GNU/Linux) and i see some problems at booting... So dmesg output with BUG lines: $ dmesg |grep Bug [1.363154] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored [1.373784] [Firmware Bug]: ACP

Re: [PATCH RESEND 1/3] printk: convert byte-buffer to variable-length record buffer

2012-11-28 Thread Michael Kerrisk
Hi Kay, On Thu, May 3, 2012 at 2:29 AM, Kay Sievers wrote: > From: Kay Sievers [...] > case SYSLOG_ACTION_SIZE_UNREAD: > - error = log_end - log_start; > + raw_spin_lock_irq(&logbuf_lock); > + if (syslog_seq < log_first_seq) { > +

Re: [PATCH 5/5] serial: 8250_dw: Set FIFO size dynamically

2012-11-28 Thread Heikki Krogerus
On Wed, Nov 28, 2012 at 01:18:26PM +, Alan Cox wrote: > > + if (!reg || (reg & 0xff) != '*') > > + return; > > + > > That looks bogus. If reg == 0 then reg & 0xFF != '*' > > So why the double test ? No reason. It is something I forgot to cleanup. I'll resend this. Thanks! -- h

Re: kswapd craziness in 3.7

2012-11-28 Thread Zdenek Kabelac
Dne 27.11.2012 21:58, Linus Torvalds napsal(a): Note that in the meantime, I've also applied (through Andrew) the patch that reverts commit c654345924f7 (see commit 82b212f40059 'Revert "mm: remove __GFP_NO_KSWAPD"'). I wonder if that revert may be bogus, and a result of this same issue. Maybe t

[PATCH 1/1] ARM: tegra: bus_notifier registers IOMMU devices(was: How to specify IOMMU'able devices in DT)

2012-11-28 Thread Hiroshi Doyu
Hiroshi Doyu wrote @ Mon, 24 Sep 2012 14:50:14 +0300 (EEST): ... > > > > On Mon, 2012-09-24 at 12:04 +0300, Hiroshi Doyu wrote: > > > > > diff --git a/drivers/base/platform.c b/drivers/base/platform.c > > > > > index a1a7225..9eae3be 100644 > > > > > --- a/drivers/base/platform.c > > > > > +++ b/d

[PATCH 00/45] Automatic NUMA Balancing V7

2012-11-28 Thread Mel Gorman
Like V6, I'm only posting the git tree reference instead of sending out a flood of emails as the differences are small. The v7 release is justified by a page count reference bug identified and fixed by Hillf Danton in the transhuge migration patch. I'll send the full series if people would prefer

Re: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-11-28 Thread Sebastian Andrzej Siewior
On 11/28/2012 02:05 PM, Michal Nazarewicz wrote: On 11/27/2012 05:23 PM, Michal Nazarewicz wrote: How should a generic tool know what kind of actions are needed for given function to be removed? If you ask me, there should be a way to unbind gadget and unload all modules without any specific kn

Re: [PATCH v6 2/6] PM / Runtime: introduce pm_runtime_set_memalloc_noio()

2012-11-28 Thread Ming Lei
On Wed, Nov 28, 2012 at 6:06 PM, Rafael J. Wysocki wrote: > > Well, it may be unfrequent, but does it mean it has to do things that may > be avoided (ie. walking the children of every node in the path in some cases)? I agree so without introducing extra cost, :-) > I don't really think that the

[PATCH 01/14] perf tool: Introduce perf_hpp__list for period related columns

2012-11-28 Thread Jiri Olsa
Adding perf_hpp__list list to register and contain all period related columns the command is interested in. This way we get rid of static array holding all possible columns and enable commands to register their own columns. It'll be handy for diff command in future to process and display data for

[PATCH 04/14] perf diff: Remove displacement from struct hist_entry_diff

2012-11-28 Thread Jiri Olsa
Removing displacement from struct hist_entry_diff, because it's not used. Displacement is not used for sorting, so there's no reason to pre-calculate it. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic

[PATCH 02/14] perf tool: Add struct perf_hpp_fmt into hpp callbacks

2012-11-28 Thread Jiri Olsa
Adding 'struct perf_hpp_fmt' into hpp callbacks, so commands can access their private data. It'll be handy for diff command in future to be able to access file related data for each column. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Macke

[PATCH 09/14] perf diff: Update perf diff documentation for multiple data comparison

2012-11-28 Thread Jiri Olsa
Updating perf diff documentation to include multiple perf data files comparison. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim --- tools/perf/Documentation/perf-diff.tx

[PATCH 11/14] perf diff: Making compute functions static

2012-11-28 Thread Jiri Olsa
All compute functions are now local to the diff command, making them static. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim --- tools/perf/builtin-diff.c | 24 ++

[PATCH 12/14] perf diff: Display data file info ahead of the diff output

2012-11-28 Thread Jiri Olsa
Data files are referenced through the index of the file on the command line. Adding list of data files for each index to ease up navigation. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker

[PATCH 14/14] perf diff: Add generic order option for compute sorting

2012-11-28 Thread Jiri Olsa
Adding option 'o' to allow sorting based on the input file number. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim --- tools/perf/Documentation/perf-diff.txt | 4 +++ to

[PATCH 08/14] perf diff: Change diff command to work over multiple data files

2012-11-28 Thread Jiri Olsa
Adding diff command the flexibility to specify multiple data files on input. If not input file is given the standard behaviour stands and diff inspects 'perf.data' and 'perf.data.old' files. Also changing the processing and output display for data files. For 'perf diff A B' command: - the curr

[PATCH 13/14] perf diff: Display zero calculation results

2012-11-28 Thread Jiri Olsa
Forcing zero calculation outputs to appear in final output, so we can differ between zero output calculation result and empty space for missing pair of baseline hist_entry. Also skipping the compute and period output for dummy entries. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: P

Re: [3.7-rc6] Build failure with scripts/Makefile.headersinst

2012-11-28 Thread David Howells
Tetsuo Handa wrote: > Tetsuo Handa wrote: > > Linux 3.6 builds fine. I can't use "git bisect" until Linux 3.7-rc6 but > > possibly caused by either commit 10b63956 "UAPI: Plumb the UAPI Kbuilds > > into the user header installation and checking" or commit 40f1d4c2 "UAPI: > > Remove the objhdr-y e

[PATCH 03/14] perf tool: Fix period symbol_conf.field_sep display

2012-11-28 Thread Jiri Olsa
Currently we don't properly display hist data with symbol_conf.field_sep separator. We need to display either space or separator. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyun

[PATCH 05/14] perf diff: Change compute methods to work with pair directly

2012-11-28 Thread Jiri Olsa
Changing compute methods to operate over hist entry and its pair directly. This makes the code more obvious and readable, instead of all time checking for pair being != NULL. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey

Re: [RFC PATCH v2] Add rcu user eqs exception hooks for async page fault

2012-11-28 Thread Gleb Natapov
On Wed, Nov 28, 2012 at 01:55:42PM +0100, Frederic Weisbecker wrote: > > So I still want to remove it. And later if it shows that we really needs > > rcu somewhere in this code path, maybe we could use RCU_NONIDLE() to > > protect it. ( The suspicious RCU usage reported in commit > > c5e015d4949aa6

[PATCH 10/14] perf tool: Centralize default columns init in perf_hpp__init

2012-11-28 Thread Jiri Olsa
Now when diff command is separated from other standard outputs, we can use perf_hpp__init to initialize all standard columns. Moving PERF_HPP__OVERHEAD column init back to perf_hpp__init, and removing extra enable calls. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra

[PATCH 06/14] perf diff: Change formula methods to work with pair directly

2012-11-28 Thread Jiri Olsa
Changing formula methods to operate over hist entry and its pair directly. This makes the code more obvious and readable, instead of all time checking for pair being != NULL. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey

[PATCH 07/14] perf diff: Add callback to hists__match/hists__link functions

2012-11-28 Thread Jiri Olsa
It's possible different users of hists__match/hists__link will need specific processing of matching hists_entry data. Adding callback to hists__match/hists__link functions to allow that. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerra

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-28 Thread Terje Bergström
On 28.11.2012 15:33, Lucas Stach wrote: > So this is obviously wrong. Userspace has to allocate a pushbuffer from > the kernel just as every other buffer, then map it into it's own address > space to push in commands. At submit time of the pushbuf kernel has to > make sure that userspace is not abl

[PATCH/RFC 00/14] perf, tool: Fix endian issues

2012-11-28 Thread Jiri Olsa
hi, adding support to display diff for more than 2 perf.data files. Sending as RFC, since the change touches lot of hists code, so I might be breaking something I missed.. still testing. Also it could colide with Namhyung changes for group report wrt patches 7 and 8, where I changed the linking of

Re: [PATCH/RFC 00/14] perf, diff: Support for multiple files

2012-11-28 Thread Jiri Olsa
aargh.. fixed subject.. copy&paste error ;-) also patches are available here: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/linux.git perf/multi2 thanks, jirka On Wed, Nov 28, 2012 at 02:52:35PM +0100, Jiri Olsa wrote: > hi, > adding support to display diff for more than 2 perf.data files

Re: [PATCH] sound/sgtl5000: fix initial setting for DAC data source

2012-11-28 Thread Mark Brown
On Wed, Nov 28, 2012 at 10:14:28AM +, Oskar Schirmer wrote: You've somehow decided to CC half the world but still haven't managed to CC the maintainers like Liam asked (and as is covered in SubmittingPatches)... > According to documentation bit 3:2 in register SSS_CTRL are > reserved and zero

Re: [PATCH 2/3] KVM: x86: let reexecute_instruction work for tdp

2012-11-28 Thread Gleb Natapov
On Wed, Nov 28, 2012 at 11:15:13AM +0800, Xiao Guangrong wrote: > On 11/28/2012 07:32 AM, Marcelo Tosatti wrote: > > On Tue, Nov 27, 2012 at 11:13:11AM +0800, Xiao Guangrong wrote: > +static bool reexecute_instruction(struct kvm_vcpu *vcpu, unsigned long > cr2) > { > -

Re: [RFC] [PATCH] fix infinite loop; increase robustness of debugfs_remove_recursive [attached test module]

2012-11-28 Thread Steven Rostedt
On Wed, 2012-11-28 at 10:37 +0100, Lars Ellenberg wrote: > On Tue, Nov 27, 2012 at 10:16:28PM -0500, Steven Rostedt wrote: > > On Fri, 2012-11-23 at 18:15 +0100, Lars Ellenberg wrote: > > > When toying around with debugfs, intentionally trying to break things, > > > I managed to get it into a repro

Re: kswapd craziness in 3.7

2012-11-28 Thread Jiri Slaby
On 11/28/2012 02:35 PM, Zdenek Kabelac wrote: > and added slightly modified patch from Jiri > (https://lkml.org/lkml/2012/11/15/950 > (Unsure where it still applies for -rc7??) It is needed for -next only. And if you have recent -next, it's already there... thanks, -- js suse labs -- To unsubscr

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-28 Thread Lucas Stach
Am Mittwoch, den 28.11.2012, 15:57 +0200 schrieb Terje Bergström: > On 28.11.2012 15:33, Lucas Stach wrote: > > So this is obviously wrong. Userspace has to allocate a pushbuffer from > > the kernel just as every other buffer, then map it into it's own address > > space to push in commands. At subm

Re: [patch] workqueue: exit rescuer_thread() as TASK_RUNNING

2012-11-28 Thread Tejun Heo
On Wed, Nov 28, 2012 at 07:17:18AM +0100, Mike Galbraith wrote: > > A rescue thread exiting TASK_INTERRUPTIBLE can lead to a task scheduling > off, never to be seen again. In the case where this occurred, an exiting > thread hit reiserfs homebrew conditional resched while holding a mutex, > bring

RE: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-11-28 Thread Andrzej Pietrasiewicz
On Wednesday, November 28, 2012 9:39 AM Sebastian Andrzej Siewior wrote: > > > > so that we can create the endpoint directories. > > And now what? What names shall the user use for the endpoint > > directories? Oh, that's simple: just see what the endpoint > > directories' names are. But wait, a

Re: [PATCH 3/3] KVM: x86: improve reexecute_instruction

2012-11-28 Thread Gleb Natapov
On Tue, Nov 27, 2012 at 11:30:24AM +0800, Xiao Guangrong wrote: > On 11/27/2012 06:41 AM, Marcelo Tosatti wrote: > > >> > >> - return false; > >> +again: > >> + page_fault_count = ACCESS_ONCE(vcpu->kvm->arch.page_fault_count); > >> + > >> + /* > >> + * if emulation was due to access to shadow

Re: [PATCH 1/2] percpu-rwsem: use synchronize_sched_expedited

2012-11-28 Thread Jeff Chua
On Wed, Nov 28, 2012 at 11:59 AM, Mikulas Patocka wrote: > > > On Tue, 27 Nov 2012, Jeff Chua wrote: > >> On Tue, Nov 27, 2012 at 3:38 PM, Jens Axboe wrote: >> > On 2012-11-27 06:57, Jeff Chua wrote: >> >> On Sun, Nov 25, 2012 at 7:23 AM, Jeff Chua >> >> wrote: >> >>> On Sun, Nov 25, 2012 at 5:

Re: [PATCH v4 0/3] pwm: Drivers for twl4030/6030 PWMs and LEDs

2012-11-28 Thread Thierry Reding
On Tue, Nov 27, 2012 at 11:09:56AM +0100, Peter Ujfalusi wrote: > Hello, > > Changes since v3: > - pwm-twl-led driver's comment fix patch squashed to the original patch > - Documentation for the DT bindings of the PWM drivers > Comments from Thierry Reding addressed: > - pwm-twl6030 has been remov

Re: numa/core regressions fixed - more testers wanted

2012-11-28 Thread Alex Shi
> >> >> Could you please check tip:master with -v17: >> >> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master >> Tested this version on our SNB EP 2 sockets box, 8 cores * HT with specjbb2005 on jrockit. With single JVM setting it has 40% performance increase compare to 3.7-rc6. i

Re: [PATCH v5 00/12] Support for AM33xx PWM Subsystem

2012-11-28 Thread Thierry Reding
On Tue, Nov 27, 2012 at 02:18:05PM +0530, Philip, Avinash wrote: > In AM33xx PWM sub modules like ECAP, EHRPWM & EQEP are integrated to > PWM subsystem. All these submodules shares the resources (clock) & has > a clock gating register in PWM Subsystem. This patch series creates a > parent PWM Subs

Re: [PATCH v3] mmc: core: Add support for idle time BKOPS

2012-11-28 Thread Chris Ball
Hi Maya, On Sun, Nov 25 2012, me...@codeaurora.org wrote: > I managed to find a solution in which there is no need to check the number > of written / discarded sectors as a trigger for BKOPS status check. > I moved the code that checks the need to stop the BKOPS to mmc/block code, > in which there

Re: [PATCH 2/2] block_dev: don't take the write lock if block size doesn't change

2012-11-28 Thread Jeff Chua
On Wed, Nov 28, 2012 at 12:01 PM, Mikulas Patocka wrote: > block_dev: don't take the write lock if block size doesn't change > > Taking the write lock has a big performance impact on the whole system > (because of synchronize_sched_expedited). This patch avoids taking the > write lock if the block

Re: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-11-28 Thread Michal Nazarewicz
On Wed, Nov 28 2012, Sebastian Andrzej Siewior wrote: > - > /functions/acm-function/ > > instead of > > /functions/function1/ > +name > with attribute file named "name" which contains the name of the > function (i.e. acm). My point is to keep "name" in

Re: [RFC PATCH v2] Add rcu user eqs exception hooks for async page fault

2012-11-28 Thread Frederic Weisbecker
2012/11/28 Gleb Natapov : > On Wed, Nov 28, 2012 at 01:55:42PM +0100, Frederic Weisbecker wrote: >> Yes but if rcu_irq_*() calls are fine to be called there, and I >> believe they are because exception_enter() exits the user mode, we >> should start to protect there right now instead of waiting for

[PATCH 5/5] serial: 8250_dw: Set FIFO size dynamically

2012-11-28 Thread Heikki Krogerus
Designware UART provides optional Component Parameter Register that lists most of the capabilities of the UART, including FIFO size. This uses that register to set FIFO size for the port before registering it. Signed-off-by: Heikki Krogerus --- drivers/tty/serial/8250/8250_dw.c | 57 ++

Re: [PATCH 6/6 v6] cpufreq, highbank: add support for highbank cpufreq

2012-11-28 Thread Shawn Guo
On Wed, Nov 28, 2012 at 07:16:12AM -0600, Mark Langsdorf wrote: > Standard practice is to have cpufreq_set_target() handle voltage > transitions and leave clk_set_rate() handle the frequency changes. The standard practice is to have cpufreq_set_target() handle both voltage and frequency transition

[PATCH] modedb.txt: fix modedb.c path

2012-11-28 Thread yegorslists
From: Yegor Yefremov Remove "linux" in modedb.c path, otherwise such editors as vi won't be able to jump to this file. Signed-off-by: Yegor Yefremov --- Documentation/fb/modedb.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/fb/modedb.txt b/Documenta

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-28 Thread Terje Bergström
On 28.11.2012 16:06, Lucas Stach wrote: > Why do even need/use dma-buf for this use case? This is all one DRM > device, even if we separate host1x and gr2d as implementation modules. I didn't want to implement dependency to drm gem objects in nvhost, but we have thought about doing that. dma-buf b

Re: [PATCH 0/2] nfsd: containerise NFSv4 recovery state

2012-11-28 Thread J. Bruce Fields
On Mon, Nov 26, 2012 at 04:16:18PM +0300, Stanislav Kinsbursky wrote: > This patch set makes rec_file and in_grace global static variables allocated > per network namespace. > Both of them are a part of client tracking engine, which is containerised > already. Thanks, applying for 3.8.--b. > > T

Re: [PATCH 6/6 v6] cpufreq, highbank: add support for highbank cpufreq

2012-11-28 Thread Shawn Guo
On Wed, Nov 28, 2012 at 10:58:02PM +0800, Shawn Guo wrote: > On Wed, Nov 28, 2012 at 07:16:12AM -0600, Mark Langsdorf wrote: > > I'd > > have to move most of the logic of hb_set_target() into > > clk_highbank.c:clk_pll_set_rate() and then add extra logic for when > > cpufreq is not enabled/loaded.

livelock in __writeback_inodes_wb ?

2012-11-28 Thread Dave Jones
We had a user report the soft lockup detector kicked after 22 seconds of no progress, with this trace.. :BUG: soft lockup - CPU#1 stuck for 22s! [flush-8:16:3137] :Pid: 3137, comm: flush-8:16 Not tainted 3.6.7-4.fc17.x86_64 #1 :RIP: 0010:[] [] __list_del_entry+0x2c/0xd0 :Call Trace: : [] redirty_

Re: [PATCH 3/3] zram: get rid of lockdep warning

2012-11-28 Thread Jerome Marchand
On 11/28/2012 03:35 AM, Minchan Kim wrote: > Lockdep complains about recursive deadlock of zram->init_lock. > [1] made it false positive because we can't request IO to zram > before setting disksize. Anyway, we should shut lockdep up to > avoid many reporting from user. > > This patch allocates zr

Re: [PATCH 2/3] KVM: x86: let reexecute_instruction work for tdp

2012-11-28 Thread Xiao Guangrong
On 11/28/2012 10:01 PM, Gleb Natapov wrote: > On Wed, Nov 28, 2012 at 11:15:13AM +0800, Xiao Guangrong wrote: >> On 11/28/2012 07:32 AM, Marcelo Tosatti wrote: >>> On Tue, Nov 27, 2012 at 11:13:11AM +0800, Xiao Guangrong wrote: >> +static bool reexecute_instruction(struct kvm_vcpu *vcpu, unsign

[PATCH] media: davinci: vpbe: enable building of vpbe driver for DM355 and DM365

2012-11-28 Thread Prabhakar Lad
From: Lad, Prabhakar This patch allows enabling building of VPBE display driver for DM365 and DM355. This also removes unnecessary entry VIDEO_DM644X_VPBE in Kconfig, which could have been done with single entry, and appropriate changes in Makefile for building. Signed-off-by: Lad, Prabhakar Si

Re: [PATCH 3/3] KVM: x86: improve reexecute_instruction

2012-11-28 Thread Xiao Guangrong
On 11/28/2012 10:12 PM, Gleb Natapov wrote: > On Tue, Nov 27, 2012 at 11:30:24AM +0800, Xiao Guangrong wrote: >> On 11/27/2012 06:41 AM, Marcelo Tosatti wrote: >> - return false; +again: + page_fault_count = ACCESS_ONCE(vcpu->kvm->arch.page_fault_count); + + /*

Re: [PATCH 6/6 v6] cpufreq, highbank: add support for highbank cpufreq

2012-11-28 Thread Mark Langsdorf
On 11/28/2012 09:17 AM, Shawn Guo wrote: > On Wed, Nov 28, 2012 at 10:58:02PM +0800, Shawn Guo wrote: >> On Wed, Nov 28, 2012 at 07:16:12AM -0600, Mark Langsdorf wrote: >>> I'd >>> have to move most of the logic of hb_set_target() into >>> clk_highbank.c:clk_pll_set_rate() and then add extra logic

Re: [PATCH] add hardware I2C support for ARM IMX23

2012-11-28 Thread Wolfram Sang
On Wed, Nov 28, 2012 at 03:24:03PM +0100, sander van ginkel wrote: > The I2C hardware in the IMX233 is currently not supported, > however the i2c-mxs driver seems to be suitable. > To use the i2c-mxs driver it has to be added to the devicetree > for the IMX23. Have you tested it? There have been p

[PATCH] add hardware I2C support for ARM IMX23

2012-11-28 Thread sander van ginkel
The I2C hardware in the IMX233 is currently not supported, however the i2c-mxs driver seems to be suitable. To use the i2c-mxs driver it has to be added to the devicetree for the IMX23. Signed-off-by: Sander van Ginkel --- diff -Naur linux-3.7-rc6/arch/arm/boot/dts/imx23-olinuxino.dts linux-3

Re: [PATCH 1/2] nfsd: make NFSv4 lease time per net

2012-11-28 Thread J. Bruce Fields
On Tue, Nov 27, 2012 at 02:11:44PM +0300, Stanislav Kinsbursky wrote: > diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c > index dab350d..4930981 100644 > --- a/fs/nfsd/nfsctl.c > +++ b/fs/nfsd/nfsctl.c > @@ -912,7 +912,8 @@ static ssize_t nfsd4_write_time(struct file *file, char > *buf, size_t si

Re: [PATCH 2/2] nfsd: make NFSv4 grace time per net

2012-11-28 Thread J. Bruce Fields
On Tue, Nov 27, 2012 at 02:11:49PM +0300, Stanislav Kinsbursky wrote: > diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c > index 4930981..7e41bd1 100644 > --- a/fs/nfsd/nfsctl.c > +++ b/fs/nfsd/nfsctl.c > @@ -928,7 +928,8 @@ static ssize_t write_leasetime(struct file *file, char > *buf, size_t siz

Re: [PATCH 1/2] nfsd: make NFSv4 lease time per net

2012-11-28 Thread Stanislav Kinsbursky
28.11.2012 19:09, J. Bruce Fields пишет: On Tue, Nov 27, 2012 at 02:11:44PM +0300, Stanislav Kinsbursky wrote: diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index dab350d..4930981 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c @@ -912,7 +912,8 @@ static ssize_t nfsd4_write_time(struct f

Re: [PATCH] nfsd: remove redundant declarations

2012-11-28 Thread J. Bruce Fields
On Tue, Nov 27, 2012 at 02:42:20PM +0300, Stanislav Kinsbursky wrote: > This is a cleanup patch. Functions nfsd_pool_stats_open() and > nfsd_pool_stats_release() are declared in fs/nfsd/nfsd.h. OK, applying. --b. > > Signed-off-by: Stanislav Kinsbursky > --- > fs/nfsd/nfsctl.c |3 --- > 1

Re: [FIRMWARE BUG] Lenovo x120e

2012-11-28 Thread Borislav Petkov
On Wed, Nov 28, 2012 at 05:27:45AM -0800, Denis Lotarev wrote: > Im using kernel (Linux initbox 3.6.7-1-ARCH #1 SMP PREEMPT Sun Nov 18 > 10:11:22 CET 2012 x86_64 GNU/Linux) and i see some problems at booting... So > dmesg output with BUG lines: > > $ dmesg |grep Bug > [1.363154] [Firmware Bu

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-28 Thread Lucas Stach
Am Mittwoch, den 28.11.2012, 16:45 +0200 schrieb Terje Bergström: > On 28.11.2012 16:06, Lucas Stach wrote: > > Why do even need/use dma-buf for this use case? This is all one DRM > > device, even if we separate host1x and gr2d as implementation modules. > > I didn't want to implement dependency t

Re: [PATCH 1/2] nfsd: make NFSv4 lease time per net

2012-11-28 Thread J. Bruce Fields
On Wed, Nov 28, 2012 at 07:12:03PM +0400, Stanislav Kinsbursky wrote: > 28.11.2012 19:09, J. Bruce Fields пишет: > >On Tue, Nov 27, 2012 at 02:11:44PM +0300, Stanislav Kinsbursky wrote: > >>diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c > >>index dab350d..4930981 100644 > >>--- a/fs/nfsd/nfsctl.c

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-28 Thread chas williams - CONTRACTOR
On Wed, 28 Nov 2012 10:24:28 + David Woodhouse wrote: > On Wed, 2012-11-28 at 11:04 +0100, Krzysztof Mazur wrote: > > > > The ->close() routine can just abort any pending rx/tx and just wait > > for completion of currently running rx/tx code. That shouldn't take > > long. > > If it's been s

Re: vmalloc_sync_all(), 64bit kernel, patches 9c48f1c629ecfa114850c03f875c6691003214de, a79e53d85683c6dd9f99c90511028adc2043031f

2012-11-28 Thread Don Zickus
On Tue, Nov 27, 2012 at 03:20:11PM -0800, Prasad Koya wrote: > I'm definitely seeing above lockup with 2.6.38.8. In 3.2 and up kernel > nmi_shootdown_cpus() replaced register_die_notifier() with > register_nmi_handler() which doesn't call vmalloc_sync_all. If I patch > my 2.6.38.8 so it behaves as

Re: Wireless regression in workqueue: use mod_delayed_work() instead of __cancel + queue

2012-11-28 Thread Anders Kaseorg
On Wed, 28 Nov 2012, Anders Kaseorg wrote: > My Intel 6250 wireless card (iwldvm) can no longer associate with a > WPA-Enterprise network (PEAP-MSCHAPv2). To my surprise, I bisected this > regression to commit e7c2f967445dd2041f0f8e3179cca22bb8bb7f79, > workqueue: use mod_delayed_work() instead

Re: [PATCH 2/5] Expand the steal time msr to also contain the consigned time.

2012-11-28 Thread Michael Wolf
On 11/27/2012 03:03 PM, Konrad Rzeszutek Wilk wrote: On Mon, Nov 26, 2012 at 02:36:45PM -0600, Michael Wolf wrote: Add a consigned field. This field will hold the time lost due to capping or overcommit. The rest of the time will still show up in the steal-time field. Signed-off-by: Michael Wo

Re: [PATCH v3 04/19] perf, core: Add a concept of a weightened sample

2012-11-28 Thread Jiri Olsa
On Wed, Nov 21, 2012 at 01:49:30PM +0100, Stephane Eranian wrote: > From: Andi Kleen SNIP > index 4f63c05..c52caab 100644 > --- a/include/uapi/linux/perf_event.h > +++ b/include/uapi/linux/perf_event.h > @@ -132,8 +132,10 @@ enum perf_event_sample_format { > PERF_SAMPLE_BRANCH_STACK

Re: "tuntap: multiqueue support" causes udev fork bombs

2012-11-28 Thread David Miller
Please DO NOT quote a huge email, just to give a small reply to the discussion. It is never appropriate. Doing so wastes bandwidth for every single person on the list. Just quote enough context, and in the case you really could have quoted nothing at all and everyone would have understood you.

Re: [PATCH -v2 -mm] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-28 Thread Johannes Weiner
On Tue, Nov 27, 2012 at 09:59:44PM +0100, Michal Hocko wrote: > @@ -3863,7 +3862,7 @@ int mem_cgroup_cache_charge(struct page *page, struct > mm_struct *mm, > return 0; > > if (!PageSwapCache(page)) > - ret = mem_cgroup_charge_common(page, mm, gfp_mask, type); > +

Re: [PATCH v3 04/19] perf, core: Add a concept of a weightened sample

2012-11-28 Thread Andi Kleen
> > @@ -198,8 +200,9 @@ enum perf_event_read_format { > > PERF_FORMAT_TOTAL_TIME_RUNNING = 1U << 1, > > PERF_FORMAT_ID = 1U << 2, > > PERF_FORMAT_GROUP = 1U << 3, > > + PERF_FORMAT_WEIGHT = 1U << 4, > > what

Re: [tpmdd-devel] [PATCH 1/1] TPM: STMicroelectronics ST33 I2C KERNEL 3.x.x

2012-11-28 Thread Kent Yoder
On Wed, Nov 28, 2012 at 2:54 AM, Mathias LEBLANC wrote: > Hi Kent, > > I have been tried the patch on your linux branch and indeed, i have an error > about tpm_continue_seftest. > What is the kernel I should use to test officially my patch? Because i saw a > lot of different version of linux ker

Re: [PATCH 1/2] nfsd: make NFSv4 lease time per net

2012-11-28 Thread Stanislav Kinsbursky
28.11.2012 19:15, J. Bruce Fields пишет: On Wed, Nov 28, 2012 at 07:12:03PM +0400, Stanislav Kinsbursky wrote: 28.11.2012 19:09, J. Bruce Fields пишет: On Tue, Nov 27, 2012 at 02:11:44PM +0300, Stanislav Kinsbursky wrote: diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index dab350d..4930981

Re: [PATCH 25/32] tools, perf: Add a precise event qualifier

2012-11-28 Thread Jiri Olsa
On Fri, Nov 09, 2012 at 05:27:41PM -0800, Andi Kleen wrote: > From: Andi Kleen > > Add a precise qualifier, like cpu/event=0x3c,precise=1/ > > This is needed so that the kernel can request enabling PEBS > for TSX events. The parser bails out on any sysfs parse errors, > so this is needed in any

<    1   2   3   4   5   6   7   8   9   >