Re: [PATCH] driver core: add wait event for deferred probe

2013-02-14 Thread Arnd Bergmann
On Thursday 14 February 2013, Haojian Zhuang wrote: If you can change it into code in below, it could work. Otherwise, it always fails. driver_deferred_probe_enable = true; driver_deferred_probe_trigger(); + deferred_probe_work_func(NULL); return 0; Because

Re: [PATCH] driver core: add wait event for deferred probe

2013-02-14 Thread Haojian Zhuang
On 14 February 2013 23:57, Arnd Bergmann a...@arndb.de wrote: On Thursday 14 February 2013, Haojian Zhuang wrote: If you can change it into code in below, it could work. Otherwise, it always fails. driver_deferred_probe_enable = true; driver_deferred_probe_trigger(); +

[v3.8 Regression] watchdog: sp5100_tco: Add SB8x0 chipset support

2013-02-14 Thread Joseph Salisbury
Hi Takahisa, A bug was opened against the Ubuntu kernel[0]. It was found that reverting the following commit resolved this bug: commit 740fbddf5c3f9ad8b23c5d917ba1cc7e376a5104 Author: Takahisa Tanaka mc74h...@gmail.com Date: Sun Dec 2 14:33:18 2012 +0900 watchdog: sp5100_tco: Add

Re: [PATCH] cpufreq/intel_pstate: Change to disallow module build

2013-02-14 Thread Viresh Kumar
On Thu, Feb 14, 2013 at 1:44 AM, dirk.brande...@gmail.com wrote: From: Dirk Brandewie dirk.brande...@gmail.com Load order is important in order for intel_pstate to take over as the default scaling driver from acpi-cpufreq. If both are built-in acpi-cpufreq uses late_initcall() and

Re: [PATCH v3] i2c: busses/i2c-pxa.c: fix potential null pointer dereference error

2013-02-14 Thread Haojian Zhuang
On Thu, Feb 14, 2013 at 7:28 PM, Cong Ding ding...@gmail.com wrote: If it goes to eclk through line 1107, the variable res would be NULL. It will cause a null pointer dereference error if we call release_mem_region. The correct way should be using devm_kzalloc rather than kzalloc to allocate

Re: [tip:core/locking] x86/smp: Move waiting on contended ticket lock out of line

2013-02-14 Thread Linus Torvalds
On Thu, Feb 14, 2013 at 2:50 AM, Ingo Molnar mi...@kernel.org wrote: At least on x86, how about saving *all* volatile registers in the slow out of line code path (to stack)? Sure. The reason I suggested perhaps not saving %rax/%rdx is simply that if it's a function that returns a value, %rax

Re: [PATCH linux-next] jbd: start_this_handle(): remove kfree() redundant null check

2013-02-14 Thread Jan Kara
On Tue 12-02-13 11:23:24, Tim Gardner wrote: smatch analysis: fs/jbd/transaction.c:236 start_this_handle() info: redundant null check on new_transaction calling kfree() Cc: Andrew Morton a...@linux-foundation.org Cc: Jan Kara j...@suse.cz Cc: linux-e...@vger.kernel.org Signed-off-by:

Re: [PATCH 2/2] ima: Support appraise_type=imasig_optional

2013-02-14 Thread Vivek Goyal
On Thu, Feb 14, 2013 at 10:35:59AM -0500, Mimi Zohar wrote: On Thu, 2013-02-14 at 10:23 -0500, Vivek Goyal wrote: On Thu, Feb 14, 2013 at 07:57:16AM -0500, Mimi Zohar wrote: [..] Ok, I will cleanup the code to do above. Just wanted to clear up one point. Above option will

[PATCH 0/3] posix timers: Extend kernel API to report more info about timers

2013-02-14 Thread Pavel Emelyanov
Hi. I'm working on the checkpoint-restore project (http://criu.org), briefly it's aim is to collect information about process' state and saving it so that later it is possible to recreate the processes in the very same state as they were, using the collected information. One part of the task's

[PATCH 1/3] posix timers: Allocate timer id per process

2013-02-14 Thread Pavel Emelyanov
From: Stanislav Kinsbursky skinsbur...@parallels.com Patch replaces global idr with global hash table for posix timers and makes timer ids unique not globally, but per process. Next free timer id is type of integer and stored on signal struct (posix_timer_id). If free timer id reaches negative

[PATCH 2/3] posix timers: Add syscall that lists timer IDs armed by process

2013-02-14 Thread Pavel Emelyanov
The sys_timer_list syscall accepts clock id, buffer size to store the timers ids and the pointer to the buffer itself. The number of timers of clockid type is returned and these timers' ids are put into the provided buffer. If the buffer is not enough for all timers, then only part of ids are

[PATCH 3/3] posix timers: Add syscall that works on timer sigevent

2013-02-14 Thread Pavel Emelyanov
The intention is to make a syscall, that works like sigaction but on a posix timer. I.e. -- puts (if provided) new sigevent on the timer and reports the previous value (if requested). That said, the syscall accepts timer id to work on, a pointer to the new sigevent (may be NULL, meaning that the

Re: [PATCH] x86: make PTRACE_GETREGSET return 32-bit regs if 64-bit process entered kernel with int 80

2013-02-14 Thread Denys Vlasenko
On 02/14/2013 04:00 PM, Oleg Nesterov wrote: On 02/14, Denys Vlasenko wrote: This patch makes it so that in syscall-entry-stop caused by int 80 instruction, PTRACE_GETREGSET returns 32-bit regset. Not sure... First of all, this is incompatible change. And to me, it doesn't look correct

Re: [PATCH 2/2] ima: Support appraise_type=imasig_optional

2013-02-14 Thread Vivek Goyal
On Thu, Feb 14, 2013 at 11:17:19AM -0500, Vivek Goyal wrote: On Thu, Feb 14, 2013 at 10:35:59AM -0500, Mimi Zohar wrote: On Thu, 2013-02-14 at 10:23 -0500, Vivek Goyal wrote: On Thu, Feb 14, 2013 at 07:57:16AM -0500, Mimi Zohar wrote: [..] Ok, I will cleanup the code to do above.

[PATCH 1/3] regmap: debugfs: Simplify calculation of `c-max_reg'

2013-02-14 Thread Dimitris Papastamos
We don't need to use any of the file position information to calculate the base and max register of each block. Just use the counter directly. Set `i = base' at the top to avoid GCC flow analysis bugs. The value of `i' can never be undefined or 0 in the if (c) { ... }. Signed-off-by: Dimitris

[PATCH 3/3] regmap: debugfs: Add a registers `range' file

2013-02-14 Thread Dimitris Papastamos
This file lists the register ranges in the register map. The condition to split the range is based on whether the block is readable or not. Signed-off-by: Dimitris Papastamos d...@opensource.wolfsonmicro.com --- drivers/base/regmap/regmap-debugfs.c | 76 1

[PATCH 2/3] regmap: debugfs: Ensure proper locking of `debugfs_off_cache' list

2013-02-14 Thread Dimitris Papastamos
There is a possible race between the read operations of the `registers' file and the `range' file. Close that down by taking the appropriate locks when modifying/accessing the list. Signed-off-by: Dimitris Papastamos d...@opensource.wolfsonmicro.com --- drivers/base/regmap/internal.h | 1

Re: [PATCH] driver core: add wait event for deferred probe

2013-02-14 Thread Grant Likely
On Thu, 14 Feb 2013 08:57:17 +0530, anish singh anish198519851...@gmail.com wrote: On Thu, Feb 14, 2013 at 3:06 AM, Grant Likely grant.lik...@secretlab.ca wrote: static int deferred_probe_initcall(void) { deferred_wq = create_singlethread_workqueue(deferwq); if

[PATCH] regmap: mmio: add register clock support

2013-02-14 Thread Philipp Zabel
Some mmio devices have a dedicated interface clock that needs to be enabled to access their registers. This patch optionally enables a clock before accessing registers in the regmap_bus callbacks. I added (devm_)regmap_init_mmio_clk variants of the init functions that have an added clk_id string

[PATCH] device_cgroup: don't grab mutex in rcu callback

2013-02-14 Thread Jerry Snitselaar
commit 103a197 security/device_cgroup: lock assert fails in dev_exception_clean() grabs devcgroup_mutex to fix assert failure, but mutex can't be grabbed in rcu callback. Since there shouldn't be any other references when css_free is called, mutex isn't needed for list cleanup in

Re: [PATCH] regmap: mmio: add register clock support

2013-02-14 Thread Mark Brown
On Thu, Feb 14, 2013 at 05:39:08PM +0100, Philipp Zabel wrote: Some mmio devices have a dedicated interface clock that needs to be enabled to access their registers. This patch optionally enables a clock before accessing registers in the regmap_bus callbacks. Applied, thanks. signature.asc

Re: [GIT PULL] arm-soc: OMAP USB Host cleanup for 3.9

2013-02-14 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [130214 04:08]: Hi Tony, This is the ARM-soc part of the OMAP USB Host cleanup series for 3.9. It is based on 3.8-rc6 + usbhost17-common that I sent earlier. Please pull. Thanks. Thanks for reworking this series! I'll pull this. Regards, Tony The

Re: [PATCH] device_cgroup: don't grab mutex in rcu callback

2013-02-14 Thread Tejun Heo
(cc'ing Andrew) Andrew, can you please pick up this one? http://article.gmane.org/gmane.linux.kernel.cgroups/6158/raw Thank you. On Thu, Feb 14, 2013 at 09:46:03AM -0700, Jerry Snitselaar wrote: commit 103a197 security/device_cgroup: lock assert fails in dev_exception_clean() grabs

Re: [PATCH] driver core: add wait event for deferred probe

2013-02-14 Thread Arnd Bergmann
On Thursday 14 February 2013, Haojian Zhuang wrote: On 14 February 2013 23:57, Arnd Bergmann a...@arndb.de wrote: On Thursday 14 February 2013, Haojian Zhuang wrote: If you can change it into code in below, it could work. Otherwise, it always fails. driver_deferred_probe_enable =

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-14 Thread Andrew Murray
On Wed, Feb 13, 2013 at 10:53:11PM +, Grant Likely wrote: On Mon, 11 Feb 2013 09:22:17 +0100, Thierry Reding thierry.red...@avionic-design.de wrote: From: Andrew Murray andrew.mur...@arm.com DT bindings for PCI host bridges often use the ranges property to describe memory and IO

Re: [PATCH 2/2] ima: Support appraise_type=imasig_optional

2013-02-14 Thread Mimi Zohar
On Thu, 2013-02-14 at 10:03 -0500, Vivek Goyal wrote: On Wed, Feb 13, 2013 at 05:27:01PM -0500, Mimi Zohar wrote: [..] Yep, I got that. Default policy gets overruled when a new policy is loaded. In secureboot mode, somehow above rule needs to take effect by default. One option

RE: [PATCH] Various cleanups/fixes to zcache (v3).

2013-02-14 Thread Dan Magenheimer
From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] Subject: [PATCH] Various cleanups/fixes to zcache (v3). From Konrad Rzeszutek Wilk konrad.w...@oracle.com # This line is ignored. From: Konrad Rzeszutek Wilk konrad.w...@oracle.com Subject: [PATCH] Various cleanups/fixes to zcache

Re: [PATCH] driver core: add wait event for deferred probe

2013-02-14 Thread Haojian Zhuang
On 15 February 2013 00:50, Arnd Bergmann a...@arndb.de wrote: On Thursday 14 February 2013, Haojian Zhuang wrote: On 14 February 2013 23:57, Arnd Bergmann a...@arndb.de wrote: On Thursday 14 February 2013, Haojian Zhuang wrote: If you can change it into code in below, it could work.

Re: [PATCH] Various cleanups/fixes to zcache (v3).

2013-02-14 Thread Greg KH
On Thu, Feb 14, 2013 at 08:56:01AM -0800, Dan Magenheimer wrote: From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] Subject: [PATCH] Various cleanups/fixes to zcache (v3). From Konrad Rzeszutek Wilk konrad.w...@oracle.com # This line is ignored. From: Konrad Rzeszutek Wilk

Re: [PATCH 2/2] ima: Support appraise_type=imasig_optional

2013-02-14 Thread Mimi Zohar
On Thu, 2013-02-14 at 09:40 -0500, Vivek Goyal wrote: On Wed, Feb 13, 2013 at 04:45:23PM -0500, Mimi Zohar wrote: [..] If it would happen that it contains signature, then IMA_DIGSIG flag would be set, and process could get needed capability as Vivek wants. With the 'optional'

RE: [PATCH] Various cleanups/fixes to zcache (v3).

2013-02-14 Thread Dan Magenheimer
From: Greg KH [mailto:gre...@linuxfoundation.org] Subject: Re: [PATCH] Various cleanups/fixes to zcache (v3). On Thu, Feb 14, 2013 at 08:56:01AM -0800, Dan Magenheimer wrote: From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] Subject: [PATCH] Various cleanups/fixes to zcache

[RFE PATCH 0/2] x86, rtc, ntp, Enable full rtc synchronization

2013-02-14 Thread Prarit Bhargava
This patchset enables a full rtc synchronization via ntp on x86. The current codebase (plus http://marc.info/?l=linux-kernelm=136036689219340w=2, which is queued for tip), will attempt to synchronize the rtc to the system time every 11 minutes if ntp is running. The problem in the current code

[RFE PATCH 1/2] x86, rtc, ntp, Do full rtc synchronization with ntp

2013-02-14 Thread Prarit Bhargava
Every 11 minutes ntp attempts to update the x86 rtc with the current system time. Currently, the x86 code only updates the rtc if the system time is within +/-15 minutes of the current value of the rtc. Other architectures do a full synchronization and there is no reason that x86 should be

[RFE PATCH 2/2] rtc, add write functionality to sysfs

2013-02-14 Thread Prarit Bhargava
/sys/class/rtc/rtcX/date and /sys/class/rtc/rtcX/time currently have read-only access. This patch introduces write functionality which will set the rtc time. Usage: echo -MM-DD /sys/class/rtc/rtcX/date echo HH:MM:SS /sys/class/rtc/rtcX/time Signed-off-by: Prarit Bhargava

Re: [PATCH] mm: fadvise: Drain all pagevecs if POSIX_FADV_DONTNEED fails to discard all pages

2013-02-14 Thread Rob van der Heij
On 14 February 2013 13:03, Mel Gorman mgor...@suse.de wrote: Rob van der Heij reported the following (paraphrased) on private mail. The scenario is that I want to avoid backups to fill up the page cache and purge stuff that is more likely to be used again (this is with

Re: Uhhuh. NMI received for unknown reason 2c on CPU 0.

2013-02-14 Thread Bjorn Helgaas
On Thu, Feb 14, 2013 at 7:39 AM, Borislav Petkov b...@suse.de wrote: On Sun, Feb 03, 2013 at 03:46:56PM +0100, Borislav Petkov wrote: On Sun, Feb 03, 2013 at 12:04:46AM +0100, Rafael J. Wysocki wrote: The [2/5] is at: https://patchwork.kernel.org/patch/2001211/ The other two are attached.

Re: [PATCH v2 1/1] Input: mouse: cyapa - Add support for cyapa smbus protocol

2013-02-14 Thread Henrik Rydberg
On Wed, Feb 13, 2013 at 08:26:35PM -0800, Dmitry Torokhov wrote: On Sun, Feb 10, 2013 at 12:15:40PM -0800, Benson Leung wrote: This patch adds support for the Cypress APA Smbus Trackpad type, which uses a modified register map that fits within the limitations of the smbus protocol.

Re: [PATCH] Input: synaptics - disable fuzz when using mt slots

2013-02-14 Thread Henrik Rydberg
Hmm, instead of disabling fuzz completely maybe we should disable it only on the derived axes (ABS_X/ABS_Y) for multitouch devices? Yes, that should work... both would end up fuzzed to the same value, for a not-so-obvious reason, IMHO :). It's a bit tricky, and I like it, but is that

Re: [PATCH] Input: synaptics - disable fuzz when using mt slots

2013-02-14 Thread Daniel Kurtz
On Wed, Feb 13, 2013 at 1:52 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Fri, Feb 01, 2013 at 04:28:32PM +0800, Daniel Kurtz wrote: The input fuzz algorithm does a pretty good job filtering out small jitter on input samples. However, there is a subtle problem when fuzz is used

[GIT PULL] omapdss fixes for 3.8

2013-02-14 Thread Tomi Valkeinen
Hi Linus, It'd be great if these two late fixes would still make it into 3.8. The other one fixes ARM kernel compilation when using 'allyesconfig', and the other makes DPI displays function again on OMAP3630 boards. Tomi The following changes since commit

Re: [-rc7 regression] Block IO/VFS/ext3/timer spinlock lockup?

2013-02-14 Thread Thomas Gleixner
On Thu, 14 Feb 2013, Ingo Molnar wrote: * Ingo Molnar mi...@kernel.org wrote: CPU0 appears to be idle: [ 118.51] Call Trace: [ 118.51] [7900844b] cpu_idle+0x86/0xb4 [ 118.51] [792a91df] rest_init+0x103/0x108 [ 118.51] [794558cc] start_kernel+0x2c7/0x2cc

Re: [PATCH] Various cleanups/fixes to zcache (v3).

2013-02-14 Thread Greg KH
On Thu, Feb 14, 2013 at 09:02:47AM -0800, Dan Magenheimer wrote: From: Greg KH [mailto:gre...@linuxfoundation.org] Subject: Re: [PATCH] Various cleanups/fixes to zcache (v3). On Thu, Feb 14, 2013 at 08:56:01AM -0800, Dan Magenheimer wrote: From: Konrad Rzeszutek Wilk

Re: [PATCH 0/5] Add P state driver for Intel Core Processors

2013-02-14 Thread Rafael J. Wysocki
On Thursday, February 14, 2013 07:34:56 AM Dirk Brandewie wrote: On 02/14/2013 04:21 AM, Rafael J. Wysocki wrote: On Thursday, February 14, 2013 09:38:21 AM Viresh Kumar wrote: On Wed, Feb 13, 2013 at 10:08 PM, Dirk Brandewie dirk.brande...@gmail.com wrote: For the case where both are

[PATCH] fanotify: fix support of large files

2013-02-14 Thread Justin Maggard
Opening a file of 2GB in an area of the filesystem that has been marked for fanotify events currently results in an EOVERFLOW error. This is particularly problematic if you are using fanotify permissions checking, because it prevents large files from being opened at all. Fix this by setting the

Re: [PATCH v2 6/6] Input: Add ChromeOS EC keyboard driver

2013-02-14 Thread Dmitry Torokhov
On Wed, Feb 13, 2013 at 10:45:07PM -0800, Simon Glass wrote: +config KEYBOARD_CROS_EC + tristate ChromeOS EC keyboard + select INPUT_MATRIXKMAP + select MFD_CROS_EC Is this select safe? I.e. does MFD_CROS_EC depend on anything else? I'll remove it, since it isn't

Re: Getting rid of freezer for suspend [was Re: [fuse-devel] [PATCH] fuse: make fuse daemon frozen along with kernel threads]

2013-02-14 Thread Rafael J. Wysocki
On Thursday, February 14, 2013 02:09:50 PM Miklos Szeredi wrote: On Thu, Feb 14, 2013 at 1:11 PM, Rafael J. Wysocki r...@sisk.pl wrote: On Thursday, February 14, 2013 11:41:16 AM Miklos Szeredi wrote: It is essentially the same mechanism that is used to delay the freezing of kernel

Re: [PATCH] regulator: Fix memory garbage dev_err printout.

2013-02-14 Thread Mark Brown
On Thu, Feb 14, 2013 at 04:46:33AM -0800, Russ Dill wrote: commit dd8004af: 'regulator: core: Log when a device causes a voltage constraint fail', tried to print out some information about the check consumer min/max uV fixup, however, it uses a garbage pointer left over from

[PATCH] lpc_ich: use devres API to allocate private data

2013-02-14 Thread Aaron Sierra
Signed-off-by: Aaron Sierra asie...@xes-inc.com --- drivers/mfd/lpc_ich.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c index a0cfdf9..1264b68 100644 --- a/drivers/mfd/lpc_ich.c +++ b/drivers/mfd/lpc_ich.c @@ -878,7

Re: [PATCH] driver core: add wait event for deferred probe

2013-02-14 Thread Grant Likely
On Thu, 14 Feb 2013 23:52:14 +0800, Haojian Zhuang haojian.zhu...@linaro.org wrote: On 14 February 2013 05:36, Grant Likely grant.lik...@secretlab.ca wrote: On Tue, 12 Feb 2013 10:52:10 +0800, Haojian Zhuang haojian.zhu...@linaro.org wrote: On 12 February 2013 07:10, Andrew Morton

[ANNOUNCE] 3.4.30-rt43

2013-02-14 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.30-rt43 stable release. This release is just an update to the new stable 3.4.30 version and no RT specific changes have been made. You can get this release via the git tree at:

[ANNOUNCE] 3.0.63-rt89

2013-02-14 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.0.63-rt89 stable release. This release is just an update to the new stable 3.0.63 version and no RT specific changes have been made. You can get this release via the git tree at:

Re: [PATCH 06/15] clk: export __clk_get_name

2013-02-14 Thread Arnd Bergmann
On Tuesday 22 January 2013, Arnd Bergmann wrote: On Tuesday 22 January 2013, Fabio Estevam wrote: Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Sascha Hauer s.ha...@pengutronix.de Cc: Mike Turquette mturque...@linaro.org A fix from Niels de Vos has already been applied into

Re: usb_wwan_write() called while device still being resumed

2013-02-14 Thread Bjørn Mork
Alex Courbot acour...@nvidia.com writes: The board features a USB GSM modem using the usb_wwan module. Once in a while, when the system resumes from LP0, a NET_RX softirq will be triggered while the modem is still being resumed, calling usb_wwan_write(). This will cause

Re: [PATCH] pinctrl: pinctrl-single: fix the binding documentation

2013-02-14 Thread Tony Lindgren
* Linus Walleij linus.wall...@linaro.org [130212 04:16]: On Mon, Feb 11, 2013 at 3:46 AM, Kumar, Anil anilkuma...@ti.com wrote: As there are no use of #address-cells and #size-cells properties in pinctrl-single driver DT node. Fix pinctrl-single binding documentation to remove these

Re: [PATCH] driver core: add wait event for deferred probe

2013-02-14 Thread Grant Likely
On Thu, 14 Feb 2013 15:57:18 +, Arnd Bergmann a...@arndb.de wrote: On Thursday 14 February 2013, Haojian Zhuang wrote: If you can change it into code in below, it could work. Otherwise, it always fails. driver_deferred_probe_enable = true;

Re: [PATCH] driver core: add wait event for deferred probe

2013-02-14 Thread anish kumar
On Thu, 2013-02-14 at 16:33 +, Grant Likely wrote: On Thu, 14 Feb 2013 08:57:17 +0530, anish singh anish198519851...@gmail.com wrote: On Thu, Feb 14, 2013 at 3:06 AM, Grant Likely grant.lik...@secretlab.ca wrote: static int deferred_probe_initcall(void) { deferred_wq

Re: [PATCH] clk: tegra: provide dummy cpu car ops

2013-02-14 Thread Stephen Warren
On 02/14/2013 07:52 AM, Peter De Schrijver wrote: tegra_boot_secondary() relies on some of the car ops. This means having an uninitialized tegra_cpu_car_ops will lead to an early boot panic. Providing a dummy struct avoids this and makes adding Tegra114 clock support in a bisectable way a lot

Re: [PATCH 1/1] ARM: dt: add header to define tegra20 clocks

2013-02-14 Thread Stephen Warren
On 02/13/2013 11:38 PM, Hiroshi Doyu wrote: To replace magic number in clocks = tegra_car 28; I like the concept here; I was thinking about doing this today, but you beat me to it:-) Feel free to create the Tegra30 header too, and modify all the *.dts* files. To address other comments in this

Re: [PATCH] driver core: add wait event for deferred probe

2013-02-14 Thread Grant Likely
On Fri, 15 Feb 2013 00:58:23 +0800, Haojian Zhuang haojian.zhu...@linaro.org wrote: On 15 February 2013 00:50, Arnd Bergmann a...@arndb.de wrote: On Thursday 14 February 2013, Haojian Zhuang wrote: On 14 February 2013 23:57, Arnd Bergmann a...@arndb.de wrote: On Thursday 14 February 2013,

[tip:core/locking] intel_idle: Convert i7300_idle_lock to raw_spinlock

2013-02-14 Thread tip-bot for Mike Galbraith
Commit-ID: 56384eba0f06a834e4c202d0a65e14f55896b67f Gitweb: http://git.kernel.org/tip/56384eba0f06a834e4c202d0a65e14f55896b67f Author: Mike Galbraith efa...@gmx.de AuthorDate: Wed, 7 Dec 2011 12:48:42 +0100 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Thu, 14 Feb 2013

Re: [PATCH v2 1/1] Input: mouse: cyapa - Add support for cyapa smbus protocol

2013-02-14 Thread Benson Leung
Thanks again, Dmitry and Henrik! On Thu, Feb 14, 2013 at 9:19 AM, Henrik Rydberg rydb...@euromail.se wrote: On Wed, Feb 13, 2013 at 08:26:35PM -0800, Dmitry Torokhov wrote: On Sun, Feb 10, 2013 at 12:15:40PM -0800, Benson Leung wrote: This patch adds support for the Cypress APA Smbus

Re: [tip:core/locking] ntp: Make ntp_lock raw.

2013-02-14 Thread John Stultz
On 02/14/2013 09:55 AM, tip-bot for Thomas Gleixner wrote: Commit-ID: 5736e12e227c8c039744ae1f3b05de91a2353892 Gitweb: http://git.kernel.org/tip/5736e12e227c8c039744ae1f3b05de91a2353892 Author: Thomas Gleixner t...@linutronix.de AuthorDate: Tue, 10 Apr 2012 11:14:55 +0200 Committer:

Re: [PATCH] x86: make PTRACE_GETREGSET return 32-bit regs if 64-bit process entered kernel with int 80

2013-02-14 Thread H. Peter Anvin
On 02/14/2013 07:00 AM, Oleg Nesterov wrote: On 02/14, Denys Vlasenko wrote: Determining personality of a ptraced process is a murky area. On x86, for years strace was looking at segment selectors, which is conceptually wrong: see, for example, https://lkml.org/lkml/2012/1/18/320 One

[GIT PULL] PCI update for v3.8

2013-02-14 Thread Bjorn Helgaas
Hi Linus, This is another fix for v3.8. It fixes an oops that happens when a Thunderbolt adapter is unplugged (remove device, poll for PME events on no-longer-existing device, oops). Bjorn The following changes since commit 444ee9bd3d0fa78317c6127c961af5accf50038b: PCI: remove depends on

[GIT PULL] One more x86 fix for 3.8

2013-02-14 Thread H. Peter Anvin
Hi Linus, Sigh. One more patch in the please don't brick my Samsung series. The following changes since commit 323a72d83c9b2963bd1e46c8e6963e468d4658d7: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2013-02-13 12:21:07 -0800) are available in the git repository at:

[PATCH] drivercore: Fix ordering between deferred_probe and exiting initcalls

2013-02-14 Thread Grant Likely
One of the side effects of deferred probe is that some drivers which used to be probed before initcalls completed are now happening slightly later. This causes two problems. - If a console driver gets deferred, then it may not be ready when userspace starts. For example, if a uart depends on

Re: [-rc7 regression] Block IO/VFS/ext3/timer spinlock lockup?

2013-02-14 Thread Yinghai Lu
On Thu, Feb 14, 2013 at 7:08 AM, Ingo Molnar mi...@kernel.org wrote: these three: 10d73e655cef mm: bootmem: fix free_all_bootmem_core() with odd bitmap alignment c060f943d092 mm: use aligned zone start for pfn_to_bitidx calculation c0232ae861df mm: memblock: fix wrong memmove size in

Re: [PATCH] ARM: net: bpf_jit: fix emit_swap16() for non ARMv6+.

2013-02-14 Thread David Miller
From: Russell King - ARM Linux li...@arm.linux.org.uk Date: Thu, 14 Feb 2013 15:09:25 + On Thu, Feb 14, 2013 at 02:40:09PM +0100, Nicolas Schichan wrote: On 02/13/2013 10:32 PM, Mircea Gherzan wrote: [...] Acked-by: Mircea Gherzan mgher...@gmail.com Hi, Thanks Mircea. Russel, David,

Re: [PATCH] drivercore: Fix ordering between deferred_probe and exiting initcalls

2013-02-14 Thread Greg Kroah-Hartman
On Thu, Feb 14, 2013 at 06:14:27PM +, Grant Likely wrote: One of the side effects of deferred probe is that some drivers which used to be probed before initcalls completed are now happening slightly later. This causes two problems. - If a console driver gets deferred, then it may not be

[PATCH] pci: Fix pcie access for PCI_EXP_FLAGS

2013-02-14 Thread Alex Williamson
PCI_EXP_FLAGS_TYPE is a mask, not an offset. Fix it. Signed-off-by: Alex Williamson alex.william...@redhat.com --- drivers/pci/access.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/access.c b/drivers/pci/access.c index 3af0478..32046c5 100644 ---

[PATCH] pci: Disable slot presence detection around bus reset

2013-02-14 Thread Alex Williamson
A bus reset can trigger a presence detection change and result in a suprise hotplug. This is generally not what we want to happen when trying to reset a device. Disable the presence detection control on on bridges around bus reset. Signed-off-by: Alex Williamson alex.william...@redhat.com ---

[PATCH] cpufreq/intel_pstate: Add kernel command line option disable intel_pstate.

2013-02-14 Thread dirk . brandewie
From: Dirk Brandewie dirk.brande...@gmail.com When intel_pstate is configured into the kernel it will become the perferred scaling driver for processors that is supports. Allow the user to override this by adding: intel_pstate=disable on the kernel command line. Signed-off-by: Dirk Brandewie

Re: linux-next: Tree for Feb 13 (virtio_console)

2013-02-14 Thread Randy Dunlap
On 02/13/13 19:00, Rusty Russell wrote: Randy Dunlap rdun...@infradead.org writes: On 02/13/13 00:35, Stephen Rothwell wrote: Hi all, Changes since 20130212: on i386: drivers/built-in.o: In function `in_intr': virtio_console.c:(.text+0x2dd31): undefined reference to `hvc_poll'

Re: [RFC][PATCH] printk: Remove separate printk_sched buffers and use printk buf instead

2013-02-14 Thread Steven Rostedt
On Tue, 2013-02-12 at 13:22 +0100, Jan Kara wrote: Anyway, what do you guys think about this version? Steven, Andrew, did you have a chance to look at my patches? Can you resend without being attachments. Patches sent as attachments seldom get reviewed. -- Steve -- To unsubscribe from

Re: linux-next: Tree for Feb 13 (virtio_console)

2013-02-14 Thread Randy Dunlap
On 02/14/13 10:45, Randy Dunlap wrote: On 02/13/13 19:00, Rusty Russell wrote: Randy Dunlap rdun...@infradead.org writes: On 02/13/13 00:35, Stephen Rothwell wrote: Hi all, Changes since 20130212: on i386: drivers/built-in.o: In function `in_intr': virtio_console.c:(.text+0x2dd31):

Re: [PATCH v4 2/3] VFIO-AER: Vfio-pci driver changes for supporting AER

2013-02-14 Thread Alex Williamson
On Thu, 2013-02-14 at 04:41 -0600, Vijay Mohan Pandarathil wrote: - New VFIO_SET_IRQ ioctl option to pass the eventfd that is signaled when an error occurs in the vfio_pci_device - Register pci_error_handler for the vfio_pci driver - When the device encounters

[v2 0/4] ARM: tegra: convert device tree files to use CLK defines

2013-02-14 Thread Hiroshi Doyu
Hi, With new dtc+cpp feature, we can get rid of magic numbers in dts* files. To get rid of Tegra clock magic number, the following patches were created with a script run as below. This can be applied for Tegra114 clock as well. for x in 20 30; do cat drivers/clk/tegra/clk-tegra$x.c |

[v2 1/4] ARM: tegra20: create a DT header defining CLK IDs

2013-02-14 Thread Hiroshi Doyu
To replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra20-car.h | 114 +++ 1 file changed, 114 insertions(+) create

[v2 2/4] ARM: tegra20: convert device tree files to use CLK defines

2013-02-14 Thread Hiroshi Doyu
Replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra20-car.txt |2 +- arch/arm/boot/dts/tegra20-paz00.dtsp |2 +-

[v2 3/4] ARM: tegra30: create a DT header defining CLK IDs

2013-02-14 Thread Hiroshi Doyu
To replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra30-car.h | 171 +++ 1 file changed, 171 insertions(+) create

[v2 4/4] ARM: tegra30: convert device tree files to use CLK defines

2013-02-14 Thread Hiroshi Doyu
Replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra30-car.txt |2 +- arch/arm/boot/dts/tegra30.dtsip| 87

Re: [PATCH v4 3/3] QEMU-AER: Qemu changes to support AER for VFIO-PCI devices

2013-02-14 Thread Alex Williamson
On Thu, 2013-02-14 at 04:41 -0600, Vijay Mohan Pandarathil wrote: - Create eventfd per vfio device assigned to a guest and register an event handler - This fd is passed to the vfio_pci driver through the SET_IRQ ioctl - When the device encounters an error, the

Linux 3.7.8

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

Re: Uhhuh. NMI received for unknown reason 2c on CPU 0.

2013-02-14 Thread Borislav Petkov
On Thu, Feb 14, 2013 at 10:17:46AM -0700, Bjorn Helgaas wrote: On Thu, Feb 14, 2013 at 7:39 AM, Borislav Petkov b...@suse.de wrote: On Sun, Feb 03, 2013 at 03:46:56PM +0100, Borislav Petkov wrote: On Sun, Feb 03, 2013 at 12:04:46AM +0100, Rafael J. Wysocki wrote: The [2/5] is at:

Linux 3.4.31

2013-02-14 Thread Greg KH
I'm announcing the release of the 3.4.31 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.0.64

2013-02-14 Thread Greg KH
I'm announcing the release of the 3.0.64 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.64

2013-02-14 Thread Greg KH
diff --git a/MAINTAINERS b/MAINTAINERS index c8c0874..9b893d7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2491,7 +2491,7 @@ S:Maintained F: drivers/net/eexpress.* ETHERNET BRIDGE -M: Stephen Hemminger shemmin...@linux-foundation.org +M: Stephen Hemminger

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-14 Thread Thierry Reding
On Thu, Feb 14, 2013 at 04:53:41PM +, Andrew Murray wrote: Thierry, If you don't have much bandwidth I'd be quite happy to take this on - this would be beneficial for my eventual patchset. I can start by refactoring common implementations of pci_process_bridge_OF_ranges or similar

Re: [PATCH] x86: make PTRACE_GETREGSET return 32-bit regs if 64-bit process entered kernel with int 80

2013-02-14 Thread Oleg Nesterov
On 02/14, H. Peter Anvin wrote: On 02/14/2013 07:00 AM, Oleg Nesterov wrote: On 02/14, Denys Vlasenko wrote: Determining personality of a ptraced process is a murky area. On x86, for years strace was looking at segment selectors, which is conceptually wrong: see, for example,

Re: [PATCH] x86: make PTRACE_GETREGSET return 32-bit regs if 64-bit process entered kernel with int 80

2013-02-14 Thread H. Peter Anvin
On 02/14/2013 11:18 AM, Oleg Nesterov wrote: On 02/14, H. Peter Anvin wrote: On 02/14/2013 07:00 AM, Oleg Nesterov wrote: On 02/14, Denys Vlasenko wrote: Determining personality of a ptraced process is a murky area. On x86, for years strace was looking at segment selectors, which is

Re: [PATCH]sched/stop_task: Do not account zero delta_exec in put_prev_task_stop

2013-02-14 Thread Steven Rostedt
On Tue, 2013-02-12 at 01:40 +0400, Kirill Tkhai wrote: Simple return I'll ack the patch, but I nack the change log. Please write something up that's a little more descriptive. Thanks, -- Steve Signed-off-by: Kirill V Tkhai tk...@yandex.ru CC: Steven Rostedt rost...@goodmis.org CC: Ingo

Re: [PATCH]sched/stop_task: Do not account zero delta_exec in put_prev_task_stop

2013-02-14 Thread Steven Rostedt
On Wed, 2013-02-13 at 15:15 +0900, Namhyung Kim wrote: --- kernel/sched/stop_task.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/stop_task.c b/kernel/sched/stop_task.c index da5eb5b..78d0458 100644 --- a/kernel/sched/stop_task.c +++

Re: [PATCH 11/11] scripts/sortextable: silence script output

2013-02-14 Thread H. Peter Anvin
On 02/14/2013 05:49 AM, Arnd Bergmann wrote: The exception table sorter outputs one line every time it gets called, e.g. 'sort done marker at 66dc00', which is slightly annoying when doing 'make -s' which is otherwise completely silent. Since that output is not helpful to most people building

Re: [ 68/89] xfs: fix _xfs_buf_find oops on blocks beyond the filesystem end

2013-02-14 Thread Greg Kroah-Hartman
On Thu, Feb 14, 2013 at 11:07:30AM +1100, Dave Chinner wrote: [cc x...@oss.sgi.com] On Wed, Feb 13, 2013 at 08:18:45AM -0800, Greg Kroah-Hartman wrote: On Wed, Feb 13, 2013 at 04:30:32PM +0100, Paolo Bonzini wrote: Il 01/02/2013 14:08, Greg Kroah-Hartman ha scritto: 3.7-stable review

[PATCH 0/2] x86: Make Linux guest support optional

2013-02-14 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Hi all, two patches which make hypervisor glue for Linux running as a guest ontop optional. @hpa: this is against tip/master of today which also includes tip:x86/hyperv. Thanks. Borislav Petkov (2): x86, Kconfig: Move PARAVIRT_DEBUG into the paravirt menu

[PATCH 2/2] x86: Make Linux guest support optional

2013-02-14 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Put all config options needed to run Linux as a guest behind a CONFIG_HYPERVISOR_GUEST menu so that they don't get built-in by default but be selectable by the user. Also, make all units which depend on x86_hyper, depend on this new symbol so that compilation

[PATCH 1/2] x86, Kconfig: Move PARAVIRT_DEBUG into the paravirt menu

2013-02-14 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de This should be under the PARAVIRT_GUEST menu. Signed-off-by: Borislav Petkov b...@suse.de --- arch/x86/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index ea763cf99906..fa835628f70b 100644

Re: [PATCH][WIP v1] aio: experimental use of threads, demonstration of cancel method

2013-02-14 Thread Zach Brown
On Wed, Feb 13, 2013 at 05:16:32PM -0500, Benjamin LaHaise wrote: This patch is purely for experimentation purposes, and is by no means complete or cleaned up for submission yet. It is, however, useful for demonstrating the cancellation of a kiocb when the kiocb is being processed by using a

[PATCH v3 1/1] tools/power x86_energy_perf_policy: fix cpuid for i686

2013-02-14 Thread Benson Leung
Hi Len, Please take a look at this patch to the x86_energy_perf_policy that allows the tool to work when built for i686 with PIC enabled. Thanks, Benson -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH v3 1/1] tools/power x86_energy_perf_policy: fix cpuid for i686

2013-02-14 Thread Benson Leung
x86_energy_perf_policy reads cpuid using the cpuid instruction. On i686, when building with PIC, this clobbers ebx, the PIC register. Fixed using the same cpuid accessor function that vap...@gentoo.org created for i7z: http://code.google.com/p/i7z/issues/detail?id=31 Signed-off-by: Benson Leung

<    4   5   6   7   8   9   10   11   12   >