Re: [PATCH] coccinelle: add pycocci wrapper for multithreaded support

2014-04-10 Thread SF Markus Elfring
> I checked the profile results, the reason the jobs finish is some threads > had no work or little work. Could you find out during the data processing which parts or files result in a special application behaviour you would like to point out here? Regards, Markus -- To unsubscribe from this

Re: [PATCH 01/27] ARM: EXYNOS: Add Exynos3250 SoC ID

2014-04-10 Thread Sachin Kamat
Hi Chanwoo, On 11 April 2014 11:24, Chanwoo Choi wrote: > Hi Sachin, > > On 04/11/2014 12:56 PM, Sachin Kamat wrote: >> Hi Chanwoo, >> >> On 10 April 2014 15:07, Chanwoo Choi wrote: >>> This patch add Exynos3250's SoC ID. Exynos 3250 is System-On-Chip(SoC) that >>> is based on the 32-bit RISC

Re: [PATCH 01/27] ARM: EXYNOS: Add Exynos3250 SoC ID

2014-04-10 Thread Chanwoo Choi
Hi Sachin, On 04/11/2014 12:56 PM, Sachin Kamat wrote: > Hi Chanwoo, > > On 10 April 2014 15:07, Chanwoo Choi wrote: >> This patch add Exynos3250's SoC ID. Exynos 3250 is System-On-Chip(SoC) that >> is based on the 32-bit RISC processor for Smartphone. Exynos3250 uses >> Cortex-A7 >> dual

Re: [PATCH 03/10] ARM: EXYNOS: Move SYSREG definition into sys-reg specific file

2014-04-10 Thread Pankaj Dubey
On 04/02/2014 08:27 PM, Sylwester Nawrocki wrote: Hi, On 02/04/14 09:50, Pankaj Dubey wrote: From: Young-Gun Jang While making PMU (Power Mengement Unit) implementation device tree based, there are few offsets related with SYSREG present in regs-pmu.h, so let's make a new header file

[PATCHv2] pci: added or removed a space to resolve checkpatch message

2014-04-10 Thread Ryan Desfosses
changes made to resolve following messages: WARNING: please, no spaces at the start of a line ERROR: space prohibited after that '!' (ctx:BxW) ERROR: space required before the open parenthesis '(' Signed-off-by: Ryan Desfosses --- drivers/pci/pci.c | 12 ++-- 1 file changed, 6

Re: [RFC PATCH 1/2] drivers: mfd: Add support of exynos-pmu driver

2014-04-10 Thread Pankaj Dubey
Hi Bartlomiej, Thanks for review. On 04/03/2014 08:56 PM, Bartlomiej Zolnierkiewicz wrote: Hi, On Wednesday, April 02, 2014 05:24:44 PM Pankaj Dubey wrote: From: Younggun Jang This driver is mainly used for setting misc bits of register from PMU IP of Exynos SoC which will be required to

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

2014-04-10 Thread Chanwoo Choi
Hi, On 04/11/2014 10:44 AM, Olof Johansson wrote: > On Thu, Apr 10, 2014 at 06:37:15PM +0900, Chanwoo Choi wrote: >> 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:

aic94xx: maybe uninitialized variable in asd_process_ctrl_a_user

2014-04-10 Thread Filipe Brandenburger
Hi James, While building a recent kernel with -Werror I found this warning: drivers/scsi/aic94xx/aic94xx_sds.c: In function 'asd_read_flash': drivers/scsi/aic94xx/aic94xx_sds.c:597:21: error: 'offs' may be used uninitialized in this function [-Werror=maybe-uninitialized]

Re: [writeback] 6903673566d: +2.5% fileio.requests_per_sec

2014-04-10 Thread Fengguang Wu
On Thu, Apr 10, 2014 at 09:27:51PM +0200, Jan Kara wrote: > On Thu 10-04-14 21:05:52, Wu Fengguang wrote: > > On Thu, Apr 10, 2014 at 08:41:37PM +0800, Fengguang Wu wrote: > > Here are the changed stats before/after the patchset: > Thanks for gathering the numbers! > > > v3.14-rc8

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

2014-04-10 Thread Benjamin Herrenschmidt
On Thu, 2014-04-10 at 22:46 +0200, Arnd Bergmann wrote: > Half of it ;-) > > I think it would be better to not have an architecture specific data > structure, just like it would be better not to have architecture specific > pcibios_* functions that get called by the PCI core. Note that the >

[PATCHv2] pci: changed "foo* bar" to "foo *bar"

2014-04-10 Thread Ryan Desfosses
change made to resolve following checkpatch message: drivers/pci/pci.c:109: ERROR: "foo* bar" should be "foo *bar" branch: Linux 3.14-rc8 Signed-off-by: Ryan Desfosses --- drivers/pci/pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pci/pci.c

Re: [PATCH 0/2] introduce devm_mdiobus_alloc/devm_mdiobus_free

2014-04-10 Thread Florian Fainelli
Hi Grygorii, 2014-04-04 6:40 GMT-07:00 Grygorii Strashko : > Introduce a resource managed devm_mdiobus_alloc()/devm_mdiobus_free() > to automatically clean up MDIO bus alocations made by MDIO drivers, > thus leading to simplified MDIO drivers code. > > Update Davinci MDIO driver ss example of new

[PATCH 1/1] FS: Add generic data flush to fsync

2014-04-10 Thread Fabian Frederick
Currently, there's no generic HW flush management support in kernel. Only 7 filesystems have their own way to manage the barrier flag. This patch adds MS_BARRIER in sb_flags and conditionnaly issues the flush in generic_file_fsync. That option would be enabled from userspace mount tool. (-As

Re: [PATCH 15/27] ARM: dts: exynos3250: Add uart dt node to support seiral ports

2014-04-10 Thread Chanwoo Choi
Hi, On 04/11/2014 01:03 PM, Sachin Kamat wrote: > On 10 April 2014 15:36, Chanwoo Choi wrote: >> This patch add UART dt node for Exynos3250. Exynos3250 uses same UART IP >> of Exynos4 SoC and has only two independent channels. >> >> Signed-off-by: Chanwoo Choi >> [Fix incorrect clock id by

Re: [PATCH 12/27] ARM: dts: exynos3250: Add default interrupt-parent connected with GIC

2014-04-10 Thread Chanwoo Choi
Hi, On 04/11/2014 01:00 PM, Olof Johansson wrote: > On Thu, Apr 10, 2014 at 07:06:02PM +0900, Chanwoo Choi wrote: >> This patch add interrupt-parent node to connected with GIC. >> All interrupt-related dt nodes need default interrupt-parent node. >> >> Signed-off-by: Chanwoo Choi >>

Re: [PATCH 10/27] ARM: dts: exynos3250: Add new exynos3250.dtsi file

2014-04-10 Thread Chanwoo Choi
Hi, On 04/11/2014 01:01 PM, Sachin Kamat wrote: > Hi Chanwoo, > > On 10 April 2014 15:36, Chanwoo Choi wrote: >> From: Tomasz Figa >> >> This patch add new exynos3250.dtsi to support Exynos3250 SoC and includes >> chipid/sys_reg dt node. >> >> Signed-off-by: Tomasz Figa >> Signed-off-by:

Re: [RFC PATCH RT] rwsem: The return of multi-reader PI rwsems

2014-04-10 Thread Mike Galbraith
On Fri, 2014-04-11 at 05:52 +0200, Mike Galbraith wrote: > On Thu, 2014-04-10 at 23:25 -0400, Steven Rostedt wrote: > > On Fri, 11 Apr 2014 04:50:26 +0200 > > Mike Galbraith wrote: > > > > > Oh, there was another useful bit. > > > > > > 3.12.17-rt25 403991 384216 377786 > > >

Re: [RFC PATCH] cpufreq: Introduce macros for cpufreq_frequency_table iteration

2014-04-10 Thread Viresh Kumar
On 11 April 2014 03:31, Stratos Karafotis wrote: > This patch intoduces 2 macros which can be used for iteration > over cpufreq_frequency_table: > > - cpufreq_for_each_entry: iterate over each entry of the table > - cpufreq_for_each_valid_entry: iterate over each entry of the > table that

[PATCH 2/2] i2c/ACPI: Don't ignore IRQ flags

2014-04-10 Thread Srinivas Pandruvada
Currently irq flags from IRQ resources are ignored. They have important IRQ configuration for level, trigger and sharable. Signed-off-by: Srinivas Pandruvada --- drivers/i2c/i2c-core.c | 6 +- include/linux/i2c.h| 4 2 files changed, 9 insertions(+), 1 deletion(-) diff --git

[PATCH 1/2] i2c/ACPI: Support for multiple serial bus addresses

2014-04-10 Thread Srinivas Pandruvada
ACPI specification allows multiple i2c addresses defined under one ACPI device object. These addresses are defined using _CRS method. The current implementation will pickup the last entry in _CRS, and create an i2C device, ignoring all other previous entries for addresses. The ACPI specification

[RFC PATCH v2] Use kernfs_break_active_protection() for device online store callbacks

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: [PATCH 15/27] ARM: dts: exynos3250: Add uart dt node to support seiral ports

2014-04-10 Thread Sachin Kamat
On 10 April 2014 15:36, Chanwoo Choi wrote: > This patch add UART dt node for Exynos3250. Exynos3250 uses same UART IP > of Exynos4 SoC and has only two independent channels. > > Signed-off-by: Chanwoo Choi > [Fix incorrect clock id by Tomasz Figa] > Signed-off-by: Tomasz Figa > Signed-off-by:

Re: [PATCH 10/27] ARM: dts: exynos3250: Add new exynos3250.dtsi file

2014-04-10 Thread Sachin Kamat
Hi Chanwoo, On 10 April 2014 15:36, Chanwoo Choi wrote: > From: Tomasz Figa > > This patch add new exynos3250.dtsi to support Exynos3250 SoC and includes > chipid/sys_reg dt node. > > Signed-off-by: Tomasz Figa > Signed-off-by: Chanwoo Choi > Signed-off-by: Kyungmin Park > --- >

Re: [PATCH 12/27] ARM: dts: exynos3250: Add default interrupt-parent connected with GIC

2014-04-10 Thread Olof Johansson
On Thu, Apr 10, 2014 at 07:06:02PM +0900, Chanwoo Choi wrote: > This patch add interrupt-parent node to connected with GIC. > All interrupt-related dt nodes need default interrupt-parent node. > > Signed-off-by: Chanwoo Choi > Signed-off-by: Kyungmin Park There's no point in splitting these

Re: [PATCH 01/27] ARM: EXYNOS: Add Exynos3250 SoC ID

2014-04-10 Thread Sachin Kamat
Hi Chanwoo, On 10 April 2014 15:07, Chanwoo Choi wrote: > This patch add Exynos3250's SoC ID. Exynos 3250 is System-On-Chip(SoC) that > is based on the 32-bit RISC processor for Smartphone. Exynos3250 uses > Cortex-A7 > dual cores and has a target speed of 1.0GHz. > > Signed-off-by: Chanwoo

Re: [RFC PATCH RT] rwsem: The return of multi-reader PI rwsems

2014-04-10 Thread Mike Galbraith
On Thu, 2014-04-10 at 23:25 -0400, Steven Rostedt wrote: > On Fri, 11 Apr 2014 04:50:26 +0200 > Mike Galbraith wrote: > > > Oh, there was another useful bit. > > > > 3.12.17-rt25 403991 384216 377786 > >405466 394011 392850 > > > > 3.12.17-nopreempt

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

2014-04-10 Thread Paul E. McKenney
On Thu, Apr 10, 2014 at 07:26:52PM -0400, Dave Jones wrote: > On Thu, Apr 10, 2014 at 10:14:44AM -0700, Jason Low wrote: > > On Thu, 2014-04-10 at 11:18 +0200, Peter Zijlstra wrote: > > > On Wed, Apr 09, 2014 at 10:42:59PM -0700, Jason Low wrote: > > > > As a starting point, would either of you

Re: [PATCH v3 1/2] SPI: Add driver for Cadence SPI controller

2014-04-10 Thread Harini Katakam
Hi Mark, On Fri, Apr 11, 2014 at 4:18 AM, Mark Brown wrote: > On Thu, Apr 10, 2014 at 05:43:49PM +0530, Harini Katakam wrote: >> Add driver for Cadence SPI controller. This is used in Xilinx Zynq. > > This looks mostly good, the issues below are very small. > >> +static int __maybe_unused

Re: [PATCH] hwrng: bcm2835: fix oops when rng h/w is accessed during registration

2014-04-10 Thread Herbert Xu
On Thu, Apr 10, 2014 at 03:22:10PM -0400, Matt Porter wrote: > Commit "d9e7972 hwrng: add randomness to system from rng sources" > exposed a bug in the bcm2835-rng driver resulting in boot failure > on Raspberry Pi due to the following oops: > > [ 28.261523] BUG: soft lockup - CPU#0 stuck for

[PATCH] net: ipv4: current group_info should be put after using.

2014-04-10 Thread Wang, Xiaoming
There is a memory leak in ping. Current group_info had been got in ping_init_sock and group_info->usage increased. But the usage hasn't decreased anywhere in ping. This will make this group_info never freed and cause memory leak. unreferenced object 0xcd0e8840 (size 192): comm "dumpstate",

Re: linux-next: Tree for Apr 11

2014-04-10 Thread Stephen Rothwell
On Fri, 11 Apr 2014 13:03:13 +1000 Stephen Rothwell wrote: > > Non-merge commits (relative to Linus' tree): 568 > 1077 files changed, 16245 insertions(+), 11823 deletions(-) Actually ... Non-merge commits (relative to Linus' tree): 533 996 files changed, 12720 insertions(+), 12603

Re: [RFC PATCH RT] rwsem: The return of multi-reader PI rwsems

2014-04-10 Thread Steven Rostedt
On Fri, 11 Apr 2014 04:50:26 +0200 Mike Galbraith wrote: > Oh, there was another useful bit. > > 3.12.17-rt25 403991 384216 377786 >405466 394011 392850 > > 3.12.17-nopreempt 109049 186133 118766 !?!.. ew, TTWU_QUEUE >

Re: hpsa driver bug crack kernel down!

2014-04-10 Thread Baoquan He
On 04/10/14 at 04:34pm, Jiang Liu wrote: > 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 Well, the machine bug was reported on is a AMD

Re: [PATCH] hpsa: fix uninitialized trans_support in hpsa_put_ctlr_into_performant_mode()

2014-04-10 Thread Baoquan He
This patch works for me. Tested-by: Baoquan He Thanks Baoquan On 04/10/14 at 05:17pm, scame...@beardog.cce.hp.com wrote: > > Without this, you'll see a null pointer dereference in > hpsa_enter_performant_mode(). > > Signed-off-by: Stephen M. Cameron > --- > drivers/scsi/hpsa.c |4

Re: [PATCH] net: ipv4: current group_info should be put after using.

2014-04-10 Thread David Miller
From: "Wang, Xiaoming" Date: Fri, 11 Apr 2014 12:10:38 -0400 > +EXIT: Do not use all CAPS names for local labels. Make the label, in lower case, say something about what state needs to be released at that point. Something like "out_release_group:" -- To unsubscribe from this list: send the

[GIT PULL] NTB bug fixes and features for v3.15

2014-04-10 Thread Jon Mason
Hi Linus, Below are a number of NTB bug fixes for v3.15. Please consider pulling them. Thanks, Jon The following changes since commit 455c6fdbd219161bd09b1165f11699d6d73de11c: Linux 3.14 (2014-03-30 20:40:15 -0700) are available in the git repository at: git://github.com/jonmason/ntb.git

Re: [PATCH] spi: core: Increase timeout value

2014-04-10 Thread Harini Katakam
Hi Mark, On Thu, Apr 10, 2014 at 11:06 PM, Mark Brown wrote: > On Thu, Apr 10, 2014 at 06:20:29PM +0530, Harini Katakam wrote: > >> Considering acceptable latencies, this timeout can be set to a large >> value >= 1*HZ typically. > >> This patch adds a tolerance of 2000 msec in the core

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

2014-04-10 Thread Jason Wang
On Thu, 2014-04-10 at 17:27 +0800, Fam Zheng wrote: > 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

Re: [PATCH] tuntap: add flow control to support back pressure

2014-04-10 Thread Jason Wang
On Thu, 2014-04-10 at 21:42 -0400, Steven Galgano wrote: > On 04/10/2014 06:29 AM, Michael S. Tsirkin wrote: > > On Wed, Apr 09, 2014 at 10:19:40PM -0400, Steven Galgano wrote: > >> Add tuntap flow control support for use by back pressure routing > >> protocols. Setting the new TUNSETIFF flag

Re: Re: [RFC PATCH 4/6] uprobes/x86: Emulate rip-relative call's

2014-04-10 Thread Masami Hiramatsu
(2014/04/10 23:20), Denys Vlasenko wrote: > On 04/10/2014 03:57 PM, Masami Hiramatsu wrote: >> (2014/04/10 22:41), Denys Vlasenko wrote: >>> On 04/09/2014 05:43 PM, Oleg Nesterov wrote: On 04/08, Jim Keniston wrote: > > On Sun, 2014-04-06 at 22:16 +0200, Oleg Nesterov wrote: >>

linux-next: Tree for Apr 11

2014-04-10 Thread Stephen Rothwell
Hi all, Please do not add material intended for v3.16 to your linux-next included branches until after v3.15-rc1 is released. This tree still fails (more than usual) the powerpc allyesconfig build. Changes since 20140410: Dropped trees: akpm-current, akpm (too complex conflicts) The arm tree

Re: [PATCH] tuntap: add flow control to support back pressure

2014-04-10 Thread Jason Wang
On Thu, 2014-04-10 at 13:29 +0300, Michael S. Tsirkin wrote: > On Wed, Apr 09, 2014 at 10:19:40PM -0400, Steven Galgano wrote: > > Add tuntap flow control support for use by back pressure routing protocols. > > Setting the new TUNSETIFF flag IFF_FLOW_CONTROL, will signal resources as > >

[tip:x86/platform] x86, calgary: Use 8M TCE table size by default

2014-04-10 Thread tip-bot for WANG Chao
Commit-ID: 0534af01cca338193abbfdb53650af91e65dbf10 Gitweb: http://git.kernel.org/tip/0534af01cca338193abbfdb53650af91e65dbf10 Author: WANG Chao AuthorDate: Mon, 10 Mar 2014 22:52:00 +0800 Committer: H. Peter Anvin CommitDate: Thu, 10 Apr 2014 19:51:32 -0700 x86, calgary: Use 8M TCE

[PATCH] PM / devfreq: Use freq_table for available_frequencies

2014-04-10 Thread Saravana Kannan
Some devices use freq_table instead of OPP. For those devices, the available_frequencies file shows up empty. Fix that by using freq_table to generate the available_frequencies data when OPP is not present. Signed-off-by: Saravana Kannan --- drivers/devfreq/devfreq.c | 15 +++ 1

Re: [RFC PATCH RT] rwsem: The return of multi-reader PI rwsems

2014-04-10 Thread Mike Galbraith
Oh, there was another useful bit. 3.12.17-rt25 403991 384216 377786 405466 394011 392850 3.12.17-nopreempt 109049 186133 118766 !?!.. ew, TTWU_QUEUE 350385 318786 367336 !TTWU_QUEUE 326009

Re: [PATCH 02/12] drm/nouveau/timer: skip calibration on GK20A

2014-04-10 Thread Alexandre Courbot
On Wed, Mar 26, 2014 at 1:19 PM, Ben Skeggs wrote: > On Tue, Mar 25, 2014 at 7:54 AM, Thierry Reding > wrote: >> On Mon, Mar 24, 2014 at 05:42:24PM +0900, Alexandre Courbot wrote: >>> GK20A's timer is directly attached to the system timer and cannot be >>> calibrated. Skip the calibration phase

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

2014-04-10 Thread Alexandre Courbot
On Fri, Apr 11, 2014 at 12:42 AM, Stephen Warren wrote: > On 04/10/2014 01:04 AM, Alexandre Courbot wrote: >> 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. > > To be honest, this became too painful to

Re: [PATCH 3/4] blk-mq: move request structures into struct blk_mq_tags

2014-04-10 Thread Jens Axboe
On 2014-04-10 04:01, Christoph Hellwig wrote: On Wed, Apr 09, 2014 at 10:23:32AM -0600, Jens Axboe wrote: This should go into block/blk-mq-tag.h. Ok. We might as well leave this, the mtip32xx conversion ends up using it. So if we pull it now, it'll just be reintroduced shortly. It's back

Re: [RFC PATCH 4/6] uprobes/x86: Emulate rip-relative call's

2014-04-10 Thread Masami Hiramatsu
(2014/04/11 2:00), Oleg Nesterov wrote: > On 04/10, Oleg Nesterov wrote: >> >> On 04/10, Masami Hiramatsu wrote: >>> >>> (2014/04/10 22:41), Denys Vlasenko wrote: There is this monstrosity, "16-bit override for branches" in 64-mode: 66 e8 nn nn callw Nobody sane

[RFC PATCH RT V3] rwsem: The return of multi-reader PI rwsems

2014-04-10 Thread Steven Rostedt
Changes since v2 - move the setting of the rt_rw_limit to late_initcall, and use 2 x nr_cpu_ids. Thanks to Paul McKenney for suggesting using nr_cpu_ids instead of num_possible_cpus(). The 2x is because out testing shows that 2x gives twice the performance as 1x using Clark's whack_mmap_sem

Re: [GIT PULL] Audit subsystem for v3.15

2014-04-10 Thread Eric Paris
My tree is fine, your tree is fine, but the merge (even if you solve the conflicts) has a build failure on MIPS just discovered when I published by 'merge-test' branch because of the syscall_get_arch(void) changes. (thanks to the kbuild test robot) attached is my solution which I just sent to the

Re: [visorchipset] invalid opcode: 0000 [#1] PREEMPT SMP

2014-04-10 Thread H. Peter Anvin
On 04/10/2014 06:19 AM, Romer, Benjamin M wrote: > > I'm confused by the intended behavior of KVM.. Is the intention of the > -cpu switch to fully emulate a particular CPU? If that's the case, the > Intel documentation says bit 31 should always be 0, so the value > returned by the cpuid

[PATCH] net: ipv4: current group_info should be put after using.

2014-04-10 Thread Wang, Xiaoming
There is a memory leak in ping when call ping in dumpstate. Current group_info had been got in ping_init_sock and group_info->usage increased. But the usage hasn't decreased. This will make group_info never freed and cause memory leak. unreferenced object 0xcd0e8840 (size 192): comm

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

2014-04-10 Thread Chanwoo Choi
On 04/11/2014 10:48 AM, Olof Johansson wrote: > On Thu, Apr 10, 2014 at 06:37:14PM +0900, Chanwoo Choi wrote: >> 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 > >

[PATCH] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-04-10 Thread Chanwoo Choi
This patch control special clock for ADC in Exynos series's FSYS block. If special clock of ADC is registerd on clock list of common clk framework, Exynos ADC drvier have to control this clock. Exynos3250/Exynos4/Exynos5 has 'adc' clock as following: - 'adc' clock: bus clock for ADC Exynos3250

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

2014-04-10 Thread Olof Johansson
On Thu, Apr 10, 2014 at 06:37:14PM +0900, Chanwoo Choi wrote: > 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 Signed-off-by is in the wrong order, if Kyungmin wrote

Re: [PATCH 01/27] ARM: EXYNOS: Add Exynos3250 SoC ID

2014-04-10 Thread Olof Johansson
On Thu, Apr 10, 2014 at 06:37:12PM +0900, Chanwoo Choi wrote: > This patch add Exynos3250's SoC ID. Exynos 3250 is System-On-Chip(SoC) that > is based on the 32-bit RISC processor for Smartphone. Exynos3250 uses > Cortex-A7 > dual cores and has a target speed of 1.0GHz. > > Signed-off-by:

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

2014-04-10 Thread Olof Johansson
On Thu, Apr 10, 2014 at 06:37:15PM +0900, Chanwoo Choi wrote: > 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

Re: [PATCH] tuntap: add flow control to support back pressure

2014-04-10 Thread Steven Galgano
On 04/10/2014 06:29 AM, Michael S. Tsirkin wrote: > On Wed, Apr 09, 2014 at 10:19:40PM -0400, Steven Galgano wrote: >> Add tuntap flow control support for use by back pressure routing protocols. >> Setting the new TUNSETIFF flag IFF_FLOW_CONTROL, will signal resources as >> unavailable when the

Re: hpsa driver bug crack kernel down!

2014-04-10 Thread Baoquan He
On 04/10/14 at 04:34pm, Jiang Liu wrote: > 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 Hi, I just saw your mail now. Do you still need the

Re: [PATCH 01/27] ARM: EXYNOS: Add Exynos3250 SoC ID

2014-04-10 Thread Chanwoo Choi
Hi, On 04/10/2014 06:43 PM, Arnd Bergmann wrote: > On Thursday 10 April 2014 18:28:18 Chanwoo Choi wrote: >> This patch add Exynos3250's SoC ID. Exynos 3250 is System-On-Chip(SoC) that >> is based on the 32-bit RISC processor for Smartphone. Exynos3250 uses >> Cortex-A7 >> dual cores and has a

Re: Re: [RFC PATCH 4/6] uprobes/x86: Emulate rip-relative call's

2014-04-10 Thread Masami Hiramatsu
(2014/04/10 23:28), Oleg Nesterov wrote: > On 04/10, Masami Hiramatsu wrote: >> >> (2014/04/10 22:41), Denys Vlasenko wrote: >>> On 04/09/2014 05:43 PM, Oleg Nesterov wrote: On 04/08, Jim Keniston wrote: > > On Sun, 2014-04-06 at 22:16 +0200, Oleg Nesterov wrote: >> 0xe8. Anything

Re: [PATCH 2/6] shm: add sealing API

2014-04-10 Thread Andy Lutomirski
On 04/10/2014 05:22 PM, David Herrmann wrote: > Hi > > On Thu, Apr 10, 2014 at 11:33 PM, Tony Battersby > wrote: >> For O_DIRECT the kernel pins the submitted pages in memory for DMA by >> incrementing the page reference counts when the I/O is submitted, >> allowing the pages to be modified by

Re: [PATCH] perf list: Fix --raw-dump argument

2014-04-10 Thread Ramkumar Ramachandra
Jiri Olsa wrote: > but looks like the usage is for bash completion only, so we probably > need only the first example functionality above. > > If this is the case I think it should not be an option but another > command like 'raw-dump'. I decided that there's no point making it an option, so I've

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

2014-04-10 Thread Chanwoo Choi
Hi, On 04/11/2014 04:17 AM, Tomasz Figa wrote: > Hi, > > On 10.04.2014 20:42, Linus Walleij wrote: >> On Thu, Apr 10, 2014 at 11:28 AM, Chanwoo Choi wrote: >> >>> From: Tomasz Figa >>> >>> This patch adds driver data (bank list and EINT layout) for Exynos3250 >>> to pinctrl-exynos driver.

[PATCH v2] perf list: Fix --raw-dump argument

2014-04-10 Thread Ramkumar Ramachandra
While adding usage information, 44d742e (perf list: Add usage, 2013-10-30) broke $ perf list --raw-dump Fix this by making raw-dump a subcommand. Cc: David Ahern Cc: Jiri Olsa Cc: Arnaldo Carvalho de Melo Signed-off-by: Ramkumar Ramachandra --- tools/perf/builtin-list.c | 2 +-

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

2014-04-10 Thread Chanwoo Choi
On 04/10/2014 09:07 PM, Marc Zyngier wrote: > On Thu, Apr 10 2014 at 11:56:33 am BST, Chanwoo Choi > wrote: >> On 04/10/2014 06:51 PM, Marc Zyngier wrote: >>> On Thu, Apr 10 2014 at 10:28:23 am BST, Chanwoo Choi >>> wrote: This patch decide proper lowpower mode of either a15 or a9

[PATCH v2 05/14] thunderbolt: Initialize root switch and ports

2014-04-10 Thread Andreas Noever
This patch adds the structures tb_switch and tb_port as well as code to initialize the root switch. Signed-off-by: Andreas Noever --- drivers/thunderbolt/Makefile | 2 +- drivers/thunderbolt/switch.c | 186 +++ drivers/thunderbolt/tb.c | 8 ++

Re: [PATCH 1/3] perf bench: Set more defaults in the 'numa' suite

2014-04-10 Thread Ramkumar Ramachandra
Jiri Olsa wrote: > ### > # 1 task will execute (on 1 nodes, 4 CPUs): > # -1x 1MB global shared mem operations > # -1x 0MB process shared mem operations > # -1x 0MB thread local mem operations > ### > ... > > > '-1x' does not seem right/intentional for

[PATCH v2 06/14] thunderbolt: Add thunderbolt capability handling

2014-04-10 Thread Andreas Noever
Thunderbolt config areas contain capability lists similar to those found on pci devices. This patch introduces a tb_find_cap utility method to search for capabilities. Signed-off-by: Andreas Noever --- drivers/thunderbolt/Makefile | 2 +- drivers/thunderbolt/cap.c| 116

[PATCH v2 04/14] thunderbolt: Add tb_regs.h

2014-04-10 Thread Andreas Noever
Every thunderbolt device consists (logically) of a switch with multiple ports. Every port contains up to four config regions (HOPS, PORT, SWITCH, COUNTERS) which are used to configure the device. The tb_regs.h file contains all known registers and capabilities from these config regions.

[PATCH v2 07/14] thunderbolt: Enable plug events

2014-04-10 Thread Andreas Noever
Thunderbolt switches have a plug events capability. This patch adds the tb_plug_events_active method and uses it to activate plug events during switch allocation. Signed-off-by: Andreas Noever --- drivers/thunderbolt/switch.c | 46

Re: [PATCH] of/platform: Fix no irq domain found errors when populating interrupts

2014-04-10 Thread Rob Herring
On Thu, Apr 10, 2014 at 4:38 PM, Tony Lindgren wrote: > Currently we get the following kind of errors if we try to use interrupt > phandles to irqchips that have not yet initialized: > > irq: no irq domain found for /ocp/pinmux@48002030 ! > [ cut here ] > WARNING: CPU: 0

[PATCH v2 08/14] thunderbolt: Scan for downstream switches

2014-04-10 Thread Andreas Noever
Add utility methods tb_port_state and tb_wait_for_port. Add tb_scan_switch which recursively checks for downstream switches. Signed-off-by: Andreas Noever --- drivers/thunderbolt/switch.c | 97 drivers/thunderbolt/tb.c | 44

[PATCH v2 02/14] thunderbolt: Add control channel interface

2014-04-10 Thread Andreas Noever
Thunderbolt devices are configured by reading/writing into their configuration space (similar to pci). This is done by sending packets through the NHI (native host interface) onto the control channel. This patch handles the low level packet based protocol and exposes higher level operations like

[PATCH v2 09/14] thunderbolt: Handle hotplug events

2014-04-10 Thread Andreas Noever
We reveive a plug event callback whenever a thunderbolt device is added or removed. This patch fills in the tb_handle_hotplug method and starts reacting to these events by adding/removing switches from the hierarchy. Signed-off-by: Andreas Noever --- drivers/thunderbolt/switch.c | 42

[PATCH v2 12/14] pci: Suspend/resume support for appel thunderbolt

2014-04-10 Thread Andreas Noever
This patch makes changes to the pcieport driver to support thunderbolt suspend/resume on apple systems. We need to perform two different actions during suspend and resume: The whole controller has to be powered down before suspend. If this is not done then the NHI device will be gone after resume

[PATCH v2 14/14] thunderbolt: Add suspend/hibernate support

2014-04-10 Thread Andreas Noever
We use _noirq since we have to restore the pci tunnels before the pci core wakes the tunneled devices. Signed-off-by: Andreas Noever --- drivers/thunderbolt/nhi.c| 32 + drivers/thunderbolt/switch.c | 84 drivers/thunderbolt/tb.c

Re: Possible issue with commit 6f008e72cd - locking/mutex: Fix debug checks.

2014-04-10 Thread Davidlohr Bueso
On Thu, 2014-04-10 at 19:23 -0400, Valdis Kletnieks wrote: > So recent linux-next lock up on my laptop due to a third-party module. > Bisection finds this as the source of the issue: > > 6f008e72cd111a119b5d8de8c5438d892aae99eb is the first bad commit This was already reported, please refer to

[PATCH v2 10/14] thunderbolt: Add path setup code.

2014-04-10 Thread Andreas Noever
A thunderbolt path is a unidirectional channel between two thunderbolt ports. Two such paths are needed to establish a pci tunnel. This patch introduces struct tb_path as well as a set of tb_path_* methods which are used do activate & deactive paths. Signed-off-by: Andreas Noever ---

[PATCH v2 13/14] thunderbolt: Read switch uid from EEPROM

2014-04-10 Thread Andreas Noever
Add eeprom access code and read the uid during switch initialization. The UID will be used to check device identity after suspend. Signed-off-by: Andreas Noever --- drivers/thunderbolt/Makefile | 2 +- drivers/thunderbolt/eeprom.c | 189 +++

[PATCH v2 11/14] thunderbolt: Add support for simple pci tunnels.

2014-04-10 Thread Andreas Noever
A pci downstream and pci upstream port can be connected through a tunnel. To establish the tunnel we have to setup two unidirectional paths between the two ports. Right now we only support paths with two hops (i.e. no chaining) and at most one pci device per thunderbolt device. Signed-off-by:

Re: [PATCH v2] Documentation: dt: Reduce fragmentation of <..> placeholders

2014-04-10 Thread Rob Herring
On Sat, Mar 8, 2014 at 3:09 PM, Rob Herring wrote: > On Fri, Mar 7, 2014 at 5:28 PM, Florian Vaussard > wrote: >> Placeholders <..> are sometimes used in the devicetree documentation >> to define family-wide compatible strings (like fsl,-ipu where >> chip can be any Freescale SoC). >> >> These

RE: [PATCH] include: replace asm headers to linux

2014-04-10 Thread Zheng, Lv
Hi, > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Paul McQuade > Sent: Friday, April 11, 2014 7:28 AM > > Use #include instead of > Use #include instead of > > Signed-off-by: Paul McQuade > --- > include/acpi/platform/aclinux.h

[PATCH v2 01/14] thunderbolt: Add initial cactus ridge NHI support

2014-04-10 Thread Andreas Noever
Thunderbolt hotplug is supposed to be handled by the firmware. But Apple decided to implement thunderbolt at the operating system level. The firmare only initializes thunderbolt devices that are present at boot time. This driver enables hotplug of thunderbolt of non-chained thunderbolt devices on

[Patch v2 00/14] Thunderbolt support for Apple MBP

2014-04-10 Thread Andreas Noever
Hi This is version 2 of my Thunderbolt driver for Apple hardware (see [1] for v1). The short story is that Apple decided to implement hotplug support in a driver instead of the firmware. The firmware will only initialize coldplugged devices. Hotplugged devices do not work. This series adds

[PATCH v2 03/14] thunderbolt: Setup control channel

2014-04-10 Thread Andreas Noever
Add struct tb which will contain our view of the thunderbolt bus. For now it just contains a pointer to the control channel and a workqueue for hotplug events. Add thunderbolt_alloc_and_start() and thunderbolt_shutdown_and_free() which are responsible for setup and teardown of struct tb.

Re: [PATCH 2/6] shm: add sealing API

2014-04-10 Thread David Herrmann
Hi On Thu, Apr 10, 2014 at 11:33 PM, Tony Battersby wrote: > For O_DIRECT the kernel pins the submitted pages in memory for DMA by > incrementing the page reference counts when the I/O is submitted, > allowing the pages to be modified by DMA even if they are no longer > mapped in the address

[PATCH v2] perf stat: Don't print bogus data for stalled-cycles

2014-04-10 Thread Ramkumar Ramachandra
When the stalled-cycles-frontend event is requested without the cycles event: $ perf stat -e stalled-cycles-frontend -- git s ## acme...ram/acme Performance counter stats for 'git s': 326,947,423 stalled-cycles-frontend #0.00% frontend cycles idle

[RFC PATCH v2 2/6] KVM: emulate: Remove ctxt->intercept and ctxt->check_perm checks

2014-04-10 Thread Bandan Das
The same information can be gleaned from ctxt->d and avoids having to zero/NULL initialize intercept and check_perm Signed-off-by: Bandan Das --- arch/x86/kvm/emulate.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c

[RFC PATCH v2 5/6] KVM: emulate: rework seg_override

2014-04-10 Thread Bandan Das
x86_decode_insn already sets a default for seg_override, so remove it from the zeroed area. Also replace set/get functions with direct access to the field. Signed-off-by: Bandan Das --- arch/x86/include/asm/kvm_emulate.h | 3 +-- arch/x86/kvm/emulate.c | 41

[RFC PATCH v2 1/6] KVM: emulate: move init_decode_cache to emulate.c

2014-04-10 Thread Bandan Das
Core emulator functions all belong in emulator.c, x86 should have no knowledge of emulator internals Signed-off-by: Bandan Das --- arch/x86/include/asm/kvm_emulate.h | 1 + arch/x86/kvm/emulate.c | 13 + arch/x86/kvm/x86.c | 13 - 3 files

[RFC PATCH v2 4/6] KVM: emulate: clean up initializations in init_decode_cache

2014-04-10 Thread Bandan Das
A lot of initializations are unnecessary as they get set to appropriate values before actually being used. Optimize placement of fields in x86_emulate_ctxt Signed-off-by: Bandan Das --- arch/x86/include/asm/kvm_emulate.h | 20 +++- arch/x86/kvm/emulate.c | 7 ++-

[RFC PATCH v2 0/6] Emulator speedups - avoid initializations where possible

2014-04-10 Thread Bandan Das
While initializing emulation context structure, kvm memsets to 0 a number of fields some of which are redundant since they get set eventually in x86_decode_insn. Cleanup unnecessary initializations and remove some fields. This is on top of Paolo's RFC KVM: x86: speedups for emulator memory

[RFC PATCH v2 6/6] KVM: emulate: remove memopp and rip_relative

2014-04-10 Thread Bandan Das
Move typecast on "out of range value" of mem.ea to decode_modrm. rip_relative is only set in decode_modrm, change it to a local var Signed-off-by: Bandan Das --- arch/x86/include/asm/kvm_emulate.h | 2 -- arch/x86/kvm/emulate.c | 18 +++--- 2 files changed, 7

[RFC PATCH v2 3/6] KVM: emulate: cleanup decode_rm

2014-04-10 Thread Bandan Das
Remove the if conditional - that will help us avoid an "else initialize to 0" Also, rearrange operators for slightly better code. Signed-off-by: Bandan Das --- arch/x86/kvm/emulate.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/arch/x86/kvm/emulate.c

[PATCH] gpio: bcm-kona: Add irq_set_wake method

2014-04-10 Thread Tim Kryger
If a consumer of a GPIO-based IRQ identifies itself as wanting to have the capability to wake up the system through that interrupt, update the flags to keep that interrupt enabled in suspend. Signed-off-by: Tim Kryger --- drivers/gpio/gpio-bcm-kona.c | 19 +++ 1 file changed,

[GIT PULL] Audit subsystem for v3.15

2014-04-10 Thread Eric Paris
Linus, Please pull the audit tree for v3.15. You will have merge conflicts. I'll publish my branch "merge-test" where I attempted to resolve them the way you will. The main issue is an across tree change to syscall_get_arch(). I change it from taking a task_struct and pt_regs to take a void.

Re: [PATCH -mm v2.2] mm: get rid of __GFP_KMEMCG

2014-04-10 Thread Andrew Morton
On Thu, 3 Apr 2014 19:05:59 +0400 Vladimir Davydov wrote: > Currently to allocate a page that should be charged to kmemcg (e.g. > threadinfo), we pass __GFP_KMEMCG flag to the page allocator. The page > allocated is then to be freed by free_memcg_kmem_pages. Apart from > looking asymmetrical,

Re: [PATCH 0/6] File Sealing & memfd_create()

2014-04-10 Thread Andy Lutomirski
On Thu, Apr 10, 2014 at 4:16 PM, David Herrmann wrote: > Hi > > On Fri, Apr 11, 2014 at 1:05 AM, Andy Lutomirski wrote: >> /proc/pid/fd is a really weird corner case in which the mode of an >> inode that doesn't have a name matters. I suspect that almost no one >> will ever want to open one of

  1   2   3   4   5   6   7   8   9   10   >