Re: [PATCH RESEND 2/7] xfs: add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2013-10-09 Thread Dave Chinner
On Mon, Oct 07, 2013 at 05:13:08AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > Add support FALLOC_FL_COLLAPSE_RANGE for fallocate. > > Signed-off-by: Namjae Jeon > Signed-off-by: Ashish Sangwan > --- > fs/xfs/xfs_bmap.c | 174 > >

[RFC] do we want pipefs et.al. in /proc/filesystems?

2013-10-09 Thread Al Viro
We used to require register_filesystem() before any mounts (including the internal ones) could be done. For userland mounts it's obviously right - how else could fs type name -> file_system_type lookup be done? For internal ones, it used to be really needed for a while, but after some

Re: Regression parsing GPT (EFI) partition tables

2013-10-09 Thread Davidlohr Bueso
Hi Josh, On Wed, 2013-10-09 at 16:26 -0700, Josh Triplett wrote: > When testing ChromeOS with a 3.12 kernel from git, I encountered a > regression introduced between 3.11 to 3.12: at boot time, the kernel > failed to find any partitions on the USB disk I booted from, which uses > a GPT partition

Re: [RFC][PATCH] x86: Lazy disabling of interrupts

2013-10-09 Thread Steven Rostedt
On Wed, 09 Oct 2013 15:25:23 -0700 Andi Kleen wrote: > "H. Peter Anvin" writes: > > >> Summary > >> --- > >> > >> Although the extreme case shows a nice improvement, I'm skeptical if it > >> is worth doing for real world applications. > > > > You did the experiment, and credit to you for

[PATCH 2/3] ARM: dts: exynos4212: Add missing clock for multi core timer

2013-10-09 Thread Chanwoo Choi
From: Marek Szyprowski Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4212.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exynos4212.dtsi b/arch/arm/boot/dts/exynos4212.dtsi index 3081bae..d7a3fbc 100644 ---

[PATCH 1/3] ARM: dts: exynos4212: Add PMU dt data for pmu-irq

2013-10-09 Thread Chanwoo Choi
Signed-off-by: Chanwoo Choi Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4212.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/exynos4212.dtsi b/arch/arm/boot/dts/exynos4212.dtsi index 6f34d7f..3081bae 100644 --- a/arch/arm/boot/dts/exynos4212.dtsi

[PATCH 3/3] ARM: dts: exynos4x12: Add maudio/gps_alive power domain for exynos4x12

2013-10-09 Thread Chanwoo Choi
This patch maudio/gps_alive power domain to exynos4x12.dtsi. Signed-off-by: Chanwoo Choi Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4x12.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi

[PATCH 0/3] ARM: dts: exynos: Add missing dt data to bring up kernel feature

2013-10-09 Thread Chanwoo Choi
This patchset add missing dt data to bring up kernel feature - MAUDIO/GPS_ALIVE power domain - PMU - Clock data for Multi core timer Chanwoo Choi (2): ARM: dts: exynos4212: Add PMU dt data for pmu-irq ARM: dts: exynos4x12: Add maudio/gps_alive power domain for exynos4x12 Marek Szyprowski

Re: [PATCH v2 tip/core/rcu 07/13] ipv6/ip6_tunnel: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Paul E. McKenney
On Wed, Oct 09, 2013 at 05:12:40PM -0700, Eric Dumazet wrote: > On Wed, 2013-10-09 at 16:40 -0700, Josh Triplett wrote: > > > that. Constructs like list_del_rcu are much clearer, and not > > open-coded. Open-coding synchronization code is almost always a Bad > > Idea. > > OK, so you think

Re: [PATCH v4 3/4] ACPI / video: Do not register backlight if win8 and native interface exists

2013-10-09 Thread Rafael J. Wysocki
On Tuesday, October 08, 2013 02:40:00 PM Aaron Lu wrote: > According to Matthew Garrett, "Windows 8 leaves backlight control up > to individual graphics drivers rather than making ACPI calls itself. > There's plenty of evidence to suggest that the Intel driver for > Windows [8] doesn't use the

Re: [PATCH] sched_clock: fix postinit no sched_clock function check

2013-10-09 Thread Santosh Shilimkar
On Wednesday 09 October 2013 07:59 PM, John Stultz wrote: > On 10/02/2013 11:07 AM, Santosh Shilimkar wrote: >> On Wednesday 02 October 2013 01:48 PM, Will Deacon wrote: >>> On Wed, Oct 02, 2013 at 06:42:40PM +0100, Stephen Boyd wrote: On 10/02/13 10:27, Santosh Shilimkar wrote: >

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-10-09 Thread Johannes Weiner
Hi azur, On Wed, Oct 09, 2013 at 08:44:50PM +0200, azurIt wrote: > Joahnnes, > > i'm very sorry to say it but today something strange happened.. :) i was just > right at the computer so i noticed it almost immediately but i don't have > much info. Server stoped to respond from the net but i

Re: [PATCH v4 1/4] backlight: introduce backlight_device_registered

2013-10-09 Thread Rafael J. Wysocki
On Tuesday, October 08, 2013 02:39:58 PM Aaron Lu wrote: > Introduce a new API for modules to query if a specific type of backlight > device has been registered. This is useful for some backlight device > provider module(e.g. ACPI video) to know if a native control > interface(e.g. the interface

Re: [PATCH v2 tip/core/rcu 07/13] ipv6/ip6_tunnel: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Eric Dumazet
On Wed, 2013-10-09 at 16:40 -0700, Josh Triplett wrote: > that. Constructs like list_del_rcu are much clearer, and not > open-coded. Open-coding synchronization code is almost always a Bad > Idea. OK, so you think there is synchronization code. I will shut up then, no need to waste time. --

RE: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-10-09 Thread KY Srinivasan
> -Original Message- > From: H. Peter Anvin [mailto:h...@zytor.com] > Sent: Wednesday, October 09, 2013 3:50 PM > To: KY Srinivasan > Cc: Olaf Hering; x...@kernel.org; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; a...@canonical.com; >

Re: [PATCH] sched_clock: fix postinit no sched_clock function check

2013-10-09 Thread John Stultz
On 10/02/2013 11:07 AM, Santosh Shilimkar wrote: > On Wednesday 02 October 2013 01:48 PM, Will Deacon wrote: >> On Wed, Oct 02, 2013 at 06:42:40PM +0100, Stephen Boyd wrote: >>> On 10/02/13 10:27, Santosh Shilimkar wrote: Really... I have not created patch out of fun. Its broken on my

Re: [PATCH RESEND 6/7] xfstest: Add test case to test multiple collapse range call

2013-10-09 Thread Dave Chinner
On Mon, Oct 07, 2013 at 05:14:06AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > We execute collapse range multiple times on same file. > Each collapse range call collapses a single alternate block. > After the test execution, file will be left with 80 blocks and > as much number of extents.

Re: [RFC PATCHv4] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-10-09 Thread Rafael J. Wysocki
On Wednesday, October 09, 2013 11:51:51 AM Zoran Markovic wrote: > Hi Rafael, > Just wondering if you would like anything changed in this patch in > order to get it into 3.13. I'd prefer not missing yet another merge > window... Sent my comments in a reply to the original patch message. Thanks!

Re: [PATCH v2 tip/core/rcu 05/13] decnet: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Paul E. McKenney
On Wed, Oct 09, 2013 at 03:57:16PM -0700, Josh Triplett wrote: > On Wed, Oct 09, 2013 at 03:46:04PM -0700, Paul E. McKenney wrote: > > On Wed, Oct 09, 2013 at 03:28:42PM -0700, Josh Triplett wrote: > > > On Wed, Oct 09, 2013 at 02:29:38PM -0700, Paul E. McKenney wrote: > > > > From: "Paul E.

Re: [RFC PATCHv4] drivers: power: Detect device suspend/resume lockup and log event in pstore.

2013-10-09 Thread Rafael J. Wysocki
On Wednesday, September 25, 2013 03:31:53 PM Zoran Markovic wrote: > From: Benoit Goby > > Rather than hard-lock the kernel, dump the suspend/resume thread stack and > panic() to capture a message in pstore when a driver takes too long to > suspend/resume. Default suspend/resume watchdog timeout

Re: [PATCH v2 tip/core/rcu 05/13] decnet: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Paul E. McKenney
On Wed, Oct 09, 2013 at 06:58:47PM -0400, Dhaval Giani wrote: > On Wed, Oct 9, 2013 at 5:29 PM, Paul E. McKenney > wrote: > > > > From: "Paul E. McKenney" > > > > The sparse checking for rcu_assign_pointer() was recently upgraded > > to reject non-__kernel address spaces. This also rejects

Re: [PATCH v7 1/5] ARM: add basic support for Trusted Foundations

2013-10-09 Thread Olof Johansson
On Fri, Oct 4, 2013 at 9:37 AM, Alexandre Courbot wrote: > Trusted Foundations is a TrustZone-based secure monitor for ARM that > can be invoked using the same SMC-based API on all supported > platforms. This patch adds initial basic support for Trusted > Foundations using the ARM firmware API.

Re: [PATCH v3] btrfs: Fix memory leakage in the tree-log.c

2013-10-09 Thread Geyslan Gregório Bem
Please, Analyze [PATCH v3]. Regards, Geyslan Gregório Bem hackingbits.com 2013/10/9 Geyslan G. Bem : > In some cases, add_inode_ref() is returning without freeing > the 'name' pointer. > > Added bail out to explicitly call kfree when necessary. > > Signed-off-by: Geyslan G. Bem > --- >

Re: [PATCH v7 1/5] ARM: add basic support for Trusted Foundations

2013-10-09 Thread Olof Johansson
On Tue, Oct 8, 2013 at 1:17 AM, Michal Simek wrote: > Hi, > > On 10/04/2013 06:37 PM, Alexandre Courbot wrote: >> Trusted Foundations is a TrustZone-based secure monitor for ARM that >> can be invoked using the same SMC-based API on all supported >> platforms. This patch adds initial basic

[PATCH v3] btrfs: Fix memory leakage in the tree-log.c

2013-10-09 Thread Geyslan G. Bem
In some cases, add_inode_ref() is returning without freeing the 'name' pointer. Added bail out to explicitly call kfree when necessary. Signed-off-by: Geyslan G. Bem --- fs/btrfs/tree-log.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/tree-log.c

Re: [PATCH v2 tip/core/rcu 07/13] ipv6/ip6_tunnel: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Josh Triplett
On Wed, Oct 09, 2013 at 04:17:55PM -0700, Eric Dumazet wrote: > On Wed, 2013-10-09 at 15:56 -0700, Josh Triplett wrote: > > > I'd be really hesitant to introduce that type of direct assignment to an > > __rcu pointer without wrapping it in some appropriately named macro, or > > at the very least

Re: [PATCH v2] clocksource: fix misleading comment for __clocksource_updatefreq_scale()

2013-10-09 Thread John Stultz
On 09/17/2013 07:57 PM, Xie XiuQi wrote: > Functions clocksource_updatefreq_hz() and clocksource_updatefreq_khz() > mentioned in the comment of __clocksource_updatefreq_scale() do not exist. > > As Thomas Gleixner's suggestion, I renamed the functions and the few call > sites because the

Re: Grrrr fusermount.

2013-10-09 Thread Eric W. Biederman
Andy Lutomirski writes: > On Wed, Oct 9, 2013 at 12:12 PM, Eric W. Biederman > wrote: >> ebied...@xmission.com (Eric W. Biederman) writes: >> >>> But I will go through and read the old fusermount code before I get too >>> much farther just so I understand what I am potentially breaking. >> >>

Re: [PATCH RESEND 5/7] xfstest: Add test case to check various corner cases for collapsing range

2013-10-09 Thread Dave Chinner
On Mon, Oct 07, 2013 at 05:13:52AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > This patch checks various corner cases for collapsing a range. > This patch is based on generic/255 test case which checks various corner > cases for punch hole. > > Signed-off-by: Namjae Jeon > Signed-off-by:

[PATCH V6 14/15] ARM: dts: OMAP5: add clock nodes for CPU

2013-10-09 Thread Nishanth Menon
From: J Keerthy OMAP5 platforms use dpll_mpu_ck clock for CPU. Add same to common definition. Cc: Benoit Cousson [n...@ti.com: keep in sync with clock node changes] Signed-off-by: Nishanth Menon Signed-off-by: J Keerthy --- arch/arm/boot/dts/omap5.dtsi |6 ++ 1 file changed, 6

[PATCH V6 07/15] ARM: dts: omap5-uevm: add smps123 supply for CPU

2013-10-09 Thread Nishanth Menon
regulator smps123 supply from Palmas PMIC powers CPU0 on OMAP5uEVM. Based on a patch by J Keerthy Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/omap5-uevm.dts |4 arch/arm/boot/dts/omap5.dtsi |2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH V6 08/15] ARM: dts: dra7-evm: add smps123 supply for CPU

2013-10-09 Thread Nishanth Menon
From: J Keerthy regulator smps123 supply from Palmas PMIC powers CPU0 on DRA7 EVM. [n...@ti.com: rebase to latest] Signed-off-by: Nishanth Menon Signed-off-by: J Keerthy --- arch/arm/boot/dts/dra7-evm.dts |4 arch/arm/boot/dts/dra7.dtsi|2 +- 2 files changed, 5

[PATCH V6 03/15] ARM: OMAP2+: AM43XX: add lateinit hook for calling pm late init

2013-10-09 Thread Nishanth Menon
Call OMAP2+ generic lateinit hook from AM43x specific late init hook. This allows the generic late initializations such as cpufreq hooks to be active. Cc: Benoit Cousson Cc: Kevin Hilman Cc: Paul Walmsley Cc: Tony Lindgren Signed-off-by: Nishanth Menon ---

[PATCH V6 06/15] ARM: OMAP3+: use cpu0-cpufreq driver in device tree supported boot

2013-10-09 Thread Nishanth Menon
With OMAP3+ and AM33xx supported SoC having defined CPU device tree entries with operating-points and clock nodes defined, we can now use the SoC generic cpufreq-cpu0 driver by registering appropriate device. Cc: Benoit Cousson Cc: Kevin Hilman Cc: Paul Walmsley Cc: Tony Lindgren

[PATCH V6 15/15] ARM: dts: DRA7: add clock nodes for CPU

2013-10-09 Thread Nishanth Menon
From: J Keerthy DRA7 platforms use dpll_mpu_ck clock for CPU. Add same to common definition. Cc: Benoit Cousson [n...@ti.com: keep in sync with clock node changes] Signed-off-by: Nishanth Menon Signed-off-by: J Keerthy --- arch/arm/boot/dts/dra7.dtsi |5 + 1 file changed, 5

[PATCH V6 12/15] ARM: dts: OMAP4: add clock nodes for CPU

2013-10-09 Thread Nishanth Menon
OMAP443x, OMAP446x and OMAP447x platforms use dpll_mpu clock. Add same to common definition. Cc: Benoit Cousson Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/omap4.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi

[PATCH V6 09/15] ARM: dts: OMAP5: Add CPU OPP table

2013-10-09 Thread Nishanth Menon
From: J Keerthy Add DT OPP table for OMAP54xx family of devices. This data is decoded by OF with of_init_opp_table() helper function. The data is based on OMAP543x ES2.0 DM Operating Condition Addendum Version 0.6(April 2013) NOTE: The voltage and frequency values work well only on NOM samples

Re: [PATCH V6 00/15] ARM: OMAP3+: support cpufreq-cpu0 for device tree boot

2013-10-09 Thread Nishanth Menon
On 10/09/2013 04:28 PM, Nishanth Menon wrote: > Hi, > > The series is based on Tero's V8 of patches[1] - enables the use of > cpufreq-cpu0 generic driver for all OMAP and related derivatives. > > I will stop copy pasting the series complete history and point at [2]. > > Main changes since V5: >

[PATCH V6 02/15] ARM: OMAP2+: AM33XX: add lateinit hook for calling pm late init

2013-10-09 Thread Nishanth Menon
Call OMAP2+ generic lateinit hook from AM specific late init hook. This allows the generic late initializations such as cpufreq hooks to be active. Cc: Benoit Cousson Cc: Kevin Hilman Cc: Paul Walmsley Cc: Tony Lindgren Signed-off-by: Nishanth Menon --- arch/arm/mach-omap2/board-generic.c |

[PATCH V6 05/15] ARM: OMAP2+: DRA7: add lateinit hook for calling pm late init

2013-10-09 Thread Nishanth Menon
Call OMAP2+ generic lateinit hook from DRA7 specific late init hook. This allows the generic late initializations such as cpufreq hooks to be active. Cc: Benoit Cousson Cc: Kevin Hilman Cc: Paul Walmsley Cc: Tony Lindgren Signed-off-by: Nishanth Menon --- arch/arm/mach-omap2/board-generic.c

[PATCH V6 04/15] ARM: OMAP2+: OMAP5: add lateinit hook for calling pm late init

2013-10-09 Thread Nishanth Menon
Call OMAP2+ generic lateinit hook from AM specific late init hook. This allows the generic late initializations such as cpufreq hooks to be active. Cc: Benoit Cousson Cc: Kevin Hilman Cc: Paul Walmsley Cc: Tony Lindgren Signed-off-by: Nishanth Menon --- arch/arm/mach-omap2/board-generic.c |

[PATCH V6 13/15] ARM: dts: AM33XX: add clock nodes for CPU

2013-10-09 Thread Nishanth Menon
AM33XX based platforms use dpll_mpu clock. Add same to common dtsi and remove the dummy clock node entry as AM33XX platform supports only device tree based boot. Cc: Benoit Cousson Cc: Kevin Hilman Cc: Paul Walmsley Cc: Tony Lindgren Signed-off-by: Nishanth Menon ---

[PATCH V6 11/15] ARM: dts: OMAP3: add clock nodes for CPU

2013-10-09 Thread Nishanth Menon
OMAP34xx and OMAP36xx platforms use dpll1 clock. Add same to common definition. Cc: Benoit Cousson Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/omap3.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi index

Re: [Kernel-BR] [PATCH] btrfs: Fix memory leakage in the tree-log.c

2013-10-09 Thread Geyslan Gregório Bem
Felipe, thank you, Sending v2. Geyslan Gregório Bem hackingbits.com 2013/10/9 Felipe Pena : > Hi, > > On Wed, Oct 9, 2013 at 8:13 PM, Geyslan G. Bem wrote: >> In some cases, add_inode_ref() is returning without freeing >> the 'name' pointer. >> >> Added bail out to explicitly call kfree when

[PATCH v2] btrfs: Fix memory leakage in the tree-log.c

2013-10-09 Thread Geyslan G. Bem
In some cases, add_inode_ref() is returning without freeing the 'name' pointer. Added bail out to explicitly call kfree when necessary. Signed-off-by: Geyslan G. Bem --- fs/btrfs/tree-log.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/fs/btrfs/tree-log.c

[PATCH V6 10/15] ARM: dts: DRA7: Add CPU OPP table

2013-10-09 Thread Nishanth Menon
From: J Keerthy Add DT OPP table for DRA7xx family of devices. This data is decoded by OF with of_init_opp_table() helper function. The data is based on DRA75x, DRA74x Data Manual revision F (Sept 2013). TODO: add OPP_HIGH after AVS-Class0 is functional NOTE: The voltage and frequency values

[PATCH V6 06/15] ARM: OMAP3+: use cpu0-cpufreq driver in device tree supported boot

2013-10-09 Thread Nishanth Menon
With OMAP3+ and AM33xx supported SoC having defined CPU device tree entries with operating-points and clock nodes defined, we can now use the SoC generic cpufreq-cpu0 driver by registering appropriate device. Cc: Benoit Cousson Cc: Kevin Hilman Cc: Paul Walmsley Cc: Tony Lindgren

[PATCH V6 07/15] ARM: dts: omap5-uevm: add smps123 supply for CPU

2013-10-09 Thread Nishanth Menon
regulator smps123 supply from Palmas PMIC powers CPU0 on OMAP5uEVM. Based on a patch by J Keerthy Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/omap5-uevm.dts |4 arch/arm/boot/dts/omap5.dtsi |2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH V6 02/15] ARM: OMAP2+: AM33XX: add lateinit hook for calling pm late init

2013-10-09 Thread Nishanth Menon
Call OMAP2+ generic lateinit hook from AM specific late init hook. This allows the generic late initializations such as cpufreq hooks to be active. Cc: Benoit Cousson Cc: Kevin Hilman Cc: Paul Walmsley Cc: Tony Lindgren Signed-off-by: Nishanth Menon --- arch/arm/mach-omap2/board-generic.c |

[PATCH V6 05/15] ARM: OMAP2+: DRA7: add lateinit hook for calling pm late init

2013-10-09 Thread Nishanth Menon
Call OMAP2+ generic lateinit hook from DRA7 specific late init hook. This allows the generic late initializations such as cpufreq hooks to be active. Cc: Benoit Cousson Cc: Kevin Hilman Cc: Paul Walmsley Cc: Tony Lindgren Signed-off-by: Nishanth Menon --- arch/arm/mach-omap2/board-generic.c

[PATCH V6 08/15] ARM: dts: dra7-evm: add smps123 supply for CPU

2013-10-09 Thread Nishanth Menon
From: J Keerthy regulator smps123 supply from Palmas PMIC powers CPU0 on DRA7 EVM. [n...@ti.com: rebase to latest] Signed-off-by: Nishanth Menon Signed-off-by: J Keerthy --- arch/arm/boot/dts/dra7-evm.dts |4 arch/arm/boot/dts/dra7.dtsi|2 +- 2 files changed, 5

Regression parsing GPT (EFI) partition tables

2013-10-09 Thread Josh Triplett
When testing ChromeOS with a 3.12 kernel from git, I encountered a regression introduced between 3.11 to 3.12: at boot time, the kernel failed to find any partitions on the USB disk I booted from, which uses a GPT partition table with 12 partitions. This prevented the system from booting.

[PATCH V6 09/15] ARM: dts: OMAP5: Add CPU OPP table

2013-10-09 Thread Nishanth Menon
From: J Keerthy Add DT OPP table for OMAP54xx family of devices. This data is decoded by OF with of_init_opp_table() helper function. The data is based on OMAP543x ES2.0 DM Operating Condition Addendum Version 0.6(April 2013) NOTE: The voltage and frequency values work well only on NOM samples

[PATCH V6 03/15] ARM: OMAP2+: AM43XX: add lateinit hook for calling pm late init

2013-10-09 Thread Nishanth Menon
Call OMAP2+ generic lateinit hook from AM43x specific late init hook. This allows the generic late initializations such as cpufreq hooks to be active. Cc: Benoit Cousson Cc: Kevin Hilman Cc: Paul Walmsley Cc: Tony Lindgren Signed-off-by: Nishanth Menon ---

[PATCH V6 04/15] ARM: OMAP2+: OMAP5: add lateinit hook for calling pm late init

2013-10-09 Thread Nishanth Menon
Call OMAP2+ generic lateinit hook from AM specific late init hook. This allows the generic late initializations such as cpufreq hooks to be active. Cc: Benoit Cousson Cc: Kevin Hilman Cc: Paul Walmsley Cc: Tony Lindgren Signed-off-by: Nishanth Menon --- arch/arm/mach-omap2/board-generic.c |

Re: [PATCH] Fix coalescing host bridge windows in arch/x86/pci/acpi.c

2013-10-09 Thread Bjorn Helgaas
[+cc linux-pci] On Sun, Sep 22, 2013 at 11:15:46PM -0700, Alexey Neyman wrote: > [Resending due to no response to the original message in a week] > > Hi all, > > I have a board with a BIOS bug that reports the following I/O port regions in > _CRS on one of the host bridges: > > 0x-0x03af

Re: [Kernel-BR] [PATCH] btrfs: Fix memory leakage in the tree-log.c

2013-10-09 Thread Felipe Pena
Hi, On Wed, Oct 9, 2013 at 8:13 PM, Geyslan G. Bem wrote: > In some cases, add_inode_ref() is returning without freeing > the 'name' pointer. > > Added bail out to explicitly call kfree when necessary. > > Signed-off-by: Geyslan G. Bem > --- > fs/btrfs/tree-log.c | 13 ++--- > 1 file

Re: [PATCH v3a] vsprintf: Check real user/group id for %pK

2013-10-09 Thread Joe Perches
On Thu, 2013-10-10 at 10:18 +1100, Ryan Mallon wrote: > On 10/10/13 10:09, Joe Perches wrote: > > Do the in_irq tests only when kptr_restrict is 1. > > Document the %pK mechanism in vsnprintf > > Add missing documentation for %pV and %pNF too > > I really did mean post a follow-up/separate patch,

Re: [PATCH v3a] vsprintf: Check real user/group id for %pK

2013-10-09 Thread Ryan Mallon
On 10/10/13 10:09, Joe Perches wrote: > Changes in V3a: > > Do the in_irq tests only when kptr_restrict is 1. > Document the %pK mechanism in vsnprintf > Add missing documentation for %pV and %pNF too I really did mean post a follow-up/separate patch, not a different version of mine. The

Re: [PATCH v2 tip/core/rcu 07/13] ipv6/ip6_tunnel: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Eric Dumazet
On Wed, 2013-10-09 at 15:56 -0700, Josh Triplett wrote: > I'd be really hesitant to introduce that type of direct assignment to an > __rcu pointer without wrapping it in some appropriately named macro, or > at the very least adding a comment. Well, there is no special magic here, in this

[PATCH] btrfs: Fix memory leakage in the tree-log.c

2013-10-09 Thread Geyslan G. Bem
In some cases, add_inode_ref() is returning without freeing the 'name' pointer. Added bail out to explicitly call kfree when necessary. Signed-off-by: Geyslan G. Bem --- fs/btrfs/tree-log.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/fs/btrfs/tree-log.c

[tip:x86/bsp-hotplug] x86, apic: Disable BSP if boot cpu is AP

2013-10-09 Thread tip-bot for HATAYAMA Daisuke
Commit-ID: 1d79e607332d67d9132c176d99b5e7fabe1b6b7f Gitweb: http://git.kernel.org/tip/1d79e607332d67d9132c176d99b5e7fabe1b6b7f Author: HATAYAMA Daisuke AuthorDate: Thu, 29 Aug 2013 18:28:04 +0900 Committer: H. Peter Anvin CommitDate: Wed, 9 Oct 2013 15:41:11 -0700 x86, apic: Disable

[tip:x86/bsp-hotplug] x86, apic: Add boot_cpu_is_bsp() to check if boot cpu is BSP

2013-10-09 Thread tip-bot for HATAYAMA Daisuke
Commit-ID: 68c3467bb95a9e99f46d04cb96f60c04bb997ac8 Gitweb: http://git.kernel.org/tip/68c3467bb95a9e99f46d04cb96f60c04bb997ac8 Author: HATAYAMA Daisuke AuthorDate: Thu, 29 Aug 2013 18:27:58 +0900 Committer: H. Peter Anvin CommitDate: Wed, 9 Oct 2013 15:41:10 -0700 x86, apic: Add

Dear Friend.

2013-10-09 Thread Cabiru Bello
Dear Friend My Name is Dr. Cabiru Bello .I am a banker by professio .I hail from Ouagadougou, Burkina Faso, West Africa.My reason for contacting you is to transfer an abandoned $10, 300, 000.00 (Ten Million Three Hundred Thousand Dollars) to your account. The owner of this fund died since

[PATCH v3a] vsprintf: Check real user/group id for %pK

2013-10-09 Thread Joe Perches
Some setuid binaries will allow reading of files which have read permission by the real user id. This is problematic with files which use %pK because the file access permission is checked at open() time, but the kptr_restrict setting is checked at read() time. If a setuid binary opens a %pK file

Re: [PATCH RESEND 4/7] xfsprogs: xfsio: add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2013-10-09 Thread Dave Chinner
On Mon, Oct 07, 2013 at 05:13:38AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > Add support FALLOC_FL_COLLAPSE_RANGE for fallocate. > > Signed-off-by: Namjae Jeon > Signed-off-by: Ashish Sangwan Looks good. Reviewed-by: Dave Chinner -- Dave Chinner da...@fromorbit.com -- To

Re: [PATCH v2 tip/core/rcu 05/13] decnet: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Dhaval Giani
On Wed, Oct 9, 2013 at 5:29 PM, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > The sparse checking for rcu_assign_pointer() was recently upgraded > to reject non-__kernel address spaces. This also rejects __rcu, > which is almost always the right thing to do. However, the use in >

RE: [PATCH 1/4] pinctrl: Add void * to pinctrl_pin_desc

2013-10-09 Thread Sherman Yin
>> --- >> Change-Id: I78b2c44b93d88b04897fd0af80ffce213e338d6b > >Why are you giving me this funky Gerrit stuff along with the patch? >It's not like I have any use for it, and anything below the three >dashes will be deleted when applying. > >The patch is OK but won't be applied until some driver

Re: [PATCH v2 tip/core/rcu 05/13] decnet: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Josh Triplett
On Wed, Oct 09, 2013 at 03:46:04PM -0700, Paul E. McKenney wrote: > On Wed, Oct 09, 2013 at 03:28:42PM -0700, Josh Triplett wrote: > > On Wed, Oct 09, 2013 at 02:29:38PM -0700, Paul E. McKenney wrote: > > > From: "Paul E. McKenney" > > > > > > The sparse checking for rcu_assign_pointer() was

Re: [PATCH v2 tip/core/rcu 07/13] ipv6/ip6_tunnel: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Josh Triplett
On Wed, Oct 09, 2013 at 03:51:17PM -0700, Eric Dumazet wrote: > On Wed, 2013-10-09 at 15:36 -0700, Paul E. McKenney wrote: > > > That would work, though it would probably give sparse complaints. > > No sparse error here, as I said types are correct and SPARSE_RCU ready : > > diff --git

Re: [PATCH v2 tip/core/rcu 07/13] ipv6/ip6_tunnel: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Eric Dumazet
On Wed, 2013-10-09 at 15:36 -0700, Paul E. McKenney wrote: > That would work, though it would probably give sparse complaints. No sparse error here, as I said types are correct and SPARSE_RCU ready : diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index 583b77e..28f8495 100644 ---

Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-10-09 Thread H. Peter Anvin
On 09/27/2013 08:35 AM, KY Srinivasan wrote: > > Thanks Olaf. Could you submit the patch. > Haven't heard anything from Olaf... could you fold in the fix and resumbit? -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 0/3] gpio-langwell: initial support for Intel Merrifield

2013-10-09 Thread David Cohen
Hi Linus W, On 10/04/2013 01:01 PM, David Cohen wrote: This patch set does initial support for Intel Merrifield and does non-function changes to make gpio-langwell more friendly to other Intel Mid SoC's. After these initial changes are accepted, more Merrifield stuff will come :) Ping :)

Re: [PATCH v2 tip/core/rcu 0/13] Sparse-related updates for 3.13

2013-10-09 Thread Paul E. McKenney
On Wed, Oct 09, 2013 at 03:18:05PM -0700, Josh Triplett wrote: > On Wed, Oct 09, 2013 at 02:29:20PM -0700, Paul E. McKenney wrote: > > Hello! > > > > This series features updates to allow sparse to do a better job of > > statically analyzing RCU usage: > > > > 1. Apply ACCESS_ONCE() to

Re: [PATCH RESEND 1/7] fs: add new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate

2013-10-09 Thread Dave Chinner
On Mon, Oct 07, 2013 at 05:12:46AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > Add new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate. > updated detailed semantics in comments. > > Signed-off-by: Namjae Jeon > Signed-off-by: Ashish Sangwan > --- > fs/open.c | 24

Re: [PATCH v2 tip/core/rcu 05/13] decnet: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Paul E. McKenney
On Wed, Oct 09, 2013 at 03:28:42PM -0700, Josh Triplett wrote: > On Wed, Oct 09, 2013 at 02:29:38PM -0700, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > The sparse checking for rcu_assign_pointer() was recently upgraded > > to reject non-__kernel address spaces. This also rejects

Re: [PATCH v3] vsprintf: Check real user/group id for %pK

2013-10-09 Thread Ryan Mallon
On 10/10/13 09:33, Joe Perches wrote: > On Thu, 2013-10-10 at 09:25 +1100, Ryan Mallon wrote: > >> if (kptr_restrict && (in_irq() || in_serving_softirq() || >>in_nmi())) { >> >> Is making sure that you don't have kernel code doing something like this: >> >>

Re: [PATCH v2 1/2] elevator: Fix a race in elevator switching and md device initialization

2013-10-09 Thread Tomoki Sekiyama
Hi all, Is this patchset going to be merged into 3.12? Thanks, -- Tomoki On 9/23/13 16:14 , "Tejun Heo" wrote: >Hello, > >On Mon, Sep 23, 2013 at 08:11:55PM +, Tomoki Sekiyama wrote: >> >Hmm... why aren't we just changing elevator_init() to grab sysfs_lock >> >where necessary? >> >>

Re: [PATCH v3] vsprintf: Check real user/group id for %pK

2013-10-09 Thread Joe Perches
On Thu, 2013-10-10 at 09:25 +1100, Ryan Mallon wrote: > if (kptr_restrict && (in_irq() || in_serving_softirq() || > in_nmi())) { > > Is making sure that you don't have kernel code doing something like this: > > irqreturn_t some_irq_handler(int irq, void

Re: [PATCH v2 tip/core/rcu 07/13] ipv6/ip6_tunnel: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Paul E. McKenney
On Wed, Oct 09, 2013 at 03:10:24PM -0700, Eric Dumazet wrote: > On Wed, 2013-10-09 at 14:57 -0700, Paul E. McKenney wrote: > > > Hmmm... I could use RCU_INIT_POINTER(). Something like the following? > > > > RCU_INIT_POINTER(ACCESS_ONCE(*tp), t->next); > > > > The ACCESS_ONCE() to prevent

Re: [uml-devel] BUG: soft lockup for a user mode linux image

2013-10-09 Thread Richard Weinberger
Am 09.10.2013 23:47, schrieb Jan Kara: > On Wed 09-10-13 20:43:50, Richard Weinberger wrote: >> CC'ing mm folks. >> Please see below. > Added Fenguang to CC since he is the author of this code. Thx, get_maintainer.pl didn't list him. >> Am 09.10.2013 19:26, schrieb Toralf Förster: >>> On

Re: [PATCH V6 0/8] perf tools: kcore improvements

2013-10-09 Thread Andi Kleen
Peter Zijlstra writes: > On Wed, Oct 09, 2013 at 03:01:10PM +0300, Adrian Hunter wrote: >> - workaround objdump difficulties with kcore > > I've no idea, but given that've 'inlined' addr2line, should we also > consider polling in objdump -- or at least that subset of functionality > that we

Re: [PATCH v2 tip/core/rcu 0/13] Sparse-related updates for 3.13

2013-10-09 Thread Josh Triplett
On Wed, Oct 09, 2013 at 02:29:20PM -0700, Paul E. McKenney wrote: > Hello! > > This series features updates to allow sparse to do a better job of > statically analyzing RCU usage: > > 1.Apply ACCESS_ONCE() to rcu_assign_pointer()'s target to prevent > comiler mischief. Also require

Re: [PATCH v2 tip/core/rcu 05/13] decnet: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Josh Triplett
On Wed, Oct 09, 2013 at 02:29:38PM -0700, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > The sparse checking for rcu_assign_pointer() was recently upgraded > to reject non-__kernel address spaces. This also rejects __rcu, > which is almost always the right thing to do. However, the use

Re: [Nouveau] Panic in nouveau on resume after 5addcf0a

2013-10-09 Thread Martin Nyhus
On 10/09/2013 11:34 PM, Dave Airlie wrote: On Thu, Oct 10, 2013 at 5:35 AM, Martin Nyhus wrote: After 5addcf0a (nouveau: add runtime PM support (v0.9)) I'm getting kernel panics immediately after resuming from suspend. Unfortunately it happens so early that I don't get any more info than the

Re: [PATCH v2 tip/core/rcu 01/13] rcu: Make rcu_assign_pointer's assignment volatile and type-safe

2013-10-09 Thread Josh Triplett
On Wed, Oct 09, 2013 at 02:29:34PM -0700, Paul E. McKenney wrote: > From: Josh Triplett > > rcu_assign_pointer needs to use ACCESS_ONCE to make the assignment to > the destination pointer volatile, to protect against compilers too > clever for their own good. > > In addition, since

Re: [PATCH v3] vsprintf: Check real user/group id for %pK

2013-10-09 Thread Ryan Mallon
On 10/10/13 09:14, Joe Perches wrote: > On Thu, 2013-10-10 at 09:04 +1100, Ryan Mallon wrote: >> On 10/10/13 09:00, Joe Perches wrote: > [] >>> Move the interrupt tests and pK-error printk >>> into case 1: >>> >>> It's the only case where CAP_SYSLOG needs to be >>> tested so it doesn't need to be

Re: [RFC][PATCH] x86: Lazy disabling of interrupts

2013-10-09 Thread Andi Kleen
"H. Peter Anvin" writes: >> Summary >> --- >> >> Although the extreme case shows a nice improvement, I'm skeptical if it >> is worth doing for real world applications. > > You did the experiment, and credit to you for not going "I did the work, > now include it" but rather for publishing

Re: [PATCH v2 tip/core/rcu 0/13] Sparse-related updates for 3.13

2013-10-09 Thread Josh Triplett
On Wed, Oct 09, 2013 at 02:29:20PM -0700, Paul E. McKenney wrote: > Hello! > > This series features updates to allow sparse to do a better job of > statically analyzing RCU usage: > > 1.Apply ACCESS_ONCE() to rcu_assign_pointer()'s target to prevent > comiler mischief. Also require

Re: [RFC PATCH v2 0/1] FPGA subsystem core

2013-10-09 Thread H. Peter Anvin
On 10/09/2013 02:07 PM, Jason Gunthorpe wrote: > That is sort of backwards though, how does the driver know it should > load and start fpga progamming? A common way is for there to be a bitstream stored in flash which presents an interface to download the data. I think some FPGAs with hard bus

Re: [PATCH v2 tip/core/rcu 0/13] Sparse-related updates for 3.13

2013-10-09 Thread Josh Triplett
On Wed, Oct 09, 2013 at 02:29:20PM -0700, Paul E. McKenney wrote: > Hello! > > This series features updates to allow sparse to do a better job of > statically analyzing RCU usage: > > 1.Apply ACCESS_ONCE() to rcu_assign_pointer()'s target to prevent > comiler mischief. Also require

Re: [PATCH v3] vsprintf: Check real user/group id for %pK

2013-10-09 Thread Joe Perches
On Thu, 2013-10-10 at 09:04 +1100, Ryan Mallon wrote: > On 10/10/13 09:00, Joe Perches wrote: [] > > Move the interrupt tests and pK-error printk > > into case 1: > > > > It's the only case where CAP_SYSLOG needs to be > > tested so it doesn't need to be above the switch. > > Like I said, I

Re: [PATCH v2 tip/core/rcu 07/13] ipv6/ip6_tunnel: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Eric Dumazet
On Wed, 2013-10-09 at 14:57 -0700, Paul E. McKenney wrote: > Hmmm... I could use RCU_INIT_POINTER(). Something like the following? > > RCU_INIT_POINTER(ACCESS_ONCE(*tp), t->next); > > The ACCESS_ONCE() to prevent the compiler from doing anything stupid. > Presumably the value of t->next

Re: [PATCH v3] vsprintf: Check real user/group id for %pK

2013-10-09 Thread Ryan Mallon
On 10/10/13 09:00, Joe Perches wrote: > On Thu, 2013-10-10 at 08:52 +1100, Ryan Mallon wrote: >> Some setuid binaries will allow reading of files which have read >> permission by the real user id. This is problematic with files which >> use %pK because the file access permission is checked at

Re: [PATCH] MAINTAINERS: Add arch/x86/pci to PCI file patterns

2013-10-09 Thread Bjorn Helgaas
On Wed, Oct 9, 2013 at 3:11 PM, Joe Perches wrote: > Hey Bjorn > > On Wed, 2013-10-09 at 15:02 -0600, Bjorn Helgaas wrote: >> I handle many arch/x86/pci changes, so help those patches get to the >> PCI patchwork. > > [] >> diff --git a/MAINTAINERS b/MAINTAINERS >> index e61c2e8..d1ab647 100644 >>

Re: [PATCH] MAINTAINERS: Add arch/x86/pci to PCI file patterns

2013-10-09 Thread Bjorn Helgaas
On Wed, Oct 9, 2013 at 3:08 PM, H. Peter Anvin wrote: > On 10/09/2013 02:04 PM, Bjorn Helgaas wrote: >> On Wed, Oct 9, 2013 at 3:02 PM, Bjorn Helgaas wrote: >>> I handle many arch/x86/pci changes, so help those patches get to the >>> PCI patchwork. >>> >>> Signed-off-by: Bjorn Helgaas >> >>

Re: [PATCH v3] vsprintf: Check real user/group id for %pK

2013-10-09 Thread Joe Perches
On Thu, 2013-10-10 at 08:52 +1100, Ryan Mallon wrote: > Some setuid binaries will allow reading of files which have read > permission by the real user id. This is problematic with files which > use %pK because the file access permission is checked at open() time, > but the kptr_restrict setting is

Re: [PATCH v2 tip/core/rcu 07/13] ipv6/ip6_tunnel: Apply rcu_access_pointer() to avoid sparse false positive

2013-10-09 Thread Paul E. McKenney
On Wed, Oct 09, 2013 at 02:42:29PM -0700, Eric Dumazet wrote: > On Wed, 2013-10-09 at 14:29 -0700, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > The sparse checking for rcu_assign_pointer() was recently upgraded > > to reject non-__kernel address spaces. This also rejects __rcu,

[PATCH v3] vsprintf: Check real user/group id for %pK

2013-10-09 Thread Ryan Mallon
Some setuid binaries will allow reading of files which have read permission by the real user id. This is problematic with files which use %pK because the file access permission is checked at open() time, but the kptr_restrict setting is checked at read() time. If a setuid binary opens a %pK file

Re: [PATCH 2/2] Export initial ramdisk compression config

2013-10-09 Thread Andrew Morton
On Wed, 25 Sep 2013 01:11:54 +0530 (IST) P J P wrote: > | A few things... > | - Why is it specific to x86? Other architcetures use initramfs? > > No, it is not specific to x86, most likely all architecturess' Makefile > would need similar patch. But I haven't looked into those yet. It

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