Re: upgrade to 3.8.1 : BUG Scheduling while atomic in bonding driver:

2013-03-06 Thread Michael Wang
On 03/07/2013 03:05 PM, Linda Walsh wrote: > > > > > Michael Wang wrote: >> On 03/02/2013 01:21 PM, Linda Walsh wrote: >> Update -- it *used* to stop the messages in 3.6.7. >> >> It no longer stops the messages in 3.8.1 -- (and isn't present by >> default -- tried >> adding the unlock/lock --

[PATCH for 3.9] memcg: initialize kmem-cache destroying work earlier

2013-03-06 Thread Konstantin Khlebnikov
This patch fixes warning from lockdep caused by calling cancel_work_sync() for uninitialized struct work. This path has been triggered by destructon kmem-cache hierarchy via destroying its root kmem-cache. Signed-off-by: Konstantin Khlebnikov Cc: Glauber Costa Cc: Andrew Morton --- [

Re: [PATCH 5/6] ima: Allow appraisal of digitally signed files only

2013-03-06 Thread Kasatkin, Dmitry
On Tue, Mar 5, 2013 at 9:13 PM, Vivek Goyal wrote: > On Thu, Feb 14, 2013 at 02:55:44PM -0500, Vivek Goyal wrote: >> Currently ima appraises all the files as specified by the rule. So >> if one wants to create a system where only few executables are >> signed, that system will not work with IMA.

[PATCH] intel_idle: set the state_tables array into __initdata to save mem

2013-03-06 Thread Chuansheng Liu
Currently, in intel_idle.c, there are 5 state_tables array, every array size is sizeof(struct cpuidle_state) * CPUIDLE_STATE_MAX. But after intel_idle_probe(), just only one array is useful. Here we can just define one static state_table, and initialize it in intel_idle_probe(), and set other

[PATCH linux-next] procfs: fix rcu-lock/unlock in proc_reg_open() and proc_reg_release()

2013-03-06 Thread Konstantin Khlebnikov
fix for a21813be23329e2788164eab532e79cb0e513cfc (linux-next) "procfs: improve scaling in proc" Signed-off-by: Konstantin Khlebnikov Cc: Nathan Zimmer Cc: Andrew Morton --- fs/proc/inode.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/proc/inode.c

Re: [PATCH LINUX v5] xen: event channel arrays are xen_ulong_t and not unsigned long

2013-03-06 Thread Ian Campbell
On Thu, 2013-03-07 at 03:17 +, Will Deacon wrote: > > I looked and couldn't see an existing 64 bit xchg, was I looking in the > > wrong place? Ah, wait, I see atomic64_xchg now. But that needs an > > atomic64_t while I have a xen_ulong_t (which == 64 bits on ARM). This is > > a

Re: Byteorder conditional compilation problems

2013-03-06 Thread Geert Uytterhoeven
On Wed, Mar 6, 2013 at 6:37 PM, Linus Torvalds wrote: > On Wed, Mar 6, 2013 at 8:43 AM, David Howells wrote: >> Scripting a change from "defined(__XXX_ENDIAN)" to >> "(__XXX_ENDIAN==__BYTEORDER)" >> should be easy to script. > > How about we just make the rule be that we shouldn't test

[PATCH] davinci: vpif: Fix module build for capture and display

2013-03-06 Thread Prabhakar lad
From: Lad, Prabhakar export the symbols which are used by two modules vpif_capture and vpif_display. This patch fixes following error: ERROR: "ch_params" [drivers/media/platform/davinci/vpif_display.ko] undefined! ERROR: "vpif_ch_params_count" [drivers/media/platform/davinci/vpif_display.ko]

Re: virtual irq isssue - regmap_irq

2013-03-06 Thread Mark Brown
On Thu, Mar 07, 2013 at 12:27:52PM +0530, Ashish Jangam wrote: > In regmap_irq if irq_base is unknown then regmap creates virq starting from 0 > and it seems that in kernel 3.8 virq 0 usage is not permitted, since during > irq > registration kernel throws a message "error: irq_desc already

Re: [PATCH 1/1 v4] pwm_bl: Add support for backlight enable regulator

2013-03-06 Thread Thierry Reding
On Wed, Mar 06, 2013 at 09:17:18AM -0800, Andrew Chew wrote: [...] > diff --git a/drivers/video/backlight/pwm_bl.c > b/drivers/video/backlight/pwm_bl.c > index 069983c..ff98cdd 100644 > --- a/drivers/video/backlight/pwm_bl.c > +++ b/drivers/video/backlight/pwm_bl.c > @@ -20,10 +20,13 @@ >

Re: upgrade to 3.8.1 : BUG Scheduling while atomic in bonding driver:

2013-03-06 Thread Linda Walsh
Michael Wang wrote: > On 03/02/2013 01:21 PM, Linda Walsh wrote: > Update -- it *used* to stop the messages in 3.6.7. > > It no longer stops the messages in 3.8.1 -- (and isn't present by > default -- tried > adding the unlock/lock -- no difference. > > Weird. *sigh* > > Hi, Linda > > Do you

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-06 Thread Rusty Russell
Pawel Moll writes: > On Tue, 2013-03-05 at 00:11 +, Rusty Russell wrote: >> Pawel Moll writes: >> > On Fri, 2013-03-01 at 11:21 +, Marc Zyngier wrote: >> >> > Having said that, Rusty was contemplating enforcing LE config space in >> >> > the new PCI layout... >> >> >> >> I wouldn't

Re: [patch 2/7] tick: Convert broadcast cpu bitmaps to cpumask_var_t

2013-03-06 Thread Rusty Russell
Thomas Gleixner writes: > Signed-off-by: Thomas Gleixner > Cc: Rusty Russell > --- > kernel/time/tick-broadcast.c | 86 > +-- > kernel/time/tick-common.c|1 > kernel/time/tick-internal.h |3 + > 3 files changed, 46 insertions(+), 44

virtual irq isssue - regmap_irq

2013-03-06 Thread Ashish Jangam
Hi, In regmap_irq if irq_base is unknown then regmap creates virq starting from 0 and it seems that in kernel 3.8 virq 0 usage is not permitted, since during irq registration kernel throws a message "error: irq_desc already associated". I'm not sure if this requires fix in regmap_irq or kernel,

Re: [PATCH 1/2] of: dma: make #dma-cells optional

2013-03-06 Thread Vinod Koul
On Wed, Feb 27, 2013 at 06:57:57PM -0600, Rob Herring wrote: > From: Rob Herring > > For controllers with no requests/clients (memory to memory only), the Change log is truncated... > > Signed-off-by: Rob Herring > Cc: Vinod Koul > Cc: Dan Williams > Cc: Grant Likely > --- >

Re: [PATCH V2 3/3] get_maintainer: prevent keywords from matching filenames

2013-03-06 Thread Joe Perches
On Wed, 2013-03-06 at 23:47 -0700, Stephen Warren wrote: > On 03/06/2013 05:40 PM, Joe Perches wrote: > > Which is why I showed the whole thing in a single patch. > > No worries if it's simply to increase the patch count... > > I'm not sure what showed refers to? The changes I posted with the

Re: [PATCH V4] ARM: dts: add minimal DT support for DevKit8000.

2013-03-06 Thread Benoit Cousson
Hi, On 03/06/2013 06:53 PM, Tony Lindgren wrote: > * Anil Kumar [130305 18:40]: >> Hi Tony, >> From: linux-arm-kernel [mailto:linux-arm-kernel- boun...@lists.infradead.org] On Behalf Of Anil Kumar Sent: Wednesday, February 27, 2013 8:03 AM To:

[PATCH] fix a typo in afkey

2013-03-06 Thread Martin Zhang
From: Junwei Zhang Signed-off-by: Martin Zhang --- net/key/af_key.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/key/af_key.c b/net/key/af_key.c index 556fdaf..8555f33 100644 --- a/net/key/af_key.c +++ b/net/key/af_key.c @@ -2201,7 +2201,7 @@ static int

Re: [PATCH V2 3/3] get_maintainer: prevent keywords from matching filenames

2013-03-06 Thread Stephen Warren
On 03/06/2013 05:40 PM, Joe Perches wrote: > On Wed, 2013-03-06 at 17:34 -0700, Stephen Warren wrote: >> On 03/06/2013 05:30 PM, Joe Perches wrote: >>> On Wed, 2013-03-06 at 17:29 -0700, Stephen Warren wrote: From: Stephen Warren This reverts most of eb90d08 "get_maintainer: allow

Re: [PATCH 00/10] dmatest: update the module to use debugfs

2013-03-06 Thread Vinod Koul
On Mon, Mar 04, 2013 at 11:09:24AM +0200, Andy Shevchenko wrote: > The first approach to get dmatest module more flexible and easier to play > with. > The amount of patches could be reduced, but I would like to get a comments > first on smaller pieces. The entire series creates dmatest.txt file

Re: [PATCH v9 3/9] ARM: edma: add AM33XX support to the private EDMA API

2013-03-06 Thread Andy Shevchenko
On Wed, Mar 6, 2013 at 6:15 PM, Matt Porter wrote: > Adds support for parsing the TI EDMA DT data into the > required EDMA private API platform data. Enables runtime > PM support to initialize the EDMA hwmod. Adds AM33XX EDMA > crossbar event mux support. Enables build on OMAP. > ---

Re: [PATCH 2/2] tmpfs: fix mempolicy object leaks

2013-03-06 Thread Will Huck
Hi Hugh, On 03/06/2013 03:40 AM, Hugh Dickins wrote: On Mon, 4 Mar 2013, Will Huck wrote: Could you explain me why shmem has more relationship with mempolicy? It seems that there are many codes in shmem handle mempolicy, but other components in mm subsystem just have little. NUMA mempolicy is

Re: [PATCH] gpio: gpio-ich: fix ichx_gpio_check_available() return what callers expect

2013-03-06 Thread Mika Westerberg
On Thu, Mar 07, 2013 at 04:23:56AM +0100, Linus Walleij wrote: > Hi Mika, > > On Wed, Feb 27, 2013 at 4:25 PM, Mika Westerberg > wrote: > > > -static int ichx_gpio_check_available(struct gpio_chip *gpio, unsigned nr) > > +static bool ichx_gpio_check_available(struct gpio_chip *gpio, unsigned

Re: use after free in sysfs_find_dirent

2013-03-06 Thread Dave Jones
On Thu, Mar 07, 2013 at 02:02:30PM +0800, Greg Kroah-Hartman wrote: > On Thu, Mar 07, 2013 at 12:28:54AM -0500, Dave Jones wrote: > > general protection fault: [#1] PREEMPT SMP > > Modules linked in: vmw_vsock_vmci_transport vmw_vmci vsock bnep fuse > > rfcomm hidp l2tp_ppp l2tp_core

[RESEND 2/2] ARM: davinci: da850: add tps6507x regulator DT data

2013-03-06 Thread Vishwanathrao Badarkhe, Manish
Add tps6507x regulator device tree data to da850-evm by adding regulator consumers with tightened constraints and regulator-name.TPS6507x regulator handle can be obtained by using this regulator name. Regulator constraints are added as per da850 board file. Regulator names are given as per

[RESEND 1/2] ARM: regulator: add tps6507x device tree data

2013-03-06 Thread Vishwanathrao Badarkhe, Manish
Add device tree data for tps6507x regulator by adding all tps6507x regulator nodes. Regulators are initialized based on compatible name provided in tps6507x DT file. All tps6507x PMIC regulator device tree nodes are placed in a separate device tree include file (tps6507x.dtsi). tps6507x.dtsi file

[RESEND 0/2] davinci: Add device tree data for tps6507x.

2013-03-06 Thread Vishwanathrao Badarkhe, Manish
Add device tree data for regulator via tps6507x mfd device in da850-evm. Applies on top of v3.9-rc1 of linus tree. Tested on da850-evm device. Test procedure followed as below: Once device boots up, issue command as: $for reg in /sys/class/regulator/*; do echo $reg `cat $reg/name` `cat

Re: cgroup: INFO: suspicious RCU usage. in cgroup_name

2013-03-06 Thread Li Zefan
On 2013/3/7 14:15, Michael Wang wrote: > On 03/07/2013 12:02 AM, Sasha Levin wrote: >> Hi all, >> >> While fuzzing with trinity inside a KVM tools guest running latest -next >> kernel >> I've stumbled on the following: >> >> [ 450.180599] === >> [ 450.181392] [ INFO:

Re: cgroup: INFO: suspicious RCU usage. in cgroup_name

2013-03-06 Thread Michael Wang
On 03/07/2013 12:02 AM, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running latest -next > kernel > I've stumbled on the following: > > [ 450.180599] === > [ 450.181392] [ INFO: suspicious RCU usage. ] > [ 450.182101]

Re: [RFC][PATCH 2/2] tracing: Do not return EINVAL in snapshot when not allocated

2013-03-06 Thread Hiraku Toyooka
(03/06/2013 10:49 PM), Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > To use the tracing snapshot feature, writing a '1' into the snapshot > file causes the snapshot buffer to be allocated if it has not already > been allocated and dose a 'swap' with the main buffer, so that the >

Re: [RFC][PATCH 1/2] tracing: Add help of snapshot feature when snapshot is empty

2013-03-06 Thread Hiraku Toyooka
(03/06/2013 10:49 PM), Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > When cat'ing the snapshot file, instead of showing an empty trace > header like the trace file does, show how to use the snapshot > feature. > > Also, this is a good place to show if the snapshot has been

Re: sysfs_dir_cache slab corruption

2013-03-06 Thread Greg Kroah-Hartman
On Thu, Mar 07, 2013 at 12:33:53AM -0500, Dave Jones wrote: > And even more sysfs fallout (From a clean boot).. > > = > BUG sysfs_dir_cache (Not tainted): Poison overwritten >

Re: use after free in sysfs_find_dirent

2013-03-06 Thread Greg Kroah-Hartman
On Thu, Mar 07, 2013 at 12:28:54AM -0500, Dave Jones wrote: > general protection fault: [#1] PREEMPT SMP > Modules linked in: vmw_vsock_vmci_transport vmw_vmci vsock bnep fuse rfcomm > hidp l2tp_ppp l2tp_core 8021q garp mrp dlci pppoe pppox ppp_generic slhc > scsi_transport_iscsi rose

Re: [PATCH 1/6] platform-drivers: msm: add single-wire serial bus interface (SSBI) driver

2013-03-06 Thread Greg Kroah-Hartman
On Wed, Mar 06, 2013 at 09:20:45PM -0800, David Brown wrote: > Greg Kroah-Hartman writes: > > > On Wed, Mar 06, 2013 at 04:29:42PM -0800, David Brown wrote: > >> +menu "Qualcomm MSM SSBI bus support" > >> + depends on ARCH_MSM > > > > Why? > > In the sense that ARCH_MSM are the only devices

Re: upgrade to 3.8.1 : BUG Scheduling while atomic in bonding driver:

2013-03-06 Thread Michael Wang
On 03/02/2013 01:21 PM, Linda Walsh wrote: > > > > > Linda Walsh wrote: >> >> >> This patch is not in the latest kernel. I don't know if it is the >> 'best' way, but it does stop BUG error messages. > --- > Update -- it *used* to stop the messages in 3.6.7. > > It no longer stops the

[PATCH v2] CAIF: fix indentation for function arguments

2013-03-06 Thread Silviu-Mihai Popescu
This lines up function arguments on second and subsequent lines at the first column after the openning parenthesis of the first line. Signed-off-by: Silviu-Mihai Popescu --- net/caif/caif_dev.c |9 + net/caif/caif_socket.c | 22 +++--- net/caif/caif_usb.c

sysfs_dir_cache slab corruption

2013-03-06 Thread Dave Jones
And even more sysfs fallout (From a clean boot).. = BUG sysfs_dir_cache (Not tainted): Poison overwritten - Disabling lock debugging due to

RE: [PATCH 2/2] ARM: dts: add AM33XX MMC support

2013-03-06 Thread Hiremath, Vaibhav
> -Original Message- > From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > ow...@vger.kernel.org] On Behalf Of Porter, Matt > Sent: Thursday, March 07, 2013 9:47 AM > To: Krishnamoorthy, Balaji T; Chris Ball; Cousson, Benoit; Tony > Lindgren; Russell King > Cc: Devicetree Discuss;

Re: [PATCH 2/2] perf, tools: Fix compilation without newt support

2013-03-06 Thread Namhyung Kim
On Wed, 6 Mar 2013 15:19:17 -0800, Andi Kleen wrote: > From: Andi Kleen > > Fix > > builtin-annotate.c: In function ‘hists__find_annotations’: > builtin-annotate.c:161:4: error: duplicate case value > builtin-annotate.c:154:4: error: previously used here > > and > > builtin-report.c:479:15:

use after free in sysfs_find_dirent

2013-03-06 Thread Dave Jones
general protection fault: [#1] PREEMPT SMP Modules linked in: vmw_vsock_vmci_transport vmw_vmci vsock bnep fuse rfcomm hidp l2tp_ppp l2tp_core 8021q garp mrp dlci pppoe pppox ppp_generic slhc scsi_transport_iscsi rose caif_socket caif can_raw bridge af_key can_bcm llc2 stp can netrom

Re: [PATCH 1/2] perf, tools: Define MADV_*HUGEPAGE for old kernels

2013-03-06 Thread Namhyung Kim
Hi Andi, On Wed, 6 Mar 2013 15:19:16 -0800, Andi Kleen wrote: > From: Andi Kleen > > Avoids this on RHEL6: > > bench/numa.c: In function ‘alloc_data’: > bench/numa.c:334: error: ‘MADV_HUGEPAGE’ undeclared (first use in this > function) > bench/numa.c:334: error: (Each undeclared identifier is

Re: [PATCH 3/6] ssbi: Fix exit mismatch in remove function

2013-03-06 Thread David Brown
Greg Kroah-Hartman writes: > On Wed, Mar 06, 2013 at 04:29:44PM -0800, David Brown wrote: >> msm_ssbi_remove is referenced with __exit_p, but not declared with >> __exit. This causes a warning when the driver is not built as a >> module: >> >> drivers/ssbi/ssbi.c:341:23: warning:

Re: [PATCH 1/6] platform-drivers: msm: add single-wire serial bus interface (SSBI) driver

2013-03-06 Thread David Brown
Greg Kroah-Hartman writes: > On Wed, Mar 06, 2013 at 04:29:42PM -0800, David Brown wrote: >> +menu "Qualcomm MSM SSBI bus support" >> +depends on ARCH_MSM > > Why? In the sense that ARCH_MSM are the only devices that ever were, or ever will be made with this device. It doesn't strictly

Re: [PATCH] KEYS: Fix race with concurrent install_user_keyrings()

2013-03-06 Thread James Morris
On Wed, 6 Mar 2013, David Howells wrote: > Reported-by: Mateusz Guzik > Signed-off-by: David Howells Acked-by: James Morris -- James Morris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info

[PATCH] Select VIRT_TO_BUS directly where needed

2013-03-06 Thread Stephen Rothwell
In commit 887cbce0adea ("arch Kconfig: centralise CONFIG_ARCH_NO_VIRT_TO_BUS") I introduced the config sybmol HAVE_VIRT_TO_BUS and selected that where needed. I am not sure what I was thinking. Instead, just directly select VIRT_TO_BUS where it is needed. Signed-off-by: Stephen Rothwell ---

Suggestion for fixing the variable length array used in the kernel.

2013-03-06 Thread Christopher Li
Hi, I am looking at the current sparse warning on the kernel source. One category of those warning are produce by the variable length array. We all know that the kernel stack has a limit so we don't want to allocate too much stack to the variable size array. Is there a recommended way to fix

Re: [PATCH 0/3] Enable multiple MSI feature in pSeries

2013-03-06 Thread Mike
Hi all Any comments? or any questions about my patchset? Thanks Mike 在 2013-01-15二的 15:38 +0800,Mike Qiu写道: > Currently, multiple MSI feature hasn't been enabled in pSeries, > These patches try to enbale this feature. > > These patches have been tested by using ipr driver, and the driver patch

[PATCH] vhost_net: remove tx polling state

2013-03-06 Thread Jason Wang
After commit 2b8b328b61c799957a456a5a8dab8cc7dea68575 (vhost_net: handle polling errors when setting backend), we in fact track the polling state through poll->wqh, so there's no need to duplicate the work with an extra vhost_net_polling_state. So this patch removes this and make the code simpler.

Re: change of behavior for madvise in 3.9-rc1

2013-03-06 Thread Shaohua Li
On Wed, Mar 06, 2013 at 11:05:04PM -0500, CAI Qian wrote: > Bisecting indicated that this commit, > 1998cc048901109a29924380b8e91bc049b32951 > mm: make madvise(MADV_WILLNEED) support swap file prefetch > > Caused an LTP test failure, > http://goo.gl/1FVPy > > madvise021 TPASS : failed as

[GIT PULL] AB8500 Power and MFD related updates

2013-03-06 Thread Lee Jones
The following changes since commit 6dbe51c251a327e012439c4772097a13df43c5b8: Linux 3.9-rc1 (2013-03-03 15:11:05 -0800) are available in the git repository at: git://git.linaro.org/people/ljones/linux-3.0-ux500.git for-mfd-and-power for you to fetch changes up to

Re: [PATCH] Be explicit about what the x86 0x020c boot parameter version requires.

2013-03-06 Thread H. Peter Anvin
On 03/06/2013 10:00 AM, Peter Jones wrote: > This should help avoid making the incorrect change in non-compliant > bootloaders. > > Signed-off-by: Peter Jones > --- > Documentation/x86/boot.txt | 5 +++-- > arch/x86/include/asm/bootparam_utils.h | 7 +++ > 2 files changed, 10

[PATCH 1/2] perf: Reset detached siblings' group_flags

2013-03-06 Thread Namhyung Kim
From: Namhyung Kim Currently if a group_leader event is deleted, the sibling events are upgraded to singleton events of a same group list. At this time, the siblings inherit the leader's group_flags. However, if the group has mixed hw/sw events the leader's group_flag does not contain

[PATCH 2/2] perf: Fix mixed hw/sw event group initialization

2013-03-06 Thread Namhyung Kim
From: Namhyung Kim There's a problem with mixed hw/sw group when the leader is a software event. For instance: $ perf stat -e '{task-clock,cycles,faults}' sleep 1 Performance counter stats for 'sleep 1': 0.273436 task-clock#0.000 CPUs utilized

[PATCH 1/2] mmc: omap_hsmmc: set max_segs based on dma engine limits

2013-03-06 Thread Matt Porter
The EDMA DMAC has a hardware limitation that prevents supporting scatter gather lists with any number of segments. The DMA Engine API reports the maximum number of segments a channel can support via the optional dma_get_slave_sg_limits() API. If the max_nr_segs limit is present, the value is used

[PATCH 2/2] ARM: dts: add AM33XX MMC support

2013-03-06 Thread Matt Porter
Adds AM33XX MMC support for am335x-bone, am335x-evm, and am335x-evmsk. Signed-off-by: Matt Porter Acked-by: Tony Lindgren --- arch/arm/boot/dts/am335x-bone.dts |7 +++ arch/arm/boot/dts/am335x-evm.dts |7 +++ arch/arm/boot/dts/am335x-evmsk.dts |7 +++

[PATCH 0/2] AM33xx mmc support

2013-03-06 Thread Matt Porter
This series enable MMC support on AM33xx platforms. Support for platforms incorporating the EDMA DMAC is added using the dma_get_slave_sg_limits() api. AM33xx DTS supported is added for Beaglebone, AM335x-EVM, and AM335x-EVMSK. These patches were split out from the v5 version of the AM33xx DMA

[PATCH V3 1/4] cpufreq: exynos: Adding cpufreq driver for exynos5440

2013-03-06 Thread Amit Daniel Kachhap
This patch adds dvfs support for exynos5440 SOC. This soc has 4 cores and they scale at same frequency. The nature of exynos5440 clock controller is different from previous exynos controllers so not using the common exynos cpufreq framework. The major difference being interrupt notfication for

Re: [PATCH 1/3] mfd: ab3100-otp: use module_platform_driver_probe()

2013-03-06 Thread Linus Walleij
On Tue, Mar 5, 2013 at 5:47 AM, Jingoo Han wrote: > This patch uses module_platform_driver_probe() macro which makes > the code smaller and simpler. > > Signed-off-by: Jingoo Han Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe

[PATCH V3 4/4] dts: Add cpufreq controller node for Exynos5440 SoC

2013-03-06 Thread Amit Daniel Kachhap
Add cpufreq controller device node for Exynos5440 SoC for passing parameters like controller base address, interrupt and cpufreq table. This node is added outside cpu0 as this driver is now a platform driver and a new device structure is needed. Signed-off-by: Amit Daniel Kachhap --- Changes in

[PATCH V3 2/4] cpufreq: exynos: Remove error return even if no soc is found

2013-03-06 Thread Amit Daniel Kachhap
This patch helps to have single binary for exynos5440 and previous exynos soc's. This change is needed for adding exynos5440 cpufreq driver which does not uses exynos-cpufreq common file and adds it own driver. Signed-off-by: Amit Daniel Kachhap --- drivers/cpufreq/exynos-cpufreq.c |2 +- 1

[PATCH V3 3/4] arm: exynos: Enable OPP library support for exynos5440

2013-03-06 Thread Amit Daniel Kachhap
The OPP library support is needed for exynos5440 cpu frequency dynamic scaling driver. Signed-off-by: Amit Daniel Kachhap --- arch/arm/mach-exynos/Kconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index

linux-next: Tree for Mar 7

2013-03-06 Thread Stephen Rothwell
Hi all, Changes since 20130306: The staging tree lost its build failure. The gpio tree still had its build failure for which I reverted a commit. I have created today's linux-next tree at git://git.kernel.org/pub/scm

Re: [PATCH v6 1/2] mfd: syscon: Removed unneeded field "dev" from private driver structure

2013-03-06 Thread Alexander Shiyan
> Signed-off-by: Alexander Shiyan > --- > drivers/mfd/syscon.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c > index 61aea63..674af14 100644 > --- a/drivers/mfd/syscon.c > +++ b/drivers/mfd/syscon.c > @@ -25,17 +25,15 @@

change of behavior for madvise in 3.9-rc1

2013-03-06 Thread CAI Qian
Bisecting indicated that this commit, 1998cc048901109a29924380b8e91bc049b32951 mm: make madvise(MADV_WILLNEED) support swap file prefetch Caused an LTP test failure, http://goo.gl/1FVPy madvise021 TPASS : failed as expected: TEST_ERRNO=EINVAL(22): Invalid argument madvise022 TPASS

Re: [RFC PATCH] ARM: keep __my_cpu_offset consistent with generic one

2013-03-06 Thread Ming Lei
Hi, On Thu, Mar 7, 2013 at 11:44 AM, Will Deacon wrote: > > For the record, can you include a backtrace or something please? The lock_release_holdtime() will access percpu variable, so every lock release may trigger the hang if CONFIG_LOCK_STAT is enabled, and there are many lock

Re: [RFC PATCH] ARM: keep __my_cpu_offset consistent with generic one

2013-03-06 Thread Will Deacon
Hello, On Thu, Mar 07, 2013 at 02:47:48AM +, Ming Lei wrote: > Commit 14318efb(ARM: 7587/1: implement optimized percpu variable access) > introduces arm's __my_cpu_offset to optimize percpu vaiable access, > which really works well on hackbench test, but may cause __my_cpu_offset > to return

Re: [PATCH v3] gpio: Add device driver for GRGPIO cores and support custom accessors with gpio-generic

2013-03-06 Thread Linus Walleij
On Mon, Mar 4, 2013 at 10:46 AM, Andreas Larsson wrote: > [Me] >>> +struct grgpio_priv { >>> + struct bgpio_chip bgc; >>> + struct grgpio_regs __iomem *regs; >>> + >>> + u32 imask; /* irq mask shadow register */ >>> + s32 *irqmap;/* maps offset to irq or -1 if no

Re: 3.9-rc1: hz.bc compilation breakage

2013-03-06 Thread H. Peter Anvin
On 03/06/2013 06:36 AM, Maxime Ripard wrote: > Hi, > > I'm compiling the kernel for an iMX28(ARM) board, and since 3.9-rc1, I > get the following error at compilation time: > > make[3]: *** No rule to make target > `/home/max/Work/2012/crystalfontz/rewrite/linux-dt/include/config/hz.h', > needed

Re: [PATCH RFT] pinctrl: single: Fix build error

2013-03-06 Thread Linus Walleij
On Mon, Mar 4, 2013 at 6:47 AM, Axel Lin wrote: > If pcs->is_pinconf is false, it means does not support pinconf. > If pcs->is_pinconf is true, is_generic flag is always true. > > This patch fixes below build error: > > CC [M] drivers/pinctrl/pinctrl-single.o >

[PATCH v6 16/16] ARM: dts: add pinctrl property for spi node for atmel SoC

2013-03-06 Thread Wenyou Yang
Signed-off-by: Wenyou Yang Cc: li...@arm.linux.org.uk Cc: linux-kernel@vger.kernel.org --- arch/arm/boot/dts/at91sam9260.dtsi | 22 ++ arch/arm/boot/dts/at91sam9263.dtsi | 22 ++ arch/arm/boot/dts/at91sam9g45.dtsi | 22 ++

[PATCH v6 15/16] ARM: dts: add spi nodes for the atmel boards

2013-03-06 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud [wenyou.y...@atmel.com: added spi nodes for the sam9263ek, sam9g20ek, sam9m10g45ek and sam9n12ek boards] [wenyou.y...@atmel.com: submit the patch] Signed-off-by: Wenyou Yang Cc: li...@arm.linux.org.uk Cc: linux-kernel@vger.kernel.org ---

[PATCH v6 14/16] ARM: dts: add spi nodes for atmel SoC

2013-03-06 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud [wenyou.y...@atmel.com: add spi nodes for sam9260, sam9263, sam9g45 and sam9n12] [wenyou.y...@atmel.com: remove spi property "cs-gpios" to the board dts files] [wenyou.y...@atmel.com: submit the patch] Signed-off-by: Wenyou Yang Cc:

[PATCH v6 13/16] ARM: at91: add clocks for spi dt entries

2013-03-06 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud [ Cc: li...@arm.linux.org.uk Cc: li...@maxim.org.za Cc: linux-kernel@vger.kernel.org --- arch/arm/mach-at91/at91sam9260.c |2 ++ arch/arm/mach-at91/at91sam9g45.c |2 ++ arch/arm/mach-at91/at91sam9n12.c |2 ++

[PATCH v6 12/16] spi/spi-atmel: add pinctrl support for atmel spi

2013-03-06 Thread Wenyou Yang
Signed-off-by: Wenyou Yang Cc: spi-devel-gene...@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org --- drivers/spi/spi-atmel.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index 1e212d1..6b166f4 100644 ---

[PATCH v6 11/16] spi/spi-atmel: correct 16 bits transfers with DMA

2013-03-06 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud Cc: spi-devel-gene...@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org [wenyou.y...@atmel.com: submit the patch] Signed-off-by: Wenyou Yang --- drivers/spi/spi-atmel.c | 17 +++-- 1 file changed, 11 insertions(+), 6

[PATCH v6 10/16] spi/spi-atmel: correct 16 bits transfers using PIO

2013-03-06 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud Cc: spi-devel-gene...@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org [wenyou.y...@atmel.com: submit the patch] Signed-off-by: Wenyou Yang --- drivers/spi/spi-atmel.c | 46 +- 1 file

[PATCH v6 09/16] spi/spi-atmel: fix spi-atmel driver to adapt to slave_config changes

2013-03-06 Thread Wenyou Yang
From: Richard Genoud This is the following of the patch e2b35f3dbfc080f15b72834d08f04f0269dbe9be Signed-off-by: Richard Genoud [wenyou.y...@atmel.com: BUG: dmaengine mode when enable both spi0 and spi1, spi0 doesn't work] [wenyou.y...@atmel.com: submit the patch] Signed-off-by: Wenyou Yang

[PATCH v6 08/16] spi/spi-atmel: add dmaengine support

2013-03-06 Thread Wenyou Yang
From: Nicolas Ferre Add dmaengine support. For different SoC, the "has_dma_support" is used to select the transfer mode: dmaengine or PDC. The "has_dma_support" member of the capabilities struct is used to select the transfer mode: dmaengine or PDC. For the dmaengine transfer mode, if it

[PATCH v6 07/16] spi/spi-atmel: add flag to controller data for lock operations

2013-03-06 Thread Wenyou Yang
From: Nicolas Ferre Will allow to drop the lock during DMA operations. Signed-off-by: Nicolas Ferre Cc: spi-devel-gene...@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org [wenyou.y...@atmel.com: submit the patch] Signed-off-by: Wenyou Yang --- drivers/spi/spi-atmel.c | 31

[PATCH v6 06/16] spi/spi-atmel: status information passed through controller data

2013-03-06 Thread Wenyou Yang
From: Nicolas Ferre The status of transfer is stored in controller data structure so that it can be used not only by atmel_spi_msg_done() function. This will be useful for upcoming dmaengine enabled driver. Signed-off-by: Nicolas Ferre Cc: spi-devel-gene...@lists.sourceforge.net Cc:

Re: [rtc-linux] [PATCH 05/24] rtc: rtc-coh901331: use module_platform_driver_probe()

2013-03-06 Thread Linus Walleij
On Mon, Mar 4, 2013 at 8:59 AM, Jingoo Han wrote: > This patch uses module_platform_driver_probe() macro which makes > the code smaller and simpler. > > Signed-off-by: Jingoo Han Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe

[PATCH v6 05/16] spi/spi-atmel: call unmapping on transfers buffers

2013-03-06 Thread Wenyou Yang
From: Nicolas Ferre Signed-off-by: Nicolas Ferre Cc: spi-devel-gene...@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org [wenyou.y...@atmel.com: submit the patch] Signed-off-by: Wenyou Yang --- drivers/spi/spi-atmel.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff

[PATCH v6 04/16] spi/spi-atmel: add physical base address

2013-03-06 Thread Wenyou Yang
From: Nicolas Ferre Needed for future use with dmaengine enabled driver. Signed-off-by: Nicolas Ferre Cc: spi-devel-gene...@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org [wenyou.y...@atmel.com: submit the patch] Signed-off-by: Wenyou Yang --- drivers/spi/spi-atmel.c |2 ++ 1

Re: [rtc-linux] [PATCH 01/24] rtc: rtc-ab3100: use module_platform_driver_probe()

2013-03-06 Thread Linus Walleij
On Mon, Mar 4, 2013 at 8:57 AM, Jingoo Han wrote: > This patch uses module_platform_driver_probe() macro which makes > the code smaller and simpler. > > Signed-off-by: Jingoo Han Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe

[PATCH v6 03/16] spi/spi-atmel: add support transfer on CS1,2,3, not only on CS0

2013-03-06 Thread Wenyou Yang
Signed-off-by: Wenyou Yang Cc: spi-devel-gene...@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org --- drivers/spi/spi-atmel.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index

[PATCH v6 02/16] spi/spi-atmel: detect the capabilities of SPI core by reading the VERSION register.

2013-03-06 Thread Wenyou Yang
The "has_dma_support" needed for future use with dmaengine driver. Signed-off-by: Wenyou Yang Cc: spi-devel-gene...@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org --- drivers/spi/spi-atmel.c | 66 +++ 1 file changed, 50 insertions(+), 16

[PATCH v6 01/16] spi/spi-atmel: fix probing failure after xfer->speed_hz set

2013-03-06 Thread Wenyou Yang
commit: 059b8ffeee5b427949872bb6ed5db5ae0788054e cause the atmel spi probing failure. Signed-off-by: Wenyou Yang Cc: spi-devel-gene...@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org --- drivers/spi/spi-atmel.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

RE: [PATCH v2 0/3] pinctrl: exynos: add support for Samsung's Exynos5250

2013-03-06 Thread Kukjin Kim
Thomas Abraham wrote: > > On 7 March 2013 05:41, Kukjin Kim wrote: > > Thomas Abraham wrote: > >> > >> Changes since v1: > >> - Change the compatible string from "samsung,pinctrl-exynos5250" to > >> "samsung,exynos5250-pinctrl". > >> - Rebased to v3.9-rc1 > >> > > > > Thomas, this stuff is

Re: [PATCH] gpio: gpio-ich: fix ichx_gpio_check_available() return what callers expect

2013-03-06 Thread Linus Walleij
Hi Mika, On Wed, Feb 27, 2013 at 4:25 PM, Mika Westerberg wrote: > -static int ichx_gpio_check_available(struct gpio_chip *gpio, unsigned nr) > +static bool ichx_gpio_check_available(struct gpio_chip *gpio, unsigned nr) > { > - return (ichx_priv.use_gpio & (1 << (nr / 32))) ? 0 : -ENXIO;

Re: [PATCH v2 0/3] pinctrl: exynos: add support for Samsung's Exynos5250

2013-03-06 Thread Thomas Abraham
On 7 March 2013 05:41, Kukjin Kim wrote: > Thomas Abraham wrote: >> >> Changes since v1: >> - Change the compatible string from "samsung,pinctrl-exynos5250" to >> "samsung,exynos5250-pinctrl". >> - Rebased to v3.9-rc1 >> > > Thomas, this stuff is already in my tree for v3.10, and above changes

Re: 答复: [PATCH] USB: storage: fix Huawei mode switching regression

2013-03-06 Thread Greg KH
On Thu, Mar 07, 2013 at 02:54:38AM +, Fangxiaozhi (Franko) wrote: > Dear All: > As far as I know, except switching in kernel, there isn't any mode switch > solution on Android now. > Do you have any good ideas for the mode switch on Android system? Please discuss this with the Android

Re: [PATCH LINUX v5] xen: event channel arrays are xen_ulong_t and not unsigned long

2013-03-06 Thread Will Deacon
Hi Ian, On Tue, Mar 05, 2013 at 09:29:57AM +, Ian Campbell wrote: > On Tue, 2013-03-05 at 08:08 +, Will Deacon wrote: > > Cheers Rob, that was enough to reproduce for me. The problem is likely that > > CONFIG_AEABI=n, so the ABI doesn't actually mandate even base registers for > > 64-bit

Re: [PATCH 0/4] Alter steal-time reporting in the guest

2013-03-06 Thread Paul Mackerras
On Wed, Mar 06, 2013 at 09:52:16PM -0300, Marcelo Tosatti wrote: > On Wed, Mar 06, 2013 at 10:29:12AM -0600, Michael Wolf wrote: > > I looked at doing that once but was told that I was changing the > > interface in an unacceptable way, because now I was not reporting all of > > the elapsed time.

[PATCH v2] iio: adc: exynos5_adc: fix compilation warnings

2013-03-06 Thread Naveen Krishna Chatradhi
Fixes the compilation warnings and potential NULL pointer dereferencing pointed out by "Dan Carpenter". Signed-off-by: Naveen Krishna Ch Cc: Jonathan Cameron Cc: Lars-Peter Clausen Series-to: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Dan Carpenter --- Changes since v1:

Re: [PATCH] ARM: mxs: cfa10049: Fix fb initialisation function

2013-03-06 Thread Shawn Guo
On Tue, Mar 05, 2013 at 04:13:35PM +0100, Maxime Ripard wrote: > Commit 1fe42740 ("ARM: dts: mxs: Add the LCD to the 10049 board") seem > to have been applied with some fuzzyness, and the framebuffer > initialisation code for the CFA-10049 ended up in the CFA-10037 > initialisation function. > >

RE: 答复: [PATCH] USB: storage: fix Huawei mode switching regression

2013-03-06 Thread Fangxiaozhi (Franko)
Dear All: As far as I know, except switching in kernel, there isn't any mode switch solution on Android now. Do you have any good ideas for the mode switch on Android system? Best Regards, Franko Fang > -Original Message- > From: Dan Williams [mailto:d...@redhat.com] >

[RFC PATCH] ARM: keep __my_cpu_offset consistent with generic one

2013-03-06 Thread Ming Lei
Commit 14318efb(ARM: 7587/1: implement optimized percpu variable access) introduces arm's __my_cpu_offset to optimize percpu vaiable access, which really works well on hackbench test, but may cause __my_cpu_offset to return garbage value before it is initialized in cpu_init() called by setup_arch,

[GIT PULL] regulator updates for v3.9

2013-03-06 Thread Mark Brown
The following changes since commit 6dbe51c251a327e012439c4772097a13df43c5b8: Linux 3.9-rc1 (2013-03-03 15:11:05 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-3.9-rc1 for you to fetch changes up to

[PATCH] perf, tools: Make perf stat -I ... CSV output flat

2013-03-06 Thread Andi Kleen
From: Andi Kleen The new perf stat interval code is quite useful, especially when the data is post processed. Unfortunately the default -x, output is not very friendly to programs when it contains more than one event. Each event is printed on its own line, each keyed with the time. You cannot

[GIT PULL] regmap update for v3.9

2013-03-06 Thread Mark Brown
The following changes since commit a2b37efc4e2aa76a5be29bbde8a2cd1c9c9066bc: Merge remote-tracking branch 'regmap/topic/no-bus' into regmap-next (2013-02-14 17:11:09 +) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git

  1   2   3   4   5   6   7   8   9   10   >