[PATCH 06/27] ARM: EXYNOS:: Enter a15 lowpower mode for Exynos3250 based on Cortex-a7

2014-04-10 Thread Chanwoo Choi
This patch decide proper lowpower mode of either a15 or a9 according to own ID from Main ID register. Signed-off-by: Chanwoo Choi Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/hotplug.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git

[PATCH] bma150: extend chip detection for bma180

2014-04-10 Thread Dr. H. Nikolaus Schaller
This driver has been used while on the OpenPhoenux GTA04 with a BMA180. Signed-off-by: H. Nikolaus Schaller --- drivers/input/misc/bma150.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/input/misc/bma150.c b/drivers/input/misc/bma150.c index 52d3a9b..b36831c

Re: [PATCH 3/4] arm: add basic support for Mediatek MT6589 boards

2014-04-10 Thread Arnd Bergmann
On Thursday 10 April 2014 08:46:03 Gregory CLEMENT wrote: > >> > >> Is it really a fixed clock without any parent, or do you > >> declare it as a fixed clock because you don't have any clock > >> common framework support yet? > > > > I don't have any common clock framework support yet. > > So

[PATCH] tca8418: fix loading this driver as a module from a device tree

2014-04-10 Thread Dr. H. Nikolaus Schaller
Loading the tca8418 driver as a module on a device tree based system needs a MODULE_ALIAS because the driver name does not match the automatic name generation rules of a 'compatible' entry on i2c bus. Signed-off-by: H. Nikolaus Schaller --- drivers/input/keyboard/tca8418_keypad.c | 5 + 1

[PATCH] gpio_keys, twl4030-pwrbutton: stay awake for 1sec on resume

2014-04-10 Thread Dr. H. Nikolaus Schaller
This gives the userspace (e.g. Replicant) a chance to fully handle the pm_wakeup_event, before autosleep suspends the system alltogether again. This fixes suspend/resume on the OpenPhoenux GTA04, in combination with the Replicant 4.2.2 userspace, which needs to execute this to stay awake: 'echo

Re: [RFC PATCH 0/5] add gpio_chip_ops to hold GPIO operations

2014-04-10 Thread Javier Martinez Canillas
Hello Alexandre, Thanks a lot for your feedback. On 04/10/2014 09:36 AM, Alexandre Courbot wrote: > On Wed, Apr 9, 2014 at 3:20 AM, Javier Martinez Canillas > wrote: >> In the kernel there are basically two patterns to implement object >> oriented code in C. You can either embedded a set of

Re: [PATCH 3/4] arm: add basic support for Mediatek MT6589 boards

2014-04-10 Thread Heiko Stübner
Hi Gregory, Am Donnerstag, 10. April 2014, 08:46:03 schrieb Gregory CLEMENT: > On 10/04/2014 08:29, Matthias Brugger wrote: > > 2014-04-09 22:26 GMT+02:00 Gregory CLEMENT : > >> Hi Matthias, > >> > >> On 09/04/2014 19:45, Matthias Brugger wrote: > >>> diff --git a/arch/arm/boot/dts/mtk6589.dtsi

Re: [PATCH v3 2/8] DMA: Freescale: unify register access methods

2014-04-10 Thread Hongbo Zhang
On 04/10/2014 04:46 PM, David Laight wrote: From: hongbo.zh...@freescale.com Methods of accessing DMA contorller registers are inconsistent, some registers ^^ Thanks. sorry, that it a typo. I would wait to see if there are other defects I have to correct, if

[PATCH 08/27] pinctrl: exynos: Add driver data for Exynos3250

2014-04-10 Thread Chanwoo Choi
From: Tomasz Figa This patch adds driver data (bank list and EINT layout) for Exynos3250 to pinctrl-exynos driver. Exynos3250 includes 158 multi-functional input/output ports. There are 23 general port groups. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park ---

Re: [PATCH 00/27] Support new Exynos3250 SoC based on Cortex-A7 dual core

2014-04-10 Thread Chanwoo Choi
Dear all, Ignore this patchset because this patchset don't include all of patches. I'll send this patchset again right now. Sorry for my mistake. Best Regards, Chanwoo Choi On 04/10/2014 06:28 PM, Chanwoo Choi wrote: > This patchset support new Exynos3250 Samsung SoC based on Cortex-A7 dual

Re: [PATCH 2/2] pinctrl: sirf: switch driver to use gpiolib irqchip helpers

2014-04-10 Thread Barry Song
2014-04-10 11:48 GMT+08:00 Barry Song : > 2014-04-08 20:27 GMT+08:00 Linus Walleij : >> This switches the Sirf pinctrl driver over to using the gpiolib >> irqchip helpers simplifying some of the code. >> >> Signed-off-by: Linus Walleij >> --- >> This really needs testing on real hardware before I

Re: [PATCH 1/4 v2] perf: Allow ability to map cpus to nodes easily

2014-04-10 Thread Jiri Olsa
On Mon, Apr 07, 2014 at 02:55:21PM -0400, Don Zickus wrote: SNIP > +static int init_cpunode_map(void) > +{ > + int i; > + > + set_max_cpu_num(); > + set_max_node_num(); > + > + cpunode_map = calloc(max_cpu_num, sizeof(int)); > + if (!cpunode_map) { > + pr_err("%s:

[PATCH] bq270x0: minor improvements for daily operation

2014-04-10 Thread Dr. H. Nikolaus Schaller
Improve operation on OpenPhoenux GTA04 board: * treat receiving 0xff from the 1-wire layer as a missing battery * print calibration warning only in debug mode to keep dmesg clean Signed-off-by: NeilBrown Signed-off-by: H. Nikolaus Schaller --- drivers/power/bq27x00_battery.c | 5 - 1 file

Re: [PATCH 3/3] ie31200_edac: Add driver

2014-04-10 Thread Borislav Petkov
On Wed, Apr 09, 2014 at 10:44:21PM +, Luck, Tony wrote: > Scenario: Your mission critical app is running (controlling a giant > laser cutter). Oops there is a memory error, and the bad data arrives > at the application causing it to swing the laser beam through 180 > degrees, destroying half

[PATCH 04/27] ARM: EXYNOS: Support secondary CPU boot of Exynos4212

2014-04-10 Thread Chanwoo Choi
From: Kyungmin Park This patch fix the offset of CPU boot address and change parameter of smc call of SMC_CMD_CPU1BOOT command for Exynos4212. Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/firmware.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git

[PATCH 05/27] ARM: EXYNOS: Support secondary CPU boot of Exynos3250

2014-04-10 Thread Chanwoo Choi
This patch fix the offset of CPU boot address and don't operate smc call of SMC_CMD_CPU1BOOT command for Exynos3250. Signed-off-by: Chanwoo Choi Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/firmware.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH 03/27] ARM: EXYNOS: Add IO mapping for PMU of Exynos3250

2014-04-10 Thread Chanwoo Choi
This patch add memory mapping for PMU (Power Management Unit) which is used for power control of Exynos3250. Signed-off-by: Chanwoo Choi Signed-off-by: Kyungmin Park --- arch/arm/mach-exynos/exynos.c | 5 + arch/arm/mach-exynos/include/mach/map.h | 1 + 2 files changed, 6

[PATCH 00/27] Support new Exynos3250 SoC based on Cortex-A7 dual core

2014-04-10 Thread Chanwoo Choi
This patchset support new Exynos3250 Samsung SoC based on Cortex-A7 dual core. Exynos3250 is a System-On-Chip (SoC) that is based on 32-bit RISC processor for Smartphone. It is desigend with the 28nm low-power high-K metal gate process and provides the best performance features. This patchset

Re: [PATCH RFC V2 4/4] tools: virtio: add a top-like utility for displaying vhost satistics

2014-04-10 Thread Fam Zheng
On Fri, 03/21 17:41, Jason Wang wrote: > This patch adds simple python to display vhost satistics of vhost, the codes > were based on kvm_stat script from qemu. As work function has been recored, > filters could be used to distinguish which kinds of work are being executed or > queued: > > vhost

Re: [RFC PATCH v2] edac: synopsys: Added EDAC support for zynq ddr ecc controller

2014-04-10 Thread Borislav Petkov
On Thu, Apr 10, 2014 at 08:01:36AM +0200, Michal Simek wrote: > Just add it to Zynq maintainer fragment as we are doing for non > zynq/xilinx drivers. Yep, as a file pattern F: > At least the is the first time when someone saying that only some > functions should be documented. I don't see the

Re: 3.14.0+/x86: lockdep and mutexes not getting along

2014-04-10 Thread Peter Zijlstra
On Wed, Apr 09, 2014 at 10:42:59PM -0700, Jason Low wrote: > As a starting point, would either of you like to test the following > patch to see if it fixes the issue? This patch essentially generates the > same code as in older kernels in the debug case. This applies on top of > kernels with both

[RFC PATCH] Suppress a device hot remove related lockdep warning

2014-04-10 Thread Li Zhong
I noticed following lockdep warning when trying acpi hot-remove cpus: [84154.204080] == [84154.204080] [ INFO: possible circular locking dependency detected ] [84154.204080] 3.14.0-next-20140408+ #24 Tainted: GW [84154.204080]

RE: ks8851: reset on RX failure and TX timeout

2014-04-10 Thread Nekludov, Max
I've tried to use ndo_tx_timeout. Actually it works. But it takes too long time after TX failure and before watchdog fires. As I understand ndo_tx_timeout will be called only if tx queue is stopped. But ks8851 driver stops queue only after it's full. So one have to send a lot of data to reset

Re: 3.14.0+/x86: lockdep and mutexes not getting along

2014-04-10 Thread Kirill A. Shutemov
On Wed, Apr 09, 2014 at 10:42:59PM -0700, Jason Low wrote: > On Wed, 2014-04-09 at 15:19 +0300, Kirill A. Shutemov wrote: > > On Sun, Apr 06, 2014 at 01:12:14AM -0400, Michael L. Semon wrote: > > > Hi! Starting early in this merge window for 3.15, lockdep has been > > > giving me trouble.

[PATCH 2/2] nohz: use delayed iowait accounting to avoid race on idle time stats

2014-04-10 Thread Hidetoshi Seto
This patch is v3 of patch set to fix an issue that idle/iowait of /proc/stat can go backward. Originally reported by Tetsuo and Fernando at last year, Mar 2013. [BACKGROUNDS]: idle accounting on NO_HZ If NO_HZ is enabled, cpu stops tick interrupt for itself before go sleep to be idle. It means

[PATCH 1/2] nohz: stop updating sleep stats from get_cpu_{idle,iowait}_time_us()

2014-04-10 Thread Hidetoshi Seto
It easily cause race because multiple caller can write data without any exclusive locking. To limit the update areas to local, remove update functionality from these functions. Now there is no other way to reach update_ts_time_stats(), fold this static routine into tick_nohz_stop_idle().

Re: [PATCH] phy: exynos5-usbdrd: Add facility to toggle vbus gpio on/off

2014-04-10 Thread Kishon Vijay Abraham I
Hi. On Wednesday 09 April 2014 05:24 PM, Vivek Gautam wrote: > Adding support to enable/disable VBUS hooked to a gpio > to enable vbus supply on the port. > > Signed-off-by: Vivek Gautam > --- > > Based on 'phy-exynos5-usbdrd' patches: > [PATCH V4 0/5] Add Exynos5 USB 3.0 phy driver based on

Re: [PATCH] perf tools: Fix double free in perf test 21 (code-reading.c)

2014-04-10 Thread Jiri Olsa
On Thu, Apr 10, 2014 at 12:02:54PM +0300, Adrian Hunter wrote: > perf_evlist__delete() deletes attached cpu and thread maps > but the test is still using them, so remove them from the > evlist before deleting it. > > Signed-off-by: Adrian Hunter > --- > tools/perf/tests/code-reading.c | 1 + >

[PATCH v3 0/2] nohz: fix idle accounting in NO_HZ kernels

2014-04-10 Thread Hidetoshi Seto
Hi all, This patch set (rebased on v3.14) is my 3rd try to fix an issue that idle/iowait of /proc/stat can go backward. Originally reported by Tetsuo and Fernando at last year, Mar 2013. This v3 takes new approach to fix the problem, and now use seqcount while v1 and v2 uses seqlock. Of course

[PATCH] perf tools: Fix double free in perf test 21 (code-reading.c)

2014-04-10 Thread Adrian Hunter
perf_evlist__delete() deletes attached cpu and thread maps but the test is still using them, so remove them from the evlist before deleting it. Signed-off-by: Adrian Hunter --- tools/perf/tests/code-reading.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/tests/code-reading.c

Re: [RFC PATCH] edac: add support for ARM PL310 L2 cache parity

2014-04-10 Thread Borislav Petkov
On Thu, Apr 10, 2014 at 08:12:17AM +0200, Michal Simek wrote: > I am just curious about this recommendation. Does it mean that we > shouldn't use edac interface just for reporting problems? Yes, we should. But, if you want to have two different drivers accessing the hardware and have to build

Re: [PATCH 3/4] arm: add basic support for Mediatek MT6589 boards

2014-04-10 Thread Marc Zyngier
A couple of things on top of Rob's comments: On Wed, Apr 09 2014 at 10:50:33 pm BST, Rob Herring wrote: > On Wed, Apr 9, 2014 at 2:45 PM, Matthias Brugger > wrote: >> This adds a generic devicetree board file and a dtsi for boards >> based on the MT6589 SoCs from Mediatek. >> >> Apart from

Re: [PATCH] i2c-designware: Mask interrupts during i2c controller enable

2014-04-10 Thread Westerberg, Mika
On Thu, Apr 10, 2014 at 02:45:54AM +0300, Du, Wenkai wrote: > > -Original Message- > > From: Westerberg, Mika > > Sent: Tuesday, April 08, 2014 3:30 AM > > To: Du, Wenkai > > Cc: One Thousand Gnomes; linux-...@vger.kernel.org; Wolfram Sang; linux- > > ker...@vger.kernel.org > > Subject:

RE: [PATCH v3 2/8] DMA: Freescale: unify register access methods

2014-04-10 Thread David Laight
From: hongbo.zh...@freescale.com > Methods of accessing DMA contorller registers are inconsistent, some registers ^^ > are accessed by DMA_IN/OUT directly, while others are accessed by functions > get/set_* which are wrappers of DMA_IN/OUT, and even for the BCR

Re: [PATCH 2/2] [RFC] reservation: add suppport for read-only access using rcu

2014-04-10 Thread Thomas Hellstrom
Hi! Ugh. This became more complicated than I thought, but I'm OK with moving TTM over to fence while we sort out how / if we're going to use this. While reviewing, it struck me that this is kind of error-prone, and hard to follow since we're operating on a structure that may be continually

Re: [PATCH 3/4] arm: add basic support for Mediatek MT6589 boards

2014-04-10 Thread Gregory CLEMENT
On 10/04/2014 08:29, Matthias Brugger wrote: > 2014-04-09 22:26 GMT+02:00 Gregory CLEMENT > : >> Hi Matthias, >> >> On 09/04/2014 19:45, Matthias Brugger wrote: >>> This adds a generic devicetree board file and a dtsi for boards >>> based on the MT6589 SoCs from Mediatek. >>> >>> Apart from the

Re: mm: kernel BUG at mm/huge_memory.c:1829!

2014-04-10 Thread Bob Liu
On Tue, Apr 8, 2014 at 10:37 PM, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running the latest -next > kernel, I've stumbled on the following: > Wow! There are so many huge memory related bugs recently. AFAIR, there were still several without fix. I

Re: hpsa driver bug crack kernel down!

2014-04-10 Thread Woodhouse, David
On Thu, 2014-04-10 at 09:15 +0200, Joerg Roedel wrote: > [+ David, VT-d maintainer ] > > Jiang, David, can you please have a look into this issue? > > > > >> > > > > DMAR:[fault reason 02] Present bit in context entry is clear > > > >> > > > > dmar: DRHD: handling fault status reg 602 > > > >>

Re: hpsa driver bug crack kernel down!

2014-04-10 Thread Jiang Liu
Hi Baoquan, Could you please help to give output of "lspci -"? Is device "hpsa :03:00.0" a legacy PCI device(non-PCIe)? It may have relationship with IOMMU driver. Thanks! Gerry On 2014/4/10 12:03, Bjorn Helgaas wrote: > [+cc Joerg, iommu list] > > On Wed, Apr 9, 2014 at 6:19 PM,

Re: [PATCH 3.4 000/134] 3.4.87-stable review

2014-04-10 Thread Guenter Roeck
On 04/09/2014 08:21 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.87 release. There are 134 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 3/4] arm: add basic support for Mediatek MT6589 boards

2014-04-10 Thread Matthias Brugger
2014-04-09 22:26 GMT+02:00 Gregory CLEMENT : > Hi Matthias, > > On 09/04/2014 19:45, Matthias Brugger wrote: >> This adds a generic devicetree board file and a dtsi for boards >> based on the MT6589 SoCs from Mediatek. >> >> Apart from the generic parts (gic, clocks) the only component >>

Re: [PATCH V2 1/2] mm: move FAULT_AROUND_ORDER to arch/

2014-04-10 Thread Madhavan Srinivasan
On Wednesday 09 April 2014 09:18 PM, Dave Hansen wrote: > On 04/09/2014 01:20 AM, Peter Zijlstra wrote: >> This still misses out on Ben's objection that its impossible to get this >> right at compile time for many kernels, since they can boot and run on >> many different subarchs. > > Completely

[BUG] perf: double free in perf test 21 (code-reading.c)

2014-04-10 Thread Jiri Olsa
hi, the alternative setup (when perf_evlist__open fails) calls perf_evlist__delete which releases cpu_maps. And that is not expected byt the test so it segfaults. Using perf_event_max_sample_rate setup to hit the alternative setup. thanks, jirka [root@krava perf]# echo 1000 >

Re: [PATCH] Documentation/java.txt: add Java 7 support

2014-04-10 Thread Jonathan Callen
On 04/09/2014 12:21 PM, Randy Dunlap wrote: > On 03/30/2014 08:47 PM, Jonathan Callen wrote: >> The sample wrapper currently fails on some Java 7 .class files. This >> updates the wrapper to properly handle those files. >> >> Signed-off-by: Jonathan Callen > > Applied. Thanks. > > How would I

Re: [PATCH 4/4] arm: mediatek: Add earlyprintk support for MT6589

2014-04-10 Thread Matthias Brugger
2014-04-09 23:39 GMT+02:00 Rob Herring : > On Wed, Apr 9, 2014 at 2:45 PM, Matthias Brugger > wrote: >> Signed-off-by: Matthias Brugger >> --- >> arch/arm/Kconfig.debug| 49 >> +++-- >> arch/arm/include/debug/mediatek.S | 38

Re: [PATCH 00/15] ARM: sunxi: add A31 PL pins support

2014-04-10 Thread Maxime Ripard
On Thu, Apr 10, 2014 at 01:14:26AM +0800, Chen-Yu Tsai wrote: > > 3) other things I haven't noticed yet :-) > > Reworking EINT to use one interrupt per bank will yield some more surprises. > > There's also new gpiolib irqchip helpers, but that will require reworking > each pin bank into

Re: [PATCH 00/15] ARM: sunxi: add A31 PL pins support

2014-04-10 Thread Maxime Ripard
On Thu, Apr 10, 2014 at 12:27:32AM +0800, Chen-Yu Tsai wrote: > >> > Let me know if these changes are too intrusive. > >> > >> I wonder if we should do a separate driver for the new PIO controller. > >> Clearly it's a separate IP block, with it's own clock and reset controls. > > > > It's been

Re: 3.14.0+/x86: lockdep and mutexes not getting along

2014-04-10 Thread Peter Zijlstra
On Wed, Apr 09, 2014 at 10:42:59PM -0700, Jason Low wrote: > +#if defined(CONFIG_DEBUG_MUTEXES) || defined(CONFIG_DEBUG_LOCK_ALLOC) DEBUG_LOCK_ALLOC always implies DEBUG_MUTEXES, see lib/Kconfig.debug -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: 3.14.0+/x86: lockdep and mutexes not getting along

2014-04-10 Thread Peter Zijlstra
On Wed, Apr 09, 2014 at 03:19:40PM +0300, Kirill A. Shutemov wrote: > On Sun, Apr 06, 2014 at 01:12:14AM -0400, Michael L. Semon wrote: > > Hi! Starting early in this merge window for 3.15, lockdep has been > > giving me trouble. Normally, a splat will happen, lockdep will shut > > itself off,

Re: 3.14.0+/x86: lockdep and mutexes not getting along

2014-04-10 Thread Peter Zijlstra
On Wed, Apr 09, 2014 at 03:19:40PM +0300, Kirill A. Shutemov wrote: > I have troble with the commit as well: How so? As far as I can tell the below is a genuine bug and not related to the mutex debug thing. > [ 26.745741] > [ 26.747484] ==

[PATCH] scripts/tags.sh: add regular expression replacement pattern for memcg

2014-04-10 Thread Jianyu Zhan
Currently, no regular expression replacement pattern for PageCgroug* defined, which causes quite a few pain while reading code. Just get rid of it. Also, add a comment to inform people to add pattern for whatever new flags they add. Signed-off-by: Jianyu Zhan --- include/linux/page_cgroup.h |

Re: [PATCH] ARM: reinsert ARCH_MULTI_V4 Kconfig option

2014-04-10 Thread Jonas Jensen
On 9 April 2014 18:01, Russell King - ARM Linux wrote: > It would be useful to see the register state from the undefined > instruction exception. That needs this patch, CONFIG_DEBUG_USER in the > kernel config enabled, and user_debug=1 passed on the kernel command > line. I have done two tests,

Re: [PATCH] cdc-acm: some enhancement on acm delayed write

2014-04-10 Thread Oliver Neukum
On Wed, 2014-04-09 at 22:57 +0800, Xiao Jin wrote: > Thanks all for the review. We meet with the problems when developing > product. I would like to explain my understanding. > > On 04/08/2014 11:05 AM, Xiao Jin wrote: > > > > We find two problems on acm tty write delayed mechanism. > > (1) When

Re: [PATCH v7 4/6] pci: Introduce a domain number for pci_host_bridge.

2014-04-10 Thread Arnd Bergmann
On Wednesday 09 April 2014 21:48:14 Bjorn Helgaas wrote: > On Wed, Apr 9, 2014 at 7:27 PM, Liviu Dudau wrote: > > On Wed, Apr 09, 2014 at 08:02:41AM -0600, Bjorn Helgaas wrote: > >> >> struct pci_host_bridge { > >> >> int domain; > >> >> int node; > >> >> struct device *dev; > >> >>

RE: system hang

2014-04-10 Thread Narasimharao Bolisetti
Hi, I have checked the same in the recent kernel versions also. Issue is still remain. Regards, Narasimharao B -Original Message- From: Willy Tarreau [mailto:w...@1wt.eu] Sent: 10 April 2014 13:26 To: narasimharo bolisetti Cc: linux-kernel@vger.kernel.org;

Re: [PATCH 1/5] sched: Convert thread_group_cputime() to use for_each_thread()

2014-04-10 Thread Ingo Molnar
* Oleg Nesterov wrote: > On 04/09, Peter Zijlstra wrote: > > > > Cute,.. and all that lives in sched.h and I wasn't even Cc'ed :-( > > Sorry ;) I didn't think you can be interested. I'll cc you in future, > this still needs more work. Please generally Cc: the folks listed in:

Re: [PATCH v4] ASoC: fsl_sai: Add clock controls for SAI

2014-04-10 Thread Nicolin Chen
On Thu, Apr 10, 2014 at 03:39:51PM +0800, Xiubo Li-B47053 wrote: > > diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c > > index db9f75e..7cd4af9 100644 > > --- a/sound/soc/fsl/fsl_sai.c > > +++ b/sound/soc/fsl/fsl_sai.c > > @@ -401,7 +401,23 @@ static int fsl_sai_startup(struct

Re: system hang

2014-04-10 Thread Willy Tarreau
On Thu, Apr 10, 2014 at 12:05:52AM -0700, narasimharo bolisetti wrote: > My kernel version is: > 2.6.35.6-45.fc14.i686 Maintenance for this kernel has been dropped years ago, so it very likely contains many bugs that were fixed in more recent ones. You should definitely upgrade. Hoping this

Re: [3.15-rc1 slab] Oops when reading /proc/slab_allocators

2014-04-10 Thread Joonsoo Kim
On Wed, Apr 09, 2014 at 08:36:10PM +0900, Tetsuo Handa wrote: > Hello. > > I found that > > $ cat /proc/slab_allocators > > causes an oops. > > -- dmesg start -- > [ 22.719620] BUG: unable to handle kernel paging request at 8800389b7ff8 > [ 22.719742] IP: []

Re: [PATCH] driver core: Move driver_data back to struct device

2014-04-10 Thread Jean Delvare
Hi Greg, On Mon, 7 Apr 2014 13:58:15 -0700, Greg Kroah-Hartman wrote: > On Mon, Apr 07, 2014 at 10:53:22AM +0200, Jean Delvare wrote: > > Having to allocate memory as part of dev_set_drvdata() is a problem > > because that memory may never get freed if the device itself is not > > created. So

Re: sched_{set,get}attr() manpage

2014-04-10 Thread Juri Lelli
Hi all, On Wed, 9 Apr 2014 17:42:04 +0200 Peter Zijlstra wrote: > On Wed, Apr 09, 2014 at 05:19:11PM +0200, Henrik Austad wrote: > > > The following "real-time" policies are also supported, for > > > > why the "'s? > > I borrowed those from SCHED_SETSCHEDULER(2). > > > >

Re: Bumping required kernels to 3.0 for Linux backports ?

2014-04-10 Thread Takashi Iwai
At Wed, 9 Apr 2014 14:06:13 -0700, Greg Kroah-Hartman wrote: > > On Wed, Apr 09, 2014 at 01:52:29PM -0700, Luis R. Rodriguez wrote: > > On Wed, Apr 9, 2014 at 1:22 PM, Greg Kroah-Hartman > > wrote: > > > On Wed, Apr 09, 2014 at 01:01:23PM -0700, Luis R. Rodriguez wrote: > > >> On Wed, Apr 9,

[GIT PULL] thermal management updates for v3.15-rc1

2014-04-10 Thread Zhang Rui
Hi Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive thermal management updates for v3.15-rc1 with top-most commit 9477165ec525d47abb1cb6523698e0cd89d65ddb: thermal: rcar-thermal: update thermal zone only when

Re: [uml/do_xor_speed] WARNING: CPU: 0 PID: 1 at init/main.c:708 do_one_initcall()

2014-04-10 Thread Boaz Harrosh
On 04/10/2014 09:53 AM, Fengguang Wu wrote: > Hi Boaz, > > I catch the below warning again in > > git://git.open-osd.org/linux-open-osd.git raid6 > OK Thanks. Daa I thought I fixed it but I forgot the obvious problem. I pushed a new tree I think it might be good this time. (finally) Thanks

Re: sched: hang in migrate_swap

2014-04-10 Thread Peter Zijlstra
On Wed, Apr 09, 2014 at 11:31:48PM -0400, Sasha Levin wrote: > I'd like to re-open this issue. It seems that something broke and I'm > now seeing the same issues that have gone away 2 months with this patch > again. Weird; we didn't touch anything in the last few weeks :-/ > Stack trace is

RE: [PATCH v4] ASoC: fsl_sai: Add clock controls for SAI

2014-04-10 Thread li.xi...@freescale.com
> Subject: [PATCH v4] ASoC: fsl_sai: Add clock controls for SAI > > The SAI mainly has the following clocks: > bus clock > control and configure registers and to generate synchronous > interrupts and DMA requests. > > mclk1, mclk2, mclk3 > to generate the bit clock when the

Re: [PATCH 3/4] arm: add basic support for Mediatek MT6589 boards

2014-04-10 Thread Arnd Bergmann
On Wednesday 09 April 2014 21:45:35 Matthias Brugger wrote: > This adds a generic devicetree board file and a dtsi for boards > based on the MT6589 SoCs from Mediatek. > > Apart from the generic parts (gic, clocks) the only component > currently supported are the timers. > > Signed-off-by:

Re: [RFC PATCH 0/5] add gpio_chip_ops to hold GPIO operations

2014-04-10 Thread Alexandre Courbot
On Wed, Apr 9, 2014 at 3:20 AM, Javier Martinez Canillas wrote: > In the kernel there are basically two patterns to implement object > oriented code in C. You can either embedded a set of function pointers s/embedded/embed > in a struct along with other members or have a separate virtual

Re: [PATCH 2/2] pwm: use PWM_LOOKUP to set the period and polarity

2014-04-10 Thread Alexandre Belloni
On 10/04/2014 at 08:15:49 +0900, Simon Horman wrote : > On Wed, Apr 09, 2014 at 08:04:09PM +0200, Alexandre Belloni wrote: > > Now that the PWM core is able to set the period and polarity based on > > the lookup table, add those to PWM_LOOKUP to ease their usage. > > I would prefer if this change

[GIT PULL v2] perf/core improvements and fixes

2014-04-10 Thread Jiri Olsa
hi Ingo, please consider pulling. v2 has fixed SOB chain for following patch: Jiri Olsa (1): perf tests: Add thread maps lookup automated tests no functional change, so not including all patches thanks, jirka The following changes since commit 538592ff0b008237ae88f5ce5fb1247127dc3ce5:

Re: [PATCH v4 00/16] mfd: max14577: Add support for MAX77836

2014-04-10 Thread Lee Jones
> > Hi Krzysztof, > > > > Did you finish this patchset for applying git repository? > > I can't find this patchset on mainline kernel. > > > > If this patchset isn't applied on mainline, I'd like you to finish this > > patch > > because I want to maintain up to date patch for max77836/max14577

Re: Bumping required kernels to 3.0 for Linux backports ?

2014-04-10 Thread Johannes Berg
On Wed, 2014-04-09 at 14:06 -0700, Greg Kroah-Hartman wrote: > Why 3.0? That's not supported by anyone anymore for "new hardware", I'd > move to 3.2 if you could, as that's the Debian stable release that will > be maintained for quite some time yet: >

Re: [PATCH V3 4/5] mfd: palmas: support IRQ inversion at the board level

2014-04-10 Thread Lee Jones
> Stephen, any news about this patch? I'm waiting for it to be merged in > order to resend some Tegra DTs, but still cannot see it in -next. I doubt it's been applied. No one got back to me with reference to how to deal with the set [1], so I certainly didn't apply it. [1]

Re: [PATCH v3 0/4] Introduce new Kconfig for Samsung common clock

2014-04-10 Thread Pankaj Dubey
On 03/20/2014 01:55 PM, Pankaj Dubey wrote: Introduce a new Kconfig file for Samsung common clock infrastructure related config options. As current Samsung common clock gets compiled based on PLAT_SAMSUNG, but moving ahead with ARM64 we can not have any more such config options, so this patch

[PATCH v3 0/8] DMA: Freescale: driver cleanups and enhancements

2014-04-10 Thread Hongbo Zhang
Sorry, forgot the cover letter, plus it here. From: Hongbo Zhang Date: Thu, 10 Apr 2014 15:16:31 +0800 Subject: [PATCH v3 0/8] DMA: Freescale: driver cleanups and enhancements Hi Vinod Koul, Please have a look at the v3 patch set. v2 -> v3 change: Only add "chan->pm_state = RUNNING" for

Re: [PATCH RT 2/2] net: gianfar: do not try to cleanup TX packets if they are not done

2014-04-10 Thread Sebastian Andrzej Siewior
On 04/10/2014 02:48 AM, Scott Wood wrote: > Why is this only being sent to RT and not to netdev for mainline? I tried. And complained about how that problem was fixed by a duct tape solution (by dropping the outer loop) instead of understanding the problem and fixing it properly. Even Eric tied

Re: hpsa driver bug crack kernel down!

2014-04-10 Thread Joerg Roedel
[+ David, VT-d maintainer ] Jiang, David, can you please have a look into this issue? Thanks, Joerg On Wed, Apr 09, 2014 at 11:32:37PM -0700, Davidlohr Bueso wrote: > On Wed, 2014-04-09 at 22:03 -0600, Bjorn Helgaas wrote: > > [+cc Joerg, iommu list] > > > > On Wed, Apr 9, 2014 at

[PATCH v3 0/8] DMA: Freescale: driver cleanups and enhancements

2014-04-10 Thread hongbo.zhang
From: Hongbo Zhang Hi Vinod Koul, Please have a look at the v3 patch set. v2 -> v3 change: Only add "chan->pm_state = RUNNING" for patch[8/8]. v1 -> v2 change: The only one change is introducing a new patch[1/7] to remove the unnecessary macro FSL_DMA_LD_DEBUG, thus the total patches number is

Re: [PATCH] ASoC: core: Fix Sparse incompatible types warning

2014-04-10 Thread Krzysztof Kozlowski
On czw, 2014-04-10 at 04:01 +0100, Al Viro wrote: > On Wed, Apr 09, 2014 at 10:28:59PM +0200, Lars-Peter Clausen wrote: > > > I had a look at the sparse code and the problem is that it sets the > > default return type of sizeof according to the type of the host it > > was compiled on (either

[PATCH v3 3/8] DMA: Freescale: remove attribute DMA_INTERRUPT of dmaengine

2014-04-10 Thread hongbo.zhang
From: Hongbo Zhang Delete attribute DMA_INTERRUPT because fsldma doesn't support this function, exception will be thrown if talitos is used to offload xor at the same time. Signed-off-by: Hongbo Zhang Signed-off-by: Qiang Liu --- drivers/dma/fsldma.c | 31 --- 1

[PATCH v3 2/8] DMA: Freescale: unify register access methods

2014-04-10 Thread hongbo.zhang
From: Hongbo Zhang Methods of accessing DMA contorller registers are inconsistent, some registers are accessed by DMA_IN/OUT directly, while others are accessed by functions get/set_* which are wrappers of DMA_IN/OUT, and even for the BCR register, it is read by get_bcr but written by DMA_OUT.

[PATCH v3 7/8] DMA: Freescale: use spin_lock_bh instead of spin_lock_irqsave

2014-04-10 Thread hongbo.zhang
From: Hongbo Zhang The usage of spin_lock_irqsave() is a stronger locking mechanism than is required throughout the driver. The minimum locking required should be used instead. Interrupts will be turned off and context will be saved, it is unnecessary to use irqsave. This patch changes all

[PATCH v3 4/8] DMA: Freescale: add fsl_dma_free_descriptor() to reduce code duplication

2014-04-10 Thread hongbo.zhang
From: Hongbo Zhang There are several places where descriptors are freed using identical code. This patch puts this code into a function to reduce code duplication. Signed-off-by: Hongbo Zhang Signed-off-by: Qiang Liu --- drivers/dma/fsldma.c | 30 ++ 1 file

[PATCH v3 1/8] DMA: Freescale: remove the unnecessary FSL_DMA_LD_DEBUG

2014-04-10 Thread hongbo.zhang
From: Hongbo Zhang Some codes are calling chan_dbg with FSL_DMA_LD_DEBUG surrounded, it is really unnecessary to use such a macro because chan_dbg is a wrapper of dev_dbg, we do have corresponding DEBUG macro to switch on/off dev_dbg, and most of the other codes are also calling chan_dbg

[PATCH v3 8/8] DMA: Freescale: add suspend resume functions for DMA driver

2014-04-10 Thread hongbo.zhang
From: Hongbo Zhang This patch adds suspend resume functions for Freescale DMA driver. .prepare callback is used to stop further descriptors from being added into the pending queue, and also issue pending queues into execution if there is any. .suspend callback makes sure all the pending jobs are

[PATCH v3 5/8] DMA: Freescale: move functions to avoid forward declarations

2014-04-10 Thread hongbo.zhang
From: Hongbo Zhang These functions will be modified in the next patch in the series. By moving the function in a patch separate from the changes, it will make review easier. Signed-off-by: Hongbo Zhang Signed-off-by: Qiang Liu --- drivers/dma/fsldma.c | 188

[PATCH v3 6/8] DMA: Freescale: change descriptor release process for supporting async_tx

2014-04-10 Thread hongbo.zhang
From: Hongbo Zhang Fix the potential risk when enable config NET_DMA and ASYNC_TX. Async_tx is lack of support in current release process of dma descriptor, all descriptors will be released whatever is acked or no-acked by async_tx, so there is a potential race condition when dma engine is uesd

system hang

2014-04-10 Thread narasimharo bolisetti
Hi Greg/All,   This is Narasimharao working for a s/wcompany HCLT..   I am working a issue and the description is below:   system stops booting and needs a series of console inputs (space bar or return) to continue booting. Each input advances the process a little bit.

Re: [PATCH V3 4/5] mfd: palmas: support IRQ inversion at the board level

2014-04-10 Thread Alexandre Courbot
Stephen, any news about this patch? I'm waiting for it to be merged in order to resend some Tegra DTs, but still cannot see it in -next. Thanks, Alex. On Tue, Mar 4, 2014 at 4:51 AM, Stephen Warren wrote: > From: Stephen Warren > > Implement the new DT property ti,irq-externally-inverted, and

Re: sched: hang in migrate_swap

2014-04-10 Thread Michael wang
On 04/10/2014 11:31 AM, Sasha Levin wrote: [snip] > > I'd like to re-open this issue. It seems that something broke and I'm > now seeing the same issues that have gone away 2 months with this patch > again. A new mechanism has been designed to move the priority checking inside idle_balance(),

Re: [PATCH v2 8/8] DMA: Freescale: add suspend resume functions for DMA driver

2014-04-10 Thread Hongbo Zhang
On 04/04/2014 11:27 AM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang This patch adds suspend resume functions for Freescale DMA driver. .prepare callback is used to stop further descriptors from being added into the pending queue, and also issue pending queues into execution if there

Re: [PATCH v2] bus: mvebu-mbus: Avoid setting an undefined window size

2014-04-10 Thread Thomas Petazzoni
Dear Jason Gunthorpe, On Wed, 9 Apr 2014 10:20:40 -0600, Jason Gunthorpe wrote: > > OK I just got it by adding two printk() in pci-mvebu.c. Both functions > > mvebu_pcie_handle_iobase_change() and mvebu_pcie_handle_membase_change() > > do pass a size which is in fact a mask (size - 1) and not

Re: [PATCH v4 00/16] mfd: max14577: Add support for MAX77836

2014-04-10 Thread Krzysztof Kozlowski
On czw, 2014-04-10 at 13:28 +0900, Chanwoo Choi wrote: > Hi Krzysztof, > > Did you finish this patchset for applying git repository? > I can't find this patchset on mainline kernel. > > If this patchset isn't applied on mainline, I'd like you to finish this patch > because I want to maintain up

Re: Oops in acpi_gpiochip_add on MacBookPro with Linux v3.14-12042-g69cd9eba3886

2014-04-10 Thread Rafał Miłecki
2014-04-09 23:09 GMT+02:00 Josh Boyer : > With Linux v3.14-12042-g69cd9eba3886 I get an oops from the bcma > module on the MacBookPro 10,2 I have here. This works fine with Linux > v3.14-7333-g59ecc26004e7. There have been no changes between those > two versions to bcma itself, but the GPIO

Re: [BUG] kernel BUG at /.../block/cfq-iosched.c:3145!

2014-04-10 Thread Benjamin Herrenschmidt
On Wed, 2014-04-09 at 21:52 -0600, Jens Axboe wrote: > On 2014-04-09 21:35, Benjamin Herrenschmidt wrote: > > On Wed, 2014-04-09 at 20:25 -0600, Jens Axboe wrote: > >> On 2014-04-09 19:36, Benjamin Herrenschmidt wrote: > >>> On Wed, 2014-04-09 at 19:31 -0600, Jens Axboe wrote: > OK, I think

Re: [PATCH v2] bus: mvebu-mbus: Avoid setting an undefined window size

2014-04-10 Thread Willy Tarreau
Hi Jason, On Wed, Apr 09, 2014 at 10:20:40AM -0600, Jason Gunthorpe wrote: > On Wed, Apr 09, 2014 at 08:11:29AM +0200, Willy Tarreau wrote: > > > OK I just got it by adding two printk() in pci-mvebu.c. Both functions > > mvebu_pcie_handle_iobase_change() and mvebu_pcie_handle_membase_change() >

Re: hpsa driver bug crack kernel down!

2014-04-10 Thread Davidlohr Bueso
On Wed, 2014-04-09 at 22:03 -0600, Bjorn Helgaas wrote: > [+cc Joerg, iommu list] > > On Wed, Apr 9, 2014 at 6:19 PM, Davidlohr Bueso wrote: > > On Wed, 2014-04-09 at 16:50 -0700, James Bottomley wrote: > >> On Wed, 2014-04-09 at 16:40 -0700, Davidlohr Bueso wrote: > >> > On Wed, 2014-04-09 at

Re: [PATCH v3] mfd: syscon: Support early initialization

2014-04-10 Thread Michal Simek
On 04/10/2014 08:20 AM, Pankaj Dubey wrote: > Hi Michal, > > On 04/09/2014 12:00 AM, Michal Simek wrote: >> Some platforms need to get system controller >> ready as soon as possible. >> The patch provides early_syscon_initialization >> which create early mapping for all syscon compatible >>

Re: [PATCH] drivers: mcb: fix memory leak in chameleon_parse_cells() error path

2014-04-10 Thread Johannes Thumshirn
On Fri, Apr 04, 2014 at 09:04:58PM +0200, Christoph Jaeger wrote: > chameleon_parse_cells() bails out if chameleon descriptor type is > invalid but does not free the storage 'header' points to. > > Signed-off-by: Christoph Jaeger > --- > drivers/mcb/mcb-parse.c | 1 + > 1 file changed, 1

Re: [RFC PATCH] edac: add support for ARM PL310 L2 cache parity

2014-04-10 Thread Michal Simek
On 04/09/2014 07:47 PM, Borislav Petkov wrote: > On Wed, Apr 09, 2014 at 10:59:49PM +0530, Punnaiah Choudary wrote: >> There is a driver file cache-l2x0.c under arch/arm/mm for pl310 cache >> configuration and management. Russel king had suggested to use >> single driver file for both pl310 edac

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