Re: [RFC PATCH 07/10] ARM: sched: Setup SCHED_HMP domains

2012-10-03 Thread Viresh Kumar
On 22 September 2012 00:02, wrote: > diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c > +void __init arch_get_hmp_domains(struct list_head *hmp_domains_list) > +{ > + struct cpumask hmp_fast_cpu_mask; > + struct cpumask hmp_slow_cpu_mask; can be merged to single

Re: [RFC PATCH 02/10] sched: Task placement for heterogeneous systems based on task load-tracking

2012-10-03 Thread Amit Kucheria
On Thu, Oct 4, 2012 at 11:32 AM, Viresh Kumar wrote: > Hi Morten, > > On 22 September 2012 00:02, wrote: >> From: Morten Rasmussen >> >> This patch introduces the basic SCHED_HMP infrastructure. Each class of >> cpus is represented by a hmp_domain and tasks will only be moved between >> these d

Re: [git pull] drm merge for rc1 (part 1)

2012-10-03 Thread Linus Torvalds
On Wed, Oct 3, 2012 at 9:08 PM, Dave Airlie wrote: > > So this pull is for my drm-next-merged branch which is my drm-next branch > merged with your tree, and some fixups applied to the merge. Ok, as usual I actually wanted to do the merge myself despite the annoying conflicts (this *really* is th

Re: [PATCH] Input: Add new driver into Input Subsystem for Synaptics DS4 touchscreen I2C devices

2012-10-03 Thread Dmitry Torokhov
Hi Alexandra, On Thu, Oct 04, 2012 at 05:52:45AM +, Alexandra Chin wrote: > From: Henrik Rydberg > Sent: Thursday, October 04, 2012 2:01 AM > > It seems this driver is already present in staging. Comments and > > formatting have been improved in the staging version, but that aside, > > the two

Re: [RFC PATCH 06/10] ARM: sched: Use device-tree to provide fast/slow CPU list for HMP

2012-10-03 Thread Viresh Kumar
On 22 September 2012 00:02, wrote: > From: Morten Rasmussen > > We can't rely on Kconfig options to set the fast and slow CPU lists for > HMP scheduling if we want a single kernel binary to support multiple > devices with different CPU topology. E.g. TC2 (ARM's Test-Chip-2 > big.LITTLE system),

[PATCH 0/3] Minor fixes for generic clock framework

2012-10-03 Thread Stephen Boyd
This is a small set of patches that fixes some documentation and fixes return values of functions that aren't used that much yet. Noticed while going through this code. Stephen Boyd (3): clk: Document .is_enabled op clk: Fix documentation typos clk: Don't return negative numbers for unsigned

[PATCH 1/3] clk: Document .is_enabled op

2012-10-03 Thread Stephen Boyd
Add the missing kernel-doc for this op. Signed-off-by: Stephen Boyd --- include/linux/clk-provider.h | 4 1 file changed, 4 insertions(+) diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 710c6cb..5a548e3 100644 --- a/include/linux/clk-provider.h +++ b/include/

[PATCH 2/3] clk: Fix documentation typos

2012-10-03 Thread Stephen Boyd
Fix some minor typos in the documentation for the ops structure. Signed-off-by: Stephen Boyd --- include/linux/clk-provider.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 5a548e3..0571261 100644 --- a/

[PATCH 3/3] clk: Don't return negative numbers for unsigned values with !clk

2012-10-03 Thread Stephen Boyd
Some of the helper functions return negative error codes if passed a NULL clock. This can lead to confusing behavior when the expected return value is unsigned. Fix up these accessors so that they return unsigned values (or bool in the case of is_enabled). This way we can't interpret NULL clocks as

Re: [PATCH 1/3] x86, mm: Include the entire kernel memory map in trampoline_pgd

2012-10-03 Thread Jan Beulich
>>> On 03.10.12 at 16:03, Matt Fleming wrote: > On Wed, 2012-10-03 at 14:31 +0100, Jan Beulich wrote: >> >>> Matt Fleming 10/03/12 2:59 PM >>> >> >@@ -163,6 +258,10 @@ static void __iomem *__ioremap_caller(resource_size_t >> >phys_addr, >> >ret_addr = (void __iomem *) (vaddr + offset); >> >

Re: [RFC v9 PATCH 16/21] memory-hotplug: free memmap of sparse-vmemmap

2012-10-03 Thread Yasuaki Ishimatsu
Hi Chen, Sorry for late reply. 2012/10/02 13:21, Ni zhan Chen wrote: On 09/05/2012 05:25 PM, we...@cn.fujitsu.com wrote: From: Yasuaki Ishimatsu All pages of virtual mapping in removed memory cannot be freed, since some pages used as PGD/PUD includes not only removed memory but also other me

Re: [RFC PATCH 04/10] sched: Introduce priority-based task migration filter

2012-10-03 Thread Viresh Kumar
On 22 September 2012 00:02, wrote: > +config SCHED_HMP_PRIO_FILTER > + bool "(EXPERIMENTAL) Filter HMP migrations by task priority" > + depends on SCHED_HMP Should it depend on EXPERIMENTAL? > + help > + Enables task priority based HMP migration filter. Any task with

Re: [RFC PATCH 03/10] sched: Forced task migration on heterogeneous systems

2012-10-03 Thread Viresh Kumar
Minor comments here :) On 22 September 2012 00:02, wrote: > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index d80de46..490f1f0 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -3744,7 +3744,6 @@ int can_migrate_task(struct task_struct *p, struct > lb_env *env) >

Re: [PATCH] CPU hotplug, debug: Detect imbalance between get_online_cpus() and put_online_cpus()

2012-10-03 Thread Srivatsa S. Bhat
On 10/04/2012 02:43 AM, Andrew Morton wrote: > On Wed, 03 Oct 2012 18:23:09 +0530 > "Srivatsa S. Bhat" wrote: > >> The synchronization between CPU hotplug readers and writers is achieved by >> means of refcounting, safe-guarded by the cpu_hotplug.lock. >> >> get_online_cpus() increments the refco

Re: [PATCH 14/14] perf diff: Display empty space for non paired samples

2012-10-03 Thread Namhyung Kim
On Thu, 27 Sep 2012 13:09:35 +0200, Jiri Olsa wrote: > Currently in 'Baseline' and 'Period Base' columns zero values are > displayed in case no pair is found for the sample. This might be > confusing, using empty space instead. [snip] > @@ -246,8 +249,12 @@ static int hpp__entry_period_baseline(str

Re: [dm-devel] [PATCH v3 11/26] block: Add submit_bio_wait(), remove from md

2012-10-03 Thread Hannes Reinecke
On 10/02/2012 10:11 PM, Kent Overstreet wrote: On Tue, Oct 02, 2012 at 03:41:32PM -0400, Vivek Goyal wrote: On Mon, Sep 24, 2012 at 03:34:51PM -0700, Kent Overstreet wrote: Random cleanup - this code was duplicated and it's not really specific to md. Also added the ability to return the actual

[PATCH] pwm: Get rid of HAVE_PWM

2012-10-03 Thread Thierry Reding
Now that all drivers have been moved to the PWM subsystem, remove the legacy HAVE_PWM symbol and replace it with the new PWM symbol. While at it, select the PWM subsystem and corresponding PWM driver on boards that require PWM functionality. Signed-off-by: Thierry Reding Cc: Russell King Cc: Sha

Re: [RFC PATCH 02/10] sched: Task placement for heterogeneous systems based on task load-tracking

2012-10-03 Thread Viresh Kumar
Hi Morten, On 22 September 2012 00:02, wrote: > From: Morten Rasmussen > > This patch introduces the basic SCHED_HMP infrastructure. Each class of > cpus is represented by a hmp_domain and tasks will only be moved between > these domains when their load profiles suggest it is beneficial. > > SC

RE: [PATCH] Input: Add new driver into Input Subsystem for Synaptics DS4 touchscreen I2C devices

2012-10-03 Thread Alexandra Chin
From: Henrik Rydberg Sent: Thursday, October 04, 2012 2:01 AM > It seems this driver is already present in staging. Comments and > formatting have been improved in the staging version, but that aside, > the two versions look very similar. Why don't you submit fixes to > that driver instead? > On

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Rusty Russell
Anthony Liguori writes: > Rusty Russell writes: > >> "Michael S. Tsirkin" writes: >> >> There's a reason I haven't done this. I really, really dislike "my >> implemention isn't broken" feature bits. We could have an infinite >> number of them, for each bug in each device. >> >> So my plan was

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-03 Thread Rusty Russell
Kees Cook writes: > On Thu, Sep 20, 2012 at 3:14 PM, Kees Cook wrote: >> As part of the effort to create a stronger boundary between root and >> kernel, Chrome OS wants to be able to enforce that kernel modules are >> being loaded only from our read-only crypto-hash verified (dm_verity) >> root

[PATCH] perf tools: Complete tracepoint event names

2012-10-03 Thread Namhyung Kim
From: Namhyung Kim Currently tracepoint events cannot be completed because they contain a colon (:) character. The colon is considered as a word separator when bash completion is done - variable COMP_WORDBREAKS contains colon - so if a word being completed contains a colon it can be a problem.

[PATCH] powerpc/iommu: Fix multiple issues with IOMMU pools code

2012-10-03 Thread Anton Blanchard
Hi Alex, Looks to be a preempt issue with the iommu pools code. I did find a couple more bugs along the way too. Anton -- There are a number of issues in the recent IOMMU pools code: - On a preempt kernel we might switch CPUs in the middle of building a scatter gather list. When this happens

linux-next: manual merge of the signal tree with the modules and arm-soc trees

2012-10-03 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got conflicts in arch/avr32/include/asm/Kbuild, arch/cris/include/asm/Kbuild, arch/frv/include/asm/Kbuild, arch/h8300/include/asm/Kbuild, arch/ia64/include/asm/Kbuild, arch/m32r/include/asm/Kbuild, arch/microblaze/include/asm/Kbuild, arch/mn10300/

Re: [PATCH] ARM: davinci: dm644x: fix out range signal for ED

2012-10-03 Thread Prabhakar Lad
Hi Sekhar, On Wed, Oct 3, 2012 at 4:08 PM, Sekhar Nori wrote: > On 10/3/2012 12:05 PM, Prabhakar wrote: >> From: Lad, Prabhakar >> >> while testing display on dm644x, for ED out-range signals >> was observed. This patch fixes appropriate clock setting >> for ED. > > Can you please clarify what y

[PATCH v1 1/3] cpuidle: (POWER) Fix target residency initialisation in pseries cpuidle

2012-10-03 Thread Deepthi Dharwar
Remove the redundant target residency initialisation in pseries_cpuidle_driver_init(). This is currently over-writing the residency time updated as part of the static table, resulting in all the idle states having the same target residency of 100us which is incorrect. This may result in the menu

[PATCH v1 3/3] cpuidle: (POWER) Fix snooze state problem persistant in the current cpuidle design on pseries.

2012-10-03 Thread Deepthi Dharwar
Earlier without cpuidle framework on pseries, the native arch idle routine comprised of both snooze and nap states. smt_snooze_delay variable was used to delay the idle process entry to deeper idle state like nap. With the coming of cpuidle, this arch specific idle was replaced by two different i

[PATCH v1 2/3] cpuidle: (POWER) Fix smt_snooze_delay functionality.

2012-10-03 Thread Deepthi Dharwar
smt_snooze_delay was designed to delay idle loop's nap entry in the native idle code before it got ported over to use as part of the cpuidle framework. A -ve value assigned to smt_snooze_delay should result in busy looping, in other words disabling the entry to nap state. - https://lis

[PATCH v1 0/3] cpuidle: (pSeries) pseries idle driver fixes.

2012-10-03 Thread Deepthi Dharwar
The following series consists of a bunch of fixes for cpuidle back-end driver for ppc64 (pSeries) platform. The series applies on 3.6-rc7 and has been tested on ppc64 pSeries POWER7 system with snooze and nap states. With these fixes, avg idle residency for nap on 50 percent idle system increase

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

2012-10-03 Thread Prabhakar Lad
Hi Laurent, On Wed, Oct 3, 2012 at 7:43 PM, Laurent Pinchart wrote: > Hi Prabhakar, > > On Wednesday 03 October 2012 19:23:05 Prabhakar wrote: >> From: Lad, Prabhakar >> >> V4L2_CID_TEST_PATTERN is now a standard control. >> This patch replaces the user defined control for test >> pattern to mak

Re: [RFC PATCH 04/10] sched: Introduce priority-based task migration filter

2012-10-03 Thread Viresh Kumar
On 22 September 2012 00:02, wrote: Hi Morten, I would try to review your patches in coming days. For now, Just reporting a problem which i encountered during routine build. > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index 490f1f0..8f0f3b9 100644 > --- a/kernel/sched/fair.c > ++

linux-next: manual merge of the arm-soc tree with Linus' tree

2012-10-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/x86/include/asm/Kbuild between commit 10b63956fce7 ("UAPI: Plumb the UAPI Kbuilds into the user header installation and checking") from Linus' tree and commit e7a570ff7dff ("asm-generic: Add default clkdev.h") from the arm

linux-next: manual merge of the arm-soc tree with the modules tree

2012-10-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got conflicts in arch/cris/include/asm/Kbuild, arch/h8300/include/asm/Kbuild and arch/m32r/include/asm/Kbuild between commit 786d35d45cc4 ("Make most arch asm/module.h files use asm-generic/module.h") from the modules tree and commit e7a570ff7df

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Anthony Liguori
Rusty Russell writes: > Anthony Liguori writes: >> Rusty Russell writes: >> >>> "Michael S. Tsirkin" writes: >>> Thinking about Sasha's patches, we can reduce ring usage for virtio net small packets dramatically if we put virtio net header inline with the data. This can be

[PATCH v2 3/6] Input: da9052_tsi.c: Fix interrupt handling

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam Currently da9062_tsi does not probe and it fails as follows: da9052 1-0048: Unable to determine device interrupts Use the new da9052 irq functions and allow the driver to probe and operate correctly. Tested on mx53qsb board using 'evtest' tool. Cc: Dmitry Torokhov Cc: S

RE: [PATCHv4 1/4] modem_shm: Add Modem Access Framework

2012-10-03 Thread Arun MURTHY
> On Wed, Oct 03, 2012 at 05:54:08AM +0200, Arun MURTHY wrote: > > > On Mon, Oct 01, 2012 at 07:30:38AM +0200, Arun MURTHY wrote: > > > > > On Fri, Sep 28, 2012 at 01:35:01PM +0530, Arun Murthy wrote: > > > > > > +#include > > > > > > +#include > > > > > > +#include > > > > > > +#include > > >

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Rusty Russell
Anthony Liguori writes: > Rusty Russell writes: > >> "Michael S. Tsirkin" writes: >> >>> Thinking about Sasha's patches, we can reduce ring usage >>> for virtio net small packets dramatically if we put >>> virtio net header inline with the data. >>> This can be done for free in case guest net st

Re: [PATCH -next] asymmetric keys: fix printk format warning

2012-10-03 Thread Rusty Russell
Stephen Rothwell writes: > [Lets also cc Rusty who committed the patch ...] > > On Wed, 03 Oct 2012 16:04:46 -0700 Randy Dunlap wrote: >> >> From: Randy Dunlap >> >> Fix printk format warning in x509_cert_parser.c: >> >> crypto/asymmetric_keys/x509_cert_parser.c: In function 'x509_note_OID':

[PATCH 3/6] Input: da9052_tsi.c: Fix interrupt handling

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam Currently da9062_tsi does not probe and it fails as follows: da9052 1-0048: Unable to determine device interrupts Use the new da9052 irq functions and allow the driver to probe and operate correctly. Tested on mx53qsb board using 'evtest' tool. Cc: Dmitry Torokhov Cc: S

[PATCH 6/6] gpio: gpio-da9052: Convert to the new da9052 interrupt functions

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam Convert to the new da9052 interrupt functions, so that we can get rid of irq_base references. Cc: Grant Likely Cc: Linus Walleij Signed-off-by: Fabio Estevam --- Build tested only. drivers/gpio/gpio-da9052.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-)

[PATCH 5/6] power: da9052-battery: Convert to the new da9052 interrupt functions

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam Convert to the new da9052 interrupt functions, so that we can get rid of irq_base references. Cc: Anton Vorontsov Signed-off-by: Fabio Estevam --- Build tested only. drivers/power/da9052-battery.c | 44 +++- 1 file changed, 25 inserti

[PATCH 4/6] Input: da9052_onkey.c: Convert to the new da9052 interrupt functions.

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam Use the new da9052 irq functions and allow the driver to probe successfully. Cc: Dmitry Torokhov Cc: Signed-off-by: Fabio Estevam --- drivers/input/misc/da9052_onkey.c | 22 +- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/drivers/in

[PATCH 2/6] mfd: da9052: Introduce da9052-irq.c

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam Create a da9052-irq.c file so that it can handle interrupt related functions. This is useful for allowing the da9052 drivers to use such functions when dealing with da9052 interrupts. Signed-off-by: Fabio Estevam --- drivers/mfd/Makefile |1 + drivers/mfd/

[PATCH 1/6] mfd: da9052-core: Use regmap_irq_get_virq() and fix the probe

2012-10-03 Thread Fabio Estevam
From: Fabio Estevam On a mx53qsb dt-kernel the da9052-core driver fails to probe as follows: da9052 1-0048: DA9052 ADC IRQ failed ret=-22 The reason for the error was due to passing only the offset as the interrupt number in request_threaded_irq() without da9052->irq_base. The recommended appr

Re: [PATCH 0/2] USB webcam gadget driver fix for linux-next

2012-10-03 Thread Greg KH
On Thu, Oct 04, 2012 at 02:32:40AM +0200, Laurent Pinchart wrote: > Hi, > > The first patch in this series should fix the UVC gadget compilation errors in > linux-next. The second patch should make sure I'll be notified next time a > patch tries to break it :-) > > Both patches are based on Linus

linux-next: manual merge of the modules tree with Linus' tree

2012-10-03 Thread Stephen Rothwell
Hi Rusty, Today's linux-next merge of the modules tree got a conflict in Makefile between commit d183e6f570f3 ("UAPI: Move linux/version.h") from Linus' tree and commit 91657140708d ("MODSIGN: Make mrproper should remove generated files") from the modules tree. I fixed it up (see below) and can c

Re: [PATCH 2/2] acpi,memory-hotplug : call acpi_bus_remo() to remove memory device

2012-10-03 Thread Yinghai Lu
On Wed, Oct 3, 2012 at 6:48 PM, Yasuaki Ishimatsu wrote: > From: Wen Congyang > > The memory device has been ejected and powoffed, so we can call > acpi_bus_remove() to remove the memory device from acpi bus. > > CC: Len Brown > Reviewed-by: Yasuaki Ishimatsu > Signed-off-by: Wen Congyang > --

Re: udev breakages - was: Re: Need of an ".async_probe()" type of callback at driver's core - Was: Re: [PATCH] [media] drxk: change it to use request_firmware_nowait()

2012-10-03 Thread Kay Sievers
On Thu, Oct 4, 2012 at 12:58 AM, Linus Torvalds wrote: > That said, there's clearly enough variation here that I think that for > now I won't take the step to disable the udev part. I'll do the patch > to support "direct filesystem firmware loading" using the udev default > paths, and that hopeful

Re: [PATCH 7/10] compiler{,-gcc4}.h: Introduce __flatten function attribute

2012-10-03 Thread Joe Perches
On Wed, 2012-10-03 at 20:32 -0400, Steven Rostedt wrote: > On Wed, 2012-10-03 at 08:38 -0700, Joe Perches wrote: > > On Wed, 2012-10-03 at 11:14 -0400, Steven Rostedt wrote: > > > I first check > > > the MAINTAINERS file. If the subsystem I'm working on exists there, I > > > only email those that a

[PATCH] efi: add efivars kobject to efi sysfs folder

2012-10-03 Thread Lee, Chun-Yi
UEFI variable filesystem need a new mount point, so this patch add efivars kobject to efi_kobj for create a /sys/firmware/efi/efivars folder. Cc: Matt Fleming Cc: Jeremy Kerr Cc: Matthew Garrett Cc: H. Peter Anvin Signed-off-by: Lee, Chun-Yi --- drivers/firmware/efivars.c | 11 +++

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

2012-10-03 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in drivers/gpu/drm/nouveau (lots of files) between commit 760285e7e7ab ("UAPI: (Scripted) Convert #include "..." to #include in drivers/gpu/") from Linus' tree and various commits from the drm tree. There is a large reorganisation

linux-next: build warnings after merge of the drm tree

2012-10-03 Thread Stephen Rothwell
Hi Dave, After merging the drm tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: drivers/gpu/drm/gma500/backlight.c:29:13: warning: 'do_gma_backlight_set' defined but not used [-Wunused-function] drivers/gpu/drm/nouveau/core/subdev/gpio/base.c: In function 'nouveau_g

FTDI Linux Kernel Driver

2012-10-03 Thread Ryan A. Krenzischek
Greetings, Patch Description: Add product id in ftdi_sio.c struct table ( static struct usb_device_id id_table_combined []) and include a define statement in ftdi_sio_ids.h for RTSYSTEMS CT63 Radio Cable. Output from dmesg regarding the hardware: [ 5489.423407] usb 10-1: New USB device found

RE: linux-next: build failure after merge of the net tree

2012-10-03 Thread Jay Hernandez
David and Stephen, I apologize for not taking the necessary steps to verify our patches before submission. Ignorance is not an excuse... Anyways David thank you for fixing the issue for us. Jay- -Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Wednesday, October

linux-next: manual merge of the drm tree with Linus' tree

2012-10-03 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got conflicts in drivers/gpu/drm/i915/intel_dp.c and drivers/gpu/drm/i915/intel_drv.h between commit 760285e7e7ab ("UAPI: (Scripted) Convert #include "..." to #include in drivers/gpu/") from Linus' tree and commit 54d63ca6605d ("drm/i915: Move DP

Re: [PATCH 0/8] THP support for Sparc64

2012-10-03 Thread David Miller
From: Andrew Morton Date: Tue, 2 Oct 2012 15:55:44 -0700 > I had a shot at integrating all this onto the pending stuff in linux-next. > "mm: Add and use update_mmu_cache_pmd() in transparent huge page code." > needed minor massaging in huge_memory.c. But as Andrea mentioned, we > ran aground on

Re: Re: [PATCH -tip ] [BUGFIX] perf probe: Add a workaround for GCC -mfentry

2012-10-03 Thread Masami Hiramatsu
(2012/10/04 1:00), Mark Wielaard wrote: > On Wed, 2012-10-03 at 09:53 -0400, Steven Rostedt wrote: >> On Wed, 2012-10-03 at 21:17 +0900, Masami Hiramatsu wrote: >>> <1><9a58>: Abbrev Number: 86 (DW_TAG_subprogram) >>> <9a59> DW_AT_external: 1 >>> <9a59> DW_AT_name: (indirec

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-03 Thread Matthew Garrett
On Wed, Oct 03, 2012 at 01:03:14PM -0700, Paul E. McKenney wrote: > That has not proven sufficient for me in the past, RCU_FAST_NO_HZ > being a case in point. Taint the kernel at boot time? That'd be sufficient to force distros to disable it. -- Matthew Garrett | mj...@srcf.ucam.org -- To unsu

linux-next: manual merge of the drm tree with Linus' tree

2012-10-03 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in drivers/gpu/drm/gma500/psb_drv.h between commit 760285e7e7ab ("UAPI: (Scripted) Convert #include "..." to #include in drivers/gpu/") from Linus' tree and commit 4d46259f00c6 ("drm: gma500: Kill the GEM glue layer") from the drm t

Re: [PATCH 1/3] perf tools: Check existence of _get_comp_words_by_ref when bash completing

2012-10-03 Thread Namhyung Kim
Hi Frederic, On Tue, 2 Oct 2012 17:54:10 +0200, Frederic Weisbecker wrote: > On Wed, Oct 03, 2012 at 12:21:32AM +0900, Namhyung Kim wrote: >> The '_get_comp_words_by_ref' function is available from the bash >> completion v1.2 so that earlier version emits following warning: >> >> $ perf re_get_

Re: [GIT PULL v2] Update LZO compression

2012-10-03 Thread Andi Kleen
> > > - Post the entire patch series to lkml for review (I'd like a cc please) > > > > Already happened, multiple people reviewed and tested. > > um, I would not consider "Looks ok to me from a quick look." and "I > couldn't tell from the github view, but I assume you follow standard > coding sty

[PATCH 2/2] acpi,memory-hotplug : call acpi_bus_remo() to remove memory device

2012-10-03 Thread Yasuaki Ishimatsu
From: Wen Congyang The memory device has been ejected and powoffed, so we can call acpi_bus_remove() to remove the memory device from acpi bus. CC: Len Brown Reviewed-by: Yasuaki Ishimatsu Signed-off-by: Wen Congyang --- drivers/acpi/acpi_memhotplug.c |3 ++- 1 file changed, 2 insertions

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

2012-10-03 Thread David Miller
From: Stephen Rothwell Date: Thu, 4 Oct 2012 11:06:15 +1000 > Actually, for me it is. I have a script that does the "use yesterday's > version" for me. To fix (even a one liner) means bringing up an editor, > commiting, creating the patch and then recommiting it (an implementation > detail) and

[PATCH 1/2] acpi,memory-hotplug : export the function acpi_bus_remove()

2012-10-03 Thread Yasuaki Ishimatsu
From: Wen Congyang The function acpi_bus_remove() can remove a acpi device from acpi bus. When a acpi device is removed, we need to call this function to remove the acpi device from acpi bus. So export this function. CC: Len Brown Reviewed-by: Yasuaki Ishimatsu Signed-off-by: Wen Congyang ---

[PATCH 0/2] acpi,memory-hotplug : remove memory device by acpi_bus_remove()

2012-10-03 Thread Yasuaki Ishimatsu
The patch-set was divided from following thread's patch-set. https://lkml.org/lkml/2012/9/5/201 If you want to know the reason, please read following thread. https://lkml.org/lkml/2012/10/2/83 The patch exports "acpi_bus_remove()" for removing a acpi device from a acpi bus at memory hot plug.

Re: udev breakages - was: Re: Need of an ".async_probe()" type of callback at driver's core - Was: Re: [PATCH] [media] drxk: change it to use request_firmware_nowait()

2012-10-03 Thread Linus Torvalds
On Wed, Oct 3, 2012 at 6:33 PM, Ming Lei wrote: > > Yes, the patch will make firmware cache not working, I would like to fix > that when I return from one trip next week. > > BTW, firmware cache is still needed even direct loading is taken. I agree 100%, I'd have liked to do the caching for the d

linux-next: manual merge of the acpi tree with Linus' tree

2012-10-03 Thread Stephen Rothwell
Hi Len, Today's linux-next merge of the acpi tree got a conflict in include/acpi/acpixf.h between commit a1ce39288e6f ("UAPI: (Scripted) Convert #include "..." to #include in kernel system headers") from Linus' tree and commit be030a576854 ("ACPICA: Add support for complex _PLD buffers") from the

[PATCH] extcon: MAX77693: Add platform data for MUIC device to initialize registers

2012-10-03 Thread Chanwoo Choi
This patch add platform data for MUIC device to initialize register on probe() call because it should unmask interrupt mask register and initialize some register related to MUIC device. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham Signed-off-by: Kyungmin Park --- drivers/extcon/extc

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Anthony Liguori
Rusty Russell writes: > "Michael S. Tsirkin" writes: > > There's a reason I haven't done this. I really, really dislike "my > implemention isn't broken" feature bits. We could have an infinite > number of them, for each bug in each device. > > So my plan was to tie this assumption to the new P

Re: [PATCH] extcon: max77693: Use max77693_update_reg for rmw operations

2012-10-03 Thread Chanwoo Choi
On 10/03/2012 12:59 AM, Axel Lin wrote: > This simplifies the code. > > Signed-off-by: Axel Lin > --- > drivers/extcon/extcon-max77693.c | 18 ++ > 1 file changed, 6 insertions(+), 12 deletions(-) > > diff --git a/drivers/extcon/extcon-max77693.c > b/drivers/extcon/extcon-ma

Re: [PATCH] extcon: Fix kerneldoc for extcon_set_cable_state and extcon_set_cable_state_

2012-10-03 Thread Chanwoo Choi
On 10/03/2012 12:30 AM, Axel Lin wrote: > Signed-off-by: Axel Lin > --- > drivers/extcon/extcon-class.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/extcon/extcon-class.c b/drivers/extcon/extcon-class.c > index 946a318..337bbb4 100644 > --- a/drivers/e

Re: [PATCH] extcon: max77693: Fix max77693_muic_probe error handling

2012-10-03 Thread Chanwoo Choi
On 10/03/2012 11:23 AM, Axel Lin wrote: > Fix below issues: > 1. If request_threaded_irq() fails, current code does not free all requested >irqs. > 2. Add missing extcon_dev_unregister() in error path if failed to read > revision >number. > > Signed-off-by: Axel Lin > --- > drivers/ext

3.6.0+ (GIT) -- BUG: sleeping function called from invalid context at kernel/mutex.c:269 in_atomic(): 0, irqs_disabled(): 1, pid: 3561, name: pm-suspend

2012-10-03 Thread Miles Lane
ACPI: Preparing to enter system sleep state S3 PM: Saving platform NVS memory Disabling non-boot CPUs ... numa_remove_cpu cpu 1 node 0: mask now 0 Broke affinity for irq 46 smpboot: CPU 1 is now offline BUG: sleeping function called from invalid context at kernel/mutex.c:269 in_atomic(): 0, irqs_di

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Anthony Liguori
Rusty Russell writes: > "Michael S. Tsirkin" writes: > >> Thinking about Sasha's patches, we can reduce ring usage >> for virtio net small packets dramatically if we put >> virtio net header inline with the data. >> This can be done for free in case guest net stack allocated >> extra head room f

Re: [PATCH 2/3] virtio-net: correct capacity math on ring full

2012-10-03 Thread Rusty Russell
"Michael S. Tsirkin" writes: > Capacity math on ring full is wrong: we are > looking at num_sg but that might be optimistic > because of indirect buffer use. > > The implementation also penalizes fast path > with extra memory accesses for the benefit of > ring full condition handling which is slow

Re: [GIT PULL] Asymmetric keys and module signing

2012-10-03 Thread Rusty Russell
David Howells writes: > Rusty Russell wrote: > >> Right. I think we need to use different names for generated vs supplied >> files > > The problem with supplied files is people who do allyesconfig, allmodconfig > and randconfig just to test things finding that their builds break. The > kernel

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-03 Thread Rusty Russell
Paolo Bonzini writes: > Il 03/10/2012 08:44, Rusty Russell ha scritto: >> There's a reason I haven't done this. I really, really dislike "my >> implemention isn't broken" feature bits. We could have an infinite >> number of them, for each bug in each device. > > However, this bug affects (almos

Re: [PATCH] pwm: Check for negative duty-cycle and period

2012-10-03 Thread Jingoo Han
On Monday, October 01, 2012 3:35 PM Thierry Reding wrote > > Make sure the duty-cycle and period passed in are not negative. This > should eventually be made implicit by making them unsigned. While at > it, the drivers' .config() implementations can have the equivalent > checks removed. > > Signe

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

2012-10-03 Thread Stephen Rothwell
Hi David, On Wed, 03 Oct 2012 20:50:53 -0400 (EDT) David Miller wrote: > > I do have a question though, it is honestly really that much easier to > revert a whole days worth of changes (and therefore not get the code > tested at all) than to simply add the obvious one liner? Actually, for me it

Re: [RFC, PATCH] Extensible AIO interface

2012-10-03 Thread Dave Chinner
On Tue, Oct 02, 2012 at 07:41:10PM -0700, Kent Overstreet wrote: > On Wed, Oct 03, 2012 at 11:28:25AM +1000, Dave Chinner wrote: > > On Tue, Oct 02, 2012 at 05:20:29PM -0700, Kent Overstreet wrote: > > > On Tue, Oct 02, 2012 at 01:41:17PM -0400, Jeff Moyer wrote: > > > > Kent Overstreet writes: >

Re: Soft lockup in scsi_remove_target under 3.6 (regression from 3.5)

2012-10-03 Thread Jonathan McDowell
On Tue, Oct 02, 2012 at 10:46:22PM -0500, Mike Christie wrote: > On 10/02/2012 07:43 PM, Jonathan McDowell wrote: > > Upgraded to 3.6 today on my dev box and after seeing an FC attached SAN > > go down and come back up (due to an expected reboot) I started getting > > the following in my logs. It c

Re: udev breakages -

2012-10-03 Thread Nix
On 3 Oct 2012, Al Viro spake thusly: > Looks sane. TBH, I'd still prefer to see udev forcibly taken over and put > into > usr/udev in kernel tree - I don't trust that crowd at all and the fewer > critical userland bits they can play leverage games with, the safer we are. > > Al, that -><- clos

Re: [PATCH 7/10] compiler{,-gcc4}.h: Introduce __flatten function attribute

2012-10-03 Thread Michel Lespinasse
On Wed, Oct 3, 2012 at 7:46 AM, Daniel Santos wrote: > On 10/03/2012 09:01 AM, Steven Rostedt wrote: >> You don't need to use get_maintainers. It's more of a help tool to find >> maintainers and not something that is mandatory. Not everyone that has >> ever touched one of these files needs to be C

Re: [PATCH 7/10] compiler{,-gcc4}.h: Introduce __flatten function attribute

2012-10-03 Thread Daniel Santos
On 10/03/2012 07:32 PM, Steven Rostedt wrote: > On Wed, 2012-10-03 at 08:38 -0700, Joe Perches wrote: >> On Wed, 2012-10-03 at 11:14 -0400, Steven Rostedt wrote: >>> I first check >>> the MAINTAINERS file. If the subsystem I'm working on exists there, I >>> only email those that are listed there, i

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

2012-10-03 Thread David Miller
makes > pointer from integer without a cast [enabled by default] > > Caused by commit 8c357ebd5693 ("cxgb4: Dynamically allocate memory in > t4_memory_rw() and get_vpd_params()"). Missing include of > linux/vmalloc.h. > > I have used the net tree from next-20121003 fo

Re: [PATCH 1/2] Fix build error caused by broken PCH_PTP module dependency.

2012-10-03 Thread David Miller
From: Ben Hutchings Date: Wed, 3 Oct 2012 22:45:10 +0100 > I thought of it as being a peripheral feature (which most Solarflare > hardware doesn't implement) so it made sense for SFC_PTP to be optional > like SFC_MTD and so on. But I'm quite happy to use a select instead, if > you want that to b

Re: [PATCH 16/20] drivers/net/ethernet/renesas/sh_eth.c: fix error return code

2012-10-03 Thread Nobuhiro Iwamatsu
Peter Senna Tschudin さんは書きました: > From: Peter Senna Tschudin > > Convert a nonnegative error return code to a negative one, as returned > elsewhere in the function. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > ( >

[RFC PATCH 3/7] swiotlb: Make io_tlb_overflow_buffer a physical address

2012-10-03 Thread Alexander Duyck
This change makes it so that we can avoid virt_to_phys overhead when using the io_tlb_overflow_buffer. My original plan was to completely remove the value and replace it with a constant but I had seen that there were recent patches that stated this couldn't be done until all device drivers that de

[RFC PATCH 7/7] swiotlb: Do not export swiotlb_bounce since there are no external consumers

2012-10-03 Thread Alexander Duyck
Currently swiotlb is the only consumer for swiotlb_bounce. Since that is the case it doesn't make much sense to be exporting it so make it a static function only. In addition we can save a few more lines of code by making it so that it accepts the DMA address as a physical address instead of a vi

[RFC PATCH 6/7] swiotlb: Use physical addresses instead of virtual in swiotlb_tbl_sync_single

2012-10-03 Thread Alexander Duyck
This change makes it so that the sync functionality also uses physical addresses. This helps to further reduce the use of virt_to_phys and phys_to_virt functions. Signed-off-by: Alexander Duyck --- drivers/xen/swiotlb-xen.c |3 +-- include/linux/swiotlb.h |3 ++- lib/swiotlb.c

[RFC PATCH 5/7] swiotlb: Use physical addresses for swiotlb_tbl_unmap_single

2012-10-03 Thread Alexander Duyck
This change makes it so that the unmap functionality also uses physical addresses. This helps to further reduce the use of virt_to_phys and phys_to_virt functions. Signed-off-by: Alexander Duyck --- drivers/xen/swiotlb-xen.c |4 ++-- include/linux/swiotlb.h |3 ++- lib/swiotlb.c

[RFC PATCH 4/7] swiotlb: Return physical addresses when calling swiotlb_tbl_map_single

2012-10-03 Thread Alexander Duyck
This change makes it so that swiotlb_tbl_map_single will return a physical address instead of a virtual address when called. The advantage to this once again is that we are avoiding a number of virt_to_phys and phys_to_virt translations by working with everything as a physical address. One change

[RFC PATCH 2/7] swiotlb: Make io_tlb_start a physical address instead of a virtual address

2012-10-03 Thread Alexander Duyck
This change makes it so that io_tlb_start contains a physical address instead of a virtual address. The advantage to this is that we can avoid costly translations between virtual and physical addresses when comparing the io_tlb_start against DMA addresses. Signed-off-by: Alexander Duyck --- li

[RFC PATCH 1/7] swiotlb: Instead of tracking the end of the swiotlb region just calculate it

2012-10-03 Thread Alexander Duyck
In the case of swiotlb we already have the start of the region and the number of slabs that give us the region size. Instead of having to call virt_to_phys on two pointers we can just take advantage of the fact that the region is linear and just compute the end based on the start plus the size. S

[RFC PATCH 0/7] Improve swiotlb performance by using physical addresses

2012-10-03 Thread Alexander Duyck
While working on 10Gb/s routing performance I found a significant amount of time was being spent in the swiotlb DMA handler. Further digging found that a significant amount of this was due to the fact that virtual to physical address translation and calling the function that did it. It accounted

linux-next: manual merge of the mips tree with Linus' tree

2012-10-03 Thread Stephen Rothwell
Hi Ralf, Today's linux-next merge of the mips tree got a conflict in arch/mips/include/asm/octeon/octeon-model.h between commit a1ce39288e6f ("UAPI: (Scripted) Convert #include "..." to #include in kernel system headers") from the tree and commit 5cf02e5554a4 ("MIPS: OCTEON: Add detection of cnf

Re: [PATCH 7/10] compiler{,-gcc4}.h: Introduce __flatten function attribute

2012-10-03 Thread Steven Rostedt
On Wed, 2012-10-03 at 08:38 -0700, Joe Perches wrote: > On Wed, 2012-10-03 at 11:14 -0400, Steven Rostedt wrote: > > I first check > > the MAINTAINERS file. If the subsystem I'm working on exists there, I > > only email those that are listed there, including any mailing lists that > > are mentioned

[PATCH 2/2] MAINTAINERS: Add maintainer entry for the USB webcam gadget

2012-10-03 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- MAINTAINERS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index d919e3d..b118b23 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7392,6 +7392,13 @@ S: Maintained F: Documentation/video4linux/w

[PATCH 1/2] usb: gadget: Make webcam gadget select USB_LIBCOMPOSITE

2012-10-03 Thread Laurent Pinchart
Composite gadget support is now available as a library instead of being built with each gadget. Composite drivers need to select USB_LIBCOMPOSITE. Signed-off-by: Laurent Pinchart --- drivers/usb/gadget/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/g

[PATCH 0/2] USB webcam gadget driver fix for linux-next

2012-10-03 Thread Laurent Pinchart
Hi, The first patch in this series should fix the UVC gadget compilation errors in linux-next. The second patch should make sure I'll be notified next time a patch tries to break it :-) Both patches are based on Linus' tree. Laurent Pinchart (2): usb: gadget: Make webcam gadget select USB_LIB

  1   2   3   4   5   6   7   >