[PATCH v3 RESEND 3/5] ARM: configs: enable SMP in bcm_defconfig

2014-05-15 Thread Alex Elder
Also explicitly set CONFIG_NR_CPUS to 2, limiting it to the most we currently need. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/configs/bcm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/bcm_defconfig b/arch/arm/configs/bcm_defconfig index

[PATCH v3 RESEND 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-05-15 Thread Alex Elder
This patch adds SMP support for BCM281XX and BCM21664 family SoCs. This feature is controlled with a distinct config option such that a SMP-enabled multi-v7 binary can be configured to run these SoCs in uniprocessor mode. Since this SMP functionality is used for multiple Broadcom mobile chip

[PATCH v3 RESEND 5/5] ARM: dts: enable SMP support for bcm21664

2014-05-15 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm21644 SoC. Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm21664.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi index 08a44d4..a37ded1

[PATCH v3 RESEND 4/5] ARM: dts: enable SMP support for bcm28155

2014-05-15 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm28155 SoC. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm11351.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi

[PATCH] staging: lustre: socklnd: Remove unnecessary return brackets

2014-05-15 Thread Masaru Nomura
Remove unnecessary brackets from return statements in socklnd.c, socklnd.h, socklnd_cb.c and socklnd_lib-linux.c to meet kernel coding style. Signed-off-by: Masaru Nomura --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c|6 +- .../staging/lustre/lnet/klnds/socklnd/socklnd.h|4

[RFC PATCH 3/3] ARM: sunxi: dt: define AXP221 pmic node available on the APP4-EVB1 board

2014-05-15 Thread Boris BREZILLON
Define the AXP221 device node and its regulators for the APP4-EVB1 board. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sun6i-a31-app4-evb1.dts | 83 +++ 1 file changed, 83 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31-app4-evb1.dts

[RFC PATCH 2/3] regulator: AXP22x: add support for AXP221 regulators

2014-05-15 Thread Boris BREZILLON
The AXP221 PMIC provide 5 DC-DCs regulators and 14 LDO regulators. This patch adds support for these regulators. See http://linux-sunxi.org/AXP221#Regulators for detailed informations on AXP221's regulators. Signed-off-by: Boris BREZILLON --- drivers/regulator/Kconfig| 7 +

[RFC PATCH 1/3] mfd: AXP22x: add support for APX221 PMIC

2014-05-15 Thread Boris BREZILLON
This patch introduces preliminary support for the X-Powers AXP221 PMIC. The AXP221 is typically used on boards using Allwinner's A31 SoC. At the moment, this driver only exposes regulator devices, but other subdevices. Signed-off-by: Boris BREZILLON --- drivers/mfd/Kconfig| 12 +++

[RFC PATCH 0/3] mfd: AXP22x: add support for APX221 PMIC

2014-05-15 Thread Boris BREZILLON
Hello, This patch series adds basic support for the X-Powers' AXP221 PMIC. It's mainly based on Carlo's series [1], which is almost merged (at least the mfd and regulator drivers are merged). At the moment I only added support for the AXP221 regulators but other subdevices will be added later.

Re: [ANNOUNCE] 3.14-rt1

2014-05-15 Thread Fernando Lopez-Lezcano
On 05/02/2014 04:37 AM, Sebastian Andrzej Siewior wrote: * Fernando Lopez-Lezcano | 2014-04-26 11:29:04 [-0700]: Saw this a moment ago (3.14.1 + rt1, Fedora 19 laptop - I think I have seen something similar in 3.12.x-r): Yes, you did: https://lkml.org/lkml/2014/3/7/163 You did not test I've

[GIT PULL] sound fixes for 3.15-rc6

2014-05-15 Thread Takashi Iwai
Linus, please pull sound fixes for v3.15-rc6 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-3.15-rc6 The topmost commit is 665ebe926e7b714369b5329d48745bfef17db512 sound fixes for 3.15-rc6

Re: [PATCH v1 5/5] pci: keystone: add pcie driver based on designware core driver

2014-05-15 Thread Murali Karicheri
Arnd, Thanks for the review. I may have more questions as I digest the comments. Here is the immediate one. +#ifdef CONFIG_PCI_KEYSTONE +/* + * The KeyStone PCIe controller has maximum read request size of 256 bytes. + */ +static void quirk_limit_readrequest(struct pci_dev *dev) +{ +

Re: [PATCH v2 00/15] PCI/iommu: Fix DMA alias problems

2014-05-15 Thread Alex Williamson
On Thu, 2014-05-15 at 07:40 +0800, Andrew Cooks wrote: > Hi Alex > > On Fri, May 9, 2014 at 11:28 PM, Alex Williamson > wrote: > > > > > > Original description: > > > > This series attempts to fix a couple issues we've had outstanding in > > the PCI/IOMMU code for a while. The first issue

Re: [PATCH] sched: tg_set_cfs_bandwidth() causes rq->lock deadlock

2014-05-15 Thread bsegall
Roman Gushchin writes: > tg_set_cfs_bandwidth() sets cfs_b->timer_active to 0 to > force the period timer restart. It's not safe, because > can lead to deadlock, described in commit 927b54fccbf0: > "__start_cfs_bandwidth calls hrtimer_cancel while holding rq->lock, > waiting for the hrtimer to

Re: mm: BUG in do_huge_pmd_wp_page

2014-05-15 Thread Sasha Levin
On 05/15/2014 01:37 PM, Hugh Dickins wrote: > On Thu, 15 May 2014, Sasha Levin wrote: >> On 04/07/2014 04:11 PM, Kirill A. Shutemov wrote: >>> On Mon, Apr 07, 2014 at 03:40:46PM -0400, Sasha Levin wrote: > It also breaks fairly quickly under testing because: > > On 04/07/2014 10:48 AM,

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-15 Thread Serge Hallyn
Quoting Greg Kroah-Hartman (gre...@linuxfoundation.org): > On Thu, May 15, 2014 at 09:42:17AM -0400, Michael H. Warfield wrote: > > On Wed, 2014-05-14 at 21:00 -0700, Greg Kroah-Hartman wrote: > > > On Wed, May 14, 2014 at 10:15:27PM -0500, Seth Forshee wrote: > > > > On Wed, May 14, 2014 at

Re: linux-next: build warning after merge of the net-next tree

2014-05-15 Thread David Miller
From: Cong Wang Date: Thu, 15 May 2014 10:39:20 -0700 > On Wed, May 14, 2014 at 11:47 PM, Stephen Rothwell > wrote: >> Hi all, >> >> After merging the net-next tree, today's linux-next build (powerpc >> allnoconfig) produced this warning: >> >> >> include/net/ip.h:211:5: warning:

Re: [PATCH] perf: Prevent false warning in perf_swevent_add

2014-05-15 Thread Jiri Olsa
ping thanks, jirka On Mon, Apr 07, 2014 at 11:04:08AM +0200, Jiri Olsa wrote: > The perf cpu offline callback takes down all cpu context > events and releases swhash->swevent_hlist. > > This could race with task context software event being just > scheduled on this cpu via perf_swevent_add

Re: linux-next: build warning after merge of the net-next tree

2014-05-15 Thread Cong Wang
On Wed, May 14, 2014 at 11:47 PM, Stephen Rothwell wrote: > Hi all, > > After merging the net-next tree, today's linux-next build (powerpc > allnoconfig) produced this warning: > > > include/net/ip.h:211:5: warning: "CONFIG_SYSCTL" is not defined [-Wundef] > #if CONFIG_SYSCTL > ^ > >

Re: mm: BUG in do_huge_pmd_wp_page

2014-05-15 Thread Hugh Dickins
On Thu, 15 May 2014, Sasha Levin wrote: > On 04/07/2014 04:11 PM, Kirill A. Shutemov wrote: > > On Mon, Apr 07, 2014 at 03:40:46PM -0400, Sasha Levin wrote: > >> > It also breaks fairly quickly under testing because: > >> > > >> > On 04/07/2014 10:48 AM, Kirill A. Shutemov wrote: > >>> > > +

Looking forward to hear from you

2014-05-15 Thread Rose Solomon
Hello How are you doing over there? My name is Rose, Please let me know if i got the right address so we can open communication,Here is my mail address [rosesolomon...@yahoo.com] I am waiting for your confirmation with care,Rose. -- To unsubscribe from this list: send the line

Re: mm: BUG in do_huge_pmd_wp_page

2014-05-15 Thread Sasha Levin
On 04/07/2014 04:11 PM, Kirill A. Shutemov wrote: > On Mon, Apr 07, 2014 at 03:40:46PM -0400, Sasha Levin wrote: >> > It also breaks fairly quickly under testing because: >> > >> > On 04/07/2014 10:48 AM, Kirill A. Shutemov wrote: >>> > > + if (IS_ENABLED(CONFIG_DEBUG_PAGEALLOC)) { >>> > >

[PATCH RFC 3/4] clk: samsung: Add driver to control CLKOUT line on Exynos SoCs

2014-05-15 Thread Tomasz Figa
This patch introduces a driver that handles configuration of CLKOUT pin of Exynos SoCs that can be used to output certain clocks from inside of the SoC to a dedicated output pin. Signed-off-by: Tomasz Figa --- .../devicetree/bindings/arm/samsung/pmu.txt| 18

[PATCH RFC 0/4] Add support for Exynos clock output configuration

2014-05-15 Thread Tomasz Figa
On all Exynos SoCs there is a dedicated CLKOUT pin that allows many of internal SoC clocks to be output from the SoC. The hardware structure of CLKOUT related clocks looks as follows: CMU |---> clock0 -> | PMU | | |

[PATCH RFC 1/4] clk: samsung: exynos4: Add missing DMC clock hierarchy

2014-05-15 Thread Tomasz Figa
This patch adds missing definitions of clocks from DMC clock domain, which are necessary to properly represent CLKOUT clock hierarchy added in further patch. Signed-off-by: Tomasz Figa --- drivers/clk/samsung/clk-exynos4.c | 41 +++ 1 file changed, 41

Re: [RFC][PATCH 2/3] PM / sleep: Mechanism to avoid resuming runtime-suspended devices unnecessarily

2014-05-15 Thread Kevin Hilman
Alan Stern writes: > On Tue, 13 May 2014, Rafael J. Wysocki wrote: > >> > A wakeup request from the hardware could cause a runtime resume to >> > occur at this time. The barrier wouldn't prevent that. >> > >> > It's unlikely, I agree, but not impossible. >> >> Yeah, I didn't think about

[PATCH RFC 4/4] ARM: dts: exynos: Update PMU node with CLKOUT related data

2014-05-15 Thread Tomasz Figa
This patch extends nodes of PMU system controller on Exynos4210, 4x12, 5250 and 5420 SoCs with newly defined properties used by Exynos CLKOUT driver. Signed-off-by: Tomasz Figa --- arch/arm/boot/dts/exynos4210.dtsi | 10 ++ arch/arm/boot/dts/exynos4x12.dtsi | 7 +++

[PATCH RFC 2/4] clk: samsung: exynos4: Add CLKOUT clock hierarchy

2014-05-15 Thread Tomasz Figa
This patch adds definitions of clocks that are used to drive clock output signals of particular CMU sub-blocks that are then fed to PMU and handled by Exynos CLKOUT driver added in further patch. Signed-off-by: Tomasz Figa --- drivers/clk/samsung/clk-exynos4.c | 115

Re: [PATCH] dmaengine: qcom_bam_dma: Add descriptor flag APIs

2014-05-15 Thread Andy Gross
On Fri, May 02, 2014 at 01:08:27PM -0500, Andy Gross wrote: > On Fri, May 02, 2014 at 09:58:41PM +0530, Vinod Koul wrote: > > On Thu, Apr 17, 2014 at 05:04:02PM -0500, Andy Gross wrote: > > > This patch adds APIs that allow for BAM hardware flags to be set per > > > descriptor. Each one of the

Re: [PATCH] hwmon: Document hwmon kernel API

2014-05-15 Thread Guenter Roeck
On Thu, May 15, 2014 at 09:58:59AM -0700, Randy Dunlap wrote: > On 05/14/2014 08:02 PM, Guenter Roeck wrote: > > The hwmon subsystem has been around for a while. Time to document > > its kernel API. > > > > Signed-off-by: Guenter Roeck > > --- > > Documentation/hwmon/hwmon-kernel-api.txt | 107

Re: [PATCH V4 0/2] mm: FAULT_AROUND_ORDER patchset performance data for powerpc

2014-05-15 Thread Hugh Dickins
On Thu, 15 May 2014, Madhavan Srinivasan wrote: > > Hi Ingo, > > Do you have any comments for the latest version of the patchset. If > not, kindly can you pick it up as is. > > > With regards > Maddy > > > Kirill A. Shutemov with 8c6e50b029 commit introduced > > vm_ops->map_pages() for

[PATCH 01/14] perf tools: Cache register accesses for unwind processing

2014-05-15 Thread Jiri Olsa
Caching registers value into an array. Got about 4% speed up of perf_reg_value function for report command processing dwarf unwind stacks. Output from report over 1.5 GB data with DWARF unwind stacks: (TODO fix perf diff) current code: 5.84% perf perf [.]

Re: [PATCHv2] ARM: ioremap: Fix static vm area boundary checking.

2014-05-15 Thread Nicolas Pitre
On Thu, 15 May 2014, Richard Lee wrote: > Static vm area boundary check: > > paddr1 --->| | > | | > |---| <-\--- svm->vm->addr(is page aligned) > paddr2 --->| || > | --| <--|-- svm->vm->phys_addr >

[PATCH 02/14] perf tools: Separate dso data related variables

2014-05-15 Thread Jiri Olsa
Add separated structure/namespace for data related variables. We are going to add mode of them, so this way they will be clearly separated. Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul

Re: [PATCH] sched/rt: don't try to balance rt_runtime when it is futile

2014-05-15 Thread Mike Galbraith
On Thu, 2014-05-15 at 07:45 -0700, Paul E. McKenney wrote: > On Thu, May 15, 2014 at 05:18:51AM +0200, Mike Galbraith wrote: > > On Wed, 2014-05-14 at 08:44 -0700, Paul E. McKenney wrote: > > > > > In practice, not sure how much testing CONFIG_NO_HZ_FULL=y has received > > > for -rt kernels in

[PATCH 05/14] perf tools: Add global count of opened dso objects

2014-05-15 Thread Jiri Olsa
Adding global count of opened dso objects so we could properly limit the number of opened dso data file descriptors. Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra

[PATCH 06/14] perf tools: Cache dso data file descriptor

2014-05-15 Thread Jiri Olsa
Changing the dso__data_close to keep the dso data file descriptor open if possible. We keep dsos data file descriptors open until their count reaches the half of the current fd open limit (RLIMIT_NOFILE). In this case we close file descriptor of the first opened dso object. We've got speed up in

[PATCH 08/14] perf tools: Allow to close dso fd in case of open failure

2014-05-15 Thread Jiri Olsa
Adding do_open function that tries to close opened dso objects in case we fail to open the dso due to to crossing the allowed RLIMIT_NOFILE limit. Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul

[PATCH 04/14] perf tools: Add global list of opened dso objects

2014-05-15 Thread Jiri Olsa
Adding global list of opened dso objects, so we can track them and use the list for caching dso data file descriptors. Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter

[PATCH 03/14] perf tools: Add data_fd into dso object

2014-05-15 Thread Jiri Olsa
Adding data_fd into dso object so we could handle caching of opened dso file data descriptors coming int next patches. Adding dso__data_close interface to keep the data_fd updated when the descriptor is closed. Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic

[PATCH 10/14] perf tests: Spawn child for each test

2014-05-15 Thread Jiri Olsa
In upcoming tests we will setup process limits, which might affect other tests. Spawning child for each test to prevent this. Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter

[PATCH 3/3] FS/HPFS: use __func__ for logging

2014-05-15 Thread Fabian Frederick
Normalize function display fx() using __func__ Cc: Mikulas Patocka Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/hpfs/buffer.c | 12 ++-- fs/hpfs/dnode.c | 12 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/fs/hpfs/buffer.c b/fs/hpfs/buffer.c

[PATCH 13/14] perf tests: Add test for caching dso file descriptors

2014-05-15 Thread Jiri Olsa
Adding test that setup test_dso_data__fd_limit and test dso data file descriptors are cached appropriately. Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra

[PATCH 14/14] perf tests: Add test for closing dso objects on EMFILE error

2014-05-15 Thread Jiri Olsa
Testing that perf properly closes opened dso objects and tries to reopen in case we run out of allowed file descriptors for dso data. Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul Mackerras

[PATCH 12/14] perf tests: Add test interface for dso data fd limit

2014-05-15 Thread Jiri Olsa
Adding a way to setup test dso limit by global variable test_dso_data__fd_limit. It'll be used in the dso data cache tests. Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter

[PATCH 11/14] perf tests: Allow reuse of test_file function

2014-05-15 Thread Jiri Olsa
Making the test_file function to be reusable for new tests coming in following patches. Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Signed-off-by: Jiri Olsa

[PATCHv2 00/14] perf tools: Speedup DWARF unwind

2014-05-15 Thread Jiri Olsa
hi, trying to speedup DWARF unwind report code by factoring related code: - caching sample's registers access - keep dso data file descriptor open for the life of the dso object - replace dso cache code by mapping dso data file directly for the life of the dso object The speedup is

[PATCH 09/14] perf tools: Add dso__data_* interface descriptons

2014-05-15 Thread Jiri Olsa
Adding descriptions/explanations for dso__data_* interface functions. Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Signed-off-by: Jiri Olsa ---

[PATCH 07/14] perf tools: Add file size check and factor dso__data_read_offset

2014-05-15 Thread Jiri Olsa
Adding file size check, because the lseek will succeed for any offset behind file size. Factoring the code the check the offset earli in the flow. Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul

[PATCH 2/3] FS/HPFS: use pr_fmt for logging

2014-05-15 Thread Fabian Frederick
Also remove redundant level names (warning:...) Cc: Mikulas Patocka Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/hpfs/buffer.c | 12 ++-- fs/hpfs/dir.c | 2 +- fs/hpfs/dnode.c | 28 ++-- fs/hpfs/ea.c | 6 +++--- fs/hpfs/hpfs_fn.h | 5

[PATCH 1/3] FS/HPFS: convert printk to pr_foo()

2014-05-15 Thread Fabian Frederick
-No level printk in hptfs_error converted to pr_err (others to pr_warn or pr_info) This patch also fixes if/then/else checkpatch warnings Cc: Mikulas Patocka Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/hpfs/alloc.c | 2 +- fs/hpfs/buffer.c | 12 ++-- fs/hpfs/dir.c|

Re: futex(2) man page update help request

2014-05-15 Thread chrubis
Hi! > > That is not the main concern here. If I extract the code I would have to > > watch for any changes manually. If it was in a library or a separate > > repository all that would be needed is to add it as dependency/git > > submodule and I would get all updates automatically. > > > > Yes,

Re: [PATCH 00/25] Change time_t and clock_t to 64 bit

2014-05-15 Thread Chung-Lin Tang
On 2014/5/15 07:08 PM, Arnd Bergmann wrote: > On Wednesday 14 May 2014 14:33:18 John Stultz wrote: >> On Tue, May 13, 2014 at 12:32 PM, Arnd Bergmann wrote: >>> On Tuesday 13 May 2014 20:24:59 Geert Uytterhoeven wrote: On Tue, May 13, 2014 at 8:10 PM, Arnd Bergmann wrote: > Using 64-bit

Re: [PATCH 00/25] Change time_t and clock_t to 64 bit

2014-05-15 Thread Chung-Lin Tang
On 2014/5/15 07:08 PM, Arnd Bergmann wrote: > On Wednesday 14 May 2014 14:33:18 John Stultz wrote: >> On Tue, May 13, 2014 at 12:32 PM, Arnd Bergmann wrote: >>> On Tuesday 13 May 2014 20:24:59 Geert Uytterhoeven wrote: On Tue, May 13, 2014 at 8:10 PM, Arnd Bergmann wrote: > Using 64-bit

Re: [PATCH 08/15] ia64: add renameat2 syscall

2014-05-15 Thread Tony Luck
Miklos, You missed a bit (adding sys_renameat2 to the system call entry table in arch/ia64/kernel/entry.S) Please use this version when you send to Linus Acked-by: Tony Luck --- diff --git a/arch/ia64/include/asm/unistd.h b/arch/ia64/include/asm/unistd.h index ae763d8bf55a..fb13dc5e8f8c

[PATCH 0/3] HPFS logging clean-up

2014-05-15 Thread Fabian Frederick
This small patchset converts HPFS to current logging functions. Fabian Frederick (3): FS/HPFS: convert printk to pr_foo() FS/HPFS: use pr_fmt for logging FS/HPFS: use __func__ for logging fs/hpfs/alloc.c | 2 +- fs/hpfs/buffer.c | 12 ++-- fs/hpfs/dir.c | 6 +++---

[PATCH] amba: Put the device's of_node on its release

2014-05-15 Thread Pawel Moll
An amba device created from Device Tree, when released, does not decrease of_node's reference counter. Fixed by adding a call to of_device_node_put() on the release path, in a similar way to what platform_device_release() is doing. Signed-off-by: Pawel Moll --- drivers/amba/bus.c | 2 ++ 1

Re: [PATCH 09/10] thermal: exynos: remove redundant pdata checks from exynos_tmu_control()

2014-05-15 Thread Bartlomiej Zolnierkiewicz
On Thursday, May 15, 2014 11:03:08 AM Eduardo Valentin wrote: > Hello Bartlomiej, Hi, > On Mon, May 05, 2014 at 01:15:38PM +0200, Bartlomiej Zolnierkiewicz wrote: > > pdata->reference_voltage and pdata->gain are always defined > > to non-zero values so remove the redundant checks from > >

[PATCH 1/1] fs/hfsplus/wrapper.c: replace min/casting by min_t

2014-05-15 Thread Fabian Frederick
Also add * before function comments (it was not detected by kernel-doc) Cc: Vyacheslav Dubeyko Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/hfsplus/wrapper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/hfsplus/wrapper.c b/fs/hfsplus/wrapper.c index

[PATCH] sched,numa: update migrate_improves/degrades_locality

2014-05-15 Thread Rik van Riel
Update the migrate_improves/degrades_locality functions with knowledge of pseudo-interleaving. Do not consider moving tasks around within the set of group's active nodes as improving or degrading locality. Instead, leave the load balancer free to balance the load between a numa_group's active

Re: [patch 2/2] rtmutex: Avoid pointless requeueing in the deadlock detection chain walk

2014-05-15 Thread Steven Rostedt
On Wed, 14 May 2014 20:03:27 - Thomas Gleixner wrote: > In case the dead lock detector is enabled we follow the lock chain to > the end in rt_mutex_adjust_prio_chain, even if we could stop earlier > due to the priority/waiter constellation. I'm assuming that we want to detect deadlocks for

[PATCH 1/1] fs/hfsplus/options.c: replace seq_printf by seq_puts

2014-05-15 Thread Fabian Frederick
Replace seq_printf where possible Cc: Vyacheslav Dubeyko Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/hfsplus/options.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/fs/hfsplus/options.c b/fs/hfsplus/options.c index 68537e8..c90b72e 100644 ---

[PATCH 1/1] fs/hfsplus/bnode.c: replace min/casting by min_t

2014-05-15 Thread Fabian Frederick
Also fixes some pr_ formats Cc: Vyacheslav Dubeyko Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/hfsplus/bnode.c | 32 +++- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/fs/hfsplus/bnode.c b/fs/hfsplus/bnode.c index 11c8602..285502a

[PATCH 1/1] fs/gfs2/file.c: kernel-doc warning fixes

2014-05-15 Thread Fabian Frederick
Related function is not gfs2_set_flags but do_gfs2_set_flags Cc: Steven Whitehouse Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/gfs2/file.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c index 80d6725..768cbd4 100644

[PATCH] sched: tg_set_cfs_bandwidth() causes rq->lock deadlock

2014-05-15 Thread Roman Gushchin
tg_set_cfs_bandwidth() sets cfs_b->timer_active to 0 to force the period timer restart. It's not safe, because can lead to deadlock, described in commit 927b54fccbf0: "__start_cfs_bandwidth calls hrtimer_cancel while holding rq->lock, waiting for the hrtimer to finish. However, if

Re: [PATCH] hwmon: Document hwmon kernel API

2014-05-15 Thread Randy Dunlap
On 05/14/2014 08:02 PM, Guenter Roeck wrote: > The hwmon subsystem has been around for a while. Time to document > its kernel API. > > Signed-off-by: Guenter Roeck > --- > Documentation/hwmon/hwmon-kernel-api.txt | 107 > +++ > 1 file changed, 107 insertions(+) >

Re: futex(2) man page update help request

2014-05-15 Thread H. Peter Anvin
On 05/15/2014 09:17 AM, chru...@suse.cz wrote: >> >> It should be quite easy to extract from klibc. > > That is not the main concern here. If I extract the code I would have to > watch for any changes manually. If it was in a library or a separate > repository all that would be needed is to add

Re: [PATCH 06/10] thermal: exynos: remove redundant threshold_code checks from exynos_tmu_initialize()

2014-05-15 Thread Bartlomiej Zolnierkiewicz
On Thursday, May 15, 2014 10:55:52 AM Eduardo Valentin wrote: > Hello Bartlomiej, Hi, > On Mon, May 05, 2014 at 01:15:35PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Remove runtime checks for negative return values of temp_to_code() > > from exynos_tmu_initialize(). The current level

Re: query regarding not returning error if request_irq fails after rtc registration

2014-05-15 Thread Alessandro Zummo
On Thu, 15 May 2014 22:15:14 +0530 RAGHAVENDRA GANIGA wrote: > my question is that the set_alarm and alarm_irq_enable is still active, > so should i use some flag in the global private variable of the driver > so that if the request irq fails, then using this flag the set_alarm > and

Re: [PATCH v2 06/10] clk: berlin: add core clock driver for BG2/BG2CD

2014-05-15 Thread Alexandre Belloni
On 15/05/2014 at 17:43:03 +0200, Sebastian Hesselbarth wrote : > On 05/15/2014 10:09 AM, Alexandre Belloni wrote: > >On 14/05/2014 at 22:15:17 +0200, Sebastian Hesselbarth wrote : > >>+ /* clock divider cells */ > >>+ parent_names[1] = avpllb_names[CH4]; > >>+ parent_names[2] =

Re: [PATCHv2 3/4] clk: new basic clk type for fractional divider

2014-05-15 Thread Mike Turquette
Quoting Heikki Krogerus (2014-05-15 06:40:25) > Fractional divider clocks are fairly common. This adds basic > type for them. > > Signed-off-by: Heikki Krogerus Taken into clk-next. Just FYI, there was some talk at Embedded Linux Conference on providing a better abstraction layer for some of

[PATCH v2 2/4] KVM: x86: drop set_rflags callback

2014-05-15 Thread Paolo Bonzini
Not needed anymore now that the CPL is computed directly by the task switch code. Signed-off-by: Paolo Bonzini --- arch/x86/include/asm/kvm_emulate.h | 1 - arch/x86/kvm/x86.c | 6 -- 2 files changed, 7 deletions(-) diff --git a/arch/x86/include/asm/kvm_emulate.h

[PATCH v2 4/4] KVM: x86: get CPL from SS.DPL

2014-05-15 Thread Paolo Bonzini
CS.RPL is not equal to the CPL in the few instructions between setting CR0.PE and reloading CS. And CS.DPL is also not equal to the CPL for conforming code segments. However, SS.DPL *is* always equal to the CPL except for the weird case of SYSRET on AMD processors, which sets SS.DPL=SS.RPL from

[PATCH v2 3/4] KVM: x86: check CS.DPL against RPL during task switch

2014-05-15 Thread Paolo Bonzini
Table 7-1 of the SDM mentions a check that the code segment's DPL must match the selector's RPL. This was not done by KVM, fix it. Signed-off-by: Paolo Bonzini --- arch/x86/kvm/emulate.c | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git

[PATCH v2 0/4] KVM: x86: get CPL from SS.DPL

2014-05-15 Thread Paolo Bonzini
Another day, another CPL patch... It turns out that the simple approach of getting CPL from SS.DPL broke x86/taskswitch2.flat. To fix that, already "imagine" that the CPL is CS.RPL, or 3 for VM86 tasks, while loading segment descriptors during task switches. This removes the hack where task

Re: linux-next: Tree for May 14 (tty/serial/men_z135_uart.c)

2014-05-15 Thread Randy Dunlap
On 05/14/2014 11:15 PM, Johannes Thumshirn wrote: > On Wed, May 14, 2014 at 09:31:10AM -0700, Randy Dunlap wrote: >> On 05/14/2014 01:26 AM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20140513: >>> >> >> on x86_64: >> >> CONFIG_SERIAL_CORE=m >> but SERIAL_MEN_Z135=y. >> >>

[PATCH v2 1/4] KVM: x86: use new CS.RPL as CPL during task switch

2014-05-15 Thread Paolo Bonzini
During task switch, all of CS.DPL, CS.RPL, SS.DPL must match (in addition to all the other requirements) and will be the new CPL. So far this worked by carefully setting the CS selector and flag before doing the task switch; however, this will not work once we get the CPL from SS.DPL: setting SS

Re: [PATCH v2 2/5] arm64: Support reboot through watchdog subsystem

2014-05-15 Thread Guenter Roeck
On Thu, May 15, 2014 at 10:09:52AM +0100, Will Deacon wrote: > On Thu, May 15, 2014 at 02:37:30AM +0100, Guenter Roeck wrote: > > On 05/09/2014 05:31 PM, Guenter Roeck wrote: > > > The watchdog subsystem provides an API to perform a system reboot. > > > Use it. > > > > > > Signed-off-by: Guenter

Re: [PATCH] clk: divider: Fix overflow in clk_divider_bestdiv

2014-05-15 Thread Tomasz Figa
Hi Mike, On 07.05.2014 18:24, Tomasz Figa wrote: > Commit c686078 ("clk: divider: Add round to closest divider") introduced > a helper function to check whether given divisor is the best one instead > of direct check. However due to int type used instead of unsigned long > for passing calculated

Re: [PATCH 13/15] sparc: add renameat2 syscall

2014-05-15 Thread David Miller
From: Miklos Szeredi Date: Thu, 15 May 2014 14:22:33 +0200 > On Fri, Apr 11, 2014 at 12:25 PM, Miklos Szeredi wrote: >> From: Miklos Szeredi >> >> Signed-off-by: Miklos Szeredi >> Cc: David S. Miller > > David, > > I'll be sending a batch of patches with arch support for the renameat2 >

Re: WARN in do_rt_tgsigqueueinfo()

2014-05-15 Thread Thomas Gleixner
On Thu, 15 May 2014, Dave Jones wrote: > On Thu, May 15, 2014 at 05:04:12PM +0200, Peter Zijlstra wrote: > > > > > trinity$ MALLOC_CHECK_=0 ./trinity -xinit_module -xreboot -xshutdown > -xunshare -xnfsservctl -xclock_nanosleep -xuselib -xumount -xmount -m --quiet > -C 400 -l off -xmremap > >

Re: [PATCH] arm64: don't set READ_IMPLIES_EXEC for EM_AARCH64

2014-05-15 Thread Kyle McMartin
On Thu, May 15, 2014 at 10:05:35AM +0100, Will Deacon wrote: > Unfortunately, my understanding is that GCC currently requires this for > nested functions, so this is an effective ABI breakage. On the plus side, > the GCC guys are planning to fix that, so we should see PT_GNU_STACK getting > used

query regarding not returning error if request_irq fails after rtc registration

2014-05-15 Thread RAGHAVENDRA GANIGA
in ds1343 driver after the rtc is registered using devm_rtc_device_register i am requesting irq using devm_request_threaded_irq, in case this request fails instead of the driver bailing out it just uses dev_err to show the error and the driver probe returns zero my question is that the set_alarm

Re: [PATCH 00/25] Change time_t and clock_t to 64 bit

2014-05-15 Thread Arnd Bergmann
On Thursday 15 May 2014 11:47:03 James Bottomley wrote: > On Wed, 2014-05-14 at 13:00 +0200, Arnd Bergmann wrote: > > On Tuesday 13 May 2014 22:35:08 Geert Uytterhoeven wrote: > > > > > > On Tue, May 13, 2014 at 9:32 PM, Arnd Bergmann wrote: > > > > I think we have three categories: > > > > > >

Re: Format of patches

2014-05-15 Thread Randy Dunlap
On 05/15/2014 07:00 AM, Viresh Kumar wrote: > On 15 May 2014 18:15, Mikulas Patocka wrote: --- >>> >>> Blurb here :) >> >> Sure - but if I want you to read "Blurb here :)" before reading the git >> message, I need to place it at the top of the email, before the git >> message. > > You

Re: [PATCH 2/2 v4] usb: gadget: net2280: Add support for PLX USB338X

2014-05-15 Thread Ricardo Ribalda Delgado
On 15 May 2014 18:07, "Felipe Balbi" wrote: > > On Thu, May 15, 2014 at 02:28:46PM +0200, Ricardo Ribalda Delgado wrote: > > This patch adds support for the PLX USB3380 and USB3382. > > > > This driver is based on the driver from the manufacturer. > > > > Since USB338X is register compatible with

[PATCH] powerpc: Fix 64 bit builds with binutils 2.24

2014-05-15 Thread Guenter Roeck
With binutils 2.24, various 64 bit builds fail with relocation errors such as arch/powerpc/kernel/built-in.o: In function `exc_debug_crit_book3e': (.text+0x165ee): relocation truncated to fit: R_PPC64_ADDR16_HI against symbol `interrupt_base_book3e' defined in .text section

Re: futex(2) man page update help request

2014-05-15 Thread chrubis
Hi! > I've used LTP in the past (quite a bit), and I felt there was some > advantage to keeping futextest independent. What advantages did you have in mind? > Perhaps things have changed enough since then (~2009 era) that we > should reconsider. I've been working on LTP for a about three years

Re: [rfc]pwm: add xilinx pwm driver

2014-05-15 Thread Arnd Bergmann
On Thursday 15 May 2014 15:56:03 Michal Simek wrote: > IP is configurable as is normal for us. > You can select IP with just one timer. > It means register locations for specific timer are fixed. > http://www.xilinx.com/support/documentation/ip_documentation/xps_timer.pdf > > timer0 - offset 0x0

Re: [PATCH v1 5/5] pci: keystone: add pcie driver based on designware core driver

2014-05-15 Thread Arnd Bergmann
On Thursday 15 May 2014 12:01:32 Murali Karicheri wrote: > +Sample bindings shown below:- > + > + - Remove ti,enable-linktrain if boot loader already does Link training and > do EP > + configuration. > + - Remove ti,init-phy if boot loader already initialize the phy and sets up > pcie > +

Re: [PATCH] arm64: fix pud_huge() for 2-level pagetables

2014-05-15 Thread Mark Salter
On Thu, 2014-05-15 at 15:44 +0100, Steve Capper wrote: > On Thu, May 15, 2014 at 10:19:22AM -0400, Mark Salter wrote: > > The following happens when trying to run a kvm guest on a kernel > > configured for 64k pages. This doesn't happen with 4k pages: > > > > BUG: failure at

Auction for commit slots

2014-05-15 Thread Alexander Holler
Hello, I think the Linux Foundation should start to auctioning commit slots. So people would be freed from the burden having to convince, bribe or to buy Linux kernel maintainers. I'm pretty sure the quality won't suffer. Alexander Holler -- To unsubscribe from this list: send the line

Re: [PATCH 05/10] thermal: exynos: remove redundant pdata checks from exynos_tmu_initialize()

2014-05-15 Thread Bartlomiej Zolnierkiewicz
On Thursday, May 15, 2014 10:47:40 AM Eduardo Valentin wrote: > Hello Bartlomiej, Hi, > On Mon, May 05, 2014 at 01:15:34PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Remove runtime checks for pdata sanity from exynos_tmu_initialize(). > > The current values hardcoded in pdata will never trigger

Re: [PATCH v1 5/5] pci: keystone: add pcie driver based on designware core driver

2014-05-15 Thread Arnd Bergmann
On Thursday 15 May 2014 12:01:32 Murali Karicheri wrote: > +static int > +keystone_pcie_fault(unsigned long addr, unsigned int fsr, > + struct pt_regs *regs) > +{ > + unsigned long instr = *(unsigned long *) instruction_pointer(regs); > + > + if ((instr & 0x0e100090) ==

Re: futex(2) man page update help request

2014-05-15 Thread chrubis
Hi! > >> I really believe the proper fix is to use assembly syscall stubs. In > >> klibc I build a fairly elaborate machinery to autogenerate such syscall > >> stubs for a variety of architectures. > > > > Then it would be nice to share these between klibc and LTP (and possible > > everybody

Re: [PATCH] mm: filemap: Avoid unnecessary barries and waitqueue lookups in unlock_page fastpath v4

2014-05-15 Thread Mel Gorman
On Thu, May 15, 2014 at 03:20:58PM +0200, Peter Zijlstra wrote: > On Thu, May 15, 2014 at 11:48:09AM +0100, Mel Gorman wrote: > > > +static inline wait_queue_head_t *clear_page_waiters(struct page *page) > > { > > + wait_queue_head_t *wqh = NULL; > > + > > + if (!PageWaiters(page)) > > +

Re: [PATCH 0/6] sched: expel confusing usage of the term "power"

2014-05-15 Thread Nicolas Pitre
On Thu, 15 May 2014, Vincent Guittot wrote: > Hi Nico, > > Thanks for doing this renaming. > I remember that you asked me to do this while working on cpu_power but > my work has not evolved as fast as expected and as it already implies > some renaming other than s/power/capacity/ i have

Re: futex(2) man page update help request

2014-05-15 Thread Darren Hart
On 5/15/14, 8:28, "chru...@suse.cz" wrote: >Hi! >> >> However, unless I'm sorely mistaken, the larger problem is that glibc >> removed the futex() call entirely, so these man pages don't describe >> something users even have access to anymore. I had to revert to calling >> the syscalls directly

Re: [PATCH v1 3/5] phy: pci serdes phy driver for keystone

2014-05-15 Thread Arnd Bergmann
On Thursday 15 May 2014 12:01:30 Murali Karicheri wrote: > +static struct serdes_config ks_100mhz_pcie_5gbps_serdes[] = { > + {0x, 0x0800, 0xff00}, > + {0x0060, 0x00041c5c, 0x00ff}, > + {0x0064, 0x0343c700, 0xff00}, > + {0x006c, 0x0012, 0x00ff},

[PATCHv5 1/3] dts: socfpga: Add bindings for Altera SoC SDRAM controller

2014-05-15 Thread tthayer
From: Thor Thayer Addition of the Altera SDRAM controller bindings and device tree changes to the Altera SoC project. v2: Changes to SoC SDRAM EDAC code. v3: Implement code suggestions for SDRAM EDAC code. v4: Remove syscon from SDRAM controller bindings. v5: No Change, bump version for

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