[PATCHv3 6/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/rtc/rtc-isl1208.c | 20 1 files

[PATCH] ARM: ux500: Move regulator-name properties out to board DTS files

2012-09-25 Thread Lee Jones
Regulator supply names should be allocated by board rather than per SoC, as the same SoC could be wired differently on varying hardware. Here we push all regulator-name allocation out to the dbx5x0 subordinate board files; HREF and Snowball. Requested-by: Mark Brown

Re: [PATCH 3/3] workqueue: Schedule work on non-idle cpu instead of current one

2012-09-25 Thread Vincent Guittot
On 25 September 2012 13:30, Viresh Kumar viresh.ku...@linaro.org wrote: On 25 September 2012 16:52, Peter Zijlstra pet...@infradead.org wrote: On Tue, 2012-09-25 at 16:06 +0530, Viresh Kumar wrote: @@ -1066,8 +1076,9 @@ int queue_work(struct workqueue_struct *wq, struct work_struct *work) {

[PATCHv3] dw_dmac: autoconfigure data_width or get it via platform data

2012-09-25 Thread Andy Shevchenko
Not all of the controllers support the 64 bit data width. Make it configurable via platform data. The driver will try to get a value from the component parameters, otherwise it will use the platform data. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- Since v2: - sometimes

Re: [PATCH 0/3] A driver for Si476x series of chips

2012-09-25 Thread Mauro Carvalho Chehab
Hi Andrey, Em Qui, 2012-09-13 às 15:40 -0700, Andrey Smirnov escreveu: This patchset contains a driver for a Silicon Laboratories 476x series of radio tuners. The driver itself is implemented as an MFD devices comprised of three parts: 1. Core device that provides all the other devices with

Re: [PATCH v3] media: davinci: vpif: display: separate out subdev from output

2012-09-25 Thread Hans Verkuil
On Tue 25 September 2012 13:11:49 Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com vpif_display relied on a 1-1 mapping of output and subdev. This is not necessarily the case. Separate the two. So there is a list of subdevs and a list of outputs. Each output refers to a subdev and

Re: [PATCH 3/3] workqueue: Schedule work on non-idle cpu instead of current one

2012-09-25 Thread Peter Zijlstra
On Tue, 2012-09-25 at 17:00 +0530, Viresh Kumar wrote: But this is what the initial idea during LPC we had. Yeah.. that's true. Any improvements here you can suggest? We could uhm... /me tries thinking ... reuse some of the NOHZ magic? Would that be sufficient, not waking a NOHZ cpu, or do

Re: Backlight control broken between 3.6.0-rc1 and 3.6.0-rc4

2012-09-25 Thread Dan Carpenter
On Sun, Sep 16, 2012 at 04:25:10AM -0700, Grant wrote: I have a Dell XPS 13 Ultrabook laptop. Backlight control used to be broken, it works in 3.6.0-rc1, and it is broken again in 3.6.0-rc4. I've filed a bug for this. https://bugzilla.kernel.org/show_bug.cgi?id=47941 Please add the

Re: [PATCH 1/1] perf, Add support for Xeon-Phi PMU

2012-09-25 Thread Cyrill Gorcunov
On Tue, Sep 25, 2012 at 01:32:38PM +0200, Peter Zijlstra wrote: On Thu, 2012-09-20 at 13:03 -0400, Vince Weaver wrote: One additional complication: some of the cache events map to event 0. This causes problems because the generic events code assumes 0 means not-available. I'm not sure

Re: [PATCH] media: davinci: vpif: set device capabilities

2012-09-25 Thread Hans Verkuil
On Tue 25 September 2012 13:16:24 Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/davinci/vpif_capture.c |

Re: [PATCH] Update sched_domains_numa_masks when new cpus are onlined.

2012-09-25 Thread Tang Chen
Hi Peter~ Sorry about the confusing log, and thanks for the patient. :) Here, I want to say something more about the sched_domains_numa_levels to make myself more clear. :) Let's have an example here. sched_init_numa() { ... // A loop set sched_domains_numa_levels to

Re: [PATCH 3/4] lib: vsprintf: Optimize put_dec_trunc8

2012-09-25 Thread George Spelvin
Thanks to Denys Vlasenko for sending me his benchmarking code. I went and hacked on it to ransomize the numbers being converted more, since repeatedly converting the same number underestimates the number of branch mispredictions. Then I tried computing the number of digits beforehand, as

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

2012-09-25 Thread Rafael J. Wysocki
On Tuesday, September 25, 2012, Stephen Rothwell wrote: Hi Rafael, After merging the pm tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/cpufreq/powernow-k8.c: In function 'transition_frequency_pstate': drivers/cpufreq/powernow-k8.c:991:19: error:

Re: [PATCH 3/3] workqueue: Schedule work on non-idle cpu instead of current one

2012-09-25 Thread Peter Zijlstra
On Tue, 2012-09-25 at 13:40 +0200, Peter Zijlstra wrote: On Tue, 2012-09-25 at 17:00 +0530, Viresh Kumar wrote: But this is what the initial idea during LPC we had. Yeah.. that's true. Any improvements here you can suggest? We could uhm... /me tries thinking ... reuse some of the

Re: [PATCH] media: davinci: vpif: set device capabilities

2012-09-25 Thread Prabhakar Lad
Hi Hans, Thanks for the review. On Tue, Sep 25, 2012 at 5:13 PM, Hans Verkuil hansv...@cisco.com wrote: On Tue 25 September 2012 13:16:24 Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli

Re: [PATCH] media: davinci: vpif: set device capabilities

2012-09-25 Thread Laurent Pinchart
Hi Hans, On Tuesday 25 September 2012 13:43:36 Hans Verkuil wrote: On Tue 25 September 2012 13:16:24 Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Hans Verkuil

Re: [PATCH] Update sched_domains_numa_masks when new cpus are onlined.

2012-09-25 Thread Peter Zijlstra
On Tue, 2012-09-25 at 19:45 +0800, Tang Chen wrote: Let's have an example here. sched_init_numa() { ... // A loop set sched_domains_numa_levels to level.-1 // I set sched_domains_numa_levels to 0. sched_domains_numa_levels =

Re: [PATCH 1/1] perf, Add support for Xeon-Phi PMU

2012-09-25 Thread Cyrill Gorcunov
On Tue, Sep 25, 2012 at 03:42:25PM +0400, Cyrill Gorcunov wrote: On Tue, Sep 25, 2012 at 01:32:38PM +0200, Peter Zijlstra wrote: On Thu, 2012-09-20 at 13:03 -0400, Vince Weaver wrote: One additional complication: some of the cache events map to event 0. This causes problems because the

Re: [PATCH] media: davinci: vpif: set device capabilities

2012-09-25 Thread Hans Verkuil
On Tue 25 September 2012 13:49:16 Laurent Pinchart wrote: Hi Hans, On Tuesday 25 September 2012 13:43:36 Hans Verkuil wrote: On Tue 25 September 2012 13:16:24 Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com

Re: [Drbd-dev] [PATCH v3 06/26] block: Add bio_end_sector()

2012-09-25 Thread Lars Ellenberg
On Mon, Sep 24, 2012 at 03:34:46PM -0700, Kent Overstreet wrote: Just a little convenience macro - main reason to add it now is preparing for immutable bio vecs, it'll reduce the size of the patch that puts bi_sector/bi_size/bi_idx into a struct bvec_iter. For the DRBD part: diff --git

Re: [PATCH] perf test: Fix build failure

2012-09-25 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@ghostprotocols.net wrote: Em Tue, Sep 25, 2012 at 11:20:28AM +0900, Namhyung Kim escreveu: From: Namhyung Kim namhyung@lge.com The commit 6a6cd11d4e57 (perf test: Add test for the sched tracepoint format fields) added following build error: CC

Re: [PATCH 5/6] ARM: dove: Remove watchdog from DT

2012-09-25 Thread Rtp
Arnd Bergmann a...@arndb.de writes: Hi, On Tuesday 25 September 2012, Andrew Lunn wrote: On Tue, Sep 25, 2012 at 12:14:39PM +0200, Thomas Petazzoni wrote: On Tue, 25 Sep 2012 11:46:10 +0200, Andrew Lunn wrote: I principle, i agree. However, i'm not too sure about mach-orion5x

Re: [BUG] perf/x86: Intel uncore_pmu_to_box() local variable typo

2012-09-25 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Tue, 2012-09-25 at 12:44 +0200, Stephane Eranian wrote: Hi, I don't understand why the local variable box needs to be declared static here: static struct intel_uncore_box * uncore_pmu_to_box(struct intel_uncore_pmu *pmu, int cpu)

[PATCH] drbd: use copy_highpage

2012-09-25 Thread Akinobu Mita
Use copy_highpage() to copy from one page to another. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: drbd-...@lists.linbit.com --- drivers/block/drbd/drbd_bitmap.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/block/drbd/drbd_bitmap.c

[PATCH] gpu/drm/ttm: use copy_highpage

2012-09-25 Thread Akinobu Mita
Use copy_highpage() to copy from one page to another. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: David Airlie airl...@linux.ie Cc: dri-de...@lists.freedesktop.org --- drivers/gpu/drm/ttm/ttm_tt.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-25 Thread Peter Zijlstra
On Mon, 2012-09-24 at 19:11 -0700, Linus Torvalds wrote: In the not-so-distant past, we had the intel Dunnington Xeon, which was iirc basically three Core 2 duo's bolted together (ie three clusters of two cores sharing L2, and a fully shared L3). So that was a true multi-core with fairly big

Re: [PATCH] Revert __d_unalias() should refuse to move mountpoints

2012-09-25 Thread Maarten Lankhorst
Op 25-09-12 13:29, Eric W. Biederman schreef: Maarten Lankhorst maarten.lankho...@canonical.com writes: Could you try the following patch? This should report what directories cannot be renamed because one of them is a mount point and it gives some real insight into what is going on. ls /

Re: RCU idle CPU detection is broken in linux-next

2012-09-25 Thread Frederic Weisbecker
On Mon, Sep 24, 2012 at 09:04:20PM -0700, Paul E. McKenney wrote: On Tue, Sep 25, 2012 at 01:41:18AM +0200, Frederic Weisbecker wrote: [ 168.703017] [ cut here ] [ 168.708117] WARNING: at kernel/rcutree.c:502 rcu_eqs_exit_common+0x4a/0x3a0() [

Re: [PATCH] Update sched_domains_numa_masks when new cpus are onlined.

2012-09-25 Thread Tang Chen
Hi Peter~ I will make a v2 patch-set following your comments and resent it soon. :) Thanks. :) On 09/25/2012 07:50 PM, Peter Zijlstra wrote: On Tue, 2012-09-25 at 19:45 +0800, Tang Chen wrote: Let's have an example here. sched_init_numa() { ... // A loop set

Re: [PATCH 1/1] perf, Add support for Xeon-Phi PMU

2012-09-25 Thread Peter Zijlstra
On Tue, 2012-09-25 at 15:42 +0400, Cyrill Gorcunov wrote: Guys, letme re-read this whole mail thread first since I have no clue what this remapping about ;) x86_setup_perfctr() / set_ext_hw_attr() have special purposed 0 and -1 config values to mean -ENOENT and -EINVAL resp. This means

Re: [PATCH 1/1] perf, Add support for Xeon-Phi PMU

2012-09-25 Thread stephane eranian
On Tue, Sep 25, 2012 at 2:01 PM, Peter Zijlstra a.p.zijls...@chello.nl wrote: On Tue, 2012-09-25 at 15:42 +0400, Cyrill Gorcunov wrote: Guys, letme re-read this whole mail thread first since I have no clue what this remapping about ;) x86_setup_perfctr() / set_ext_hw_attr() have special

Re: RCU idle CPU detection is broken in linux-next

2012-09-25 Thread Frederic Weisbecker
On Tue, Sep 25, 2012 at 01:10:27AM +0200, Sasha Levin wrote: On 09/25/2012 01:06 AM, Frederic Weisbecker wrote: 2012/9/25 Sasha Levin levinsasha...@gmail.com: On 09/25/2012 12:47 AM, Sasha Levin wrote: - While I no longer see the warnings I've originally noticed, if I run with Paul's

[PATCH] GPIO: gpio-pxa: fix bug when get gpio value

2012-09-25 Thread Neil Zhang
We need to return 0 or 1 when get gpio value. Signed-off-by: Neil Zhang zhan...@marvell.com --- drivers/gpio/gpio-pxa.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c index 9cac88a..1f9a058 100644 ---

[PATCH] aic94xx: fix handling of default CTRL-A settings

2012-09-25 Thread Paul Bolle
Compiling aic94xx_sds.o (part of the aic94xx driver) triggers this GCC warning: drivers/scsi/aic94xx/aic94xx_sds.c: In function 'asd_read_flash': drivers/scsi/aic94xx/aic94xx_sds.c:597:21: warning: 'offs' may be used uninitialized in this function [-Wmaybe-uninitialized]

[PATCH] prctl: Use access_ok instead of TASK_SIZE in prctl_set_mm

2012-09-25 Thread Cyrill Gorcunov
Eric pointed that better to use access_ok instead of TASK_SIZE for testing if address is allowed for use. Reported-by: Eric W. Biederman ebied...@xmission.com Signed-off-by: Cyrill Gorcunov gorcu...@openvz.org CC: Mark Salter msal...@redhat.com CC: Kees Cook keesc...@chromium.org CC: Andrew

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-25 Thread Hillf Danton
On Tue, Sep 25, 2012 at 12:54 AM, Peter Zijlstra a.p.zijls...@chello.nl wrote: On Mon, 2012-09-24 at 09:33 -0700, Linus Torvalds wrote: Sure, the scan bits bitops will return = nr_cpu_ids for the I couldn't find a bit thing, but that doesn't mean that everything else should. Fair enough..

[PATCHv1 0/6] dw_dmac: split the driver and introduce PCI part

2012-09-25 Thread Andy Shevchenko
This patchset is dedicated to support different platform devices via the same core driver. In our case the dw_dmac could be used as a PCI device, regular embedded device or something else. This split allows to support the controller connected to any bus by adding a little piece of code without

[PATCHv1 3/6] dmaengine: dw_dmac: Add PCI part of the driver

2012-09-25 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com This is the PCI part of the DesignWare DMAC driver. The controller is usually used in the Intel hardware such as Medfield. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko

[PATCHv1 2/6] dmaengine: dw_dmac: add driver for Atmel AT32

2012-09-25 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com This driver should be usable on all platforms that depend on clk API. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/Kconfig|9 +++

[PATCHv1 5/6] MAINTAINERS: fix indentation for Viresh Kumar

2012-09-25 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: Viresh Kumar viresh.li...@gmail.com --- MAINTAINERS | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8fa0255..479a655 100644 --- a/MAINTAINERS +++

[PATCHv1 6/6] MAINTAINERS: add recently created files to dw_dmac section

2012-09-25 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- MAINTAINERS |3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 479a655..1a169f6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6007,10 +6007,13 @@ F: drivers/tty/serial SYNOPSYS

Re: [PATCHv3 0/7] rtc: convert to c99 format

2012-09-25 Thread Felipe Balbi
Hi, On Tue, Sep 25, 2012 at 05:01:59PM +0530, Shubhrajyoti D wrote: The series tries to convert the i2c_msg to c99 struct. This may avoid issues like below if someone tries to add a structure. http://www.mail-archive.com/linux-i2c@vger.kernel.org/msg08972.html Special thanks to Julia

[PATCHv1 4/6] avr32: at32ap700x: rename DMA controller

2012-09-25 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com There are no functional changes. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- arch/avr32/mach-at32ap/at32ap700x.c | 20 ++-- 1 file

[PATCHv1 1/6] dmaengine: dw_dmac: Remove clk API dependency

2012-09-25 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com Not all platforms support clk API. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/Kconfig|1 - drivers/dma/dw_dmac.c | 18

Re: [PATCH 0/1] dm-integrity: integrity protection device-mapper target

2012-09-25 Thread Milan Broz
On 09/24/2012 06:20 PM, Kasatkin, Dmitry wrote: So it can provide confidentiality but it CANNOT provide integrity protection. Yes, it provides confidentiality and via encryption it provides certain level of integrity protection. Data cannot be modified without being detected. Decryption

Re: [PATCH 1/1] perf, Add support for Xeon-Phi PMU

2012-09-25 Thread Cyrill Gorcunov
On Tue, Sep 25, 2012 at 02:05:58PM +0200, stephane eranian wrote: On Tue, Sep 25, 2012 at 2:01 PM, Peter Zijlstra a.p.zijls...@chello.nl wrote: On Tue, 2012-09-25 at 15:42 +0400, Cyrill Gorcunov wrote: Guys, letme re-read this whole mail thread first since I have no clue what this

Re: [PATCH 1/1] perf, Add support for Xeon-Phi PMU

2012-09-25 Thread Cyrill Gorcunov
On Tue, Sep 25, 2012 at 04:22:29PM +0400, Cyrill Gorcunov wrote: On Tue, Sep 25, 2012 at 02:05:58PM +0200, stephane eranian wrote: On Tue, Sep 25, 2012 at 2:01 PM, Peter Zijlstra a.p.zijls...@chello.nl wrote: On Tue, 2012-09-25 at 15:42 +0400, Cyrill Gorcunov wrote: Guys, letme

[PATCH] tools lib traceevent: Fix error path on pevent_parse_event

2012-09-25 Thread Namhyung Kim
If __pevent_parse_format() succeeded but add_event() failed, 'ret' didn't have a proper error code. Set it to PEVENT_ERRNO__MEM_ALLOC_FAILED. In addition, at that point 'event' also has fields and format information and they all need to be freed. Call pevent_free_format() to handle it.

Re: [PATCH 5/6] ARM: dove: Remove watchdog from DT

2012-09-25 Thread Arnd Bergmann
On Tuesday 25 September 2012, Arnaud Patard wrote: Arnd Bergmann a...@arndb.de writes: The next step would be to label mach-orion5x as deprecated in Kconfig for a release and change the help text so it tells people to move to mach-mvebu and submit dts files. You seem to imply that

Re: [RFT/PATCH] serial: omap: prevent resume if device is not suspended.

2012-09-25 Thread Jassi Brar
On 19 September 2012 17:29, Felipe Balbi ba...@ti.com wrote: this is what I mean, actually. If we remove pm_runtime_get_sync() in exchange for pm_runtime_set_active() before pm_runtime_enable(), it works on PandaBoard, but breaks BeagleBoard. Perhaps it suggests that OMAP4 (PandaBoard) serial

Re: [PATCH 5/6] ARM: dove: Remove watchdog from DT

2012-09-25 Thread Arnd Bergmann
On Tuesday 25 September 2012, Arnd Bergmann wrote: On Tuesday 25 September 2012, Andrew Lunn wrote: Regarding mv78xx0, I agree that I'm not sure what to do. The number of supported platforms is small. Should we simply mark mv78xx0 deprecated now, wait a few release cycles to see if

[PATCH] UV: fix incorrect tlb flush all issue

2012-09-25 Thread Cliff Wickman
From: Cliff Wickman c...@sgi.com (this was sent as an ack on 9/13, but with incorrect title and sign-off) Ack. But with the adjustment below. The 'end' argument was not declared long. I tested the patch on a UV. It has the effect of either clearing 1 or all TLBs in a cpu. I added some

Re: [PATCH 0/4] deprecate regulator-compatible DT property

2012-09-25 Thread Mark Brown
On Mon, Sep 24, 2012 at 01:24:59PM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com As explained in patch 1, this series deprecates the regulator-compatible DT property, and updates various binding documentation and examples for this change. Applied regulator patches,

Re: [PATCH 1/3] DMA: PL330: Free memory allocated for peripheral channels

2012-09-25 Thread Jassi Brar
On Tue, Sep 25, 2012 at 2:27 PM, Inderpal Singh inderpal.si...@linaro.org wrote: The allocated memory for peripheral channels is not being freed upon failure in probe and in module's remove funtion. It will lead to memory leakage. Hence free the allocated memory. Signed-off-by: Inderpal Singh

Re: [PATCH] block: export trace_block_unplug

2012-09-25 Thread Jens Axboe
On 09/25/2012 01:57 AM, NeilBrown wrote: Hi Jens, is there any chance this can be in the next merge window? I'm adding block tracing to md and found I need another export. No problem, applied. -- Jens Axboe -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

[PATCH] x86: Unspaghettize do_trap()

2012-09-25 Thread Frederic Weisbecker
Cleanup the label maze in this function. Having a seperate function to first handle the traps that don't generate a signal makes it easier to convert into more readable conditional paths. Signed-off-by: Frederic Weisbecker fweis...@gmail.com Cc: Thomas Gleixner t...@linutronix.de Cc: Ingo Molnar

Re: [PATCH] block: makes bio_split support bio without data

2012-09-25 Thread Jens Axboe
On 09/24/2012 06:56 AM, NeilBrown wrote: Hi Jens, this patch has been sitting in my -next tree for a little while and I was hoping for it to go in for the next merge window. It simply allows bio_split() to be used on bios without a payload, such as 'discard'. Are you happy with it

Re: [PATCH] v4l: change path of video drivers

2012-09-25 Thread Laurent Pinchart
Hi Prabhakar, Thanks for the patch. On Friday 14 September 2012 14:47:52 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com due to structure change for video drivers, change the description with correct path. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by:

[PATCH] staging/gdm72xx: coding style fixes gdm_qos.c

2012-09-25 Thread Alexey Khoroshilov
Fix checkpatch.pl warnings: WARNING: Prefer pr_debug(... to printk(KERN_DEBUG, ... WARNING: Prefer pr_warn(... to printk(KERN_WARNING, ... WARNING: Prefer pr_err(... to printk(KERN_ERR, ... Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru --- drivers/staging/gdm72xx/gdm_qos.c |6

[PATCH] staging: sbe-2t3e3: fix error handling in t3e3_init_channel()

2012-09-25 Thread Alexey Khoroshilov
t3e3_init_channel() incorrectly handles errors in several places: it returns zero and does not deallocate all required resources. The patch fixes that places. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru ---

Re: [PATCH v3 1/9] perf hists: Move hists_init() from util/evsel.c to util/hist.c

2012-09-25 Thread Namhyung Kim
2012-09-25 (화), 08:05 -0300, Arnaldo Carvalho de Melo: Em Tue, Sep 25, 2012 at 10:25:13AM +0900, Namhyung Kim escreveu: On Mon, 24 Sep 2012 13:02:39 -0300, Arnaldo Carvalho de Melo wrote: Em Mon, Sep 24, 2012 at 11:24:03PM +0800, Feng Tang escreveu: Which looks more natural It is

[PATCH] media: mt9p031/mt9t001/mt9v032: use V4L2_CID_TEST_PATTERN for test pattern control

2012-09-25 Thread Prabhakar
From: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/i2c/mt9p031.c | 27 drivers/media/i2c/mt9t001.c | 33 +++---

Re: [PATCH 3/4] lib: vsprintf: Optimize put_dec_trunc8

2012-09-25 Thread Denys Vlasenko
On Tue, Sep 25, 2012 at 1:44 PM, George Spelvin li...@horizon.com wrote: Thanks to Denys Vlasenko for sending me his benchmarking code. I went and hacked on it to ransomize the numbers being converted more, since repeatedly converting the same number underestimates the number of branch

Re: [PATCH 12/19] x86, irq: Add data structure to keep AMD specific irq remapping information

2012-09-25 Thread Joerg Roedel
On Sun, Aug 26, 2012 at 08:21:26PM +0200, Sebastian Andrzej Siewior wrote: On Mon, Aug 20, 2012 at 03:55:58PM +0200, Joerg Roedel wrote: --- a/arch/x86/include/asm/hw_irq.h +++ b/arch/x86/include/asm/hw_irq.h @@ -101,6 +101,7 @@ static inline void set_io_apic_irq_attr(struct

Re: RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

2012-09-25 Thread Thanasis
on 09/25/2012 12:54 PM Francois Romieu wrote the following: Thanasis thana...@asyr.hopto.org : [...] I don't know what's wrong, but I am getting those errors. Are you sure about the git tree? Yes. Replace 'git rev-list --all' with 'git rev-list --branches'. It should show something like:

[PATCH V3 07/10] Secure boot: Add a dummy kernel parameter that will switch on Secure Boot mode

2012-09-25 Thread Josh Boyer
This forcibly drops CAP_COMPROMISE_KERNEL from both cap_permitted and cap_bset in the init_cred struct, which everything else inherits from. This works on any machine and can be used to develop even if the box doesn't have UEFI. Signed-off-by: Josh Boyer jwbo...@redhat.com ---

Re: [PATCH v2 3/4] perf annotate: configure objdump path at compile time

2012-09-25 Thread Namhyung Kim
Hi Irina, 2012-09-23 (일), 22:27 +0300, Irina Tirdea: From: Irina Tirdea irina.tir...@intel.com The default name for objdump is objdump. For cross-compiling the name of objdump will be different (e.g. arm-eabi-objdump in Android). Set the default objdump name in the Makefile with

Re: [PATCH 2/3] DMA: PL330: Change allocation method to properly free DMA descriptors

2012-09-25 Thread Jassi Brar
On Tue, Sep 25, 2012 at 2:27 PM, Inderpal Singh inderpal.si...@linaro.org wrote: In probe, memory for multiple DMA descriptors were being allocated at once and then it was being split and added into DMA pool one by one. The address of this memory allocation is not being saved anywhere. To free

[PATCH v2 1/2] Ensure sched_domains_numa_levels safe in other functions.

2012-09-25 Thread Tang Chen
We should temporarily reset sched_domains_numa_levels to 0 after it is reset to 'level' in sched_init_numa(). If it fails to allocate memory for array sched_domains_numa_masks[][], the array will contain less then 'level' members. This could be dangerous when we use it to iterate array

Re: [PATCH 10/19] x86, io_apic: Introduce function pointer for setup_timer_IRQ0_pin

2012-09-25 Thread Joerg Roedel
On Sun, Aug 26, 2012 at 08:16:03PM +0200, Sebastian Andrzej Siewior wrote: On Mon, Aug 20, 2012 at 03:55:56PM +0200, Joerg Roedel wrote: diff --git a/drivers/iommu/irq_remapping.c b/drivers/iommu/irq_remapping.c index 827f8a1..71824fc 100644 --- a/drivers/iommu/irq_remapping.c +++

Re: [PATCH 3/3] DMA: PL330: Balance module remove function with probe

2012-09-25 Thread Jassi Brar
On Tue, Sep 25, 2012 at 2:27 PM, Inderpal Singh inderpal.si...@linaro.org wrote: Since peripheral channel resources are not being allocated at probe, no need to flush the channels and free the resources in remove function. Signed-off-by: Inderpal Singh inderpal.si...@linaro.org ---

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-25 Thread Borislav Petkov
On Tue, Sep 25, 2012 at 01:58:06PM +0200, Peter Zijlstra wrote: On Mon, 2012-09-24 at 19:11 -0700, Linus Torvalds wrote: In the not-so-distant past, we had the intel Dunnington Xeon, which was iirc basically three Core 2 duo's bolted together (ie three clusters of two cores sharing L2, and

Re: [PATCHv1 6/6] MAINTAINERS: add recently created files to dw_dmac section

2012-09-25 Thread Joe Perches
On Tue, 2012-09-25 at 15:13 +0300, Andy Shevchenko wrote: Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com You also added yourself as a maintainer. Congrats/sympathies, etc... diff --git a/MAINTAINERS b/MAINTAINERS [] @@ -6007,10 +6007,13 @@ F:drivers/tty/serial

Re: [PATCH 4/4] mfd: max8907: remove regulator-compatible from DT docs

2012-09-25 Thread Samuel Ortiz
Hi Stephen, On Mon, Sep 24, 2012 at 01:25:03PM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Commit regulator: deprecate regulator-compatible DT property deprecated the use of the regulator-compatible DT property. Update the DT example in the MAX8907 binding

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-25 Thread Mel Gorman
On Mon, Sep 24, 2012 at 07:44:17PM +0200, Peter Zijlstra wrote: On Mon, 2012-09-24 at 18:54 +0200, Peter Zijlstra wrote: But let me try and come up with the list thing, I think we've actually got that someplace as well. OK, I'm sure the below can be written better, but my brain is gone

[PATCH 2/2] PNP: Unbind drivers if the new driver matches _HID rather than _CID

2012-09-25 Thread Matthew Garrett
ACPIPNP devices may have two levels of ID - the HID (a single string defining the hardware) and the CIDs (zero or more strings defining interfaces compatible with the hardware). If a driver matching a CID is bound first, it will be impossible to bind a driver that matches the HID despite it being

[PATCH 1/2] PNP: Add a release method to system resource driver

2012-09-25 Thread Matthew Garrett
This could conceivably be hotpluggable, and we may want to displace it from devices under certain circustances, so add a release method to hand back the resources. Signed-off-by: Matthew Garrett m...@redhat.com --- drivers/pnp/system.c | 30 ++ 1 file changed, 26

Re: [PATCH] media: davinci: vpif: set device capabilities

2012-09-25 Thread Prabhakar Lad
Hi Hans/Laurent On Tue, Sep 25, 2012 at 5:24 PM, Hans Verkuil hansv...@cisco.com wrote: On Tue 25 September 2012 13:49:16 Laurent Pinchart wrote: Hi Hans, On Tuesday 25 September 2012 13:43:36 Hans Verkuil wrote: On Tue 25 September 2012 13:16:24 Prabhakar wrote: From: Lad, Prabhakar

Re: [PATCH 1/1] perf, Add support for Xeon-Phi PMU

2012-09-25 Thread Cyrill Gorcunov
On Tue, Sep 25, 2012 at 02:01:26PM +0200, Peter Zijlstra wrote: On Tue, 2012-09-25 at 15:42 +0400, Cyrill Gorcunov wrote: Guys, letme re-read this whole mail thread first since I have no clue what this remapping about ;) x86_setup_perfctr() / set_ext_hw_attr() have special purposed 0 and

Re: [PATCH 15/19] x86, irq: Move irq_remapped() check into free_remapped_irq

2012-09-25 Thread Joerg Roedel
On Sun, Aug 26, 2012 at 08:27:55PM +0200, Sebastian Andrzej Siewior wrote: On Mon, Aug 20, 2012 at 03:56:01PM +0200, Joerg Roedel wrote: --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c @@ -2981,8 +2981,8 @@ void destroy_irq(unsigned int irq)

Re: [PATCH] staging/gdm72xx: coding style fixes gdm_qos.c

2012-09-25 Thread Dan Carpenter
On Tue, Sep 25, 2012 at 04:53:52PM +0400, Alexey Khoroshilov wrote: Fix checkpatch.pl warnings: WARNING: Prefer pr_debug(... to printk(KERN_DEBUG, ... WARNING: Prefer pr_warn(... to printk(KERN_WARNING, ... WARNING: Prefer pr_err(... to printk(KERN_ERR, ... Better to just replace the

perf tools regression testing was Re: [PATCH v3 1/9] perf hists: Move hists_init() from util/evsel.c to util/hist.c

2012-09-25 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 25, 2012 at 09:59:02PM +0900, Namhyung Kim escreveu: 2012-09-25 (화), 08:05 -0300, Arnaldo Carvalho de Melo: Em Tue, Sep 25, 2012 at 10:25:13AM +0900, Namhyung Kim escreveu: On Mon, 24 Sep 2012 13:02:39 -0300, Arnaldo Carvalho de Melo wrote: Em Mon, Sep 24, 2012 at 11:24:03PM

Re: [PATCHv1 6/6] MAINTAINERS: add recently created files to dw_dmac section

2012-09-25 Thread Andy Shevchenko
On Tue, 2012-09-25 at 06:19 -0700, Joe Perches wrote: On Tue, 2012-09-25 at 15:13 +0300, Andy Shevchenko wrote: Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com You also added yourself as a maintainer. Congrats/sympathies, etc... Actually I prefer to be just a supporter,

Re: [PATCH] staging: sbe-2t3e3: fix error handling in t3e3_init_channel()

2012-09-25 Thread Dan Carpenter
On Tue, Sep 25, 2012 at 04:56:02PM +0400, Alexey Khoroshilov wrote: t3e3_init_channel() incorrectly handles errors in several places: it returns zero and does not deallocate all required resources. The patch fixes that places. Found by Linux Driver Verification project (linuxtesting.org).

Re: [RFC PATCH] x86-32: Start out eflags and cr4 clean

2012-09-25 Thread Konrad Rzeszutek Wilk
On Mon, Sep 24, 2012 at 04:27:19PM -0700, H. Peter Anvin wrote: From: H. Peter Anvin h...@linux.intel.com %cr4 is supposed to reflect a set of features into which the operating system is opting in. If the BIOS or bootloader leaks bits here, this is not desirable. Consider a bootloader

Re: XHCI Bug discovered in 3.6-RC6 (solution included)

2012-09-25 Thread Greg KH
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Tue, Sep 25, 2012 at 03:12:33PM +0530, Vivek Gautam wrote: Hi I have posted the required patch for this: usb: host: xhci: Fix Null pointer dereferencing with 71c731a for non-x86 systems You

Re: [PATCH 16/19] x86, irq: Introduce setup_remapped_irq()

2012-09-25 Thread Joerg Roedel
On Sun, Aug 26, 2012 at 08:30:30PM +0200, Sebastian Andrzej Siewior wrote: On Mon, Aug 20, 2012 at 03:56:02PM +0200, Joerg Roedel wrote: --- a/arch/x86/include/asm/irq_remapping.h +++ b/arch/x86/include/asm/irq_remapping.h @@ -44,6 +44,9 @@ extern void compose_remapped_msi_msg(struct

Re: [PATCH RFC 0/2] kvm: Improving undercommit,overcommit scenarios in PLE handler

2012-09-25 Thread Raghavendra K T
On 09/24/2012 07:46 PM, Raghavendra K T wrote: On 09/24/2012 07:24 PM, Peter Zijlstra wrote: On Mon, 2012-09-24 at 18:59 +0530, Raghavendra K T wrote: However Rik had a genuine concern in the cases where runqueue is not equally distributed and lockholder might actually be on a different run

USB tree closed for 3.7

2012-09-25 Thread Greg KH
Hi all, If you haven't sent me any pending patches for 3.7, it's a bit too late as I've now closed the usb-next tree for any new stuff for 3.7, unless it's bug fixes. If you have sent me stuff and I've missed it, please let me know as I think my queue is now empty. thanks, greg k-h -- To

[PATCHv6 0/3] virtio_console: Add rproc_serial device

2012-09-25 Thread sjur . brandeland
From: Sjur Brændeland sjur.brandel...@stericsson.com I thought rebasing rproc_serial to linux-next was going to be trivial. But when starting the merge I realized that I had to refactor the the patches from Masami Hiramatsu. The splice support has the same issue as I faced, with different type

[PATCH 1/3] virtio_console:Merge struct buffer_token into struct port_buffer

2012-09-25 Thread sjur . brandeland
From: Sjur Brændeland sjur.brandel...@stericsson.com This merge reduces code size by unifying the approach for sending scatter-lists and regular buffers. Any type of write operation (splice, write, put_chars) will now allocate a port_buffer and send_buf() and free_buf() can always be used.

[PATCHv5 2/3] virtio_console: Add support for remoteproc serial

2012-09-25 Thread sjur . brandeland
From: Sjur Brændeland sjur.brandel...@stericsson.com Add a simple serial connection driver called VIRTIO_ID_RPROC_SERIAL (11) for communicating with a remote processor in an asymmetric multi-processing configuration. This implementation reuses the existing virtio_console implementation, and adds

[PATCH 3/3] virtio_console: Don't initialize buffers to zero

2012-09-25 Thread sjur . brandeland
From: Sjur Brændeland sjur.brandel...@stericsson.com Skip initializing the receive buffers. Signed-off-by: Sjur Brændeland sjur.brandel...@stericsson.com --- drivers/char/virtio_console.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/char/virtio_console.c

Re: perf tools regression testing was Re: [PATCH v3 1/9] perf hists: Move hists_init() from util/evsel.c to util/hist.c

2012-09-25 Thread Namhyung Kim
2012-09-25 (화), 10:30 -0300, Arnaldo Carvalho de Melo: Em Tue, Sep 25, 2012 at 09:59:02PM +0900, Namhyung Kim escreveu: Now I'm thinking of making it build-time test so that it can be executed by make when specific argument is given - e.g. make C=1 ? I think there is room for a 'make -C

Re: [RFC PATCH] x86-32: Start out eflags and cr4 clean

2012-09-25 Thread Ian Campbell
On Tue, 2012-09-25 at 00:27 +0100, H. Peter Anvin wrote: From: H. Peter Anvin h...@linux.intel.com %cr4 is supposed to reflect a set of features into which the operating system is opting in. If the BIOS or bootloader leaks bits here, this is not desirable. Consider a bootloader passing in

Re: [PATCH] media: davinci: vpif: set device capabilities

2012-09-25 Thread Hans Verkuil
On Tue 25 September 2012 15:26:11 Prabhakar Lad wrote: Hi Hans/Laurent On Tue, Sep 25, 2012 at 5:24 PM, Hans Verkuil hansv...@cisco.com wrote: On Tue 25 September 2012 13:49:16 Laurent Pinchart wrote: Hi Hans, On Tuesday 25 September 2012 13:43:36 Hans Verkuil wrote: On Tue 25

Re: [PATCH] media: davinci: vpif: set device capabilities

2012-09-25 Thread Laurent Pinchart
On Tuesday 25 September 2012 15:48:10 Hans Verkuil wrote: On Tue 25 September 2012 15:26:11 Prabhakar Lad wrote: On Tue, Sep 25, 2012 at 5:24 PM, Hans Verkuil hansv...@cisco.com wrote: On Tue 25 September 2012 13:49:16 Laurent Pinchart wrote: Hi Hans, On Tuesday 25 September 2012

Re: possible recursive locking in numasched code

2012-09-25 Thread Oleg Nesterov
On 09/25, Srikar Dronamraju wrote: == [ INFO: possible circular locking dependency detected ] 3.6.0-rc1-numasched_v2_100912+ #2 Not tainted --- - #0 (p-pi_lock){-.-.-.}:

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-09-25 Thread Raghavendra K T
On 09/25/2012 02:24 PM, Avi Kivity wrote: On 09/25/2012 10:09 AM, Raghavendra K T wrote: On 09/24/2012 09:36 PM, Avi Kivity wrote: On 09/24/2012 05:41 PM, Avi Kivity wrote: case 2) rq1 : vcpu1-wait(lockA) (spinning) rq2 : vcpu3 (running) , vcpu2-holding(lockA) [scheduled out] I agree

Re: [PATCH] media: davinci: vpif: set device capabilities

2012-09-25 Thread Prabhakar Lad
On Tue, Sep 25, 2012 at 7:20 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: On Tuesday 25 September 2012 15:48:10 Hans Verkuil wrote: On Tue 25 September 2012 15:26:11 Prabhakar Lad wrote: On Tue, Sep 25, 2012 at 5:24 PM, Hans Verkuil hansv...@cisco.com wrote: On Tue 25

<    5   6   7   8   9   10   11   12   13   14   >