[tip:x86/urgent] perf/x86/intel: Mark MEM_LOAD_UOPS_MISS_RETIRED as precise on SNB

2013-09-14 Thread tip-bot for Stephane Eranian
Commit-ID: 9d8e3f9693245415db0b7c58551a91fa9fd1f9c7 Gitweb: http://git.kernel.org/tip/9d8e3f9693245415db0b7c58551a91fa9fd1f9c7 Author: Stephane Eranian AuthorDate: Fri, 13 Sep 2013 13:16:46 -0700 Committer: Ingo Molnar CommitDate: Sat, 14 Sep 2013 08:00:18 +0200 perf/x86/intel: Mark ME

[tip:x86/urgent] x86/intel/lpss: Add pin control support to Intel low power subsystem

2013-09-14 Thread tip-bot for Mathias Nyman
Commit-ID: 0f531431d3de88efb4234d6c0ce22089ec035a38 Gitweb: http://git.kernel.org/tip/0f531431d3de88efb4234d6c0ce22089ec035a38 Author: Mathias Nyman AuthorDate: Fri, 13 Sep 2013 17:02:29 +0300 Committer: Ingo Molnar CommitDate: Sat, 14 Sep 2013 08:06:28 +0200 x86/intel/lpss: Add pin co

Re: [RFC PATCH alt 4/4] pinctrl: at91: rework debounce configuration

2013-09-14 Thread boris brezillon
Hello Stephen, Le 14/09/2013 00:40, Stephen Warren a écrit : On 09/13/2013 01:53 AM, Boris BREZILLON wrote: AT91 SoCs do not support per pin debounce time configuration. Instead you have to configure a debounce time which will be used for all pins of a given bank (PIOA, PIOB, ...). diff --git a

Re: dev->of_node overwrite can cause device loading with different driver

2013-09-14 Thread Markus Pargmann
On Fri, Sep 13, 2013 at 10:10:46AM -0700, Greg Kroah-Hartman wrote: > On Fri, Sep 13, 2013 at 05:53:31PM +0200, Markus Pargmann wrote: > > Hi, > > > > I ran into a serious problem with overwriting device of_node property as > > it is done in many drivers for ARM. If probing fails in such a > > sit

[PATCH] argv_split: Return NULL if argument contains no non-whitespace.

2013-09-14 Thread Tetsuo Handa
>From 210f917f3b535bc0d4dcbb20ca4395709e913104 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Sat, 14 Sep 2013 16:24:07 +0900 Subject: [PATCH] argv_split: Return NULL if argument contains no non-whitespace. I tried # echo '|' > /proc/sys/kernel/core_pattern and got BUG: unable to handle

Re: [PATCH 211/228] cpufreq: tegra: remove calls to cpufreq_notify_transition()

2013-09-14 Thread Vladimir Murzin
On Sat, Sep 14, 2013 at 09:39:31AM +0530, Viresh Kumar wrote: > On 14 September 2013 04:22, Stephen Warren wrote: > > I wonder if this series is bisectable? Perhaps I should just go and read > > the rest of the series, but I presume there's a patch somewhere else > > that adds those two cpufreq_no

Re: [PATCH] clk: si570: Add a driver for SI570 oscillators

2013-09-14 Thread Sebastian Hesselbarth
On 09/13/2013 07:26 PM, Sören Brinkmann wrote: On Fri, Sep 13, 2013 at 10:00:05AM -0700, Guenter Roeck wrote: On Thu, Sep 12, 2013 at 05:55:37PM -0700, Soren Brinkmann wrote: Add a driver for SILabs 570, 571, 598, 599 programmable oscillators. The devices generate low-jitter clock signals and a

[PATCH] ptp: measure the time offset between PHC and system clock

2013-09-14 Thread Dong Zhu
This patch add a method into testptp.c to measure the time offset between phc and system clock through the ioctl PTP_SYS_OFFSET. Signed-off-by: Dong Zhu --- Documentation/ptp/testptp.c | 40 ++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/D

[PATCH] tools/perf: add new option --ignore-vmlinux for perf top

2013-09-14 Thread Willy Tarreau
Running "perf top" on a machine with possibly invalid or non-matching vmlinux at the various places results in no symbol resolving despite /proc/kallsyms being present and valid. Add a new option --ignore-vmlinux to explicitly indicate that we do not want to use these kernels and just use what we

Re: [PATCH 1/2] [RFC v2] seqcount: Add lockdep functionality to seqcount/seqlock structures

2013-09-14 Thread Li Zefan
On 2013/9/14 8:19, John Stultz wrote: > Currently seqlocks and seqcounts don't support lockdep. > > After running across a seqcount related deadlock in the timekeeping > code, I used a less-refined and more focused varient of this patch > to narrow down the cause of the issue. > > This is a first

Re: [PATCH 2/2] [RFC] cpuset: Fix potential deadlock w/ set_mems_allowed

2013-09-14 Thread Li Zefan
Cc Mel, who added seqcount to cpuset. On 2013/9/14 8:19, John Stultz wrote: > After adding lockdep support to seqlock/seqcount structures, > I started seeing the following warning: > > [1.070907] == > [1.072015] [ INFO: SOFTIRQ-safe -> S

Re: [GIT PULL] Btrfs

2013-09-14 Thread Heiko Carstens
On Fri, Sep 13, 2013 at 04:58:36PM +0100, Russell King wrote: > On Fri, Sep 13, 2013 at 11:38:15AM -0400, Josh Boyer wrote: > > On Fri, Sep 13, 2013 at 11:06 AM, Josh Boyer wrote: > > > On Fri, Sep 13, 2013 at 8:15 AM, Russell King > > > wrote: > > >> On Fri, Sep 13, 2013 at 07:53:21AM -0400, Jo

Re: [PATCH 069/228] cpufreq: kirkwood: Use generic cpufreq routines

2013-09-14 Thread Andrew Lunn
On Fri, Sep 13, 2013 at 06:30:15PM +0530, Viresh Kumar wrote: > Most of the CPUFreq drivers do similar things in .exit() and .verify() > routines > and .attr. So its better if we have generic routines for them which can be > used > by cpufreq drivers then. > > This patch uses these generic routi

Re: [PATCH v4 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-09-14 Thread Pali Rohár
On Sunday 08 September 2013 09:43:29 Pali Rohár wrote: > Here is new version (v4) of omap secure part patch: > > Other secure functions omap_smc1() and omap_smc2() calling > instruction smc #0 but Nokia RX-51 board needs to call smc #1 > for PPA access. > > Signed-off-by: Ivaylo Dimitrov > Signe

Re: [PATCH 0/4] Add support for charging battery in Nokia RX-51

2013-09-14 Thread Pali Rohár
On Sunday 08 September 2013 10:50:35 Pali Rohár wrote: > This patch series finally bringing support for charging > battery on Nokia N900 (RX-51) without any proprietary Nokia > bits in userspace. > > Pali Rohár (4): > usb: musb: Call atomic_notifier_call_chain when status is > changed power: isp

[GIT PULL] S+core Architecture : fix bugs for compiling and support necessary functions

2013-09-14 Thread Lennox Wu
x.git tags/branch-linus-20130914 Best, Lennox Wu --- Summary these commits: 1. Fix some trivial errors for successfully compiling the latest version Linux kernel. 2. Provide necessary function for support IPV6. 3. Update the information of m

Grant Donation

2013-09-14 Thread Gillian and Adrian Bayford
My wife and i won £148.6 Million Pounds last year, and we have done lot of charity donation, so we decide to give 1.5 Million Pounds each to 5 lucky people, lucky for you, your email, was given to us by Google management as one of our lucky precipitants. For verification process see below Pleas

Grant Donation

2013-09-14 Thread Gillian and Adrian Bayford
My wife and i won £148.6 Million Pounds last year, and we have done lot of charity donation, so we decide to give 1.5 Million Pounds each to 5 lucky people, lucky for you, your email, was given to us by Google management as one of our lucky precipitants. For verification process see below Pleas

Re: [PATCH net 0/3] SLCAN/SLIP fixes and performance

2013-09-14 Thread Marc Kleine-Budde
On 09/13/2013 07:37 PM, Andre Naujoks wrote: > Hi Dave, > > these are some loosely related patches, that fix an ancient locking problem in > the slip and slcan drivers, add general ASCII-HEX to bin functions for > uppercase ASCII, fix the handling of CAN RTR frames in the slcan driver Can you get

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

2013-09-14 Thread azurIt
> CC: "Andrew Morton" , "Michal Hocko" > , "David Rientjes" , "KAMEZAWA Hiroyuki" > , "KOSAKI Motohiro" > , linux...@kvack.org, > cgro...@vger.kernel.org, x...@kernel.org, linux-a...@vger.kernel.org, > linux-kernel@vger.kernel.org >On Wed, Sep 11, 2013 at 09:41:18PM +0200, azurIt wrote: >> >On

Re: [PATCH 10/38] Documentation: dt: iio: Add binding for LPS001WP

2013-09-14 Thread Jonathan Cameron
added devicetree list cc. On 09/10/13 13:49, Lee Jones wrote: > LPS001WP is a Pressure and Temperature sensor. > > Signed-off-by: Lee Jones > --- > .../devicetree/bindings/iio/pressure/lps001wp.txt | 21 > + > 1 file changed, 21 insertions(+) > create mode 100644 > Docum

Re: [PATCH 11/38] Documentation: dt: iio: Add binding for LSM303DLH

2013-09-14 Thread Jonathan Cameron
add devicetree list cc On 09/10/13 13:49, Lee Jones wrote: > LSM303DLH is a Accelerometer Sensor > > Signed-off-by: Lee Jones > --- > .../devicetree/bindings/iio/accel/lsm303dlh.txt | 21 > + > 1 file changed, 21 insertions(+) > create mode 100644 Documentation/devicet

Re: [PATCH 13/38] Documentation: dt: iio: Add binding for LSM303DLH

2013-09-14 Thread Jonathan Cameron
Add devicetree list cc. On 09/10/13 13:49, Lee Jones wrote: > LSM303DLH is a Magnetometer Sensor > > Signed-off-by: Lee Jones > --- > .../bindings/iio/magnetometer/lsm303dlh.txt | 21 > + > 1 file changed, 21 insertions(+) > create mode 100644 > Documentation/devic

Re: [PATCH 12/38] Documentation: dt: iio: Add binding for L3G4200D

2013-09-14 Thread Jonathan Cameron
Add devicetree list cc On 09/10/13 13:49, Lee Jones wrote: > L3G4200D is a Gyroscope Sensor > > Signed-off-by: Lee Jones > --- > .../devicetree/bindings/iio/gyro/l3g4200d.txt | 21 > + > 1 file changed, 21 insertions(+) > create mode 100644 Documentation/devicetree/bi

Grant Donation

2013-09-14 Thread Gillian and Adrian Bayford
My wife and i won £148.6 Million Pounds last year, and we have done lot of charity donation, so we decide to give 1.5 Million Pounds each to 5 lucky people, lucky for you, your email, was given to us by Google management as one of our lucky precipitants. For verification process see below Pleas

Re: [PATCH 14/38] iio: accel: st: Append _accel to accelerator sensor device names

2013-09-14 Thread Jonathan Cameron
On 09/10/13 13:49, Lee Jones wrote: > Some of ST's sensors are appended with their sensor type and some > are not. For consistency we're extending the same naming convention > throughout. > > Signed-off-by: Lee Jones Honestly I don't care either way on these, but consistency would definitely be g

Re: proc hidepid=2 and SGID programs

2013-09-14 Thread Vasiliy Kulikov
On Tue, Sep 10, 2013 at 01:30 -0700, Christian Kujau wrote: > On Sun, 8 Sep 2013 at 23:42, Eric W. Biederman wrote: > > I don't have a clue why anyone would want to hide processes, and make > > their own lives more difficult. > > Oh, there are plenty of usescases, I'm sure. And I for one am thankf

Re: [PATCH net 0/3] SLCAN/SLIP fixes and performance

2013-09-14 Thread Andre Naujoks
On 14.09.2013 12:45, Marc Kleine-Budde wrote: On 09/13/2013 07:37 PM, Andre Naujoks wrote: Hi Dave, these are some loosely related patches, that fix an ancient locking problem in the slip and slcan drivers, add general ASCII-HEX to bin functions for uppercase ASCII, fix the handling of CAN RTR

Re: [PATCH 14/38] iio: accel: st: Append _accel to accelerator sensor device names

2013-09-14 Thread Jonathan Cameron
On 09/14/13 13:14, Jonathan Cameron wrote: > On 09/10/13 13:49, Lee Jones wrote: >> Some of ST's sensors are appended with their sensor type and some >> are not. For consistency we're extending the same naming convention >> throughout. >> >> Signed-off-by: Lee Jones > Honestly I don't care either

Re: 3.10.5: rcu_sched detected stalls on CPUs/tasks

2013-09-14 Thread Jochen Striepe
Hello again, On Mon, Sep 09, 2013 at 03:27:51PM -0700, Paul E. McKenney wrote: > Several people helped track down another source of spurious stall > warnings on large systems, please see below for the patch. [...] > >

Re: [PATCH v2] trace: show more and exactly help information about snapshot

2013-09-14 Thread Steven Rostedt
On Sat, 14 Sep 2013 12:59:16 +0800 Wang YanQing wrote: > Actually, they both are correct: > > default: > if (tr->allocated_snapshot) { > if (iter->cpu_file == RING_BUFFER_ALL_CPUS) > tracing_reset_online_cpus(&tr->max_buffer

Re: [PATCH 2/4] Add cpuconfig nodes in dts for smp configure.

2013-09-14 Thread Maxime Ripard
Hi Fan, On Thu, Sep 12, 2013 at 02:51:25PM +0800, Fan Rong wrote: > Signed-off-by: Fan Rong > --- > arch/arm/boot/dts/sun7i-a20.dtsi |9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi > b/arch/arm/boot/dts/sun7i-a20.dtsi > inde

Re: [PATCH 3/4] Add physical count arch timer support for clocksource in ARMv7.

2013-09-14 Thread maxime.rip...@free-electrons.com
Hi Marc, Fan, On Fri, Sep 13, 2013 at 10:30:49AM +0100, Marc Zyngier wrote: > On 13/09/13 09:49, cinifr wrote: > > On 13 September 2013 00:39, Marc Zyngier wrote: > > I am wondering what is the principle between kernel and bootload? > > What should be done in bootloader and what should be don

[PATCH 1/3] arm: kvm: clamp NR_VCPUS to MAX_VCPUS

2013-09-14 Thread Andrew Jones
Signed-off-by: Andrew Jones --- arch/arm/kvm/arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index 741f66a2edbd7..9ebf8ac3a12ff 100644 --- a/arch/arm/kvm/arm.c +++ b/arch/arm/kvm/arm.c @@ -201,7 +201,7 @@ int kvm_dev_ioctl_check_ex

[PATCH 3/3] aarch64: kvm: introduce CONFIG_KVM_MAX_VCPUS

2013-09-14 Thread Andrew Jones
Take CONFIG_KVM_MAX_VCPUS from arm32, but set the default to 8. Signed-off-by: Andrew Jones --- arch/arm64/include/asm/kvm_host.h | 7 ++- arch/arm64/kvm/Kconfig| 11 +++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/kvm_host.h b/

[PATCH 0/3] KVM_MAX_VCPUS related changes

2013-09-14 Thread Andrew Jones
Andrew Jones (3): arm: kvm: clamp NR_VCPUS to MAX_VCPUS arm32: kvm: rename CONFIG_KVM_ARM_MAX_VCPUS aarch64: kvm: introduce CONFIG_KVM_MAX_VCPUS arch/arm/include/asm/kvm_host.h | 4 ++-- arch/arm/kvm/Kconfig | 8 arch/arm/kvm/arm.c| 2 +- arch/arm6

[PATCH 2/3] arm32: kvm: rename CONFIG_KVM_ARM_MAX_VCPUS

2013-09-14 Thread Andrew Jones
Drop the _ARM_ part of the name. We can then introduce a config option like this to aarch64 and other arches using the same name - allowing grep to show them all. Also update the help text to describe the option more completely. Signed-off-by: Andrew Jones --- arch/arm/include/asm/kvm_host.h | 4

Re: [PATCH 1/3] arm: kvm: clamp NR_VCPUS to MAX_VCPUS

2013-09-14 Thread Alexander Graf
Am 14.09.2013 um 07:10 schrieb Andrew Jones : > Signed-off-by: Andrew Jones > --- > arch/arm/kvm/arm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c > index 741f66a2edbd7..9ebf8ac3a12ff 100644 > --- a/arch/arm/kvm/arm.c > +++ b/

Re: dev->of_node overwrite can cause device loading with different driver

2013-09-14 Thread Greg Kroah-Hartman
On Sat, Sep 14, 2013 at 09:16:53AM +0200, Markus Pargmann wrote: > > Ok, so what do you suggest we do for stuff like this? Fix up the musb > > driver? Or something else? > > I think there are three options to solve this: > > 1. Break out of the driver list iteration loop as soon as a driver pro

Re: [PATCH] Input: gpio_keys - wakeup_trigger

2013-09-14 Thread Tomasz Figa
Hi Benson, On Friday 13 of September 2013 14:52:40 Benson Leung wrote: > Allow wakeup_trigger to be defined per gpio button. Currently, all > gpio buttons are set up as IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING. > It may be more appropriate to only wake the system on one edge, for > example if th

[PATCH] [RFC] x86: kvm: remove KVM_SOFT_MAX_VCPUS

2013-09-14 Thread Andrew Jones
This patch removes KVM_SOFT_MAX_VCPUS and uses num_online_cpus() for KVM_CAP_NR_VCPUS instead, as ARM does. While the API doc simply says KVM_CAP_NR_VCPUS should return the recommended maximum number of vcpus, it has been returning KVM_SOFT_MAX_VCPUS, which was defined as the maximum tested number

[PATCH] x86: kvm: introduce CONFIG_KVM_MAX_VCPUS

2013-09-14 Thread Andrew Jones
Take CONFIG_KVM_MAX_VCPUS from arm32, but set the default to 255. Signed-off-by: Andrew Jones --- arch/x86/include/asm/kvm_host.h | 5 +++-- arch/x86/kvm/Kconfig| 10 ++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x8

Re: [PATCH 1/3] arm: kvm: clamp NR_VCPUS to MAX_VCPUS

2013-09-14 Thread Marc Zyngier
On 2013-09-14 13:14, Alexander Graf wrote: Am 14.09.2013 um 07:10 schrieb Andrew Jones : Signed-off-by: Andrew Jones --- arch/arm/kvm/arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index 741f66a2edbd7..9ebf8ac3a12ff 100644 --- a

Re: scripts/config: fix variable substitution command

2013-09-14 Thread Sedat Dilek
Hi, The ChangeLog from [1] says: Commit 229455bc02b87f7128f190c4491b4ce38648 accidentally changed the separator between sed `s' command and its parameters from ':' to '/'. Revert this change. Reported-and-tested-by: Linus Walleij Signed-off-by: Clement Chauplannaz Signed-off-by: Michal Mar

Re: [PATCH 1/3] arm: kvm: clamp NR_VCPUS to MAX_VCPUS

2013-09-14 Thread Andrew Jones
On Sat, Sep 14, 2013 at 07:14:02AM -0500, Alexander Graf wrote: > > > Am 14.09.2013 um 07:10 schrieb Andrew Jones : > > > Signed-off-by: Andrew Jones > > --- > > arch/arm/kvm/arm.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/a

Business proposal.

2013-09-14 Thread mr. ego
Dear friend, My name is Mr. Ego Kadima. I am working with one of the prime banks here in Burkina Faso. Here in this bank existed a dormant account for many years, which belong to one of our late foreign customer. When I discovered that there had been neither deposits nor withdrawals from this

Linux 3.0.96

2013-09-14 Thread Greg KH
I'm announcing the release of the 3.0.96 kernel. All users of the 3.0 kernel series must upgrade. The updated 3.0.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.0.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.0.96

2013-09-14 Thread Greg KH
diff --git a/Makefile b/Makefile index 58ce3d7..e2a73eb 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 0 -SUBLEVEL = 95 +SUBLEVEL = 96 EXTRAVERSION = NAME = Sneaky Weasel diff --git a/arch/m32r/boot/compressed/Makefile b/arch/m32r/boot/compressed/Makefile index

Re: Linux 3.4.62

2013-09-14 Thread Greg KH
diff --git a/Makefile b/Makefile index bc4dd5b..3f23cb7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 4 -SUBLEVEL = 61 +SUBLEVEL = 62 EXTRAVERSION = NAME = Saber-toothed Squirrel diff --git a/arch/m32r/boot/compressed/Makefile b/arch/m32r/boot/compressed/Makef

Linux 3.4.62

2013-09-14 Thread Greg KH
I'm announcing the release of the 3.4.62 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Linux 3.10.12

2013-09-14 Thread Greg KH
I'm announcing the release of the 3.10.12 kernel. All users of the 3.10 kernel series must upgrade. The updated 3.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y and can be browsed at the normal kernel.org git web browser:

Linux 3.11.1

2013-09-14 Thread Greg KH
I'm announcing the release of the 3.11.1 kernel. All users of the 3.11 kernel series must upgrade. The updated 3.11.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.11.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.10.12

2013-09-14 Thread Greg KH
diff --git a/Makefile b/Makefile index 595076d..afe001e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 10 -SUBLEVEL = 11 +SUBLEVEL = 12 EXTRAVERSION = NAME = TOSSUG Baby Fish diff --git a/arch/arm/boot/dts/at91sam9260.dtsi b/arch/arm/boot/dts/at91sam9260.dtsi

Re: Linux 3.11.1

2013-09-14 Thread Greg KH
diff --git a/Documentation/hwmon/k10temp b/Documentation/hwmon/k10temp index 90956b6..4dfdc8f 100644 --- a/Documentation/hwmon/k10temp +++ b/Documentation/hwmon/k10temp @@ -12,6 +12,7 @@ Supported chips: * AMD Family 12h processors: "Llano" (E2/A4/A6/A8-Series) * AMD Family 14h processors: "Brazo

Re: scripts/config: fix variable substitution command

2013-09-14 Thread Clément Chauplannaz
2013/9/14 Sedat Dilek : > Hi, > > The ChangeLog from [1] says: > > Commit 229455bc02b87f7128f190c4491b4ce38648 accidentally changed > the separator between sed `s' command and its parameters from ':' to > '/'. > Revert this change. > > Reported-and-tested-by: Linus Walleij > Signed-off-by: Cle

Re: [PATCH] ptp: measure the time offset between PHC and system clock

2013-09-14 Thread Richard Cochran
On Sat, Sep 14, 2013 at 04:03:06PM +0800, Dong Zhu wrote: > This patch add a method into testptp.c to measure the time offset > between phc and system clock through the ioctl PTP_SYS_OFFSET. > This is a nice addition to the testptp program. I do have a few comments, below. First off, the subject

Re: scripts/config: fix variable substitution command

2013-09-14 Thread Sedat Dilek
On Sat, Sep 14, 2013 at 4:21 PM, Clément Chauplannaz wrote: > 2013/9/14 Sedat Dilek : >> Hi, >> >> The ChangeLog from [1] says: >> >> Commit 229455bc02b87f7128f190c4491b4ce38648 accidentally changed >> the separator between sed `s' command and its parameters from ':' to >> '/'. >> Revert this

[PATCH] Drivers: char: misc: 'misc_deregister()' changed the 'mutex_unlock' logic upon an error

2013-09-14 Thread Elad Wexler
From: Elad Wexler This change improves code readability & is less error-prone. For example: case adding more error paths one should remember to call 'mutex_unlock' Signed-off-by: Elad Wexler --- drivers/char/misc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dr

[PATCH] sched: Fix task_h_load calculation

2013-09-14 Thread Vladimir Davydov
Patch a003a2 (sched: Consider runnable load average in move_tasks()) sets all top-level cfs_rqs' h_load to rq->avg.load_avg_contrib, which is always 0. This mistype leads to all tasks having weight 0 when load balancing in a cpu-cgroup enabled setup. There obviously should be sum of weights of all

Re: [PATCH] ptp: add the PTP_SYS_OFFSET ioctl to the testptp program clock

2013-09-14 Thread Dong Zhu
On Sat, Sep 14, 2013 at 04:31:46PM +0200, Richard Cochran wrote: > On Sat, Sep 14, 2013 at 04:03:06PM +0800, Dong Zhu wrote: > > This patch add a method into testptp.c to measure the time offset > > between phc and system clock through the ioctl PTP_SYS_OFFSET. > > > > This is a nice addition to

Re: [PATCH 18/38] iio: sensors-core: st: Allow full-scale to be an optional feature

2013-09-14 Thread Jonathan Cameron
On 09/10/13 13:49, Lee Jones wrote: > Some chips either don't support it or fail to provide adequate documentation, > so sometimes it's impossible to enable the feature even if it is supported. > > Signed-off-by: Lee Jones Applied to the togreg branch of iio.git Thanks > --- > drivers/iio/commo

Re: [PATCH] argv_split: Return NULL if argument contains no non-whitespace.

2013-09-14 Thread Oleg Nesterov
On 09/14, Tetsuo Handa wrote: > > # echo '|' > /proc/sys/kernel/core_pattern > > and got > > BUG: unable to handle kernel NULL pointer dereference at (null) Hmm. This was fixed by 264b83c07a8 "usermodehelper: check subprocess_info->path != NULL". But then this check was removed by 7f57cfa4e

Re: [PATCH 19/38] iio: sensors-core: st: Support sensors which don't have a Data Ready pin

2013-09-14 Thread Jonathan Cameron
On 09/10/13 13:49, Lee Jones wrote: > Not all ST's sensors support data ready, so let's make the declaration > of one conditional. > > Signed-off-by: Lee Jones Hi Lee, This one doesn't actually build: CC [M] drivers/iio/common/st_sensors/st_sensors_core.o drivers/iio/common/st_sensors/st_se

Re: [PATCH 20/38] iio: sensors-core: st: Clean-up error handling in st_sensors_init_sensor()

2013-09-14 Thread Jonathan Cameron
On 09/10/13 13:49, Lee Jones wrote: > Strip out all those unnecessary gotos and just return the error right away. > > Aids to simplicity and reduces code. > > Signed-off-by: Lee Jones This is fine except in that it is intertwined with the previous patch. > --- > drivers/iio/common/st_sensors/s

Re: [RFC PATCH] mm: numa: adjust hinting fault record if page is migrated

2013-09-14 Thread Rik van Riel
On 09/14/2013 07:53 AM, Hillf Danton wrote: > After page A on source node is migrated to page B on target node, hinting > fault is recorded on the target node for B. On the source node there is > another record for A, since a two-stage filter is used when migrating pages. > > Page A is no longer u

Re: [PATCH 21/38] iio: sensors-core: st: Clean-up error handling in st_sensors_read_axis_data()

2013-09-14 Thread Jonathan Cameron
On 09/10/13 13:49, Lee Jones wrote: > Gets rid of those unnecessary gotos. Unfortunately it introduced a bug whilst it is at it. Sometimes those gotos are necessary and the 'right' way to do things. > > Signed-off-by: Lee Jones > --- > drivers/iio/common/st_sensors/st_sensors_core.c | 17 +

Re: [PATCH 22/38] iio: sensors-core: st: Clean-up error handling in st_sensors_read_info_raw()

2013-09-14 Thread Jonathan Cameron
On 09/10/13 13:49, Lee Jones wrote: > Saving a few lines of code. > > Signed-off-by: Lee Jones Applied to the togreg branch of iio.git. To my mind the key thing here is that the error paths were previous inconsistent in that all but the last one went via a separate cleanup path whereas the last

Re: [PATCH 18/38] iio: sensors-core: st: Allow full-scale to be an optional feature

2013-09-14 Thread Jonathan Cameron
On 09/14/13 17:45, Jonathan Cameron wrote: > On 09/10/13 13:49, Lee Jones wrote: >> Some chips either don't support it or fail to provide adequate documentation, >> so sometimes it's impossible to enable the feature even if it is supported. >> >> Signed-off-by: Lee Jones > Applied to the togreg br

Re: [PATCH 23/38] iio: pressure-core: st: Describe LPS331AP defines by name

2013-09-14 Thread Jonathan Cameron
On 09/10/13 13:49, Lee Jones wrote: > They're currently named *_1_*, for 'Sensor 1', but the code will be much > more readable if we use the naming convention *_LPS331AP_* instead. > > Signed-off-by: Lee Jones Very happy to see this patch. The _1_ stuff should never have gotten through the initi

Re: [PATCH] kthread: Make kthread_create() killable.

2013-09-14 Thread Oleg Nesterov
Add lkml. On 09/13, Tetsuo Handa wrote: > > This patch makes kthread_create() killable, Probably makes sense... > @@ -255,36 +266,59 @@ struct task_struct *kthread_create_on_node(int > (*threadfn)(void *data), > const char namefmt[], >

Re: [PATCH 24/38] iio: pressure-core: st: Expand and rename LPS331AP's channel descriptor

2013-09-14 Thread Jonathan Cameron
On 09/10/13 13:49, Lee Jones wrote: > Due to the MACRO used, the task of reading, understanding and maintaining > the LPS331AP's channel descriptor is substantially difficult. This patch > is based on the view that it's better to have easy to read, maintainable > code than to save a few lines here

Re: [PATCH] perf session: Add option to copy events when queueing

2013-09-14 Thread Frederic Weisbecker
On Fri, Sep 06, 2013 at 01:37:01PM -0600, David Ahern wrote: > When processing events the session code has an ordered samples queue which is > used to time-sort events coming in across multiple mmaps. At a later point in > time samples on the queue are flushed up to some timestamp at which point th

Re: [PATCH 25/38] iio: pressure-core: st: Allow for number of channels to vary

2013-09-14 Thread Jonathan Cameron
On 09/10/13 13:49, Lee Jones wrote: > At the moment the number of channels specified is dictated by the first > sensor supported by the driver. As we add support for more sensors this > is likely to vary. Instead of using the ARRAY_SIZE() of the LPS331AP's > channel specifier we'll use a new adapta

Re: [PATCH 26/38] iio: pressure-core: st: Clean-up probe() function

2013-09-14 Thread Jonathan Cameron
On 09/11/13 08:19, Lee Jones wrote: >>> err = st_sensors_init_sensor(indio_dev, plat_data); >>> if (err < 0) >>> - goto st_press_common_probe_error; >>> + return err; >>> >>> - if (pdata->get_irq_data_ready(indio_dev) > 0) { >>> + if (irq > 0) { >>> err =

Re: [PATCH 28/38] iio: pressure: st: Add support for new LPS001WP pressure sensor

2013-09-14 Thread Jonathan Cameron
On 09/10/13 13:49, Lee Jones wrote: > Here we use existing practices to introduce support for another > pressure/temperature sensor, the LPS001WP. > > Signed-off-by: Lee Jones Looks fine to me, will pick this up when the precursors are all sorted. > --- > drivers/iio/pressure/st_pressure.h

Re: [PATCH 29/38] iio: pressure-core: st: Provide support for the Vdd power supply

2013-09-14 Thread Jonathan Cameron
On 09/10/13 13:49, Lee Jones wrote: > The power to some of the sensors are controlled by regulators. In most > cases these are 'always on', but if not they will fail to work until > the regulator is enabled using the relevant APIs. This patch allows for > the Vdd power supply to be specified by eit

Re: [PATCH 31/38] iio: accel-core: st: Clean up error handling in probe()

2013-09-14 Thread Jonathan Cameron
On 09/10/13 13:49, Lee Jones wrote: > Reduce the amount of those unnecessary goto calls, as in most cases > we can simply return immediately. We also only call for the IRQ number > once and use that value throughout. > > Signed-off-by: Lee Jones ... > - if (adata->get_irq_data_ready(indio_dev

Re: [RFC PATCH alt 4/4] pinctrl: at91: rework debounce configuration

2013-09-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:53 Fri 13 Sep , Boris BREZILLON wrote: > AT91 SoCs do not support per pin debounce time configuration. > Instead you have to configure a debounce time which will be used for all > pins of a given bank (PIOA, PIOB, ...). > > Signed-off-by: Boris BREZILLON > --- > .../bindings/pinctrl/at

Re: [PATCH] doc: fix some typos

2013-09-14 Thread Randy Dunlap
On 09/13/13 20:49, Xishi Qiu wrote: > diff --git a/Documentation/kprobes.txt b/Documentation/kprobes.txt > index 0cfb00f..ca278d5 100644 > --- a/Documentation/kprobes.txt > +++ b/Documentation/kprobes.txt > @@ -92,7 +92,7 @@ stack contents as the probed function. When it is done, > the handler >

Re: [PATCH 32/38] iio: accel-core: st: Move LSM303DLH into correct group

2013-09-14 Thread Jonathan Cameron
On 09/10/13 13:49, Lee Jones wrote: > The LSM303DLH's WAI (WhoAmI) is 0x33, meaning it should be enabled by > Accel Sensor group one. For the device to probe without error, we'll > need to ensure it's registered with the correct WAI. > > Signed-off-by: Lee Jones You clearly have a better datashee

Re: [PATCH 38/38] iio: magn-core: st: Provide support for the LSM303DLH

2013-09-14 Thread Jonathan Cameron
On 09/10/13 13:49, Lee Jones wrote: > Trivial patch adding the LSM303DLH to the list of already supported > Magnetometer Sensors. > > Signed-off-by: Lee Jones err. > index 12e7e79..b2e2917 100644 > --- a/drivers/iio/magnetometer/st_magn_core.c > +++ b/drivers/iio/magnetometer/st_magn_core.c > @@

Re: [RFC PATCH 1/4] pinctrl: at91: fix typos

2013-09-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:45 Fri 13 Sep , Boris BREZILLON wrote: > Fix AT91_PINCTRL_DEBOUNCE_VAL dt macro typo. > Fix at91_pinctrl_mux_ops callback typos. > Acked-by: Jean-Christophe PLAGNIOL-VILLARD > Signed-off-by: Boris BREZILLON > --- > drivers/pinctrl/pinctrl-at91.c |6 +++--- > include/dt-binding

Re: [Patch v5 0/9] liblockdep: userspace lockdep

2013-09-14 Thread Sasha Levin
On 09/12/2013 02:01 PM, Ingo Molnar wrote: On 07/08/2013 04:39 AM, Ingo Molnar wrote: PeterZ is in favor as well so I'll apply them after the merge window, for v3.12. Hi Ingo, Do you intend to send liblockdep in this merge window as planned? If Peter agrees with them and picks them up then

Re: access efi variables

2013-09-14 Thread Arend van Spriel
On 09/14/13 00:37, H. Peter Anvin wrote: On 09/13/2013 08:37 AM, Arend van Spriel wrote: I need to obtain a uefi variable so I went looking at the API in include/linux/efi.h. I found the following definition: But according to the specs the variable I need to obtain is 2k bytes. Should I expect

Re: [RFC PATCH alt 4/4] pinctrl: at91: rework debounce configuration

2013-09-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:40 Fri 13 Sep , Stephen Warren wrote: > On 09/13/2013 01:53 AM, Boris BREZILLON wrote: > > AT91 SoCs do not support per pin debounce time configuration. > > Instead you have to configure a debounce time which will be used for all > > pins of a given bank (PIOA, PIOB, ...). > > > diff --g

[PATCH 11/11] hwmon: (jc42) Convert to use devm_hwmon_device_register_with_groups

2013-09-14 Thread Guenter Roeck
Signed-off-by: Guenter Roeck --- drivers/hwmon/jc42.c | 61 +- 1 file changed, 25 insertions(+), 36 deletions(-) diff --git a/drivers/hwmon/jc42.c b/drivers/hwmon/jc42.c index 4a58f13..f362cea 100644 --- a/drivers/hwmon/jc42.c +++ b/drivers/hwmon

[PATCH 09/11] hwmon: (ina209) Convert to use devm_hwmon_device_register_with_groups

2013-09-14 Thread Guenter Roeck
Also use new macro ATTRIBUTE_GROUPS to declare attribute groups. Signed-off-by: Guenter Roeck --- drivers/hwmon/ina209.c | 46 ++ 1 file changed, 18 insertions(+), 28 deletions(-) diff --git a/drivers/hwmon/ina209.c b/drivers/hwmon/ina209.c index c6

[PATCH 07/11] hwmon: (tmp401) Convert to use devm_hwmon_device_register_with_groups

2013-09-14 Thread Guenter Roeck
Signed-off-by: Guenter Roeck --- drivers/hwmon/tmp401.c | 89 +++- 1 file changed, 28 insertions(+), 61 deletions(-) diff --git a/drivers/hwmon/tmp401.c b/drivers/hwmon/tmp401.c index dfe6d95..49bd122 100644 --- a/drivers/hwmon/tmp401.c +++ b/drivers

[PATCH v3 01/11] hwmon: (ds1621) Convert to use devm_hwmon_device_register_with_groups

2013-09-14 Thread Guenter Roeck
Also use new macro __ATTRIBUTE_GROUPS to declare attribute groups. Signed-off-by: Guenter Roeck --- v3: Use __ATTRIBUTE_GROUPS drivers/hwmon/ds1621.c | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/drivers/hwmon/ds1621.c b/drivers/hwmon/ds1621.c i

[PATCH 08/11] hwmon: (lm95234) Convert to use devm_hwmon_device_register_with_groups

2013-09-14 Thread Guenter Roeck
Also use new macro ATTRIBUTE_GROUPS to declare attribute groups. Signed-off-by: Guenter Roeck --- drivers/hwmon/lm95234.c | 137 +-- 1 file changed, 50 insertions(+), 87 deletions(-) diff --git a/drivers/hwmon/lm95234.c b/drivers/hwmon/lm95234.c inde

[PATCH 10/11] hwmon: (ltc4261) Convert to use devm_hwmon_device_register_with_groups

2013-09-14 Thread Guenter Roeck
Also use new macro ATTRIBUTE_GROUPS to declare attribute groups. Signed-off-by: Guenter Roeck --- drivers/hwmon/ltc4261.c | 55 ++- 1 file changed, 16 insertions(+), 39 deletions(-) diff --git a/drivers/hwmon/ltc4261.c b/drivers/hwmon/ltc4261.c inde

[PATCH 03/11] hwmon: (lm73) Convert to use devm_hwmon_device_register_with_groups

2013-09-14 Thread Guenter Roeck
Also introduce new variable dev pointing to client->dev in the probe function, and use new macro ATTRIBUTE_GROUPS to declare attribute groups. Signed-off-by: Guenter Roeck --- drivers/hwmon/lm73.c | 70 -- 1 file changed, 22 insertions(+), 48 del

[PATCH 06/11] hwmon: (ina2xx) Convert to use devm_hwmon_device_register_with_groups

2013-09-14 Thread Guenter Roeck
Also introduce dev variable in probe function to simplify access to client->dev, and use new macro ATTRIBUTE_GROUPS to declare attribute groups. Signed-off-by: Guenter Roeck --- drivers/hwmon/ina2xx.c | 64 1 file changed, 21 insertions(+), 43 d

[PATCH 05/11] hwmon: (max16065) Convert to use devm_hwmon_device_register_with_groups

2013-09-14 Thread Guenter Roeck
Modify code to use is_visible to determine if an attribute should be created or not, then use devm_hwmon_device_register_with_groups to create the hwmon device and all attributes in one operation. Signed-off-by: Guenter Roeck --- drivers/hwmon/max16065.c | 124 +++---

[PATCH 04/11] hwmon: (max6697) Convert to use devm_hwmon_device_register_with_groups

2013-09-14 Thread Guenter Roeck
Signed-off-by: Guenter Roeck --- drivers/hwmon/max6697.c | 54 +++ 1 file changed, 17 insertions(+), 37 deletions(-) diff --git a/drivers/hwmon/max6697.c b/drivers/hwmon/max6697.c index a41b5f3..0af910a 100644 --- a/drivers/hwmon/max6697.c +++ b/driv

[PATCH 00/11] Convert more drivers to use devm_hwmon_device_register_with_groups

2013-09-14 Thread Guenter Roeck
The jc42 driver is compile tested only. All other patches were tested with real hardware. The patches apply on top of the previously submitted patches introducing hwmon_device_register_with_groups and devm_hwmon_device_register_with_groups. -- To unsubscribe from this list: send the line "unsubscr

[PATCH 02/11] hwmon: (max6642) Convert to use devm_hwmon_device_register_with_groups

2013-09-14 Thread Guenter Roeck
Also rename new_client variable to client and introduce new variable dev pointing to client->dev in the probe function, and use new macro ATTRIBUTE_GROUPS to declare attribute groups. Signed-off-by: Guenter Roeck --- drivers/hwmon/max6642.c | 72 ---

Re: [RFC PATCH 2/4] pinctrl: at91: fix sam9x5 debounce/deglitch functions

2013-09-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:47 Fri 13 Sep , Boris BREZILLON wrote: > Replace at91_mux_get_deglitch with at91_mux_pio3_get_deglitch when using > sam9x5 (pio3) IP. > at91_mux_get_deglitch only test the activation of the "Input Filter" which > may be overloaded by the activation of the "Input Filter Slow Clock" to use

Re: [PATCH] perf session: Add option to copy events when queueing

2013-09-14 Thread David Ahern
On 9/14/13 10:16 AM, Frederic Weisbecker wrote: @@ -676,7 +682,12 @@ int perf_session_queue_event(struct perf_session *s, union perf_event *event, new->timestamp = timestamp; new->file_offset = file_offset; - new->event = event; + + if (s->copy_on_queue) { +

Re: audit looks unmaintained? [was: Re: [PATCH 11/12] pid: rewrite task helper functions avoiding task->pid and task->tgid]

2013-09-14 Thread Oleg Nesterov
On 09/13, Steve Grubb wrote: > > On Sunday, September 08, 2013 05:54:35 PM Oleg Nesterov wrote: > > > > Then why audit_alloc() doesn't set TIF_SYSCALL_AUDIT unconditionally? > > The code I'm looking at does right at the end of the function. The code I'm looking at does right at the end too ;) but

  1   2   >