[tip:perf/urgent] perf tools: check if -DFORTIFY_SOURCE= 2 is allowed

2013-03-18 Thread tip-bot for Marcin Slusarz
Commit-ID: d2f32479e5526a1ab3b4e43910fcb279871524ce Gitweb: http://git.kernel.org/tip/d2f32479e5526a1ab3b4e43910fcb279871524ce Author: Marcin Slusarz AuthorDate: Sun, 17 Feb 2013 16:03:36 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Mar 2013 16:57:27 -0300 perf tools

[tip:perf/urgent] perf tools: check if -DFORTIFY_SOURCE= 2 is allowed

2013-03-18 Thread tip-bot for Marcin Slusarz
Commit-ID: d2f32479e5526a1ab3b4e43910fcb279871524ce Gitweb: http://git.kernel.org/tip/d2f32479e5526a1ab3b4e43910fcb279871524ce Author: Marcin Slusarz marcin.slus...@gmail.com AuthorDate: Sun, 17 Feb 2013 16:03:36 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed

Re: nouveau lockdep splat

2013-03-06 Thread Marcin Slusarz
On Wed, Mar 06, 2013 at 01:04:29AM +0100, Borislav Petkov wrote: > On Tue, Mar 05, 2013 at 05:30:52PM +0100, Lucas Stach wrote: > > Dropping Tegra ML, it's not the place where Nouveau mails should go. > > $ ./scripts/get_maintainer.pl -f drivers/gpu/drm/nouveau/nv50_display.c > ... >

Re: nouveau lockdep splat

2013-03-06 Thread Marcin Slusarz
On Wed, Mar 06, 2013 at 01:04:29AM +0100, Borislav Petkov wrote: On Tue, Mar 05, 2013 at 05:30:52PM +0100, Lucas Stach wrote: Dropping Tegra ML, it's not the place where Nouveau mails should go. $ ./scripts/get_maintainer.pl -f drivers/gpu/drm/nouveau/nv50_display.c ...

Re: [stable request] fix for nouveau mem corruption [was: WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242]

2013-02-20 Thread Marcin Slusarz
On Wed, Feb 20, 2013 at 03:47:05PM +0100, Jiri Slaby wrote: > On 02/19/2013 08:07 AM, Marcin Slusarz wrote: > >>> Crash/warning should be fixed by commit > >>> cfd376b6bfccf33782a0748a9c70f7f752f8b869 > >>> "drm/nouveau/vm: fix memory corruption when

Re: [stable request] fix for nouveau mem corruption [was: WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242]

2013-02-20 Thread Marcin Slusarz
On Wed, Feb 20, 2013 at 03:47:05PM +0100, Jiri Slaby wrote: On 02/19/2013 08:07 AM, Marcin Slusarz wrote: Crash/warning should be fixed by commit cfd376b6bfccf33782a0748a9c70f7f752f8b869 drm/nouveau/vm: fix memory corruption when pgt allocation fails. Oh, thanks for the pointer. Could

Re: WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242

2013-02-19 Thread Marcin Slusarz
On Tue, Feb 19, 2013 at 08:07:44AM +0100, Marcin Slusarz wrote: > On Tue, Feb 19, 2013 at 12:43:06AM +0100, Jiri Slaby wrote: > > On 02/19/2013 12:23 AM, Marcin Slusarz wrote: > > > On Mon, Feb 18, 2013 at 11:27:43AM +0100, Jiri Slaby wrote: > > >> Hi, > > &

Re: WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242

2013-02-19 Thread Marcin Slusarz
On Tue, Feb 19, 2013 at 08:07:44AM +0100, Marcin Slusarz wrote: On Tue, Feb 19, 2013 at 12:43:06AM +0100, Jiri Slaby wrote: On 02/19/2013 12:23 AM, Marcin Slusarz wrote: On Mon, Feb 18, 2013 at 11:27:43AM +0100, Jiri Slaby wrote: Hi, we have a report of WARNING from 3.7.6 in nouveau

Re: WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242

2013-02-18 Thread Marcin Slusarz
On Tue, Feb 19, 2013 at 12:43:06AM +0100, Jiri Slaby wrote: > On 02/19/2013 12:23 AM, Marcin Slusarz wrote: > > On Mon, Feb 18, 2013 at 11:27:43AM +0100, Jiri Slaby wrote: > >> Hi, > >> > >> we have a report of WARNING from 3.7.6 in nouveau at > >> dr

Re: WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242

2013-02-18 Thread Marcin Slusarz
On Mon, Feb 18, 2013 at 11:27:43AM +0100, Jiri Slaby wrote: > Hi, > > we have a report of WARNING from 3.7.6 in nouveau at > drivers/gpu/drm/nouveau/core/core/mm.c:242 here: > https://bugzilla.novell.com/show_bug.cgi?id=802347#c11 > > There is an order 4 allocation failure in nouveau_drm_open ->

Re: WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242

2013-02-18 Thread Marcin Slusarz
On Mon, Feb 18, 2013 at 11:27:43AM +0100, Jiri Slaby wrote: Hi, we have a report of WARNING from 3.7.6 in nouveau at drivers/gpu/drm/nouveau/core/core/mm.c:242 here: https://bugzilla.novell.com/show_bug.cgi?id=802347#c11 There is an order 4 allocation failure in nouveau_drm_open -

Re: WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242

2013-02-18 Thread Marcin Slusarz
On Tue, Feb 19, 2013 at 12:43:06AM +0100, Jiri Slaby wrote: On 02/19/2013 12:23 AM, Marcin Slusarz wrote: On Mon, Feb 18, 2013 at 11:27:43AM +0100, Jiri Slaby wrote: Hi, we have a report of WARNING from 3.7.6 in nouveau at drivers/gpu/drm/nouveau/core/core/mm.c:242 here: https

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

2013-02-17 Thread Marcin Slusarz
: error: "_FORTIFY_SOURCE" redefined [-Werror] :1:0: note: this is the location of the previous definition Signed-off-by: Marcin Slusarz Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo --- tools/perf/Makefile | 8 +++- 1 file changed, 7 insert

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

2013-02-17 Thread Marcin Slusarz
-line:0:0: error: _FORTIFY_SOURCE redefined [-Werror] stdin:1:0: note: this is the location of the previous definition Signed-off-by: Marcin Slusarz marcin.slus...@gmail.com Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Paul Mackerras pau...@samba.org Cc: Ingo Molnar mi...@redhat.com Cc: Arnaldo

Re: 3.8.0-rc7, nouveau, possible recursive locking, nouveau_instobj_create_ and nv50_disp_data_ctor

2013-02-16 Thread Marcin Slusarz
On Sat, Feb 16, 2013 at 12:57:07AM +0200, Denys Fedoryshchenko wrote: > Hi > > Booted on Toshiba laptop, x86_64, NVIDIA Corporation GT218 [GeForce > 310M], latest rc, and got this. > Please let me know if you need additional information. It's harmless and already quieted down in Linus' tree

Re: 3.8.0-rc7, nouveau, possible recursive locking, nouveau_instobj_create_ and nv50_disp_data_ctor

2013-02-16 Thread Marcin Slusarz
On Sat, Feb 16, 2013 at 12:57:07AM +0200, Denys Fedoryshchenko wrote: Hi Booted on Toshiba laptop, x86_64, NVIDIA Corporation GT218 [GeForce 310M], latest rc, and got this. Please let me know if you need additional information. It's harmless and already quieted down in Linus' tree (post

Re: [ 61/61] drm/nouveau: add lockdep annotations

2013-02-13 Thread Marcin Slusarz
On Wed, Feb 13, 2013 at 06:46:20PM +0100, Marcin Slusarz wrote: > On Wed, Feb 13, 2013 at 07:43:41PM +1000, Ben Skeggs wrote: > > On Wed, 2013-02-13 at 10:33 +0100, Arend van Spriel wrote: > > > On 02/13/2013 04:35 AM, Peter Hurley wrote: > > > > On Tue, 2013-02

Re: [ 61/61] drm/nouveau: add lockdep annotations

2013-02-13 Thread Marcin Slusarz
On Wed, Feb 13, 2013 at 07:43:41PM +1000, Ben Skeggs wrote: > On Wed, 2013-02-13 at 10:33 +0100, Arend van Spriel wrote: > > On 02/13/2013 04:35 AM, Peter Hurley wrote: > > > On Tue, 2013-02-12 at 12:35 -0800, Greg Kroah-Hartman wrote: > > >> 3.7-stable review patch. If anyone has any objections,

Re: [ 61/61] drm/nouveau: add lockdep annotations

2013-02-13 Thread Marcin Slusarz
On Wed, Feb 13, 2013 at 07:43:41PM +1000, Ben Skeggs wrote: On Wed, 2013-02-13 at 10:33 +0100, Arend van Spriel wrote: On 02/13/2013 04:35 AM, Peter Hurley wrote: On Tue, 2013-02-12 at 12:35 -0800, Greg Kroah-Hartman wrote: 3.7-stable review patch. If anyone has any objections, please

Re: [ 61/61] drm/nouveau: add lockdep annotations

2013-02-13 Thread Marcin Slusarz
On Wed, Feb 13, 2013 at 06:46:20PM +0100, Marcin Slusarz wrote: On Wed, Feb 13, 2013 at 07:43:41PM +1000, Ben Skeggs wrote: On Wed, 2013-02-13 at 10:33 +0100, Arend van Spriel wrote: On 02/13/2013 04:35 AM, Peter Hurley wrote: On Tue, 2013-02-12 at 12:35 -0800, Greg Kroah-Hartman wrote

[PATCH] drm/nouveau: add lockdep annotations

2013-02-04 Thread Marcin Slusarz
class. Reported-by: Arend van Spriel Reported-by: Peter Hurley Reported-by: Maarten Lankhorst Reported-by: Daniel J Blueman Signed-off-by: Marcin Slusarz Cc: sta...@vger.kernel.org [3.7, but needs s/const ofuncs/ofuncs/ to build] --- Lightly tested, only on NV4B and NVC1. --- drivers/gpu/drm

[PATCH] drm/nouveau: add lockdep annotations

2013-02-04 Thread Marcin Slusarz
class. Reported-by: Arend van Spriel ar...@broadcom.com Reported-by: Peter Hurley pe...@hurleysoftware.com Reported-by: Maarten Lankhorst maarten.lankho...@canonical.com Reported-by: Daniel J Blueman dan...@quora.org Signed-off-by: Marcin Slusarz marcin.slus...@gmail.com Cc: sta...@vger.kernel.org

Re: [PATCH 59/74] drm/nv17-50: restore fence buffer on resume

2013-01-24 Thread Marcin Slusarz
On Thu, Jan 24, 2013 at 01:27:11AM -0200, Herton Ronaldo Krzesinski wrote: > 3.5.7.4 -stable review patch. If anyone has any objections, please let me > know. > > -- > > From: Marcin Slusarz > > commit f20ebd034eab43fd38c58b11c5bb5fb125e5f7d7 ups

Re: [PATCH 59/74] drm/nv17-50: restore fence buffer on resume

2013-01-24 Thread Marcin Slusarz
On Thu, Jan 24, 2013 at 01:27:11AM -0200, Herton Ronaldo Krzesinski wrote: 3.5.7.4 -stable review patch. If anyone has any objections, please let me know. -- From: Marcin Slusarz marcin.slus...@gmail.com commit f20ebd034eab43fd38c58b11c5bb5fb125e5f7d7 upstream

Re: Announcement: STEC EnhanceIO SSD caching software for Linux kernel

2013-01-11 Thread Marcin Slusarz
On Sat, Jan 12, 2013 at 01:18:37AM +0800, Amit Kale wrote: > Greetings, > > STEC is happy to announce hosting of our EnhanceIO SSD caching software on > github. > We would like to invite kernel hackers to try it. We'll appreciate your > valuable feedback to help us improve it to the standards of

Re: Announcement: STEC EnhanceIO SSD caching software for Linux kernel

2013-01-11 Thread Marcin Slusarz
On Sat, Jan 12, 2013 at 01:18:37AM +0800, Amit Kale wrote: Greetings, STEC is happy to announce hosting of our EnhanceIO SSD caching software on github. We would like to invite kernel hackers to try it. We'll appreciate your valuable feedback to help us improve it to the standards of Linux

Re: drm/nouveau E[ DRM] fail ttm_validate

2013-01-05 Thread Marcin Slusarz
On Fri, Jan 04, 2013 at 10:25:27PM +0100, Kees Bakker wrote: > On 04-01-13 18:49, Marcin Slusarz wrote: > > On Fri, Jan 04, 2013 at 01:21:14PM +0100, Kees Bakker wrote: > >> Hi, > >> > >> Right after I upgraded to Ubuntu quantal I started seeing these >

Re: drm/nouveau E[ DRM] fail ttm_validate

2013-01-05 Thread Marcin Slusarz
On Fri, Jan 04, 2013 at 10:25:27PM +0100, Kees Bakker wrote: On 04-01-13 18:49, Marcin Slusarz wrote: On Fri, Jan 04, 2013 at 01:21:14PM +0100, Kees Bakker wrote: Hi, Right after I upgraded to Ubuntu quantal I started seeing these messages: Jan 4 12:18:12 koli kernel: [ 3705.970720

Re: drm/nouveau E[ DRM] fail ttm_validate

2013-01-04 Thread Marcin Slusarz
On Fri, Jan 04, 2013 at 01:21:14PM +0100, Kees Bakker wrote: > Hi, > > Right after I upgraded to Ubuntu quantal I started seeing these > messages: > Jan 4 12:18:12 koli kernel: [ 3705.970720] nouveau E[ DRM] fail > ttm_validate > Jan 4 12:18:12 koli kernel: [ 3705.970726] nouveau E[

Re: drm/nouveau E[ DRM] fail ttm_validate

2013-01-04 Thread Marcin Slusarz
On Fri, Jan 04, 2013 at 01:21:14PM +0100, Kees Bakker wrote: Hi, Right after I upgraded to Ubuntu quantal I started seeing these messages: Jan 4 12:18:12 koli kernel: [ 3705.970720] nouveau E[ DRM] fail ttm_validate Jan 4 12:18:12 koli kernel: [ 3705.970726] nouveau E[ DRM]

Re: [RESEND PATCH] drm/nouveau: fix init with agpgart-uninorth

2012-12-31 Thread Marcin Slusarz
On Mon, Dec 31, 2012 at 03:34:59AM +0200, Aaro Koskinen wrote: > Check that the AGP aperture can be mapped. This follows a similar change > done for Radeon (commit 365048ff, drm/radeon: AGP memory is only I/O if > the aperture can be mapped by the CPU.). > > The patch fixes the following error

Re: [RESEND PATCH] drm/nouveau: fix init with agpgart-uninorth

2012-12-31 Thread Marcin Slusarz
On Mon, Dec 31, 2012 at 03:34:59AM +0200, Aaro Koskinen wrote: Check that the AGP aperture can be mapped. This follows a similar change done for Radeon (commit 365048ff, drm/radeon: AGP memory is only I/O if the aperture can be mapped by the CPU.). The patch fixes the following error seen on

Re: [3.7-rc5/rc6 regression] "drm/nvc0/disp: fix regression in vblank semaphore release" broke nouveau driver and mplayer

2012-11-17 Thread Marcin Slusarz
On Sat, Nov 17, 2012 at 08:35:18PM +0100, Mikael Pettersson wrote: > mplayer worked fine on my Dell Latitude E6510 (nVidia GT218 [NVS 3100M] > graphics) > up to and including kernel 3.7-rc4. However, with 3.7-rc5 or -rc6, any > attempt to > run mplayer just blanks the screen, shows some stray

Re: [3.7-rc5/rc6 regression] drm/nvc0/disp: fix regression in vblank semaphore release broke nouveau driver and mplayer

2012-11-17 Thread Marcin Slusarz
On Sat, Nov 17, 2012 at 08:35:18PM +0100, Mikael Pettersson wrote: mplayer worked fine on my Dell Latitude E6510 (nVidia GT218 [NVS 3100M] graphics) up to and including kernel 3.7-rc4. However, with 3.7-rc5 or -rc6, any attempt to run mplayer just blanks the screen, shows some stray white

Re: [PATCH] nouveau: Fix crash after D3

2012-11-07 Thread Marcin Slusarz
On Tue, Nov 06, 2012 at 10:03:40PM +0800, Daniel J Blueman wrote: > In 3.7-rc4, when starting X with the integrated GPU and suspending the > discrete GPU, > after one or more 32-bit applications are used (eg Skype) and X is stopped, > we hit a panic. > > Prevent this by testing if the fini

Re: [PATCH] nouveau: Fix crash after D3

2012-11-07 Thread Marcin Slusarz
On Tue, Nov 06, 2012 at 10:03:40PM +0800, Daniel J Blueman wrote: In 3.7-rc4, when starting X with the integrated GPU and suspending the discrete GPU, after one or more 32-bit applications are used (eg Skype) and X is stopped, we hit a panic. Prevent this by testing if the fini function is

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-21 Thread Marcin Slusarz
On Sun, Oct 21, 2012 at 07:38:58AM -0700, Linus Torvalds wrote: > On Sun, Oct 21, 2012 at 5:09 AM, Marcin Slusarz > wrote: > > > > This looks like ACPI bug... > > I'm _shocked_ to hear that firmware would be fragile. > > Anyway, here's the #1 thing

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-21 Thread Marcin Slusarz
On Sun, Oct 21, 2012 at 08:58:07AM +0200, Paweł Sikora wrote: > On Sunday 21 of October 2012 00:19:48 Marcin Slusarz wrote: > > On Sat, Oct 20, 2012 at 11:20:36PM +0200, Heinz Diehl wrote: > > > On 20.10.2012, Marcin Slusarz wrote: > > > > > > > Try thi

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-21 Thread Marcin Slusarz
On Sun, Oct 21, 2012 at 08:58:07AM +0200, Paweł Sikora wrote: On Sunday 21 of October 2012 00:19:48 Marcin Slusarz wrote: On Sat, Oct 20, 2012 at 11:20:36PM +0200, Heinz Diehl wrote: On 20.10.2012, Marcin Slusarz wrote: Try this one. It works, now I can boot again. However

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-21 Thread Marcin Slusarz
On Sun, Oct 21, 2012 at 07:38:58AM -0700, Linus Torvalds wrote: On Sun, Oct 21, 2012 at 5:09 AM, Marcin Slusarz marcin.slus...@gmail.com wrote: This looks like ACPI bug... I'm _shocked_ to hear that firmware would be fragile. Anyway, here's the #1 thing to keep in mind about firmware

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-20 Thread Marcin Slusarz
On Sat, Oct 20, 2012 at 11:20:36PM +0200, Heinz Diehl wrote: > On 20.10.2012, Marcin Slusarz wrote: > > > Try this one. > > It works, now I can boot again. However, nouveau seems to be dead now. > The dmesg output with your patch on top of 3.7-rc1 is: > > [3.685

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-20 Thread Marcin Slusarz
On Sat, Oct 20, 2012 at 11:42:17PM +0200, Marcin Slusarz wrote: > On Sat, Oct 20, 2012 at 11:20:36PM +0200, Heinz Diehl wrote: > > On 20.10.2012, Marcin Slusarz wrote: > > > > > Try this one. > > > > It works, now I can boot again. However, nouveau seems

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-20 Thread Marcin Slusarz
On Sat, Oct 20, 2012 at 11:20:36PM +0200, Heinz Diehl wrote: > On 20.10.2012, Marcin Slusarz wrote: > > > Try this one. > > It works, now I can boot again. However, nouveau seems to be dead now. > The dmesg output with your patch on top of 3.7-rc1 is: > > [3.685

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-20 Thread Marcin Slusarz
On Sat, Oct 20, 2012 at 10:28:46PM +0200, Marcin Slusarz wrote: > On Sat, Oct 20, 2012 at 12:42:38PM +0200, Heinz Diehl wrote: > > On 20.10.2012, Martin Peres wrote: > > > > > Can you test the attached patch too ? I rebased the previous one I sent on > > > top

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-20 Thread Marcin Slusarz
> Tried it. Unfortunately, the crash remains the same as reported. Try this one. Now, the question is: could 3.6 kernel get VBIOS by ACPI? If yes, please mount debugfs and send vbios.rom to me please. (cat /sys/kernel/debug/dri/0/vbios.rom > vbios.rom) --- From: Marcin Slusarz Subject: [PATCH]

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-20 Thread Marcin Slusarz
remains the same as reported. Try this one. Now, the question is: could 3.6 kernel get VBIOS by ACPI? If yes, please mount debugfs and send vbios.rom to me please. (cat /sys/kernel/debug/dri/0/vbios.rom vbios.rom) --- From: Marcin Slusarz marcin.slus...@gmail.com Subject: [PATCH] drm/nouveau: validate

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-20 Thread Marcin Slusarz
On Sat, Oct 20, 2012 at 10:28:46PM +0200, Marcin Slusarz wrote: On Sat, Oct 20, 2012 at 12:42:38PM +0200, Heinz Diehl wrote: On 20.10.2012, Martin Peres wrote: Can you test the attached patch too ? I rebased the previous one I sent on top on 3.7-rc1 as I accidentally used an older

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-20 Thread Marcin Slusarz
On Sat, Oct 20, 2012 at 11:20:36PM +0200, Heinz Diehl wrote: On 20.10.2012, Marcin Slusarz wrote: Try this one. It works, now I can boot again. However, nouveau seems to be dead now. The dmesg output with your patch on top of 3.7-rc1 is: [3.685909] [drm] Initialized i915 1.6.0

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-20 Thread Marcin Slusarz
On Sat, Oct 20, 2012 at 11:42:17PM +0200, Marcin Slusarz wrote: On Sat, Oct 20, 2012 at 11:20:36PM +0200, Heinz Diehl wrote: On 20.10.2012, Marcin Slusarz wrote: Try this one. It works, now I can boot again. However, nouveau seems to be dead now. The dmesg output with your patch

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-20 Thread Marcin Slusarz
On Sat, Oct 20, 2012 at 11:20:36PM +0200, Heinz Diehl wrote: On 20.10.2012, Marcin Slusarz wrote: Try this one. It works, now I can boot again. However, nouveau seems to be dead now. The dmesg output with your patch on top of 3.7-rc1 is: [3.685909] [drm] Initialized i915 1.6.0

Re: "netpoll: re-enable irq in poll_napi()" breaks boot with netconsole

2012-08-29 Thread Marcin Slusarz
On Wed, Aug 29, 2012 at 02:59:47PM -0400, David Miller wrote: > From: Marcin Slusarz > Date: Wed, 29 Aug 2012 20:53:29 +0200 > > > Kernel 3.6-rc3 does not boot for me with netconsole enabled, while 3.6-rc2 > > did. > > I bisected it to commit 6bdb7fe31046ac50b47e83

"netpoll: re-enable irq in poll_napi()" breaks boot with netconsole

2012-08-29 Thread Marcin Slusarz
Hi Kernel 3.6-rc3 does not boot for me with netconsole enabled, while 3.6-rc2 did. I bisected it to commit 6bdb7fe31046ac50b47e83c35cd6c6b6160a475d "netpoll: re-enable irq in poll_napi()" and reverting it on top of current Linus' tree restores proper behaviour (disabling netconsole does this

netpoll: re-enable irq in poll_napi() breaks boot with netconsole

2012-08-29 Thread Marcin Slusarz
Hi Kernel 3.6-rc3 does not boot for me with netconsole enabled, while 3.6-rc2 did. I bisected it to commit 6bdb7fe31046ac50b47e83c35cd6c6b6160a475d netpoll: re-enable irq in poll_napi() and reverting it on top of current Linus' tree restores proper behaviour (disabling netconsole does this too).

Re: netpoll: re-enable irq in poll_napi() breaks boot with netconsole

2012-08-29 Thread Marcin Slusarz
On Wed, Aug 29, 2012 at 02:59:47PM -0400, David Miller wrote: From: Marcin Slusarz marcin.slus...@gmail.com Date: Wed, 29 Aug 2012 20:53:29 +0200 Kernel 3.6-rc3 does not boot for me with netconsole enabled, while 3.6-rc2 did. I bisected it to commit

Re: drm/nouveau: crash regression in 3.5

2012-08-02 Thread Marcin Slusarz
On Thu, Aug 02, 2012 at 01:26:55PM +0200, Ortwin Glück wrote: > I have managed to turn the crash into a WARN_ON, by adding this to the > begin of nouveau_software_vblank(): > > if (!psw) { > WARN_ON(1); > return; > } Yes, I know about it, but

Re: drm/nouveau: crash regression in 3.5

2012-08-02 Thread Marcin Slusarz
On Thu, Aug 02, 2012 at 01:26:55PM +0200, Ortwin Glück wrote: I have managed to turn the crash into a WARN_ON, by adding this to the begin of nouveau_software_vblank(): if (!psw) { WARN_ON(1); return; } Yes, I know about it, but this

Re: drm/nouveau: crash regression in 3.5

2012-07-30 Thread Marcin Slusarz
On Mon, Jul 30, 2012 at 01:16:37PM +0200, Ortwin Glück wrote: > On 29.07.2012 22:15, Marcin Slusarz wrote: > > No, the real problem is: with "noaccel" we don't register "software engine", > > but vblank ISR relies on its existance and happily derefences NULL poin

Re: drm/nouveau: crash regression in 3.5

2012-07-30 Thread Marcin Slusarz
On Mon, Jul 30, 2012 at 01:16:37PM +0200, Ortwin Glück wrote: On 29.07.2012 22:15, Marcin Slusarz wrote: No, the real problem is: with noaccel we don't register software engine, but vblank ISR relies on its existance and happily derefences NULL pointer. Now, this patch should fix

Re: drm/nouveau: crash regression in 3.5

2012-07-29 Thread Marcin Slusarz
On Thu, Jul 26, 2012 at 02:56:22PM +0200, Ortwin Glück wrote: > On 25.07.2012 20:42, Marcin Slusarz wrote: > > Good, below patch should fix this panic. > > > > Note that you can hit an oops in drm_handle_vblank because patch from > > http://lists.freedesktop.org/archive

Re: drm/nouveau: crash regression in 3.5

2012-07-29 Thread Marcin Slusarz
On Thu, Jul 26, 2012 at 02:56:22PM +0200, Ortwin Glück wrote: On 25.07.2012 20:42, Marcin Slusarz wrote: Good, below patch should fix this panic. Note that you can hit an oops in drm_handle_vblank because patch from http://lists.freedesktop.org/archives/dri-devel/2012-May/023498.html

Re: drm/nouveau: crash regression in 3.5

2012-07-26 Thread Marcin Slusarz
On Thu, Jul 26, 2012 at 02:56:22PM +0200, Ortwin Glück wrote: > On 25.07.2012 20:42, Marcin Slusarz wrote: > > Good, below patch should fix this panic. > > > > Note that you can hit an oops in drm_handle_vblank because patch from > > http://lists.freedesktop.org/archive

Re: drm/nouveau: crash regression in 3.5

2012-07-26 Thread Marcin Slusarz
On Thu, Jul 26, 2012 at 02:56:22PM +0200, Ortwin Glück wrote: On 25.07.2012 20:42, Marcin Slusarz wrote: Good, below patch should fix this panic. Note that you can hit an oops in drm_handle_vblank because patch from http://lists.freedesktop.org/archives/dri-devel/2012-May/023498.html

Re: drm/nouveau: crash regression in 3.5

2012-07-25 Thread Marcin Slusarz
nic. Note that you can hit an oops in drm_handle_vblank because patch from http://lists.freedesktop.org/archives/dri-devel/2012-May/023498.html has not been applied (yet?). -- From: Marcin Slusarz Date: Wed, 25 Jul 2012 20:07:22 +0200 Subject: [PATCH] drm/nouveau: init vblank requests list Fixes kern

Re: drm/nouveau: crash regression in 3.5

2012-07-25 Thread Marcin Slusarz
.html has not been applied (yet?). -- From: Marcin Slusarz marcin.slus...@gmail.com Date: Wed, 25 Jul 2012 20:07:22 +0200 Subject: [PATCH] drm/nouveau: init vblank requests list Fixes kernel panic when vblank interrupt triggers before first sync to vblank request. (Besides init, remove some relevant

Re: drm/nouveau: crash regression in 3.5

2012-07-24 Thread Marcin Slusarz
On Tue, Jul 24, 2012 at 07:22:52PM +0200, Ortwin Glück wrote: > On 24.07.2012 19:00, Marcin Slusarz wrote: > > Please post the crash log. > > Sorry, I was not precise: it boots until drm performs modesetting (so it > seems). The screen goes black and the machine is dead. So the

Re: drm/nouveau: crash regression in 3.5

2012-07-24 Thread Marcin Slusarz
On Mon, Jul 23, 2012 at 08:01:14PM +0200, Ortwin Glück wrote: > Hi, > > My HP Elitebook 8540w now crashes on boot with 3.5. All works fine with > 3.4. Bisected to the following commit: > > 20abd1634a6e2eedb84ca977adea56b8aa06cc3e is the first bad commit > commit

Re: drm/nouveau: crash regression in 3.5

2012-07-24 Thread Marcin Slusarz
On Mon, Jul 23, 2012 at 08:01:14PM +0200, Ortwin Glück wrote: Hi, My HP Elitebook 8540w now crashes on boot with 3.5. All works fine with 3.4. Bisected to the following commit: 20abd1634a6e2eedb84ca977adea56b8aa06cc3e is the first bad commit commit

Re: drm/nouveau: crash regression in 3.5

2012-07-24 Thread Marcin Slusarz
On Tue, Jul 24, 2012 at 07:22:52PM +0200, Ortwin Glück wrote: On 24.07.2012 19:00, Marcin Slusarz wrote: Please post the crash log. Sorry, I was not precise: it boots until drm performs modesetting (so it seems). The screen goes black and the machine is dead. So there is nothing I could

[PATCH] video: limit stack usage of ir-kbd-i2c.c

2008-02-25 Thread Marcin Slusarz
ir_probe allocated struct i2c_client on stack; it's pretty big structure, so allocate it with kzalloc make checkstack output without this patch: x059d ir_probe [ir-kbd-i2c]: 1000 compile tested only Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> Cc: Mauro Ca

[PATCH] video: limit stack usage of ir-kbd-i2c.c

2008-02-25 Thread Marcin Slusarz
ir_probe allocated struct i2c_client on stack; it's pretty big structure, so allocate it with kzalloc make checkstack output without this patch: x059d ir_probe [ir-kbd-i2c]: 1000 compile tested only Signed-off-by: Marcin Slusarz [EMAIL PROTECTED] Cc: Mauro Carvalho

Re: [PATCH] ufs: [bl]e*_add_cpu conversion

2008-02-19 Thread Marcin Slusarz
On Tue, Feb 19, 2008 at 12:22:19AM +0100, Roel Kluin wrote: > Andrew Morton wrote: > > On Wed, 13 Feb 2008 10:41:44 +0100 Roel Kluin <[EMAIL PROTECTED]> wrote: > > > >> you may also want these: > >> --- > >> [bl]e_add_cpu conversion in return > > > upsets powerpc (at least): > > > >

Re: [PATCH] ufs: [bl]e*_add_cpu conversion

2008-02-19 Thread Marcin Slusarz
On Tue, Feb 19, 2008 at 12:22:19AM +0100, Roel Kluin wrote: Andrew Morton wrote: On Wed, 13 Feb 2008 10:41:44 +0100 Roel Kluin [EMAIL PROTECTED] wrote: you may also want these: --- [bl]e_add_cpu conversion in return upsets powerpc (at least): fs/ufs/swab.h: In function

Re: [PATCH 4/7] fs/udf/truncate.c: Use BUG_ON

2008-02-17 Thread Marcin Slusarz
On Sun, Feb 17, 2008 at 06:56:18PM +0100, Julia Lawall wrote: > From: Julia Lawall <[EMAIL PROTECTED]> > > if (...) BUG(); should be replaced with BUG_ON(...) when the test has no > side-effects to allow a definition of BUG_ON that drops the code completely. The same change is in my patch which

Re: 2.6.25-rc2-mm1: build failure (x86)

2008-02-17 Thread Marcin Slusarz
On Sun, Feb 17, 2008 at 02:37:09AM +0100, Rafael J. Wysocki wrote: > On Saturday, 16 of February 2008, Marcin Slusarz wrote: > > On Sat, Feb 16, 2008 at 03:09:49AM -0800, Andrew Morton wrote: > > > On Sat, 16 Feb 2008 11:59:07 +0100 Marcin Slusarz <[EMAIL PRO

Re: 2.6.25-rc2-mm1: build failure (x86)

2008-02-17 Thread Marcin Slusarz
On Sun, Feb 17, 2008 at 01:22:11AM +0100, Rafael J. Wysocki wrote: > On Saturday, 16 of February 2008, Marcin Slusarz wrote: > > On Sat, Feb 16, 2008 at 03:09:49AM -0800, Andrew Morton wrote: > > > On Sat, 16 Feb 2008 11:59:07 +0100 Marcin Slusarz <[EMAIL PRO

Re: 2.6.25-rc2-mm1: build failure (x86)

2008-02-17 Thread Marcin Slusarz
On Sun, Feb 17, 2008 at 01:22:11AM +0100, Rafael J. Wysocki wrote: On Saturday, 16 of February 2008, Marcin Slusarz wrote: On Sat, Feb 16, 2008 at 03:09:49AM -0800, Andrew Morton wrote: On Sat, 16 Feb 2008 11:59:07 +0100 Marcin Slusarz [EMAIL PROTECTED] wrote: arch/x86/kernel

Re: 2.6.25-rc2-mm1: build failure (x86)

2008-02-17 Thread Marcin Slusarz
On Sun, Feb 17, 2008 at 02:37:09AM +0100, Rafael J. Wysocki wrote: On Saturday, 16 of February 2008, Marcin Slusarz wrote: On Sat, Feb 16, 2008 at 03:09:49AM -0800, Andrew Morton wrote: On Sat, 16 Feb 2008 11:59:07 +0100 Marcin Slusarz [EMAIL PROTECTED] wrote: arch/x86/kernel

Re: [PATCH 4/7] fs/udf/truncate.c: Use BUG_ON

2008-02-17 Thread Marcin Slusarz
On Sun, Feb 17, 2008 at 06:56:18PM +0100, Julia Lawall wrote: From: Julia Lawall [EMAIL PROTECTED] if (...) BUG(); should be replaced with BUG_ON(...) when the test has no side-effects to allow a definition of BUG_ON that drops the code completely. The same change is in my patch which is

Re: 2.6.25-rc2-mm1: build failure (x86)

2008-02-16 Thread Marcin Slusarz
On Sat, Feb 16, 2008 at 03:09:49AM -0800, Andrew Morton wrote: > On Sat, 16 Feb 2008 11:59:07 +0100 Marcin Slusarz <[EMAIL PROTECTED]> wrote: > > > arch/x86/kernel/built-in.o: In function `amd_smp_thermal_interrupt': > > (.text+0xe03b): undefined reference to `mce_log_the

Re: 2.6.25-rc2-mm1: build failure (x86)

2008-02-16 Thread Marcin Slusarz
arch/x86/kernel/built-in.o: In function `amd_smp_thermal_interrupt': (.text+0xe03b): undefined reference to `mce_log_therm_throt_event' arch/x86/kernel/built-in.o: In function `acpi_save_state_mem': (.text+0x12239): undefined reference to `setup_trampoline' # # Automatically generated make

Re: 2.6.25-rc2-mm1: build failure (x86)

2008-02-16 Thread Marcin Slusarz
arch/x86/kernel/built-in.o: In function `amd_smp_thermal_interrupt': (.text+0xe03b): undefined reference to `mce_log_therm_throt_event' arch/x86/kernel/built-in.o: In function `acpi_save_state_mem': (.text+0x12239): undefined reference to `setup_trampoline' # # Automatically generated make

Re: 2.6.25-rc2-mm1: build failure (x86)

2008-02-16 Thread Marcin Slusarz
On Sat, Feb 16, 2008 at 03:09:49AM -0800, Andrew Morton wrote: On Sat, 16 Feb 2008 11:59:07 +0100 Marcin Slusarz [EMAIL PROTECTED] wrote: arch/x86/kernel/built-in.o: In function `amd_smp_thermal_interrupt': (.text+0xe03b): undefined reference to `mce_log_therm_throt_event' arch/x86/kernel

Re: [PATCH] crypto: be*_add_cpu conversion

2008-02-13 Thread Marcin Slusarz
On Wed, Feb 13, 2008 at 09:25:47AM +0100, Roel Kluin wrote: > [EMAIL PROTECTED] wrote: > > From: Marcin Slusarz <[EMAIL PROTECTED]> > > > > replace all: > > big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + > >

Re: [PATCH] ufs: [bl]e*_add_cpu conversion

2008-02-13 Thread Marcin Slusarz
der); > > with: > > [bl]eX_add_cpu(/little_endian_variable, > > expression_in_cpu_byteorder); > > you may also want these: > --- > [bl]e_add_cpu conversion in return > > Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> Acked-by: Marcin Slusarz <[EMAIL

Re: [PATCH] crypto: be*_add_cpu conversion

2008-02-13 Thread Marcin Slusarz
On Wed, Feb 13, 2008 at 09:25:47AM +0100, Roel Kluin wrote: [EMAIL PROTECTED] wrote: From: Marcin Slusarz [EMAIL PROTECTED] replace all: big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + expression_in_cpu_byteorder

[PATCH] ufs: [bl]e*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: big/little_endian_variable = cpu_to_[bl]eX([bl]eX_to_cpu(big/little_endian_variable) + expression_in_cpu_byteorder); with: [bl]eX_add_cpu(/little_endian_variable, expression_in_cpu_byt

[PATCH] sysv: [bl]e*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: big/little_endian_variable = cpu_to_[bl]eX([bl]eX_to_cpu(big/little_endian_variable) + expression_in_cpu_byteorder); with: [bl]eX_add_cpu(/little_endian_variable, expression_in_cpu_byt

[PATCH] reiserfs: le*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(_endian_variable, expression_in_cpu_byteorder); generated with se

[PATCH] quota: le*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(_endian_variable, expression_in_cpu_byteorder); generated with se

[PATCH] ocfs2: le*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(_endian_variable, expression_in_cpu_byteorder); generated with se

[PATCH] ntfs: le*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(_endian_variable, expression_in_cpu_byteorder); generated with se

[PATCH] jfs: le*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(_endian_variable, expression_in_cpu_byteorder); generated with se

[PATCH] ext4: le*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(_endian_variable, expression_in_cpu_byteorder); generated with se

[PATCH] ext2: le*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(_endian_variable, expression_in_cpu_byteorder); generated with se

[PATCH] scsi: le*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(_endian_variable, expression_in_cpu_byteorder); generated with se

[PATCH] ipw2200: le*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) + expression_in_cpu_byteorder); with: leX_add_cpu(_endian_variable, expression_in_cpu_byteorder); generated with se

[PATCH] hfs/hfsplus: be*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + expression_in_cpu_byteorder); with: beX_add_cpu(_endian_variable, expression_in_cpu_byteorder); generated with semantic

[PATCH] gfs2: be*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + expression_in_cpu_byteorder); with: beX_add_cpu(_endian_variable, expression_in_cpu_byteorder); generated with semantic

[PATCH] affs: be*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + expression_in_cpu_byteorder); with: beX_add_cpu(_endian_variable, expression_in_cpu_byteorder); generated with semantic

[PATCH] infiniband: be*_add_cpu conversion

2008-02-12 Thread marcin . slusarz
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + expression_in_cpu_byteorder); with: beX_add_cpu(_endian_variable, expression_in_cpu_byteorder); generated with semantic

  1   2   3   4   5   >