Re: [PATCH 2/3] ALSA: hda - update documentation for no-primary-hp fixup

2013-02-12 Thread Takashi Iwai
At Tue, 12 Feb 2013 16:49:46 +0900, Fernando Luis Vázquez Cao wrote: > > The problem addressed by this fixup is not specific to Vaio Z, affecting > some Vaio all-in-one desktop PCs too. Update the code comments accordingly. > > Cc: sta...@vger.kernel.org > Cc: alsa-de...@alsa-project.org >

Re: [PATCH 1/3] ALSA: hda - Workaround for silent output on Sony Vaio VGC-LN51JGB with ALC889

2013-02-12 Thread Takashi Iwai
At Tue, 12 Feb 2013 16:47:44 +0900, Fernando Luis Vázquez Cao wrote: > > Some Vaio all-in-one desktop PCs (for example VGC-LN51JGB) are affected by > the same issue that caused Vaio Z laptops to become silent: the speaker pin > must be connected to the first DAC even though the codec itself

Re: [PATCH] s390: Add missing PAGE_SHARED as an alias for PAGE_RW

2013-02-12 Thread Geert Uytterhoeven
Hi Heiko, On Mon, Feb 11, 2013 at 10:11 AM, Heiko Carstens wrote: > Thanks Geert. A similar patch however is already in linux-next, together > with a whole bunch of other patches which try to make s390's allmodconfig > compile again after PCI, HAS_DMA and HAS_IOMEM got enabled by our new PCI >

Re: [PATCH] of: Create function for counting number of phandles in a property

2013-02-12 Thread Andreas Larsson
On 2013-02-11 00:58, Grant Likely wrote: This patch creates of_count_phandle_with_args(), a new function for counting the number of phandle+argument tuples in a given property. This is better than the existing method of parsing each phandle individually until parsing fails which is a horribly

Re: [PATCH 3/3] HID: sensor-hub: don't limit the driver only to USB bus

2013-02-12 Thread Mika Westerberg
On Mon, Feb 11, 2013 at 03:54:05PM +, Pandruvada, Srinivas wrote: > So finally we can use HID sensor hub over I2C. > Did you try with any I2C sensor hub? Yes, we have I2C HID sensor hub here and I tested with it. However, I'm not that familiar how it should be used except that I can see the

Re: [PATCH 1/5] perf, x86: Add PEBSv2 record support v2

2013-02-12 Thread Ingo Molnar
* Andi Kleen wrote: > From: Andi Kleen > > Add support for the v2 PEBS format. It has a superset of the v1 PEBS > fields, but has a longer record so we need to adjust the code paths. The changelog talks about a 'v2' PEBS format - the code talks about 'fmt2': > +/* > + * Same as

Re: [PATCH] sched/rt: Unthrottle the highest RT task of the rq if there are no another available tasks to be picked

2013-02-12 Thread Stanislav Meduna
On 12.02.2013 08:06, Mike Galbraith wrote: >> In this case pick_next_task takes idle tasks and idle wastes cpu >> time. > That's not a waste of CPU time, that's utilization enforcement the thing > it is designed to do. Well this is a philosophical question and the opinions will IMHO vary

Re: [BUG] irq_dispose_mapping after irq request failure

2013-02-12 Thread Benjamin Herrenschmidt
On Tue, 2013-02-12 at 17:18 +1100, Michael Ellerman wrote: > > I don't think you can, "active" is not well defined. Other code may have > done nothing other than create the mapping and remembered the virq, > which will break if you destroy the mapping. Or? Active as in "requested". Yes there's a

Re: [PATCH 5/5] perf, x86: Move NMI clearing to end of PMI handler after the counter registers are reset

2013-02-12 Thread Ingo Molnar
* Andi Kleen wrote: > From: Andi Kleen > > This avoids some problems with spurious PMIs on Haswell. > Haswell seems to behave more like P4 in this regard. Do > the same thing as the P4 perf handler by unmasking > the NMI only at the end. Shouldn't make any difference > for earlier non P4

Re: [PATCH 4/5] perf, x86: Support full width counting v2

2013-02-12 Thread Ingo Molnar
* Andi Kleen wrote: > From: Andi Kleen > > Recent Intel CPUs like Haswell and IvyBridge have a new alternative MSR > range for perfctrs that allows writing the full counter width. Enable this > range if the hardware reports it using a new capability bit. > > This lowers the overhead of perf

Re: [regression] external HDD in USB3 enclosure cannot be dynamically removed (Re: Linux 3.7.5)

2013-02-12 Thread Holger Hoffstätte
On 12.02.2013 01:54, Jonathan Nieder wrote: > Sarah Sharp wrote: > >> Can you turn on CONFIG_USB_DEBUG and CONFIG_USB_XHCI_HCD_DEBUGGING, >> recompile the 3.7.5 kernel, and send me dmesg starting from the point >> you unmount the device and then power it off? >> >> I'd like to keep that patch in

Re: [GIT PULL] at91: fixes for 3.9-rc1

2013-02-12 Thread Nicolas Ferre
On 02/05/2013 11:20 AM, Nicolas Ferre : > Arnd, Olof, > > As I realized reading Linus' email that it was not possible to queue more > fixes for 3.8, I took my time to send this tiny pull request. But now that > the merge window is approaching, I prefer not to wait for more material. > So, here is

Re: [tip:x86/mm] x86, mm: Use a bitfield to mask nuisance get_user() warnings

2013-02-12 Thread Ingo Molnar
* H. Peter Anvin wrote: > On 02/11/2013 07:33 PM, Linus Torvalds wrote: > > On Mon, Feb 11, 2013 at 5:37 PM, tip-bot for H. Peter Anvin > > wrote: > >> > >> However, we can declare a bitfield using sizeof(), which is legal > >> because sizeof() is a constant expression. This quiets the

Re: [PATCH 2/3] ALSA: hda - no-primary-hp is a quirk for model ALC889 not ALC882

2013-02-12 Thread Fernando Luis Vazquez Cao
Hi Iwai, Ouch, the subject reads "[PATCH 2/3]" but this is patch 3 of the series and should be applied last. I am sorry for the noise. Thanks, Fernando On 2013/02/12 16:54, Fernando Luis Vázquez Cao wrote: Substitute ALC889 for ALC882 in macro and function names. Cc: sta...@vger.kernel.org

[PATCH 3/3 RESEND] mmc: sdhci: check voltage range only on regulators aware of voltage value

2013-02-12 Thread Marek Szyprowski
Some regulators don't report any voltage values, so checking supported voltage range results in disabling all SDHCI_CAN_VDD_* flags and registration failure. This patch finally provides a correct fix for the registration of SDHCI driver with all possible voltage regulators: dummy, fixed and

[PATCH 3/3 RESEND] mmc: sdhci: check voltage range only on regulators aware of voltage value

2013-02-12 Thread Marek Szyprowski
Some regulators don't report any voltage values, so checking supported voltage range results in disabling all SDHCI_CAN_VDD_* flags and registration failure. This patch finally provides a correct fix for the registration of SDHCI driver with all possible voltage regulators: dummy, fixed and

Re: [PATCH 2/3] ALSA: hda - no-primary-hp is a quirk for model ALC889 not ALC882

2013-02-12 Thread Fernando Luis Vazquez Cao
Hi Iwai, Ouch, the subject reads [PATCH 2/3] but this is patch 3 of the series and should be applied last. I am sorry for the noise. Thanks, Fernando On 2013/02/12 16:54, Fernando Luis Vázquez Cao wrote: Substitute ALC889 for ALC882 in macro and function names. Cc: sta...@vger.kernel.org

Re: [tip:x86/mm] x86, mm: Use a bitfield to mask nuisance get_user() warnings

2013-02-12 Thread Ingo Molnar
* H. Peter Anvin h...@zytor.com wrote: On 02/11/2013 07:33 PM, Linus Torvalds wrote: On Mon, Feb 11, 2013 at 5:37 PM, tip-bot for H. Peter Anvin h...@zytor.com wrote: However, we can declare a bitfield using sizeof(), which is legal because sizeof() is a constant expression. This

Re: [GIT PULL] at91: fixes for 3.9-rc1

2013-02-12 Thread Nicolas Ferre
On 02/05/2013 11:20 AM, Nicolas Ferre : Arnd, Olof, As I realized reading Linus' email that it was not possible to queue more fixes for 3.8, I took my time to send this tiny pull request. But now that the merge window is approaching, I prefer not to wait for more material. So, here is a

Re: [regression] external HDD in USB3 enclosure cannot be dynamically removed (Re: Linux 3.7.5)

2013-02-12 Thread Holger Hoffstätte
On 12.02.2013 01:54, Jonathan Nieder wrote: Sarah Sharp wrote: Can you turn on CONFIG_USB_DEBUG and CONFIG_USB_XHCI_HCD_DEBUGGING, recompile the 3.7.5 kernel, and send me dmesg starting from the point you unmount the device and then power it off? I'd like to keep that patch in stable, but

Re: [PATCH 4/5] perf, x86: Support full width counting v2

2013-02-12 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: From: Andi Kleen a...@linux.intel.com Recent Intel CPUs like Haswell and IvyBridge have a new alternative MSR range for perfctrs that allows writing the full counter width. Enable this range if the hardware reports it using a new capability bit.

Re: [PATCH 5/5] perf, x86: Move NMI clearing to end of PMI handler after the counter registers are reset

2013-02-12 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: From: Andi Kleen a...@linux.intel.com This avoids some problems with spurious PMIs on Haswell. Haswell seems to behave more like P4 in this regard. Do the same thing as the P4 perf handler by unmasking the NMI only at the end. Shouldn't make any

Re: [BUG] irq_dispose_mapping after irq request failure

2013-02-12 Thread Benjamin Herrenschmidt
On Tue, 2013-02-12 at 17:18 +1100, Michael Ellerman wrote: I don't think you can, active is not well defined. Other code may have done nothing other than create the mapping and remembered the virq, which will break if you destroy the mapping. Or? Active as in requested. Yes there's a

Re: [PATCH] sched/rt: Unthrottle the highest RT task of the rq if there are no another available tasks to be picked

2013-02-12 Thread Stanislav Meduna
On 12.02.2013 08:06, Mike Galbraith wrote: In this case pick_next_task takes idle tasks and idle wastes cpu time. That's not a waste of CPU time, that's utilization enforcement the thing it is designed to do. Well this is a philosophical question and the opinions will IMHO vary strongly. If

Re: [PATCH 1/5] perf, x86: Add PEBSv2 record support v2

2013-02-12 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: From: Andi Kleen a...@linux.intel.com Add support for the v2 PEBS format. It has a superset of the v1 PEBS fields, but has a longer record so we need to adjust the code paths. The changelog talks about a 'v2' PEBS format - the code talks about

Re: [PATCH 3/3] HID: sensor-hub: don't limit the driver only to USB bus

2013-02-12 Thread Mika Westerberg
On Mon, Feb 11, 2013 at 03:54:05PM +, Pandruvada, Srinivas wrote: So finally we can use HID sensor hub over I2C. Did you try with any I2C sensor hub? Yes, we have I2C HID sensor hub here and I tested with it. However, I'm not that familiar how it should be used except that I can see the

Re: [PATCH] of: Create function for counting number of phandles in a property

2013-02-12 Thread Andreas Larsson
On 2013-02-11 00:58, Grant Likely wrote: This patch creates of_count_phandle_with_args(), a new function for counting the number of phandle+argument tuples in a given property. This is better than the existing method of parsing each phandle individually until parsing fails which is a horribly

Re: [PATCH] s390: Add missing PAGE_SHARED as an alias for PAGE_RW

2013-02-12 Thread Geert Uytterhoeven
Hi Heiko, On Mon, Feb 11, 2013 at 10:11 AM, Heiko Carstens heiko.carst...@de.ibm.com wrote: Thanks Geert. A similar patch however is already in linux-next, together with a whole bunch of other patches which try to make s390's allmodconfig compile again after PCI, HAS_DMA and HAS_IOMEM got

Re: [PATCH 1/3] ALSA: hda - Workaround for silent output on Sony Vaio VGC-LN51JGB with ALC889

2013-02-12 Thread Takashi Iwai
At Tue, 12 Feb 2013 16:47:44 +0900, Fernando Luis Vázquez Cao wrote: Some Vaio all-in-one desktop PCs (for example VGC-LN51JGB) are affected by the same issue that caused Vaio Z laptops to become silent: the speaker pin must be connected to the first DAC even though the codec itself

Re: [PATCH 2/3] ALSA: hda - update documentation for no-primary-hp fixup

2013-02-12 Thread Takashi Iwai
At Tue, 12 Feb 2013 16:49:46 +0900, Fernando Luis Vázquez Cao wrote: The problem addressed by this fixup is not specific to Vaio Z, affecting some Vaio all-in-one desktop PCs too. Update the code comments accordingly. Cc: sta...@vger.kernel.org Cc: alsa-de...@alsa-project.org

Re: [PATCH 2/3] ALSA: hda - no-primary-hp is a quirk for model ALC889 not ALC882

2013-02-12 Thread Takashi Iwai
At Tue, 12 Feb 2013 16:54:16 +0900, Fernando Luis Vázquez Cao wrote: Substitute ALC889 for ALC882 in macro and function names. Cc: sta...@vger.kernel.org Cc: alsa-de...@alsa-project.org Signed-off-by: Fernando Luis Vazquez Cao ferna...@oss.ntt.co.jp This fixup can work generically to all

Re: [PATCH v2 5/6] of_spi: Add fetching of of_gpio flags to of_spi_register_master

2013-02-12 Thread Andreas Larsson
On 2013-02-11 01:22, Grant Likely wrote: On Tue, 29 Jan 2013 15:53:42 +0100, Andreas Larsson andr...@gaisler.com wrote: When using a gpio chip select with a OF_GPIO_ACTIVE_LOW flag, this needs to be known to the controller driver. Signed-off-by: Andreas Larsson andr...@gaisler.com Out of

Re: [PATCH] s390: Add missing PAGE_SHARED as an alias for PAGE_RW

2013-02-12 Thread Heiko Carstens
On Tue, Feb 12, 2013 at 10:20:22AM +0100, Geert Uytterhoeven wrote: Hi Heiko, On Mon, Feb 11, 2013 at 10:11 AM, Heiko Carstens heiko.carst...@de.ibm.com wrote: Thanks Geert. A similar patch however is already in linux-next, together with a whole bunch of other patches which try to make

Re: [PATCH 2/3] ALSA: hda - no-primary-hp is a quirk for model ALC889 not ALC882

2013-02-12 Thread Fernando Luis Vazquez Cao
On 2013/02/12 18:27, Takashi Iwai wrote: At Tue, 12 Feb 2013 16:54:16 +0900, Fernando Luis Vázquez Cao wrote: Substitute ALC889 for ALC882 in macro and function names. Cc: sta...@vger.kernel.org Cc: alsa-de...@alsa-project.org Signed-off-by: Fernando Luis Vazquez Cao ferna...@oss.ntt.co.jp

Re: [PATCH v2 6/6] of_spi: Initialize cs_gpios and cs_gpio with -EEXIST

2013-02-12 Thread Andreas Larsson
On 2013-02-11 01:23, Grant Likely wrote: On Tue, 29 Jan 2013 15:53:43 +0100, Andreas Larsson andr...@gaisler.com wrote: Holes in the cs-gpios DT phandle list is supposed to mark that native chipselects is to be used. The value returned from of_get_named_gpio_flags in this case is -EEXIST. By

Re: [patch for-3.8] fs, dlm: fix build error when EXPERIMENTAL is disabled

2013-02-12 Thread Steven Whitehouse
Hi, On Mon, 2013-02-11 at 13:48 -0800, David Rientjes wrote: CONFIG_IP_SCTP relies on being able to select things like CONFIG_CRC32C to build. Thus, nothing should be selecting CONFIG_IP_SCTP that does not meet its requirements. For example, if CONFIG_EXPERIMENTAL is disabled and

Re: kvmtool tree (Was: Re: [patch] config: fix make kvmconfig)

2013-02-12 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Mon, Feb 11, 2013 at 9:58 AM, Ingo Molnar mi...@kernel.org wrote: So basically Pekka optimistically thought it's an eventual 'tit for tat', a constant stream of benefits to the kernel, in the hope of finding a home in the

Re: [PATCH 0/2] NFSD: fix races in service per-net resources allocation

2013-02-12 Thread Stanislav Kinsbursky
12.02.2013 00:58, J. Bruce Fields пишет: snip void svc_close_net(struct svc_serv *serv, struct net *net) { - svc_close_list(serv, serv-sv_tempsocks, net); - svc_close_list(serv, serv-sv_permsocks, net); - - svc_clear_pools(serv, net); - /* -* At this point the

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-12 Thread Michal Hocko
On Mon 11-02-13 17:39:43, Johannes Weiner wrote: On Mon, Feb 11, 2013 at 10:27:56PM +0100, Michal Hocko wrote: On Mon 11-02-13 14:58:24, Johannes Weiner wrote: On Mon, Feb 11, 2013 at 08:29:29PM +0100, Michal Hocko wrote: On Mon 11-02-13 12:56:19, Johannes Weiner wrote: On Mon, Feb

[PATCH] Congatec CGEB base, i2c and watchdog driver support

2013-02-12 Thread Sascha Hauer
I'd like to come back to this topic. I have sent patches last year already, changes to the last time I posted this is mainly that I moved the CGEB base support from drivers/mfd/ to arch/x86/platform/ like suggested by Samuel Ortiz back then. The following series adds support for the Congatec CGEB

[PATCH 2/3] i2c: Add Congatec CGEB I2C driver

2013-02-12 Thread Sascha Hauer
This driver provides a I2C bus driver for the CGEB interface found on some Congatec x86 modules. No devices are registered on the bus, the user has to do this via the i2c device /sys interface. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- drivers/i2c/busses/Kconfig |7

[PATCH 3/3] watchdog: Add Congatec CGEB watchdog driver

2013-02-12 Thread Sascha Hauer
This driver provides support for the CGEB watchdog found on some Congatec x86 modules. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile |1 + drivers/watchdog/congatec_cgeb_watchdog.c | 161

Re: [PATCH] drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be)

2013-02-12 Thread Michal Simek
2013/2/12 Benjamin Herrenschmidt b...@kernel.crashing.org: On Mon, 2013-02-11 at 16:57 +0100, Michal Simek wrote: But it reminds me that maybe the easiest solution is not to use endian accessors just use two simple macros which should work on all systems. #define name_readreg(offset)

[PATCH 1/3] x86: Add basic support for the Congatec CGEB BIOS interface

2013-02-12 Thread Sascha Hauer
The Congatec CGEB is a BIOS interface found on some Congatec x86 modules. It provides access to on board peripherals like I2C busses and watchdogs. This driver contains the basic support for accessing the CGEB interface and registers the child devices. Signed-off-by: Sascha Hauer

Re: [PATCH] mfd: support stmpe1801 18 bits enhanced port expander

2013-02-12 Thread Samuel Ortiz
Hi Linus, On Mon, Feb 11, 2013 at 02:58:44PM +0100, Linus Walleij wrote: On Thu, Dec 20, 2012 at 9:57 AM, Jean-Nicolas Graux jean-nicolas.gr...@stericsson.com wrote: Provides support for 1801 variant of stmpe gpio port expanders. This chip has 18 gpios configurable as GPI, GPO, keypad

Re: [PATCH] mfd: support stmpe1801 18 bits enhanced port expander

2013-02-12 Thread Samuel Ortiz
Adding Dmitry to the thread, for the input parts. On Thu, Dec 20, 2012 at 09:57:19AM +0100, Jean-Nicolas Graux wrote: Provides support for 1801 variant of stmpe gpio port expanders. This chip has 18 gpios configurable as GPI, GPO, keypad matrix, special key or dedicated key function. Note

[PATCH] net/macb: fix race with RX interrupt while doing NAPI

2013-02-12 Thread Nicolas Ferre
When interrupts are disabled, an RX condition can occur but it is not reported when enabling interrupts again. We need to check RSR and use napi_reschedule() if condition is met. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 5 + 1 file

Re: [PATCH 1/2] mfd: syscon: Fix sparse warning

2013-02-12 Thread Samuel Ortiz
Hi Fabio, On Mon, Feb 11, 2013 at 06:48:00PM -0200, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Fix the following sparse warnings: drivers/mfd/syscon.c:40:15: warning: symbol 'syscon_node_to_regmap' was not declared. Should it be static?

Re: [PATCH 2/2] mfd: da9052-i2c: Staticize da9052_i2c_fix()

2013-02-12 Thread Samuel Ortiz
Hi Fabio, On Mon, Feb 11, 2013 at 06:48:01PM -0200, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com da9052_i2c_fix() is only used locally, so let it be static. Fix the following sparse warning: drivers/mfd/da9052-i2c.c:63:5: warning: symbol 'da9052_i2c_fix' was not

Re: [patch v4 01/18] sched: set SD_PREFER_SIBLING on MC domain to reduce a domain level

2013-02-12 Thread Peter Zijlstra
On Thu, 2013-01-24 at 11:06 +0800, Alex Shi wrote: The domain flag SD_PREFER_SIBLING was set both on MC and CPU domain at frist commit b5d978e0c7e79a, and was removed uncarefully when clear up obsolete power scheduler. Then commit 6956dc568 recover the flag on CPU domain only. It works, but it

Re: [PATCH] drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be)

2013-02-12 Thread Michal Simek
2013/2/11 Arnd Bergmann a...@arndb.de: On Monday 11 February 2013, Michal Simek wrote: Unfortunately no. Another is spi/i2c (sysace as we discuss in this thread), probably icap network drivers are ok because they are not shared. Timer when it is moved to clocksource(not important right now)

Re: [patch v4 02/18] sched: select_task_rq_fair clean up

2013-02-12 Thread Peter Zijlstra
On Thu, 2013-01-24 at 11:06 +0800, Alex Shi wrote: It is impossible to miss a task allowed cpu in a eligible group. I suppose your reasoning goes like: tsk-cpus_allowed is protected by -pi_lock, we hold this, therefore it cannot change and find_idlest_group() dtrt? We can then state that this

Re: [patch v4 03/18] sched: fix find_idlest_group mess logical

2013-02-12 Thread Peter Zijlstra
On Thu, 2013-01-24 at 11:06 +0800, Alex Shi wrote: There is 4 situations in the function: 1, no task allowed group; so min_load = ULONG_MAX, this_load = 0, idlest = NULL 2, only local group task allowed; so min_load = ULONG_MAX, this_load assigned, idlest = NULL 3, only non-local

Re: [patch v4 05/18] sched: quicker balancing on fork/exec/wake

2013-02-12 Thread Peter Zijlstra
On Thu, 2013-01-24 at 11:06 +0800, Alex Shi wrote: Guess the search cpu from bottom to up in domain tree come from commit 3dbd5342074a1e sched: multilevel sbe sbf, the purpose is balancing over tasks on all level domains. This balancing cost too much if there has many domain/groups in a

Re: [PATCH] lib: memcmp_nta: add timing-attack secure memcmp

2013-02-12 Thread Florian Weimer
* Daniel Borkmann: On 02/11/2013 08:00 PM, Florian Weimer wrote: * Daniel Borkmann: Thanks for your feedback, Florian! + * memcmp_nta - memcmp that is secure against timing attacks It's not providing an ordering, so it should not have cmp in the name. I agree. What would you suggest?

Re: [patch v4 06/18] sched: give initial value for runnable avg of sched entities.

2013-02-12 Thread Peter Zijlstra
On Thu, 2013-01-24 at 11:06 +0800, Alex Shi wrote: We need initialize the se.avg.{decay_count, load_avg_contrib} to zero after a new task forked. Otherwise random values of above variables cause mess when do new task enqueue: enqueue_task_fair enqueue_entity

Re: [patch v4 07/18] sched: set initial load avg of new forked task

2013-02-12 Thread Peter Zijlstra
On Thu, 2013-01-24 at 11:06 +0800, Alex Shi wrote: + /* +* set the initial load avg of new task same as its load +* in order to avoid brust fork make few cpu too heavier +*/ + if (flags ENQUEUE_NEWTASK) + se-avg.load_avg_contrib =

Lockups using per-thread cgs and kvm

2013-02-12 Thread Andrey Korolyov
Hi, We (a cloud hosting provider) has recently observed a couple of strange lockups when physical node runs significant amount of Win2008R2 kvm appliances, one may see collection of those lockups at the link below. After checking a lot of ideas without any valuable result, I have suggested that

Re: [patch v4 08/18] Revert sched: Introduce temporary FAIR_GROUP_SCHED dependency for load-tracking

2013-02-12 Thread Peter Zijlstra
On Thu, 2013-01-24 at 11:06 +0800, Alex Shi wrote: Remove CONFIG_FAIR_GROUP_SCHED that covers the runnable info, then we can use runnable load variables. It would be nice if we could quantify the performance hit of doing so. Haven't yet looked at later patches to see if we remove anything to

Re: Odd ENOMEM being returned in 3.8-rcX

2013-02-12 Thread Eric W. Biederman
Andrew Morton a...@linux-foundation.org writes: On Fri, 08 Feb 2013 12:13:09 -0800 ebied...@xmission.com (Eric W. Biederman) wrote: If mock has called unshare(CLONE_NEWPID). And then forked a process and that process exited, and then forked anothe process that second and all subsequent fork

Re: [PATCH] lpc_sch: Accomodate partial population of the MFD devices

2013-02-12 Thread Samuel Ortiz
Hi Darren, On Fri, Feb 08, 2013 at 03:20:36PM -0800, Darren Hart wrote: The current probe aborts if any of the 3 base address registers are disabled. On a TunnelCreek system I am working on, this resulted in the SMBIOS and GPIO devices being removed when it couldn't read the base address for

Re: [patch v4 09/18] sched: add sched_policies in kernel

2013-02-12 Thread Peter Zijlstra
On Thu, 2013-01-24 at 11:06 +0800, Alex Shi wrote: Current scheduler behavior is just consider the for larger performance of system. So it try to spread tasks on more cpu sockets and cpu cores To adding the consideration of power awareness, the patchset adds 2 kinds of scheduler policy:

Re: [PATCH 4/5] lpc_ich: Add Device IDs for Intel Wellsburg PCH

2013-02-12 Thread Samuel Ortiz
Hi James, On Fri, Feb 08, 2013 at 05:33:38PM -0800, James Ralston wrote: This patch adds the Watchdog Timer Device IDs for the Intel Wellsburg PCH Signed-off-by: James Ralston james.d.rals...@intel.com --- drivers/mfd/lpc_ich.c | 38 ++ 1 files

Re: [patch v4 11/18] sched: log the cpu utilization at rq

2013-02-12 Thread Peter Zijlstra
On Thu, 2013-01-24 at 11:06 +0800, Alex Shi wrote: The cpu's utilization is to measure how busy is the cpu. util = cpu_rq(cpu)-avg.runnable_avg_sum / cpu_rq(cpu)-avg.runnable_avg_period; Since the util is no more than 1, we use its percentage value in later

Re: [PATCH v2 10/13] mailbox: create dbx500 mailbox driver

2013-02-12 Thread Mark Rutland
Hello, I have a few comments on the devicetree binding and the way it's parsed. +static const struct of_device_id dbx500_mailbox_match[] = { + { .compatible = stericsson,db8500-mailbox, + .data = (void *)db8500_mboxes, + }, + { .compatible =

Re: Getting rid of freezer for suspend [was Re: [fuse-devel] [PATCH] fuse: make fuse daemon frozen along with kernel threads]

2013-02-12 Thread Pavel Machek
Hi! That's potentially deeadlock-prone, because a task waiting for mutex X may very well be holding mutex Y, so if there's another task waiting for mutex Y, it needs to be frozen at the same time. The only little detail is how do we implement that... This means the only way I can

Ihre Web-Mail-Kontingent

2013-02-12 Thread Barbero González Alberto
Ihre Web-Mail-Kontingent hat die eingestellte Quote, die 2 GB ist überschritten. Sie derzeit auf 2.3GB.To re-aktivieren und zu erhöhen Ihre Web-Mail-Kontingent bitte überprüfen und aktualisieren Sie Ihre Web-Mail-Konto in Um wieder zu aktivieren und steigern Sie Ihren Web-Mail-Kontingent auf den

Re: [PATCH 1/1] VSOCK: Introduce VM Sockets

2013-02-12 Thread Gerd Hoffmann
On 02/07/13 01:23, Andy King wrote: Hi, +/* Option name for socket's service label. Use as the option name in + * setsockopt(3) or getsockopt(3) to set or get the service label for a socket. + * The service label is a C-style NUL-terminated string. Only available for + * hypervisor

[PATCH 4/6] dma: coh901318_lli: set residue only if dma is in progress

2013-02-12 Thread Andy Shevchenko
When status is DMA_SUCCESS the residue should be zero. Otherwise it's a bug. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: Linus Walleij linus.wall...@linaro.org Cc: linux-arm-ker...@lists.infradead.org --- drivers/dma/coh901318.c |4 +++- 1 file changed, 3

[PATCH 1/6] of: dma: protect list write operation by spin_lock

2013-02-12 Thread Andy Shevchenko
It's possible to have an inconsistency in the list due to unprotected operation on it. The patch adds a proper locking on the list operation. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Acked-by: Rob Herring rob.herr...@calxeda.com --- drivers/of/dma.c |2 ++ 1 file

[PATCH 0/6] dma: various fixes in different DMAC drivers

2013-02-12 Thread Andy Shevchenko
This is a patcset of independent fixes of the DMAC drivers. They are simple and being understandable in their context. Andy Shevchenko (6): of: dma: protect list write operation by spin_lock dmaengine.h: remove redundant else keyword dma: coh901318_lli: avoid unbalanced locking dma:

Re: [PATCH 2/2 v2] kexec: Export PG_hwpoison flag into vmcoreinfo

2013-02-12 Thread Eric W. Biederman
Mitsuhiro Tanino mitsuhiro.tanino...@hitachi.com writes: Re: [Patch 0/2] Exclude hwpoison page from vmcore dump (2012/11/01 19:40), Eric W. Biederman wrote: Mitsuhiro Tanino mitsuhiro.tanino...@hitachi.com writes: I agree. If we are performing filtering filtering out of poisoned pages seems

[PATCH 3/6] dma: coh901318_lli: avoid unbalanced locking

2013-02-12 Thread Andy Shevchenko
I have not checked the code but there is a possibility that custom pool-lock is not needed at all due to dma_pool contains it's own lock. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: Linus Walleij linus.wall...@linaro.org Cc: linux-arm-ker...@lists.infradead.org ---

[PATCH 5/6] edma: do not waste memory for dma_mask

2013-02-12 Thread Andy Shevchenko
Accordingly to commentary in the platform_device_register_full the memory allocated for dma_mask will not going to be freed. That's why is better to assign dma_mask afterwards. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/edma.c |6 -- 1 file changed,

[PATCH 2/6] dmaengine.h: remove redundant else keyword

2013-02-12 Thread Andy Shevchenko
dmaengine_device_control returns -ENOSYS in case the dma driver doesn't have such functionality. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- include/linux/dmaengine.h |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/dmaengine.h

[PATCH 6/6] dma: tegra20-apb-dma: remove unnecessary assignment

2013-02-12 Thread Andy Shevchenko
There is no need to assign 0 to residue, because dma_cookie_status() does this for us. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/tegra20-apb-dma.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/dma/tegra20-apb-dma.c

Re: [PATCH 07/16] ARM64 idle: delete pm_idle

2013-02-12 Thread Catalin Marinas
On Sun, Feb 10, 2013 at 05:58:14AM +, Len Brown wrote: From: Len Brown len.br...@intel.com pm_idle() on arm64 was a synonym for default_idle(), so remove it and invoke default_idle() directly. Signed-off-by: Len Brown len.br...@intel.com Cc: linux-arm-ker...@lists.infradead.org For

RE: [PATCH V2] Regulator: Reorder the min max assignment in the sequence of regulator_set_voltage function

2013-02-12 Thread J, KEERTHY
Hi Mark, -Original Message- From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] Sent: Monday, February 11, 2013 10:35 PM To: J, KEERTHY Cc: linux-kernel@vger.kernel.org; lgirdw...@gmail.com Subject: Re: [PATCH V2] Regulator: Reorder the min max assignment in the sequence

Re: [PATCH] drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be)

2013-02-12 Thread Arnd Bergmann
On Tuesday 12 February 2013, Michal Simek wrote: In particular, ARM can run both big- and little-endian even though big-endian is rarely used, so you need to know the endianess for the device you are talking to rather than assume that it knows what the CPU does at the time. For high

Re: [PATCH] drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be)

2013-02-12 Thread Arnd Bergmann
On Tuesday 12 February 2013, Benjamin Herrenschmidt wrote: It depends how the ARM core operates vs. IO when switched between BE and LE, does it keep the same lines doing byte 0 or does it keep the MSB/LSB in the same place (and thus changes which lanes contain byte 0) ? IIRC it changed between

Re: [git pull] drm nouveau fixes.

2013-02-12 Thread Dave Airlie
just 3 nouveau fixes, all user visible issues, I have one radeon regression fix I'm hoping to send tomorrow once I'm happy with it. Okay I've added the radeon regression fix on top as well The following changes since commit ff7c60c580d9722f820d85c9c58ca55ecc1ee7c4: drm/ttm: fix fence

Re: WARNING: at drivers/tty/tty_buffer.c:476 (tty is NULL)

2013-02-12 Thread Peter Hurley
On Tue, 2013-02-12 at 17:41 +1100, Michael Ellerman wrote: On Mon, Feb 11, 2013 at 09:53:58PM -0500, Peter Hurley wrote: On Tue, 2013-02-12 at 13:00 +1100, Michael Ellerman wrote: Can you reproduce after using the following patch series? [PATCH v3 00/23] ldisc fixes What are they

Re: Re[2]: [PATCH v2 1/3] mfd: syscon: Removed support for unloading

2013-02-12 Thread Arnd Bergmann
On Tuesday 12 February 2013, Alexander Shiyan wrote: On Monday 11 February 2013, Alexander Shiyan wrote: The driver can be used in various subsystems and therefore should not be unloaded when it is defined in the kernel configuration, so remove support for unloading it.

[PATCH] USB: EHCI: make ehci-atmel a separate driver

2013-02-12 Thread manjunath . goudar
From: Manjunath Goudar manjunath.gou...@linaro.org Separate the Atmel host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Alan Stern st...@rowland.harvard.edu Cc: Greg KH g...@kroah.com Cc: Grant Likely

Re: [PATCH 1/2] ima: Do not try to fix hash if file system does not support security xattr

2013-02-12 Thread Mimi Zohar
On Mon, 2013-02-11 at 15:11 -0500, Vivek Goyal wrote: vfs_getxattr_alloc() returns -EOPNOTSUPP if filesystem does not have security label enabled. In that case there is no point in continuing further and try to fix hashes (if ima_appraise=fix was specified) as that will fail too. Return early

[PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS

2013-02-12 Thread Stephen Rothwell
Change it to CONFIG_HAVE_VIRT_TO_BUS and set it in all architecures that already provide virt_to_bus(). Signed-off-by: Stephen Rothwell s...@canb.auug.org.au --- arch/Kconfig| 7 +++ arch/alpha/Kconfig | 1 + arch/arm/Kconfig| 1 + arch/avr32/Kconfig | 1 +

[PATCHv2 vringh 0/3] Introduce CAIF Virtio driver

2013-02-12 Thread sjur . brandeland
From: Sjur Brændeland sjur.brandel...@stericsson.com This driver depends on Rusty's new host virtio ring implementation, so this patch-set is based on the vringh branch in Rusty's git. Changes since V1: - Use the new iov helper functions, and simplify iov handling. However this triggers

[PATCHv2 vringh 1/3] remoteproc: Add support for vringh (Host vrings)

2013-02-12 Thread sjur . brandeland
From: Sjur Brændeland sjur.brandel...@stericsson.com Add functions for creating, deleting and kicking host-side virtio rings. The host ring is not integrated with virtiqueues and cannot be managed through virtio-config. Remoteproc must export functions for handling the host-side virtio rings.

[PATCHv2 vringh 2/3] virtio: Add module driver macro for virtio drivers.

2013-02-12 Thread sjur . brandeland
From: Sjur Brændeland sjur.brandel...@stericsson.com Add helper macro for drivers that don't do anything special in module init/exit. Signed-off-by: Sjur Brændeland sjur.brandel...@stericsson.com --- include/linux/virtio.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff

[PATCHv2 vringh 3/3] caif_virtio: Introduce caif over virtio

2013-02-12 Thread sjur . brandeland
From: Vikram ARV vikram@stericsson.com Add the the Virtio shared memory driver for STE Modems. caif_virtio is implemented utilizing the virtio framework for data transport and is managed with the remoteproc frameworks. The Virtio queue is used for transmitting data to the modem, and the new

Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS

2013-02-12 Thread James Hogan
On 12/02/13 11:47, Stephen Rothwell wrote: Change it to CONFIG_HAVE_VIRT_TO_BUS and set it in all architecures nit: typo in architecures that already provide virt_to_bus(). Signed-off-by: Stephen Rothwell s...@canb.auug.org.au Reviewed-by: James Hogan james.ho...@imgtec.com Cheers James

Re: [PATCH] pinctrl: pinctrl-single: fix the binding documentation

2013-02-12 Thread Linus Walleij
On Mon, Feb 11, 2013 at 3:46 AM, Kumar, Anil anilkuma...@ti.com wrote: As there are no use of #address-cells and #size-cells properties in pinctrl-single driver DT node. Fix pinctrl-single binding documentation to remove these properties. Signed-off-by: Kumar, Anil anilkuma...@ti.com ---

Re: [PATCH] drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be)

2013-02-12 Thread Michal Simek
2013/2/12 Arnd Bergmann a...@arndb.de: On Tuesday 12 February 2013, Michal Simek wrote: In particular, ARM can run both big- and little-endian even though big-endian is rarely used, so you need to know the endianess for the device you are talking to rather than assume that it knows what

Re: [PATCH] sched/rt: Unthrottle the highest RT task of the rq if there are no another available tasks to be picked

2013-02-12 Thread Mike Galbraith
On Tue, 2013-02-12 at 09:12 +0100, Stanislav Meduna wrote: On 12.02.2013 08:06, Mike Galbraith wrote: In this case pick_next_task takes idle tasks and idle wastes cpu time. That's not a waste of CPU time, that's utilization enforcement the thing it is designed to do. Well this is

[PATCH] ARM: dts: omap3-devkit8000: Enable audio support

2013-02-12 Thread Anil Kumar
Add the needed sections to enable audio support and related pin mux on Devkit8000 when booted with DT blob. Signed-off-by: Anil Kumar anilk...@gmail.com --- This patch is based on top of kernel 3.8-rc5 and the following patches. Peter Ujfalusi:- ASoC: twl4030: Correct the support for Voice port

Re: [RFC][PATCH] printk: Remove separate printk_sched buffers and use printk buf instead

2013-02-12 Thread Jan Kara
On Thu 07-02-13 00:02:20, Jan Kara wrote: On Tue 05-02-13 20:05:48, Steven Rostedt wrote: [ I sent this in a reply to another thread, but wanted a bit more attention to it ] To prevent deadlocks with doing a printk inside the scheduler, printk_sched() was created. The issue is that

[PATCH 0/9] virtio: new API for addition of buffers, scatterlist changes

2013-02-12 Thread Paolo Bonzini
Most device drivers do not need to perform any postprocessing on the scatterlists they receive from higher-level drivers (e.g. the block or SCSI layer), because they translate the request metadata directly from the various C structs into the data that is required by the device. virtio devices

[PATCH 3/9] virtio-blk: use virtqueue_start_buf on bio path

2013-02-12 Thread Paolo Bonzini
Move the creation of the request header and response footer to __virtblk_add_req. vbr-sg only contains the data scatterlist, the header/footer are added separately using the new piecewise API for building virtqueue buffers. With this change, virtio-blk (with use_bio) is not relying anymore on

[PATCH 4/9] virtio-blk: use virtqueue_start_buf on req path

2013-02-12 Thread Paolo Bonzini
This is similar to the previous patch, but a bit more radical because the bio and req paths now share the buffer construction code. Because the req path doesn't use vbr-sg, however, we need to add a couple of arguments to __virtblk_add_req. We also need to teach __virtblk_add_req how to build

[PATCH 7/9] virtio-scsi: use virtqueue_start_buf

2013-02-12 Thread Paolo Bonzini
Using the new virtio_scsi_add_sg function lets us simplify the queueing path. In particular, all data protected by the tgt_lock is just gone (multiqueue will find a new use for the lock). The speedup is relatively small (2-4%) but it is worthwhile because of the code simplification it enables.

<    3   4   5   6   7   8   9   10   11   12   >