Re: [PATCH] clk: mxs: Fix sparse warnings

2013-02-17 Thread Shawn Guo
On Mon, Feb 11, 2013 at 12:07:16PM -0200, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Fix the following sparse warnings: drivers/clk/mxs/clk.c:17:1: warning: symbol 'mxs_lock' was not declared. Should it be static? drivers/clk/mxs/clk.c:19:5: warning: symbol

Re: [PATCH v9 4/4] ARM: dts: add sram for imx53 and imx6q

2013-02-17 Thread Shawn Guo
On Wed, Feb 13, 2013 at 04:46:42PM +0100, Philipp Zabel wrote: Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Shawn Guo shawn@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- Changes since v8: - Changed device tree compatible string to mmio-sram Will

Re: 3.7 HDMI channel map regression

2013-02-17 Thread Takashi Iwai
At Sat, 16 Feb 2013 18:22:25 -0600, Shawn Bohrer wrote: On Mon, Jan 28, 2013 at 08:52:05PM -0600, Shawn Bohrer wrote: On Mon, Jan 28, 2013 at 09:56:33AM +0100, Takashi Iwai wrote: At Sun, 27 Jan 2013 19:18:27 -0600, Shawn Bohrer wrote: Hi Takashi, I recently updated my

Re: [PATCH 10/15] acpi: Ignore acpi_rsdp kernel parameter in a secure boot environment

2013-02-17 Thread Dave Young
On Tue, Jan 29, 2013 at 12:42 AM, Matthew Garrett matthew.garr...@nebula.com wrote: From: Josh Boyer jwbo...@redhat.com This option allows userspace to pass the RSDP address to the kernel. This could potentially be used to circumvent the secure boot trust model. We ignore the setting if we

Re: [RFC] Reproducible OOM with just a few sleeps

2013-02-17 Thread Simon Jeons
On 01/14/2013 11:00 PM, Dave Hansen wrote: On 01/11/2013 07:31 PM, paul.sz...@sydney.edu.au wrote: Seems that any i386 PAE machine will go OOM just by running a few processes. To reproduce: sh -c 'n=0; while [ $n -lt 1 ]; do sleep 600 ((n=n+1)); done' My machine has 64GB RAM. With

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

2013-02-17 Thread Tanaka Takahisa
Hi Joseph, 2013/2/15 Joseph Salisbury joseph.salisb...@canonical.com: On 02/15/2013 02:32 AM, Wim Van Sebroeck wrote: Hi Joseph, A bug was opened against the Ubuntu kernel[0]. It was found that reverting the following commit resolved this bug: commit

Re: [PATCH] ia64: rename cache_show to topology_cache_show

2013-02-17 Thread Michal Hocko
On Sun 17-02-13 09:36:49, Wu Fengguang wrote: On Sat, Feb 16, 2013 at 01:18:53PM +0100, Michal Hocko wrote: On Fri 15-02-13 14:46:29, Andrew Morton wrote: On Fri, 15 Feb 2013 13:38:24 +0100 Michal Hocko mho...@suse.cz wrote: Fenguang Wu has reported the following compile time

[PATCH] pwm: twl: Fix typo that broke build

2013-02-17 Thread Johannes Thumshirn
Fix a little type that unfortunately broke the build :-( Signed-off-by: Johannes Thumshirn morbid...@gmail.com --- drivers/pwm/pwm-twl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-twl.c b/drivers/pwm/pwm-twl.c index 9cd2c9a..bf3fda2 100644 ---

Re: [PATCH 2/2] of: use platform_device_add

2013-02-17 Thread Russell King - ARM Linux
On Sun, Feb 17, 2013 at 03:43:20PM +0800, Shawn Guo wrote: It also breaks all of_amba_device users. of_amba_device_create() -- amba_device_add() -- request_resource() and fails. Presumably that's because we no longer know what the parent resource is supposed to be? -- To unsubscribe from

Re: [PATCH] pwm: twl: Fix typo that broke build

2013-02-17 Thread Thierry Reding
On Sun, Feb 17, 2013 at 11:08:13AM +0100, Johannes Thumshirn wrote: Fix a little type that unfortunately broke the build :-( Signed-off-by: Johannes Thumshirn morbid...@gmail.com --- drivers/pwm/pwm-twl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Uh... I hadn't noticed and

shouldn't a non-privileged malformed sprintf crashes the kernel

2013-02-17 Thread Toralf Förster
This is the 2nd time in a row that a stable kernel (3.7.8 currently) crashes in such a way that even the sys-rq key doesn't work any longer. Found nothing in the log. The screen shot is here [1]. First time this issue was reported in [2]. The bug seems to be triggered by the BOINC client - I'm

Re: [PATCH EDAC 07/13] edac: add support for raw error reports

2013-02-17 Thread Mauro Carvalho Chehab
Em Sat, 16 Feb 2013 17:57:48 +0100 Borislav Petkov b...@alien8.de escreveu: On Fri, Feb 15, 2013 at 04:20:29PM -0200, Mauro Carvalho Chehab wrote: Yeah, pre-allocating a buffer is something that it was on my plans. It seems it is time to do it in a clean way. I prefer to keep this as a

Re: [PATCH 2/2] of: use platform_device_add

2013-02-17 Thread Grant Likely
On Sun, Feb 17, 2013 at 10:19 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sun, Feb 17, 2013 at 03:43:20PM +0800, Shawn Guo wrote: The patch introduce a regression on imx6q boot. The IOMUXC block on imx6q is special. It acts not only a pin controller but also a system

Re: usb_wwan_write() called while device still being resumed

2013-02-17 Thread Alex Courbot
On 02/15/2013 08:05 PM, Bjørn Mork wrote: Alex Courbot acour...@nvidia.com writes: Unfortunately it does not, and fails the same way. On the other hand, I do not see the issue when doing the following: diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c index

Re: shouldn't a non-privileged malformed sprintf crashes the kernel

2013-02-17 Thread richard -rw- weinberger
On Sun, Feb 17, 2013 at 11:42 AM, Toralf Förster toralf.foers...@gmx.de wrote: This is the 2nd time in a row that a stable kernel (3.7.8 currently) crashes in such a way that even the sys-rq key doesn't work any longer. Found nothing in the log. The screen shot is here [1]. First time this

Re: [PATCH 2/2] of: use platform_device_add

2013-02-17 Thread Fabio Estevam
On Sun, Feb 17, 2013 at 4:43 AM, Shawn Guo shawn@linaro.org wrote: On Sun, Feb 17, 2013 at 11:03:35AM +0800, Shawn Guo wrote: On Fri, Jan 18, 2013 at 01:40:00AM +, Grant Likely wrote: This allows platform_device_add a chance to call insert_resource on all of the resources from OF. At

[PATCH] sound: usb/quirks, fix out-of-bounds access

2013-02-17 Thread Jiri Slaby
bootresponse in snd_usb_mbox2_boot_quirk is only 12 (decimal) u8's long, but i9s passed to snd_usb_ctl_msg as it would be 0x12 (hexa) long. Fix that by having proper size of the array, i.e. 0x12. Signed-off-by: Jiri Slaby jsl...@suse.cz Cc: Damien Zammit dam...@zamaudio.com Cc: Takashi Iwai

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-17 Thread Daniel Vetter
On Sun, Feb 17, 2013 at 3:21 AM, Hugh Dickins hu...@google.com wrote: On Sat, 16 Feb 2013, Hugh Dickins wrote: On Sat, 16 Feb 2013, Linus Torvalds wrote: I think it's worth it to give them a heads-up already. So I've cc'd the main suspects here.. Okay, thanks. Daniel, Dave - any

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

2013-02-17 Thread Jann Horn
On Thu, Feb 14, 2013 at 08:19:45PM +0400, Pavel Emelyanov wrote: + struct sigevent event; [...] + event.sigev_notify = timer-it_sigev_notify; + event.sigev_signo = timer-sigq-info.si_signo; + event.sigev_value = timer-sigq-info.si_value; + event.sigev_notify_thread_id =

[PATCH] pinctrl: abx500: Add terminating entry for of_device_id table

2013-02-17 Thread Axel Lin
The of_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pinctrl/pinctrl-abx500.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/pinctrl-abx500.c b/drivers/pinctrl/pinctrl-abx500.c index caecdd3..685808a 100644 ---

Re: linux-next: build failure after merge of the xen-two tree

2013-02-17 Thread Rafael J. Wysocki
On Sunday, February 17, 2013 07:31:37 AM Liu, Jinsong wrote: Rafael J. Wysocki wrote: On Saturday, February 16, 2013 01:52:00 AM Stephen Rothwell wrote: Hi Rafael, Hi, On Fri, 15 Feb 2013 15:53:34 +0100 Rafael J. Wysocki r...@sisk.pl wrote: On Saturday, February 16, 2013

Re: [PATCH 02/11] ARM: samsung: fix assembly syntax for new gas

2013-02-17 Thread Arnd Bergmann
On Saturday 16 February 2013, Russell King - ARM Linux wrote: On Thu, Feb 14, 2013 at 02:49:18PM +0100, Arnd Bergmann wrote: Recent assembler versions complain about extraneous whitespace inside [] brackets. This fixes all of these instances for the samsung platforms. We should backport

Re: thermal governor: does it actually work??

2013-02-17 Thread Borislav Petkov
On Sun, Feb 17, 2013 at 03:43:13AM +0100, Peter Feuerer wrote: Hi Boris, Alex, Andreas, what do you think about this acerhdf patch? I think it makes things straight and implements the two-point regulation of acerhdf to be for correctly handled by the thermal layer: From

Re: [PATCH v2 1/1] OMAP4: DSS: Add panel for Blaze Tablet boards

2013-02-17 Thread Andi Shyti
+ char name[30]; + char buf[50]; + + if (size = sizeof(buf)) + size = sizeof(buf); what's the point of this? This is a way to limit copied from userspace data by available buffer size, widely used in current kernel sources. Are you implying there is some

Re: [PATCH RFC] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-02-17 Thread Olaf Hering
On Fri, Feb 15, Haiyang Zhang wrote: +config HYPERV_FB This should probably be FB_HYPERB to follow the naming of all other drivers. Olaf -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: Stupid user with user-space questions, matrix LED driving with user space code only.

2013-02-17 Thread Jonathan Andrews
The dim pixel code is timing critical (but as I said only a tiny fraction of the total CPU usage). What I need to do is grab the CPU and prevent any context switch (IRQ or PREEMPT) for this period. why you want to do this? Because I need an I/O pin to change state for a short accurately

Re: [PATCH] ethernet: neterion: vxge: vxge-traffic.c: fix for a potential NULL pointer dereference

2013-02-17 Thread walter harms
Am 16.02.2013 18:56, schrieb Kumar Amit Mehta: fix for a potential NULL pointer dereference and removal of a redundant assignment operation. Found using smatch. Signed-off-by: Kumar Amit Mehta gmate.a...@gmail.com --- drivers/net/ethernet/neterion/vxge/vxge-traffic.c |8 ++-- 1

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-17 Thread Daniel Vetter
On Sun, Feb 17, 2013 at 2:38 PM, Daniel Vetter daniel.vet...@ffwll.ch wrote: 2. The new i915 force restore code is indeed missing a safety check compared to the old crtc helper based one: diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index

Re: [PATCH] pwm: twl: Fix typo that broke build

2013-02-17 Thread Johannes Thumshirn
On Sun, Feb 17, 2013 at 11:26:30AM +0100, Thierry Reding wrote: On Sun, Feb 17, 2013 at 11:08:13AM +0100, Johannes Thumshirn wrote: Fix a little type that unfortunately broke the build :-( Signed-off-by: Johannes Thumshirn morbid...@gmail.com --- drivers/pwm/pwm-twl.c | 2 +- 1 file

[PATCH] perf: check if -DFORTIFY_SOURCE=2 is allowed

2013-02-17 Thread Marcin Slusarz
It seems gcc (4.7.2) defines _FORTIFY_SOURCE internally and becomes confused when it sees another definition in flags. For me, build failed like this: CHK glibc Makefile:548: *** No gnu/libc-version.h found, please install glibc-dev[el]/glibc-static. Stop. and only with V=1 it printed:

Re: Stupid user with user-space questions, matrix LED driving with user space code only.

2013-02-17 Thread anish kumar
On Sun, 2013-02-17 at 14:37 +, Jonathan Andrews wrote: The dim pixel code is timing critical (but as I said only a tiny fraction of the total CPU usage). What I need to do is grab the CPU and prevent any context switch (IRQ or PREEMPT) for this period. why you want to do this?

Re: [PATCH] dma: tegra: assume CONFIG_OF

2013-02-17 Thread Vinod Koul
On Fri, Feb 15, 2013 at 02:18:59PM -0800, Dan Williams wrote: On Fri, Feb 15, 2013 at 1:53 PM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com Tegra only supports, and always enables, device tree. Remove all ifdefs and runtime checks for DT support from

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-17 Thread Frederic Weisbecker
2013/2/15 Linus Torvalds torva...@linux-foundation.org: On Fri, Feb 15, 2013 at 9:44 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: This commit was designed to increase the probability of hitting the races described in http://lwn.net/Articles/453002/. These races result in deadlocks

[PATCH] ADP1653 board code for Nokia RX-51

2013-02-17 Thread Pali Rohár
Hello, I'm sending ADP1653 flash torch board code for Nokia RX-51. Kernel driver ADP1653 is already in upstream kernel. Board code was extracted from this big camera meego patch:

[PATCH 6/7] ACPI / container: Use hotplug profile user space interface

2013-02-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Make the ACPI container driver register its ACPI scan handler object using acpi_scan_add_handler_with_hotplug() to allow user space to manipulate its hotplug profile attributes. Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com ---

[PATCH 0/7] ACPI / hotplug: Common code for ACPI-based hotplug

2013-02-17 Thread Rafael J. Wysocki
Hi All, The following patches introduce common code for ACPI-based hotplug for non-PCI devices and modify the container and memory hotplug ACPI drivers to use the new code. This is based on linux-pm.git/master and regarded as v3.10 material. [1/7] Introduce acpi_scan_match_handler() that will

[PATCH 1/7] ACPI / scan: Introduce acpi_scan_match_handler()

2013-02-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Introduce helper routine acpi_scan_match_handler() that will find the ACPI scan handler matching a given device ID, if there is one, and rework acpi_scan_attach_handler() to use the new routine (that routine will also be useful for other purposes

[PATCH 7/7] ACPI / scan: Make memory hotplug driver use struct acpi_scan_handler

2013-02-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Make the ACPI memory hotplug driver use struct acpi_scan_handler for representing the object used to set up ACPI memory hotplug functionality and to remove hotplug memory ranges and data structures used by the driver before unregistering ACPI

[PATCH 3/7] ACPI / container: Use common hotplug code

2013-02-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Switch the ACPI container driver to using common device hotplug code introduced previously. This reduces the driver down to a trivial definition and registration of a struct acpi_scan_handler object. Signed-off-by: Rafael J. Wysocki

[PATCH 2/7] ACPI / scan: Introduce common code for ACPI-based device hotplug

2013-02-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Multiple drivers handling hotplug-capable ACPI device nodes install notify handlers covering the same types of events in a very similar way. Moreover, those handlers are installed in separate namespace walks, although that really should be done

[PATCH 4/7] ACPI / scan: Introduce acpi_scan_handler_matching()

2013-02-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Introduce new helper routine acpi_scan_handler_matching() for checking if the given ACPI scan handler matches a given device ID and rework acpi_scan_match_handler() to use the new routine (that routine will also be useful for other purposes in

[PATCH 5/7] ACPI / hotplug: Introduce user space interface for hotplug profiles

2013-02-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@inel.com Introduce user space interface for manipulating hotplug profiles associated with ACPI scan handlers. The interface consists of sysfs directories under /sys/firmware/acpi/hotplug/, one for each hotplug profile, containing attributes allowing user

Re: shouldn't a non-privileged malformed sprintf crashes the kernel

2013-02-17 Thread Gene Heskett
On Sunday 17 February 2013, Toralf Förster wrote: This is the 2nd time in a row that a stable kernel (3.7.8 currently) crashes in such a way that even the sys-rq key doesn't work any longer. Found nothing in the log. The screen shot is here [1]. First time this issue was reported in [2]. The bug

Re: [PATCH 02/11] ARM: samsung: fix assembly syntax for new gas

2013-02-17 Thread Arnd Bergmann
On Sunday 17 February 2013, Aaro Koskinen wrote: Hi, On Thu, Feb 14, 2013 at 02:49:18PM +0100, Arnd Bergmann wrote: Recent assembler versions complain about extraneous whitespace inside [] brackets. This fixes all of these instances for the samsung platforms. We should backport this to

Re: [PATCH 02/11] ARM: samsung: fix assembly syntax for new gas

2013-02-17 Thread Mikael Pettersson
Russell King - ARM Linux writes: On Thu, Feb 14, 2013 at 02:49:18PM +0100, Arnd Bergmann wrote: Recent assembler versions complain about extraneous whitespace inside [] brackets. This fixes all of these instances for the samsung platforms. We should backport this to all kernels that

Re: thermal governor: does it actually work??

2013-02-17 Thread Peter Feuerer
Hi, Borislav Petkov writes: On Sun, Feb 17, 2013 at 03:43:13AM +0100, Peter Feuerer wrote: From 7b39bd8837de6dc5658ac3e54ac5d4df9d351528 Mon Sep 17 00:00:00 2001 From: Peter Feuerer pe...@piie.net Date: Sun, 17 Feb 2013 03:29:19 +0100 Subject: [PATCH] added two more trip points to acerhdf,

Re: fb: mmp: include linux/platform_device.h

2013-02-17 Thread Haojian Zhuang
On Fri, Feb 15, 2013 at 10:16 PM, Arnd Bergmann a...@arndb.de wrote: Patch 16559ae kgdb: remove #include linux/serial_8250.h from kgdb.h changes the kgdb.h file so that drivers including it do not implicitly include linux/platform_device.h. The mmp framebuffer driver is new, so Greg did not

Re: [PATCH 02/11] ARM: samsung: fix assembly syntax for new gas

2013-02-17 Thread Arnd Bergmann
On Sunday 17 February 2013, Mikael Pettersson wrote: Russell King - ARM Linux writes: On Thu, Feb 14, 2013 at 02:49:18PM +0100, Arnd Bergmann wrote: Recent assembler versions complain about extraneous whitespace inside [] brackets. This fixes all of these instances for the samsung

slab: odd BUG on kzalloc

2013-02-17 Thread Sasha Levin
Hi all, I was fuzzing with trinity inside a KVM tools guest, running latest -next kernel, and hit the following bug: [ 169.773688] BUG: unable to handle kernel NULL pointer dereference at 0001 [ 169.774976] IP: [81a15c2f] memset+0x1f/0xb0 [ 169.775989] PGD 93e02067 PUD

Re: regmap: Question about devices with unequal register sizes

2013-02-17 Thread Mark Brown
On Sat, Feb 16, 2013 at 06:03:51PM +0100, Daniel Mack wrote: The register layout is described on page 26, and they call their registers 'subaddresses'. Up to sub-address 0x1c, I see no problem mapping that to a simple 8-bit regmap layout, but above that, access gets trickier because registers

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-02-17 Thread Mark Brown
On Sun, Feb 17, 2013 at 12:46:25AM +0100, Pali Rohár wrote: Accelerometer driver lis3lv02d_i2c not working on Nokia RX-51 with linux kernel 3.8-rc3. Probing for i2c device failing. I tried to compile older version and it working without problem. Then I bisected commit which broke support

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-17 Thread Hugh Dickins
On Sun, 17 Feb 2013, Daniel Vetter wrote: On Sun, Feb 17, 2013 at 3:21 AM, Hugh Dickins hu...@google.com wrote: On Sat, 16 Feb 2013, Hugh Dickins wrote: On Sat, 16 Feb 2013, Linus Torvalds wrote: I think it's worth it to give them a heads-up already. So I've cc'd the main suspects

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-02-17 Thread Pali Rohár
On Sunday 17 February 2013 17:25:24 Mark Brown wrote: On Sun, Feb 17, 2013 at 12:46:25AM +0100, Pali Rohár wrote: Accelerometer driver lis3lv02d_i2c not working on Nokia RX-51 with linux kernel 3.8-rc3. Probing for i2c device failing. I tried to compile older version and it working

Re: 3.7 HDMI channel map regression

2013-02-17 Thread Shawn Bohrer
On Sun, Feb 17, 2013 at 09:34:53AM +0100, Takashi Iwai wrote: At Sat, 16 Feb 2013 18:22:25 -0600, Shawn Bohrer wrote: On Mon, Jan 28, 2013 at 08:52:05PM -0600, Shawn Bohrer wrote: On Mon, Jan 28, 2013 at 09:56:33AM +0100, Takashi Iwai wrote: At Sun, 27 Jan 2013 19:18:27 -0600,

Re: [PATCH] sound: usb/quirks, fix out-of-bounds access

2013-02-17 Thread Takashi Iwai
At Sun, 17 Feb 2013 14:33:04 +0100, Jiri Slaby wrote: bootresponse in snd_usb_mbox2_boot_quirk is only 12 (decimal) u8's long, but i9s passed to snd_usb_ctl_msg as it would be 0x12 (hexa) long. Fix that by having proper size of the array, i.e. 0x12. Signed-off-by: Jiri Slaby jsl...@suse.cz

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-17 Thread Daniel Vetter
On Sun, Feb 17, 2013 at 5:31 PM, Hugh Dickins hu...@google.com wrote: On Sun, 17 Feb 2013, Daniel Vetter wrote: On Sun, Feb 17, 2013 at 3:21 AM, Hugh Dickins hu...@google.com wrote: On Sat, 16 Feb 2013, Hugh Dickins wrote: On Sat, 16 Feb 2013, Linus Torvalds wrote: I think it's worth

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-17 Thread Linus Torvalds
On Sun, Feb 17, 2013 at 7:11 AM, Frederic Weisbecker fweis...@gmail.com wrote: preempt_value_in_interrupt() looks buggy in your patch: it makes invoke_softirq() returning if (val HARDIRQ_MASK). But that's always true since you have moved further the sub_preempt_count(IRQ_EXIT) further. No,

BUG in find_pid_ns

2013-02-17 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest, running latest -next kernel, I've stumbled on the following spew: [ 400.345287] BUG: unable to handle kernel paging request at fff0 [ 400.346614] IP: [81131d50] find_pid_ns+0x110/0x1f0 [ 400.347649] PGD 5429067

[PATCH 2/2] hid: Split accel, brake for Logitech Driving Force wheel

2013-02-17 Thread Paul Sbarra
Signed-off-by: Paul Sbarra sbarra.p...@gmail.com --- drivers/hid/hid-lg.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/hid/hid-lg.c b/drivers/hid/hid-lg.c index 6daa192..6bb7f05 100644 --- a/drivers/hid/hid-lg.c +++ b/drivers/hid/hid-lg.c @@ -81,7 +81,6 @@

[PATCH 1/2] hid: Add report descriptor for Logitech Driving Force wheel

2013-02-17 Thread Paul Sbarra
This is the original report descriptor as reported by lsusb -vd 046d:c294. Signed-off-by: Paul Sbarra sbarra.p...@gmail.com --- drivers/hid/hid-lg.c | 101 --- 1 file changed, 96 insertions(+), 5 deletions(-) diff --git a/drivers/hid/hid-lg.c

[PATCH 1/9] video: introduce system framebuffer bus

2013-02-17 Thread David Herrmann
From: David Herrmann dh.herrm...@googlemail.com For a long time now we have the problem that there are multiple drivers available that try to use system framebuffers (like EFI, VESA/VBE, ...). There is no way to control which driver gets access to the devices, but instead works on a

[PATCH 4/9] video: vesafb: allow building as module

2013-02-17 Thread David Herrmann
From: David Herrmann dh.herrm...@googlemail.com Fix the vesafb module to no longer use any static __init data. Also add a module_exit() function that destroys the platform device. Note that fbdev hotplugging is broken and the self-reference actually prevents sane module-unloading. Anyway, this

[PATCH 6/9] drm: new sysfb DRM bus module

2013-02-17 Thread David Herrmann
This provides a new DRM bus helper for the system framebuffer bus. It is very similar in its functionality to the DRM_USB helper. It allows to write DRM drivers that register as SYSFB drivers to the system. Signed-off-by: David Herrmann dh.herrm...@gmail.com --- drivers/gpu/drm/Kconfig | 5

[PATCH 7/9] drm: new VESA BIOS Extension DRM driver stub

2013-02-17 Thread David Herrmann
This driver uses the VESA BIOS Extensions to control the display device. Modesetting has to be done during the boot-process by the architecture code (same way as vesafb requires it). No runtime modesetting is allowed due to RealMode/ProtectedMode restrictions. This patch only introduces the stub

[PATCH 8/9] drm: dvbe: implement VBE/VESA blitting backend

2013-02-17 Thread David Herrmann
Extend the dvbe core driver by a VESA/VBE backend that simply blits the data from a framebuffer into the hardware framebuffer on damage. Modesetting has to be done during the boot-process by the architecture code (same way as vesafb requires it). No runtime modesetting is allowed due to

[PATCH 9/9] drm: dvbe: add optional fbdev frontend

2013-02-17 Thread David Herrmann
This adds a new fbdev frontend to the dvbe driver. It allows userspace to access the dvbe driver via an fbdev frontend. It is disabled by default so you can use dvbe without CONFIG_FB. It should only be used for backwards-compatibility. Use the DRM dumb API to access dvbe buffers properly.

[PATCH 5/9] video: vesafb: use sysfb bus

2013-02-17 Thread David Herrmann
Instead of using our own platform device, we now register as sysfb driver and get notified whenever we are loaded on a system VBE device. This allows other VBE drivers to be loaded at the same time and users can bind/unbind drivers via sysfs. We also no longer need to fake a platform-device

[PATCH 3/9] video: sysfb: always provide vbefb device

2013-02-17 Thread David Herrmann
From: David Herrmann dh.herrm...@googlemail.com HACK: This should be provided by architecture setup code. But to show how it is supposed to work, we now simply add a vbefb device during initialization. The better way to do this is by moving this into arch-code. So for instance the x86 boot

[PATCH 0/9] System Framebuffer Bus (sysfb)

2013-02-17 Thread David Herrmann
Hi This series tries to fix the mess with global system framebuffer access in device drivers. Currently, architecture initialization sets the screen_info object according to the system framebuffer that was detected during boot. The device driver that can map VMEM first gets access to it. There is

[PATCH 2/9] video: sysfb: new vbefb device type

2013-02-17 Thread David Herrmann
From: David Herrmann dh.herrm...@googlemail.com This adds the VESA BIOS Extension (VBE) device type. Platform code needs to provide the vbefb platform-device with a screen_info structure as platform code. All drivers that depend on VBE can now register as bus drivers and bind to SYSFB_VBE

RE: [PATCH 1/1] Drivers: hv: vmbus: Use the new infrastructure for delivering VMBUS interrupts

2013-02-17 Thread KY Srinivasan
-Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Wednesday, February 13, 2013 1:53 PM To: H. Peter Anvin Cc: KY Srinivasan; x...@kernel.org; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com;

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-17 Thread Frederic Weisbecker
2013/2/17 Linus Torvalds torva...@linux-foundation.org: On Sun, Feb 17, 2013 at 7:11 AM, Frederic Weisbecker fweis...@gmail.com wrote: preempt_value_in_interrupt() looks buggy in your patch: it makes invoke_softirq() returning if (val HARDIRQ_MASK). But that's always true since you have

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-02-17 Thread Mark Brown
On Sun, Feb 17, 2013 at 05:40:41PM +0100, Pali Rohár wrote: $ dmesg | grep lis3 [ 110.454345] lis3lv02d_i2c 3-001d: Failed to get supply 'Vdd': -517 [ 110.457397] i2c 3-001d: Driver lis3lv02d_i2c requests probe deferral [ 111.507415] lis3lv02d_i2c 3-001d: Failed to get supply 'Vdd': -517

Re: [PATCH 1/1] Drivers: hv: vmbus: Use the new infrastructure for delivering VMBUS interrupts

2013-02-17 Thread Greg KH
On Sun, Feb 17, 2013 at 06:13:49PM +, KY Srinivasan wrote: -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Wednesday, February 13, 2013 1:53 PM To: H. Peter Anvin Cc: KY Srinivasan; x...@kernel.org; linux-kernel@vger.kernel.org;

Re: [stable request] fix stack overflow in __reserve_region_with_split

2013-02-17 Thread Ben Hutchings
On Mon, 2013-02-11 at 17:26 +0100, Jiri Slaby wrote: Hi, I think this one should go to stable: commit 4965f5667f36a95b41cda6638875bc992bd7d18b Author: T Makphaibulchoke t...@hp.com Date: Thu Oct 4 17:16:55 2012 -0700 kernel/resource.c: fix stack overflow in

RE: [PATCH 1/1] Drivers: hv: vmbus: Use the new infrastructure for delivering VMBUS interrupts

2013-02-17 Thread KY Srinivasan
-Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Sunday, February 17, 2013 1:25 PM To: KY Srinivasan Cc: H. Peter Anvin; x...@kernel.org; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com;

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

2013-02-17 Thread Pavel Emelyanov
On 02/17/2013 05:42 PM, Jann Horn wrote: On Thu, Feb 14, 2013 at 08:19:45PM +0400, Pavel Emelyanov wrote: +struct sigevent event; [...] +event.sigev_notify = timer-it_sigev_notify; +event.sigev_signo = timer-sigq-info.si_signo; +event.sigev_value = timer-sigq-info.si_value;

[PATCH 1/1] Drivers: hv: vmbus: Use the new infrastructure for delivering VMBUS interrupts

2013-02-17 Thread K. Y. Srinivasan
Use the infrastructure for delivering VMBUS interrupts using a special vector. With this patch, we can now properly handle the VMBUS interrupts that can be delivered on any CPU. Also, turn on interrupt load balancing as well. This patch requires the infrastructure that was implemented in the

Re: [PATCH] ADP1653 board code for Nokia RX-51

2013-02-17 Thread Aaro Koskinen
Hi, On Sun, Feb 17, 2013 at 04:16:49PM +0100, Pali Rohár wrote: I'm sending ADP1653 flash torch board code for Nokia RX-51. Kernel driver ADP1653 is already in upstream kernel. Board code was extracted from this big camera meego patch:

Linux 3.0.65

2013-02-17 Thread Greg KH
I'm announcing the release of the 3.0.65 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.65

2013-02-17 Thread Greg KH
diff --git a/Makefile b/Makefile index 1a4a8cd..cdba5c1 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 0 -SUBLEVEL = 64 +SUBLEVEL = 65 EXTRAVERSION = NAME = Sneaky Weasel diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h index

Linux 3.4.32

2013-02-17 Thread Greg KH
I'm announcing the release of the 3.4.32 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:

Re: Linux 3.4.32

2013-02-17 Thread Greg KH
diff --git a/Makefile b/Makefile index 930db76..ece8970 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 4 -SUBLEVEL = 31 +SUBLEVEL = 32 EXTRAVERSION = NAME = Saber-toothed Squirrel diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index

Linux 3.7.9

2013-02-17 Thread Greg KH
I'm announcing the release of the 3.7.9 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: Linux 3.7.9

2013-02-17 Thread Greg KH
diff --git a/Makefile b/Makefile index ad48987..5634228 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 7 -SUBLEVEL = 8 +SUBLEVEL = 9 EXTRAVERSION = NAME = Terrified Chipmunk diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index b5d8a18..252c7e6

RE: [PATCH RFC] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-02-17 Thread Haiyang Zhang
From: Olaf Hering Sent: Sunday, February 17, 2013 9:32 AM To: Haiyang Zhang Cc: florianschandi...@gmx.de; linux-fb...@vger.kernel.org; KY Srinivasan; jasow...@redhat.com; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org Subject: Re: [PATCH RFC] video: Add Hyper-V Synthetic Video

Re: [PATCH 1/1] Drivers: hv: vmbus: Use the new infrastructure for delivering VMBUS interrupts

2013-02-17 Thread H. Peter Anvin
On 02/17/2013 10:51 AM, KY Srinivasan wrote: No one can base their tree on linux-next, so no. Please wait for them to get into Linus's tree. Or send them to me now, with the instructions to apply them after 3.9-rc1, and I will save them for that point in time. Thanks Greg. Will do. As I

[PATCH 0/3] coredump: fix the ancient signal problems

2013-02-17 Thread Oleg Nesterov
Hello. These problems are really annoying. I reported and tried to fix them in 2008 (see http://marc.info/?l=linux-kernelm=121665710711931) but nobody was interested. Since then I had a lot of (to some degree contradictory) bug reports: we do not want the interrupted coredumps (this is what the

[PATCH 3/3] coredump: sanitize the setting of signal-group_exit_code

2013-02-17 Thread Oleg Nesterov
Now that the coredumping process can be SIGKILL'ed, the setting of -group_exit_code in do_coredump() can race with complete_signal() and SIGKILL or 0x80 can be lost, or wait(status) can report status == SIGKILL | 0x80. But the main problem is that it is not clear to me what should we do if

[PATCH 2/3] coredump: ensure that SIGKILL always kills the dumping thread

2013-02-17 Thread Oleg Nesterov
prepare_signal() blesses SIGKILL sent to the dumping process but this signal can be lost anyway. The problems is, complete_signal() sees SIGNAL_GROUP_EXIT and skips the kill them all logic. And even if the dumping process is single-threaded (so the target is always correct), the group-wide SIGKILL

[PATCH 1/3] coredump: only SIGKILL should interrupt the coredumping task

2013-02-17 Thread Oleg Nesterov
There are 2 well known and ancient problems with coredump/signals, and a lot of related bug reports: - do_coredump() clears TIF_SIGPENDING but of course this can't help if, say, SIGCHLD comes after that. In this case the coredump can fail unexpectedly. See for example

Re: [PATCH 00/15] Secure boot policy support

2013-02-17 Thread Yves-Alexis Perez
On lun., 2013-01-28 at 11:42 -0500, Matthew Garrett wrote: Secure boot makes it possible to ensure that the on-disk representation of the kernel hasn't been modified. This can be sidestepped if the in-memory representation can be trivially altered. We currently have a large number of

Re: [PATCH 0/3] coredump: fix the ancient signal problems

2013-02-17 Thread Linus Torvalds
On Sun, Feb 17, 2013 at 11:18 AM, Oleg Nesterov o...@redhat.com wrote: Linus, et al, could you please ack/nack the intent? Of course I will appreciate if you can review the code, but what I am actually worried about is the user-visible change: the coredumping becomes killable but only by the

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-17 Thread Paul E. McKenney
On Sat, Feb 16, 2013 at 11:46:59AM -0800, Linus Torvalds wrote: On Sat, Feb 16, 2013 at 11:25 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Sorry for the delay in testing this, but there was a need to upgrade my laptop, and bozo here figured why not go to 64 bits while I am at

Re: [PATCH 04/16] rcu: rcutiny: Prevent RCU stall

2013-02-17 Thread Paul E. McKenney
On Wed, Feb 13, 2013 at 05:11:59PM +0100, Sebastian Andrzej Siewior wrote: From: Thomas Gleixner t...@linutronix.de rcu_read_unlock_special() checks in_serving_softirq() and leaves early when true. On RT this is obviously wrong as softirq processing context can be preempted and therefor such

Re: [PATCH 0/3] coredump: fix the ancient signal problems

2013-02-17 Thread Oleg Nesterov
On 02/17, Linus Torvalds wrote: On Sun, Feb 17, 2013 at 11:18 AM, Oleg Nesterov o...@redhat.com wrote: Linus, et al, could you please ack/nack the intent? Of course I will appreciate if you can review the code, but what I am actually worried about is the user-visible change: the

Re: [PATCH 0/3] coredump: fix the ancient signal problems

2013-02-17 Thread Oleg Nesterov
On 02/17, Oleg Nesterov wrote: On 02/17, Linus Torvalds wrote: SIGKILL really is very very special. Having it kill a coredump in progress sounds fine to me. Great. Forgot to mention just in case... We could probably make a simpler patch. do_coredump() can ignore all signals except

Re: [Bisected] 3.7-rc1 can't resume

2013-02-17 Thread Rafael J. Wysocki
On Sunday, February 17, 2013 05:48:25 PM Jonas Heinrich wrote: Hello, since kernel version 3.7-rc1 I can't resume my notebook (Thinkpad T43) from suspend2ram anymore. I started a kernel bisection (see bisection_log in attachement). Also see kernel conifg @ attachement. The culprit commit

Re: [Bisected] 3.7-rc1 can't resume

2013-02-17 Thread H. Peter Anvin
T43 is quite old... which might have exposed unique bugs. How reliable is the failure? Even one misidentified commit results in git bisect giving garbage. Jonas Heinrich o...@project-insanity.org wrote: Hello, since kernel version 3.7-rc1 I can't resume my notebook (Thinkpad T43) from

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-17 Thread Frederic Weisbecker
2013/2/17 Linus Torvalds torva...@linux-foundation.org: On Sun, Feb 17, 2013 at 7:11 AM, Frederic Weisbecker fweis...@gmail.com wrote: preempt_value_in_interrupt() looks buggy in your patch: it makes invoke_softirq() returning if (val HARDIRQ_MASK). But that's always true since you have

  1   2   3   4   >