Re: [PATCH 0/2] Simple concepts extracted from tip/numa/core.

2013-05-08 Thread Srikar Dronamraju
Hey Mel, > > Hi, > > > > Here is an attempt to pick few interesting patches from tip/numa/core. > > For the initial stuff, I have selected the last_nidpid (which was > > last_cpupid + Make gcc to not reread the page tables patches). > > > > Here is the performance results of running autonumabenc

[PATCH 0/6] Second set of fixes for ux500 ASoC drivers

2013-05-08 Thread Fabio Baltieri
Hi, These are some others fixes for various small issues I found while testing the ux500 ASoC driver on -next. Patch 1 adds some missing declarations for AD controls that were causing some weird behaviour in alsamixer, as the default state was outside the declared range. Patch 2 fixes a kernel c

[PATCH 1/6] ASoC: ab8500-codec: Add missing ad_to_slot definitions

2013-05-08 Thread Fabio Baltieri
According to the AB8500 user manual AD to Slot register multiplexer accept values from 0 to 15 where: 0 to 7 corresponds to AD_OUTx slots 8 to 11 corresponds to zero output 12 to 15 sets the output in tristate mode Update enum_ad_to_slot_map array to reflect this definition. This also a

[PATCH 2/6] ASoC: ux500: Do not clear state if already idle

2013-05-08 Thread Fabio Baltieri
As enable_msp gets called only after some audio data has been received, if the userspace closes the device before sending any data it causes ux500_msp_i2s_close to clear device state even if it was not previously initialized. This in turns leads to some non necessary but harmless writel, but also

[PATCH 3/6] ASoC: ux500: Drop pinctrl sleep support

2013-05-08 Thread Fabio Baltieri
Drop pinctrl default/sleep state switching code, as it was breaking the capture interface by putting the I2S pins in hi-z mode regardless of its usage status, and not giving any real benefit. Pinctrl default mode configuration is already managed automatically by a specific pinctrl hog. Signed-off

[PATCH 4/6] ASoC: ux500: Update tx tdm slots configuration

2013-05-08 Thread Fabio Baltieri
Update ab8500-codec and mop500_ab8500 tx slot configuration to reflect the actual one used by STE. Also update a wrong comment in the process. Signed-off-by: Fabio Baltieri --- sound/soc/codecs/ab8500-codec.c | 20 ++-- sound/soc/ux500/mop500_ab8500.c | 4 ++-- 2 files changed,

[PATCH 5/6] ASoC: ux500: Swap even/odd AD slot definitions

2013-05-08 Thread Fabio Baltieri
AD slots definitions for ab8500 codec were erroneously swapped between even and odd channels. Fix this by swapping the definitions to be coherent with the channel number. Signed-off-by: Fabio Baltieri --- sound/soc/codecs/ab8500-codec.h | 36 ++-- 1 file changed,

[PATCH 6/6] ASoC: ux500: Use the first two AD slots for capture

2013-05-08 Thread Fabio Baltieri
Set AD_OUT1 and AD_OUT2, corresponding to LINL and LINR pins, as the default input slots for the capture interfaces. Signed-off-by: Fabio Baltieri --- sound/soc/codecs/ab8500-codec.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sound/soc/codecs/ab8500-codec.c

Re: [PATCH] drm: refactor call to request_module

2013-05-08 Thread Paul Menzel
Am Dienstag, den 07.05.2013, 12:32 -0700 schrieb Kees Cook: > This reduces the size of the stack frame when calling request_module(). > Performing the sprintf before the call is not needed. Good fine. Do you have any hard numbers for the record? Did you find this just by reading the code or are t

[patch] err.h: IS_ERR() can accept __user pointers

2013-05-08 Thread Dan Carpenter
Sparse generates a false positive when you pass a __user or __iomem pointer to the IS_ERR() functions. drivers/rtc/rtc-ds1286.c:344:36: sparse: incorrect type in argument 1 (different address spaces) drivers/rtc/rtc-ds1286.c:344:36:expected void const *ptr drivers/rtc/rtc-ds1286.c:344:36:

Re: Linux 3.9.1

2013-05-08 Thread Athanasius
On Tue, May 07, 2013 at 09:10:10PM -0700, Greg KH wrote: > I'm announcing the release of the 3.9.1 kernel. > > All users of the 3.9 kernel series must upgrade. > > The updated 3.9.y git tree can be found at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git > linux-3.

Re: [PATCH 1/6] ASoC: ab8500-codec: Add missing ad_to_slot definitions

2013-05-08 Thread Lee Jones
I'm sure this is just me, but: >0 to 7 corresponds to AD_OUTx slots > char * const enum_ad_to_slot_map[] = {"AD_OUT1",0 1..5 ??? > "AD_OUT7",6 > "AD_OUT8",

Re: [PATCH 2/6] ASoC: ux500: Do not clear state if already idle

2013-05-08 Thread Lee Jones
On Wed, 08 May 2013, Fabio Baltieri wrote: > As enable_msp gets called only after some audio data has been received, > if the userspace closes the device before sending any data it causes > ux500_msp_i2s_close to clear device state even if it was not previously > initialized. > > This in turns le

Re: [PATCH 3/6] ASoC: ux500: Drop pinctrl sleep support

2013-05-08 Thread Lee Jones
On Wed, 08 May 2013, Fabio Baltieri wrote: > Drop pinctrl default/sleep state switching code, as it was breaking the > capture interface by putting the I2S pins in hi-z mode regardless of its > usage status, and not giving any real benefit. > > Pinctrl default mode configuration is already manage

Re: [PATCH 4/6] ASoC: ux500: Update tx tdm slots configuration

2013-05-08 Thread Lee Jones
On Wed, 08 May 2013, Fabio Baltieri wrote: > Update ab8500-codec and mop500_ab8500 tx slot configuration to reflect > the actual one used by STE. Also update a wrong comment in the process. > > Signed-off-by: Fabio Baltieri > --- > sound/soc/codecs/ab8500-codec.c | 20 ++-- > s

[PATCH] xen: reuse the same pirq allocated when driver load first time

2013-05-08 Thread Zhenzhong Duan
When driver load and unload in a loop, pirq will exhaust finally. Try to use the same pirq which was already mapped and binded at first time when driver loaded. Read pirq from msix entry and test if data is XEN_PIRQ_MSI_DATA xen_irq_from_pirq(pirq) < 0 checking is wrong as irq will be freed when d

Re: device tree not the answer in the ARM world [was: Re: running Debian on a Cubieboard]

2013-05-08 Thread Luke Kenneth Casson Leighton
On Wed, May 8, 2013 at 4:44 AM, Rob Landley wrote: >> whereas the EOMA initiative is at the complete opposite end of the >> spectrum. and products based around the EOMA standards, although >> there is a cost overhead of e.g. around $6 in parts for EOMA-68, there >> is a whopping great saving of

Re: [PATCH 5/6] ASoC: ux500: Swap even/odd AD slot definitions

2013-05-08 Thread Lee Jones
On Wed, 08 May 2013, Fabio Baltieri wrote: > AD slots definitions for ab8500 codec were erroneously swapped between > even and odd channels. Fix this by swapping the definitions to be > coherent with the channel number. > > Signed-off-by: Fabio Baltieri > --- > sound/soc/codecs/ab8500-codec.h

Re: [PATCH 3/6] ASoC: ux500: Drop pinctrl sleep support

2013-05-08 Thread Fabio Baltieri
On Wed, May 08, 2013 at 09:07:08AM +0100, Lee Jones wrote: > On Wed, 08 May 2013, Fabio Baltieri wrote: > > > Drop pinctrl default/sleep state switching code, as it was breaking the > > capture interface by putting the I2S pins in hi-z mode regardless of its > > usage status, and not giving any re

Re: [PATCH 6/6] ASoC: ux500: Use the first two AD slots for capture

2013-05-08 Thread Lee Jones
On Wed, 08 May 2013, Fabio Baltieri wrote: > Set AD_OUT1 and AD_OUT2, corresponding to LINL and LINR pins, as the > default input slots for the capture interfaces. > > Signed-off-by: Fabio Baltieri > --- > sound/soc/codecs/ab8500-codec.c | 13 +++-- > 1 file changed, 7 insertions(+), 6

Re: [PATCH 1/6] ASoC: ab8500-codec: Add missing ad_to_slot definitions

2013-05-08 Thread Fabio Baltieri
On Wed, May 08, 2013 at 08:53:28AM +0100, Lee Jones wrote: > I'm sure this is just me, but: > > >0 to 7 corresponds to AD_OUTx slots > > char * const enum_ad_to_slot_map[] = {"AD_OUT1",0 > 1..5 ??? > >

Re: Abysmal HDD/USB write speed after sleep on a UEFI system

2013-05-08 Thread Artem S. Tashkinov
May 8, 2013 04:03:18 AM, Bjorn Helgaas wrote: On Tue, May 7, 2013 at 2:48 PM, Patrik Jakobsson > wrote: >> On Tue, May 7, 2013 at 10:20 PM, Bjorn Helgaas wrote: I'm not sure if reading /proc/mtrr actually reads the registers out of the CPU each time, or whether we just return the cached

Re: Dropping non supported kernels for kernel backports ?

2013-05-08 Thread Hauke Mehrtens
On 05/08/2013 08:55 AM, Johannes Berg wrote: > On Tue, 2013-05-07 at 16:53 -0700, Luis R. Rodriguez wrote: >> Today the backports project provides support to backport down to >> 2.6.24 for some subsystems. While this is good for users in practice >> for development and maintenance this is quite a b

Re: [PATCH] Reset PCIe devices to stop ongoing DMA

2013-05-08 Thread Takao Indoh
(2013/05/07 21:50), Don Dutile wrote: > On 05/07/2013 03:09 AM, Takao Indoh wrote: >> Sorry for the delayed response. >> >> (2013/04/30 23:54), Sumner, William wrote: >>> I have installed your original patch set (from last November) and tested >>> with three platforms, each with a different IO con

Re: [PATCH] Reset PCIe devices to stop ongoing DMA

2013-05-08 Thread Takao Indoh
(2013/05/08 7:04), Alex Williamson wrote: > On Tue, 2013-05-07 at 16:10 -0400, Don Dutile wrote: >> On 05/07/2013 12:39 PM, Alex Williamson wrote: >>> On Wed, 2013-04-24 at 13:58 +0900, Takao Indoh wrote: This patch resets PCIe devices on boot to stop ongoing DMA. When "pci=pcie_reset_dev

[PATCH RFC] iio: dac: Fix build error when CONFIG_SPI_MASTER=y && CONFIG_I2C=m

2013-05-08 Thread Axel Lin
This patch fixes below build error when CONFIG_SPI_MASTER=y && CONFIG_I2C=m: drivers/built-in.o: In function `ad5064_i2c_write': drivers/iio/dac/ad5064.c:608: undefined reference to `i2c_master_send' drivers/built-in.o: In function `ad5064_i2c_register_driver': drivers/iio/dac/ad5064.c:646: undefi

Re: Abysmal HDD/USB write speed after sleep on a UEFI system

2013-05-08 Thread Artem S. Tashkinov
May 8, 2013 04:25:43 AM, Patrik Jakobsson wrote: On Wed, May 8, 2013 at 12:02 AM, Bjorn Helgaas wrote: >> On Tue, May 7, 2013 at 2:48 PM, Patrik Jakobsson wrote: >>> On Tue, May 7, 2013 at 10:20 PM, Bjorn Helgaas wrote: > I'm not sure if reading /proc/mtrr actually reads the registers out of >

Re: [PATCH] Reset PCIe devices to stop ongoing DMA

2013-05-08 Thread Takao Indoh
(2013/04/26 3:01), Don Dutile wrote: > On 04/25/2013 01:11 AM, Takao Indoh wrote: >> (2013/04/25 4:59), Don Dutile wrote: >>> On 04/24/2013 12:58 AM, Takao Indoh wrote: This patch resets PCIe devices on boot to stop ongoing DMA. When "pci=pcie_reset_devices" is specified, a hot reset is t

Re: [patch] err.h: IS_ERR() can accept __user pointers

2013-05-08 Thread Christopher Li
On Wed, May 8, 2013 at 12:42 AM, Dan Carpenter wrote: > Sparse generates a false positive when you pass a __user or __iomem > pointer to the IS_ERR() functions. > > drivers/rtc/rtc-ds1286.c:344:36: sparse: incorrect type in argument 1 > (different address spaces) > drivers/rtc/rtc-ds1286.c:344:36

[PATCH v2 2/6] ASoC: ux500: Do not clear state if already idle

2013-05-08 Thread Fabio Baltieri
As enable_msp gets called only after some audio data has been received, if the userspace closes the device before sending any data it causes ux500_msp_i2s_close to clear device state even if it was not previously initialized. This in turn leads to some non necessary but harmless writel, but also t

Re: [PATCH 1/6] ASoC: ab8500-codec: Add missing ad_to_slot definitions

2013-05-08 Thread Lee Jones
On Wed, 08 May 2013, Fabio Baltieri wrote: > On Wed, May 08, 2013 at 08:53:28AM +0100, Lee Jones wrote: > > I'm sure this is just me, but: > > > > >0 to 7 corresponds to AD_OUTx slots > > > char * const enum_ad_to_slot_map[] = {"AD_OUT1",0 > >

Re: [PATCH 3/6] ASoC: ux500: Drop pinctrl sleep support

2013-05-08 Thread Lee Jones
On Wed, 08 May 2013, Fabio Baltieri wrote: > On Wed, May 08, 2013 at 09:07:08AM +0100, Lee Jones wrote: > > On Wed, 08 May 2013, Fabio Baltieri wrote: > > > > > Drop pinctrl default/sleep state switching code, as it was breaking the > > > capture interface by putting the I2S pins in hi-z mode reg

Re: [PATCH RFC] iio: dac: Fix build error when CONFIG_SPI_MASTER=y && CONFIG_I2C=m

2013-05-08 Thread Lars-Peter Clausen
On 05/08/2013 10:36 AM, Axel Lin wrote: > This patch fixes below build error when CONFIG_SPI_MASTER=y && CONFIG_I2C=m: > > drivers/built-in.o: In function `ad5064_i2c_write': > drivers/iio/dac/ad5064.c:608: undefined reference to `i2c_master_send' > drivers/built-in.o: In function `ad5064_i2c_regi

Re: Abysmal HDD/USB write speed after sleep on a UEFI system

2013-05-08 Thread Patrik Jakobsson
On Wed, May 8, 2013 at 10:37 AM, Artem S. Tashkinov wrote: >>I think this is the official statement from Intel on the SATA issue: >>http://newsroom.intel.com/community/intel_newsroom/blog/2011/01/31/intel-identifies-chipset-design-error-implementing-solution > > My motherboard has a new fixed B3 r

[PATCH v3 2/2] ACPI / LPSS: register clock device for Lynxpoint DMA properly

2013-05-08 Thread Andy Shevchenko
From: "Rafael J. Wysocki" The DMA controller in Lynxpoint is enumerated as a regular ACPI device now. To work properly it is using the LPSS root clock as a functional clock. That's why we have to register the clock device accordingly to the ACPI ID of the DMA controller. The acpi_lpss.c module is

[PATCH v3 0/2] dma: support Lynxpoint DMA

2013-05-08 Thread Andy Shevchenko
This is the rest of patch series related to ACPI DMA helpers and Lynxpoint DMAC. Patches are rebased against current Linus' tree and Vinod's branch for-linus. Since v2: - remove patches that are already in the Vinod's tree - rebase on top of today's origin/master and Vinod's for-linus branch -

[PATCH v3 1/2] dma: acpi-dma: parse CSRT to extract additional resources

2013-05-08 Thread Andy Shevchenko
Since we have CSRT only to get additional DMA controller resources, let's get rid of drivers/acpi/csrt.c and move its logic inside ACPI DMA helpers code. Signed-off-by: Andy Shevchenko Signed-off-by: Mika Westerberg Acked-by: Rafael J. Wysocki --- drivers/acpi/Makefile|1 - drivers/acp

Re: [PATCH RFC] iio: dac: Fix build error when CONFIG_SPI_MASTER=y && CONFIG_I2C=m

2013-05-08 Thread Axel Lin
於 三,2013-05-08 於 16:36 +0800,Axel Lin 提到: > This patch fixes below build error when CONFIG_SPI_MASTER=y && CONFIG_I2C=m: > > drivers/built-in.o: In function `ad5064_i2c_write': > drivers/iio/dac/ad5064.c:608: undefined reference to `i2c_master_send' > drivers/built-in.o: In function `ad5064_i2c_re

Re: [PATCHv3] arm: Preserve the user r/w register TPIDRURW on context switch and fork

2013-05-08 Thread Will Deacon
Hi Andre, On Tue, May 07, 2013 at 09:51:00PM +0100, André Hentschel wrote: > From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Might just be my mailer, but you should check that your name is intact here otherwise the git log will be mangled. > Since commit 6a1c53124aa1 the user writeable TLS register wa

Re: [PATCH 3/6] ASoC: ux500: Drop pinctrl sleep support

2013-05-08 Thread Fabio Baltieri
On Wed, May 08, 2013 at 09:48:46AM +0100, Lee Jones wrote: > On Wed, 08 May 2013, Fabio Baltieri wrote: > > > On Wed, May 08, 2013 at 09:07:08AM +0100, Lee Jones wrote: > > > On Wed, 08 May 2013, Fabio Baltieri wrote: > > > > > > > Drop pinctrl default/sleep state switching code, as it was breaki

Re: [PATCH 13/15] chipidea: Allow user to select PCI/IMX options

2013-05-08 Thread Alexander Shishkin
Jiri Slaby writes: > From: Jeff Mahoney > > The chipidea driver currently has needless ifneq rules in the makefile > for things that should be config options. Please elaborate on the "should be" part. > This can be problematic, > especially in the IMX case, since the OF_DEVICE dependency will

Re: [RFC PATCH 0/2] ARM: Remove any correlation between IPC and BogoMips value

2013-05-08 Thread Will Deacon
Hello Christopher, On Tue, May 07, 2013 at 04:48:26PM +0100, Christopher Covington wrote: > On 05/07/2013 05:08 AM, Will Deacon wrote: > > That seems like a lot of effort in order to preserve something that isn't > > even meaningful. We might be better just zeroing the value, but then we'll > > in

[PATCH] ARM: ux500: update MSP1 pinctrl defintions

2013-05-08 Thread Fabio Baltieri
Update MSP1 pinctrl definitions in mop500_family_pinmap by removing sleep state and setting default ones as pin hogs, as those are used by both ux500-msp-i2s.1 and ux500-msp-i2s.3. Signed-off-by: Fabio Baltieri --- arch/arm/mach-ux500/board-mop500-pins.c | 17 ++--- 1 file changed, 6

Re: [PATCH] radeon: Allow disabling UVD

2013-05-08 Thread Christian König
Am 07.05.2013 23:13, schrieb Parag Warudkar: On Tue, May 7, 2013 at 4:44 AM, Christian König wrote: The patch shouldn't be necessary because just removing the firmware should have pretty much the same effect. Soon distros will ship the UVD firmware by default and then users will need to manua

KGTP (Linux debugger and tracer) 20130508 release (add single step support)

2013-05-08 Thread Hui Zhu
tween GDB debug normal program and KGTP if you have experience using GDB debug normal program. Now, KGTP 20130508 release. You can get the package for it from http://kgtp.googlecode.com/files/kgtp_20130508.tar.bz2 or svn co https://kgtp.googlecode.com/svn/tags/20130508 The main change of this relea

Re: [Arm-netbook] device tree not the answer in the ARM world [was: Re: running Debian on a Cubieboard]

2013-05-08 Thread joem
On Sun, 2013-05-05 at 13:27 +0100, Luke Kenneth Casson Leighton wrote: > when i say "completely and utterly different", i am not just talking > about the processor, i am not just talking about the GPIO, or even the > buses: i'm talking about the sensors, the power-up mechanisms, the > startup proc

[PATCH] perf tools: Fix perf version generation

2013-05-08 Thread Robert Richter
From: Robert Richter The tag of the perf version is wrongly determined, always the latest tag is taken regardless of the HEAD commit: $ perf --version perf version 3.9.rc8.gd7f5d3 $ git describe d7f5d3 v3.9-rc7-154-gd7f5d33 $ head -n 4 Makefile VERSION = 3 PATCHLEVEL = 9 SUBLEVEL = 0 EX

Re: [PATCH] wait: fix false timeouts when using wait_event_timeout()

2013-05-08 Thread Imre Deak
On Tue, 2013-05-07 at 16:12 -0700, Andrew Morton wrote: > On Thu, 2 May 2013 11:36:56 +0200 Daniel Vetter > wrote: > > > On Thu, May 2, 2013 at 10:58 AM, Imre Deak wrote: > > > Many callers of the wait_event_timeout() and > > > wait_event_interruptible_timeout() expect that the return value wil

Re: [PATCH 4/4] f2fs: optimize build_free_nids()

2013-05-08 Thread Jaegeuk Kim
2013-05-08 (수), 14:24 +0800, Haicheng Li: > On Tue, May 07, 2013 at 07:33:59PM +0900, Jaegeuk Kim wrote: > > 2013-05-06 (월), 23:15 +0800, Haicheng Li: > > > diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c > > > index 1fe3fe2..3136224 100644 > > > --- a/fs/f2fs/node.c > > > +++ b/fs/f2fs/node.c > > > @

Re: [PATCH 2/9] liblockdep: Wrap kernel/lockdep.c to allow usage from userspace

2013-05-08 Thread Peter Zijlstra
On Tue, Apr 30, 2013 at 02:54:33PM -0400, Sasha Levin wrote: > diff --git a/tools/lib/lockdep/common.c b/tools/lib/lockdep/common.c > new file mode 100644 > index 000..eb5e481 > --- /dev/null > +++ b/tools/lib/lockdep/common.c > @@ -0,0 +1,33 @@ > +#include > +#include > +#include > +#includ

net: phy: realtek: add rtl8201f driver

2013-05-08 Thread Jongsung Kim
This patch adds the minimal driver to manage the Realtek RTL8201F 10/100Mbps Transceivers. Signed-off-by: Jongsung Kim --- drivers/net/phy/realtek.c | 60 +++- 1 files changed, 53 insertions(+), 7 deletions(-) diff --git a/drivers/net/phy/realtek.c b/dr

Re: [PATCH 7/9] liblockdep: Support using LD_PRELOAD

2013-05-08 Thread Peter Zijlstra
On Tue, Apr 30, 2013 at 02:54:38PM -0400, Sasha Levin wrote: > + > +static struct rb_node **__get_lock_node(void *lock, struct rb_node **parent) > +{ > +} > + > +/** > + * __get_lock - find or create a lock instance > + * @lock: pointer to a pthread lock function > + * > + * Try to find an existin

[PATCH v2] regmap: debugfs: Fix start_reg calculation (v2)

2013-05-08 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla If we dump syscon regmap registers via debugfs you will notice that the dump contains lot of values. An example configuration is: syscon@fdde{ compatible = "syscon"; reg = <0xfdde 0x15c>; }; example dump: cat /sys/kern

Re: [PATCH v2 2/6] ASoC: ux500: Do not clear state if already idle

2013-05-08 Thread Mark Brown
On Wed, May 08, 2013 at 10:39:14AM +0200, Fabio Baltieri wrote: > As enable_msp gets called only after some audio data has been received, > if the userspace closes the device before sending any data it causes > ux500_msp_i2s_close to clear device state even if it was not previously > initialized.

Re: [PATCH 3.8-stable] kernel/audit_tree.c: tree will leak memory when failure occurs in audit_trim_trees()

2013-05-08 Thread Luis Henriques
On Tue, Apr 30, 2013 at 05:44:01PM +0900, Jonghwan Choi wrote: > This patch looks like it should be in the 3.8-stable tree, should we apply > it? This commit seems to be applicable to other stable trees as well (3.0, 3.2, 3.5, ...). Cheers, -- Luis > > -- > > From: "Chen Gang

Re: [PATCH RFC v3] media: i2c: mt9p031: add OF support

2013-05-08 Thread Laurent Pinchart
Hi Prabhakar, On Wednesday 08 May 2013 10:19:57 Prabhakar Lad wrote: > On Wed, May 8, 2013 at 7:32 AM, Laurent Pinchart wrote: > > On Tuesday 07 May 2013 15:10:36 Prabhakar Lad wrote: > >> On Mon, May 6, 2013 at 8:29 PM, Prabhakar Lad wrote: > >> > On Fri, May 3, 2013 at 8:04 PM, Arnd Bergmann wr

Re: [PATCH] perf tools: Fix perf version generation

2013-05-08 Thread Xiao Guangrong
On 05/08/2013 05:43 PM, Robert Richter wrote: > From: Robert Richter > > The tag of the perf version is wrongly determined, always the latest > tag is taken regardless of the HEAD commit: > > $ perf --version > perf version 3.9.rc8.gd7f5d3 > $ git describe d7f5d3 > v3.9-rc7-154-gd7f5d33 > $

Re: [PATCH -v8 11/11] Move arch/x86 reboot= handling to generic kernel.

2013-05-08 Thread Ingo Molnar
* Robin Holt wrote: > Merge together the unicore32, arm, and x86 reboot= command line > parameter handling. The series still has this CONFIG_X86 dependency that I inquired about previously: > +static int __init reboot_setup(char *str) > +{ > + for (;;) { > + /* > +

Re: [PATCH v4 4/6] KVM: MMU: fast invalid all shadow pages

2013-05-08 Thread Gleb Natapov
On Tue, May 07, 2013 at 12:09:29PM -0300, Marcelo Tosatti wrote: > On Tue, May 07, 2013 at 05:56:08PM +0300, Gleb Natapov wrote: > > > > Yes, I am missing what Marcelo means there too. We cannot free memslot > > > > until we unmap its rmap one way or the other. > > > > > > I do not understand what

Re: net: phy: realtek: add rtl8201f driver

2013-05-08 Thread Francois Romieu
Jongsung Kim : > This patch adds the minimal driver to manage the > Realtek RTL8201F 10/100Mbps Transceivers. Your patch contains both "remove unused #define" and "support new hardware" parts. I am not sure that the former is adequate for submission until net-next opens. > diff --git a/drivers/n

Re: [PATCH 3/6] ASoC: ux500: Drop pinctrl sleep support

2013-05-08 Thread Mark Brown
On Wed, May 08, 2013 at 09:14:18AM +0200, Fabio Baltieri wrote: > Drop pinctrl default/sleep state switching code, as it was breaking the > capture interface by putting the I2S pins in hi-z mode regardless of its > usage status, and not giving any real benefit. > > Pinctrl default mode configurati

[PATCH 1/2] regulator: isl6271a: Use NULL instead of 0

2013-05-08 Thread Sachin Kamat
init_data is a pointer. Use NULL instead of 0. Silences the following sparse warning: drivers/regulator/isl6271a-regulator.c:133:44: warning: Using plain integer as NULL pointer Signed-off-by: Sachin Kamat Cc: Marek Vasut --- drivers/regulator/isl6271a-regulator.c |2 +- 1 file changed, 1

[PATCH 2/2] regulator: palmas: Fix incorrect condition

2013-05-08 Thread Sachin Kamat
Since 'id' cannot take two values at the same time, the condition should probably be an OR (||) instead of AND (&&). Introduced by commit 28d1e8cd67 ("regulator: palma: add ramp delay support through regulator constraints"). Signed-off-by: Sachin Kamat Cc: Laxman Dewangan --- Compile tested aga

[PATCH] staging: android: logger: use kuid_t instead of uid_t

2013-05-08 Thread Xiong Zhou
From: Xiong Zhou Use kuid_t instead of uid_t, to pass the UIDGID_STRICT_TYPE_CHECKS. Signed-off-by: Xiong Zhou --- drivers/staging/android/logger.c |4 ++-- drivers/staging/android/logger.h |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/android/logge

Re: Fwd: [GIT PULL] timer changes for v3.10

2013-05-08 Thread Pavel Machek
Hi! > > > Sorry. You seem to not like the merged change, but I guess I'm not > > > quite sure what exactly your objection is here. > > > > I'm not exactly sure what my objections are. > > > > TSC was not designed for long-term precise timekeeping. [...] > > The TSC is just a 64-bit counter that

Re: [PATCH 6/6] ASoC: ux500: Use the first two AD slots for capture

2013-05-08 Thread Mark Brown
On Wed, May 08, 2013 at 09:14:21AM +0200, Fabio Baltieri wrote: > Set AD_OUT1 and AD_OUT2, corresponding to LINL and LINR pins, as the > default input slots for the capture interfaces. If these are routing specific analogue inputs to specific timeslots then this is routing that should be being exp

Re: [PATCH] ARM: ux500: update MSP1 pinctrl defintions

2013-05-08 Thread Mark Brown
On Wed, May 08, 2013 at 11:09:53AM +0200, Fabio Baltieri wrote: > Update MSP1 pinctrl definitions in mop500_family_pinmap by removing > sleep state and setting default ones as pin hogs, as those are used by > both ux500-msp-i2s.1 and ux500-msp-i2s.3. This presumably needs to go along with the ASoC

Re: [PATCH 1/6] ASoC: ab8500-codec: Add missing ad_to_slot definitions

2013-05-08 Thread Mark Brown
On Wed, May 08, 2013 at 09:14:16AM +0200, Fabio Baltieri wrote: > According to the AB8500 user manual AD to Slot register multiplexer > accept values from 0 to 15 where: Applied, thanks. signature.asc Description: Digital signature

[PATCH 1/4] ARM: tegra30: clocks: Fix pciex clock registration

2013-05-08 Thread Jay Agarwal
Registering pciex as peripheral clock instead of fixed clock as tegra_perih_reset_assert(deassert) api of this clock api gives warning and ultimately does not succeed to assert(deassert). Patch is based on remotes/gitorious_thierryreding_linux/tegra/next and should be applied on top of this. Sign

[PATCH 3/4] ARM: dts: tegra: Correct PCIe entry

2013-05-08 Thread Jay Agarwal
- Add interrupt-names property - Correct downstream I/O size - Correct cml clock name for Tegra30 - Patch is based on remotes/gitorious_thierryreding_linux/tegra/next - and should be applied on top of this. Signed-off-by: Jay Agarwal --- arch/arm/boot/dts/tegra30.dtsi |6 +++--- 1 files chan

[PATCH 4/4] ARM: tegra: pcie: Enable PCIe controller on Cardhu

2013-05-08 Thread Jay Agarwal
- Enable PCIe controller on Cardhu - Only port 2 is connected on this board - Add regulators required for Tegra30 - Patch is based on remotes/gitorious_thierryreding_linux/tegra/next - and should be applied on top of this. Signed-off-by: Jay Agarwal --- arch/arm/boot/dts/tegra30-cardhu.dtsi |

[PATCH 2/4] ARM: tegra: pcie: Add tegra3 support

2013-05-08 Thread Jay Agarwal
- Enable PCIe root port 2 for Cardhu - Make private data structure for each SoC - Add required Tegra30 clocks and regulators - Add Tegra30 specific code in enable controller - Patch is based on remotes/gitorious_thierryreding_linux/tegra/next - and should be applied on top of this. Signed-off-by:

Re: [PATCH 4/6] ASoC: ux500: Update tx tdm slots configuration

2013-05-08 Thread Mark Brown
On Wed, May 08, 2013 at 09:14:19AM +0200, Fabio Baltieri wrote: > Update ab8500-codec and mop500_ab8500 tx slot configuration to reflect > the actual one used by STE. Also update a wrong comment in the process. This seems wrong, the individual chip drivers should just be doing whatever they're be

Re: [PATCH v2 2/6] ASoC: ux500: Do not clear state if already idle

2013-05-08 Thread Lee Jones
On Wed, 08 May 2013, Mark Brown wrote: > On Wed, May 08, 2013 at 10:39:14AM +0200, Fabio Baltieri wrote: > > As enable_msp gets called only after some audio data has been received, > > if the userspace closes the device before sending any data it causes > > ux500_msp_i2s_close to clear device stat

Re: [PATCH] perf tools: Fix perf version generation

2013-05-08 Thread Robert Richter
On 08.05.13 18:39:07, Xiao Guangrong wrote: > I remember that Wang has posted a similar patch to fix this bug several > weeks ago: > http://lkml.org/lkml/2013/4/24/70 > > But have no response yet. Yes, this patch would fix the version tag too. The patch I wrote also reports a commit id eve

Re: 3.9.1: x86_64 configuration failing to build

2013-05-08 Thread Guennadi Liakhovetski
On Wed, 8 May 2013, Guennadi Liakhovetski wrote: > Hi > > Based on an old (2.6.35) configuration for my PC I updated to 3.9.1 and > went through make config, automatically called by make bzImage, the > resulted configuration couldn't be built: A "make distclean" fixed it. Thanks Guennadi > s

Re: [linux-pm] [PATCH] cpuidle: don't wakeup processor when set a longer latency

2013-05-08 Thread Daniel Lezcano
On 05/08/2013 04:44 AM, Lianwei Wang wrote: > When a PM-Qos is updated, the cpuidle driver will wakeup all the CPUs > no matter what a latency is set. But actually it only need to wakeup > the CPUs when a shorter latency is set. In this way we can reduce the > cpu wakeup count and save battery. I

Re: [PATCH 4/6] ASoC: ux500: Update tx tdm slots configuration

2013-05-08 Thread Lee Jones
On Wed, 08 May 2013, Mark Brown wrote: > On Wed, May 08, 2013 at 09:14:19AM +0200, Fabio Baltieri wrote: > > Update ab8500-codec and mop500_ab8500 tx slot configuration to reflect > > the actual one used by STE. Also update a wrong comment in the process. > > This seems wrong, the individual chi

Re: [GIT PULL v2] f2fs updates for v3.10

2013-05-08 Thread Jaegeuk Kim
Hi Linus, I've rebased one of patches, so could you consider the following pull request? Sorry for the noise. The following changes since commit 47b3bc907328db968bc9b43c41f48f8d1e140750: Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2013-03-07 15

Re: [PATCH 1/2] regulator: support operating mode in the device tree structure

2013-05-08 Thread Mark Brown
On Tue, May 07, 2013 at 11:46:12PM +, Kim, Milo wrote: > It's my intention to guarantee same operations in the DT as the regulator > constraints in the platform side. > In case a regulator has specific 'valid_modes_mask', the operating mode is > unable to be set with the device tree. > For so

Re: [PATCH 6/6] ASoC: ux500: Use the first two AD slots for capture

2013-05-08 Thread Lee Jones
On Wed, 08 May 2013, Mark Brown wrote: > On Wed, May 08, 2013 at 09:14:21AM +0200, Fabio Baltieri wrote: > > Set AD_OUT1 and AD_OUT2, corresponding to LINL and LINR pins, as the > > default input slots for the capture interfaces. > > If these are routing specific analogue inputs to specific times

Re: [PATCH v5 3/7] sched: set initial value of runnable avg for new forked task

2013-05-08 Thread Peter Zijlstra
On Tue, May 07, 2013 at 11:24:52AM +0800, Alex Shi wrote: > It will give new forked task 1 ms extra running time. That will bring > incorrect info if the new forked goes to sleep a while. > But this info should benefit to some benchmarks like aim7, > pthread_cond_broadcast. So I am convinced. :) >

[PATCH 1/1] regulator: dbx500: Make local symbol static

2013-05-08 Thread Sachin Kamat
power_state_active_get is used only in this file. Make it static. While at it also move this function definition inside the CONFIG_REGULATOR_DEBUG macro as it is called only from within it. This also avoids further build warning related to unused definition. Signed-off-by: Sachin Kamat --- drive

Re: [Xen-devel] [PATCH 1/3] arm_arch_timer: introduce arch_timer_stolen_ticks

2013-05-08 Thread Stefano Stabellini
On Tue, 7 May 2013, Christopher Covington wrote: > Hi Konrad, > > On 05/06/2013 10:35 AM, Konrad Rzeszutek Wilk wrote: > >>> e.g. if a VCPU sets a timer for NOW+5, but 3 are stolen in the middle it > >>> would not make sense (from the guests PoV) for NOW'==NOW+2 at the point > >>> where the timer

Re: [PATCH v2 2/6] ASoC: ux500: Do not clear state if already idle

2013-05-08 Thread Mark Brown
On Wed, May 08, 2013 at 12:04:51PM +0100, Lee Jones wrote: > On Wed, 08 May 2013, Mark Brown wrote: > > Ugh, please don't do stuff like this - you're posting an individual > > revision of a patch buried in the middle of a thread. This just makes > > things hard to follow and error prone. Repost

Re: [PATCH 4/6] ASoC: ux500: Update tx tdm slots configuration

2013-05-08 Thread Fabio Baltieri
On Wed, May 08, 2013 at 12:11:10PM +0100, Lee Jones wrote: > On Wed, 08 May 2013, Mark Brown wrote: > > > On Wed, May 08, 2013 at 09:14:19AM +0200, Fabio Baltieri wrote: > > > Update ab8500-codec and mop500_ab8500 tx slot configuration to reflect > > > the actual one used by STE. Also update a wr

Re: [PATCH v5 3/7] sched: set initial value of runnable avg for new forked task

2013-05-08 Thread Peter Zijlstra
On Tue, May 07, 2013 at 04:20:55AM -0700, Paul Turner wrote: > Yes, 1024 was only intended as a starting point. We could also > arbitrarily pick something larger, the key is that we pick > _something_. > > If we wanted to be more exacting about it we could just give them a > sched_slice() worth;

Re: [PATCH 3/6] ASoC: ux500: Drop pinctrl sleep support

2013-05-08 Thread Fabio Baltieri
On Wed, May 08, 2013 at 11:51:24AM +0100, Mark Brown wrote: > On Wed, May 08, 2013 at 09:14:18AM +0200, Fabio Baltieri wrote: > > Drop pinctrl default/sleep state switching code, as it was breaking the > > capture interface by putting the I2S pins in hi-z mode regardless of its > > usage status, an

Re: [PATCH 2/2 v2, RFC] Driver core: Introduce offline/online callbacks for memory blocks

2013-05-08 Thread Rafael J. Wysocki
On Tuesday, May 07, 2013 06:37:34 PM Toshi Kani wrote: > On Wed, 2013-05-08 at 02:24 +0200, Rafael J. Wysocki wrote: > > On Tuesday, May 07, 2013 05:59:16 PM Toshi Kani wrote: > > > On Wed, 2013-05-08 at 01:17 +0200, Rafael J. Wysocki wrote: > > > > On Tuesday, May 07, 2013 04:45:40 PM Toshi Kani w

Re: [PATCH 0/6] Intel pstate driver update

2013-05-08 Thread Rafael J. Wysocki
On Tuesday, May 07, 2013 05:21:59 PM Dirk Brandewie wrote: > On 05/07/2013 05:07 PM, Rafael J. Wysocki wrote: > > On Tuesday, May 07, 2013 08:20:24 AM dirk.brande...@gmail.com wrote: > >> From: dirk > >> > > All queued up for a post-3.10-rc1 push as 3.10 material, but I have a couple > > of commen

Re: [Xen-devel] [PATCH 1/3] arm_arch_timer: introduce arch_timer_stolen_ticks

2013-05-08 Thread Christopher Covington
On 05/08/2013 07:19 AM, Stefano Stabellini wrote: > On Tue, 7 May 2013, Christopher Covington wrote: >> Hi Konrad, >> >> On 05/06/2013 10:35 AM, Konrad Rzeszutek Wilk wrote: > e.g. if a VCPU sets a timer for NOW+5, but 3 are stolen in the middle it > would not make sense (from the guests Po

Re: [PATCH 06/13] pwm: pwm-mxs: Let device core handle pinctrl

2013-05-08 Thread Alexander Shishkin
Fabio Estevam writes: > Since commit ab78029 (drivers/pinctrl: grab default handles from device core), > we can rely on device core for handling pinctrl. > > So remove devm_pinctrl_get_select_default() from the driver. > > Cc: Thierry Reding > Cc: > Signed-off-by: Fabio Estevam > --- > drive

[PATCH] kbuild: Don't assume dts files live in arch/*/boot/dts

2013-05-08 Thread Matthijs Kooijman
In commit b40b25ff (kbuild: always run gcc -E on *.dts, remove cmd_dtc_cpp), dts building was changed to always use the C preprocessor. This meant that the .dts file passed to dtc is not the original, but the preprocessed one. When compiling with a separate build directory (i.e., with O=), this pr

Re: [PATCH 4/4] f2fs: optimize build_free_nids()

2013-05-08 Thread Haicheng Li
On Wed, May 08, 2013 at 06:50:04PM +0900, Jaegeuk Kim wrote: > > Could you explain when this can happen? > > > > I'm thinking of this possible scenario: > > > > as we don't hold any spinlock to protect the context, add_free_nid() could > > be > > called by other thread anytime, e.g. by the gc_thr

Re: [GIT PULL] SLAB changes for v3.10

2013-05-08 Thread Glauber Costa
On 05/08/2013 10:20 AM, Pekka Enberg wrote: >> > Hmm it's actually CONFIG_PROVE_LOCKING=y that causes the problem, >> > not CONFIG_DEBUG_SPINLOCK=y. CONFIG_DEBUG_SPINLOCK=y was just selected >> > by CONFIG_PROVE_LOCKING=y in my non-booting .config. I can now fix my >> > non-booting .config by remov

Re: [PATCH v5 3/7] sched: set initial value of runnable avg for new forked task

2013-05-08 Thread Paul Turner
On Wed, May 8, 2013 at 4:34 AM, Peter Zijlstra wrote: > On Tue, May 07, 2013 at 04:20:55AM -0700, Paul Turner wrote: >> Yes, 1024 was only intended as a starting point. We could also >> arbitrarily pick something larger, the key is that we pick >> _something_. >> >> If we wanted to be more exacti

Re: [PATCH v2 2/6] ASoC: ux500: Do not clear state if already idle

2013-05-08 Thread Lee Jones
On Wed, 08 May 2013, Mark Brown wrote: > On Wed, May 08, 2013 at 12:04:51PM +0100, Lee Jones wrote: > > On Wed, 08 May 2013, Mark Brown wrote: > > > > Ugh, please don't do stuff like this - you're posting an individual > > > revision of a patch buried in the middle of a thread. This just makes >

Re: [PATCH v2 2/6] ASoC: ux500: Do not clear state if already idle

2013-05-08 Thread Fabio Baltieri
On Wed, May 08, 2013 at 11:34:01AM +0100, Mark Brown wrote: > On Wed, May 08, 2013 at 10:39:14AM +0200, Fabio Baltieri wrote: > > As enable_msp gets called only after some audio data has been received, > > if the userspace closes the device before sending any data it causes > > ux500_msp_i2s_close

[PATCH 0/3] Xen ARM fixes for 3.10-RC1

2013-05-08 Thread Stefano Stabellini
Hi all, this small patch series fixes few Xen on ARM problems I found with more testing: - in order to work in dom0, we need to delay the initilization of the pm functions after arch_init; - VCPUOP_register_vcpu_info needs to be executed by each online cpu separately; - VCPUOP_register_vcpu_

[PATCH 1/3] xen/arm: initialize pm functions later

2013-05-08 Thread Stefano Stabellini
If we are running in dom0, we have to wait for the arch specific code to complete the initialization in order for us to successfully reset the power_off and pm_restart functions. Signed-off-by: Stefano Stabellini --- arch/arm/xen/enlighten.c |8 +++- 1 files changed, 7 insertions(+), 1 d

  1   2   3   4   5   6   7   >