Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-23 Thread Rafael J. Wysocki
On Sunday, June 23, 2013 11:57:46 PM Jiang Liu wrote: > On 06/23/2013 03:59 AM, Rafael J. Wysocki wrote: > > On Saturday, June 22, 2013 10:47:24 AM Jiang Liu wrote: > >> On 06/22/2013 08:13 AM, Rafael J. Wysocki wrote: > >>> On Saturday, June 22, 2013 12:54:21 AM Jiang Liu wrote: > On

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-23 Thread Rafael J. Wysocki
On Sunday, June 23, 2013 11:57:46 PM Jiang Liu wrote: > On 06/23/2013 03:59 AM, Rafael J. Wysocki wrote: > > On Saturday, June 22, 2013 10:47:24 AM Jiang Liu wrote: > >> On 06/22/2013 08:13 AM, Rafael J. Wysocki wrote: > >>> On Saturday, June 22, 2013 12:54:21 AM Jiang Liu wrote: > On

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-23 Thread Jiang Liu
On 06/23/2013 03:59 AM, Rafael J. Wysocki wrote: > On Saturday, June 22, 2013 10:47:24 AM Jiang Liu wrote: >> On 06/22/2013 08:13 AM, Rafael J. Wysocki wrote: >>> On Saturday, June 22, 2013 12:54:21 AM Jiang Liu wrote: On 06/21/2013 03:06 AM, Rafael J. Wysocki wrote: > On Wednesday, June

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-23 Thread Jiang Liu
On 06/23/2013 03:59 AM, Rafael J. Wysocki wrote: On Saturday, June 22, 2013 10:47:24 AM Jiang Liu wrote: On 06/22/2013 08:13 AM, Rafael J. Wysocki wrote: On Saturday, June 22, 2013 12:54:21 AM Jiang Liu wrote: On 06/21/2013 03:06 AM, Rafael J. Wysocki wrote: On Wednesday, June 19, 2013

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-23 Thread Rafael J. Wysocki
On Sunday, June 23, 2013 11:57:46 PM Jiang Liu wrote: On 06/23/2013 03:59 AM, Rafael J. Wysocki wrote: On Saturday, June 22, 2013 10:47:24 AM Jiang Liu wrote: On 06/22/2013 08:13 AM, Rafael J. Wysocki wrote: On Saturday, June 22, 2013 12:54:21 AM Jiang Liu wrote: On 06/21/2013 03:06 AM,

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-23 Thread Rafael J. Wysocki
On Sunday, June 23, 2013 11:57:46 PM Jiang Liu wrote: On 06/23/2013 03:59 AM, Rafael J. Wysocki wrote: On Saturday, June 22, 2013 10:47:24 AM Jiang Liu wrote: On 06/22/2013 08:13 AM, Rafael J. Wysocki wrote: On Saturday, June 22, 2013 12:54:21 AM Jiang Liu wrote: On 06/21/2013 03:06 AM,

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-22 Thread Rafael J. Wysocki
On Saturday, June 22, 2013 10:47:24 AM Jiang Liu wrote: > On 06/22/2013 08:13 AM, Rafael J. Wysocki wrote: > > On Saturday, June 22, 2013 12:54:21 AM Jiang Liu wrote: > >> On 06/21/2013 03:06 AM, Rafael J. Wysocki wrote: > >>> On Wednesday, June 19, 2013 11:18:41 AM Alexander E. Patrakov wrote: >

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-22 Thread Rafael J. Wysocki
On Saturday, June 22, 2013 10:47:24 AM Jiang Liu wrote: On 06/22/2013 08:13 AM, Rafael J. Wysocki wrote: On Saturday, June 22, 2013 12:54:21 AM Jiang Liu wrote: On 06/21/2013 03:06 AM, Rafael J. Wysocki wrote: On Wednesday, June 19, 2013 11:18:41 AM Alexander E. Patrakov wrote: 2013/6/19

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-21 Thread Jiang Liu
On 06/22/2013 08:13 AM, Rafael J. Wysocki wrote: > On Saturday, June 22, 2013 12:54:21 AM Jiang Liu wrote: >> On 06/21/2013 03:06 AM, Rafael J. Wysocki wrote: >>> On Wednesday, June 19, 2013 11:18:41 AM Alexander E. Patrakov wrote: 2013/6/19 Rafael J. Wysocki : > OK, let's try to untangle

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-21 Thread Rafael J. Wysocki
On Saturday, June 22, 2013 12:54:21 AM Jiang Liu wrote: > On 06/21/2013 03:06 AM, Rafael J. Wysocki wrote: > > On Wednesday, June 19, 2013 11:18:41 AM Alexander E. Patrakov wrote: > >> 2013/6/19 Rafael J. Wysocki : > >>> OK, let's try to untangle this a bit. > >>> > >>> If you applyt patches [1/4]

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-21 Thread Jiang Liu
On 06/21/2013 03:06 AM, Rafael J. Wysocki wrote: > On Wednesday, June 19, 2013 11:18:41 AM Alexander E. Patrakov wrote: >> 2013/6/19 Rafael J. Wysocki : >>> OK, let's try to untangle this a bit. >>> >>> If you applyt patches [1/4] and [4/4] from the $subject series only, what >>> does remain

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-21 Thread Alexander E. Patrakov
2013/6/21 Rafael J. Wysocki : > The thing below looks like a radeon problem? > > [ 52.268389] [ cut here ] > [ 52.268395] WARNING: at drivers/gpu/drm/ttm/ttm_page_alloc_dma.c:533 > ttm_dma_free_pool+0x101/0x110 [ttm]() Yes. Let's ignore it for now, as it is a separate

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-21 Thread Rafael J. Wysocki
On Friday, June 21, 2013 10:37:47 AM Alexander E. Patrakov wrote: > 2013/6/21 Alexander E. Patrakov : > > The initial dock went OK. The subsequent undock resulted in the blue > > led on the dock cable turning off quickly, but in PCI devices slowly, > > one-by-one, disappearing from the bus. Also,

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-21 Thread Rafael J. Wysocki
On Friday, June 21, 2013 10:36:05 AM Alexander E. Patrakov wrote: > 2013/6/21 Rafael J. Wysocki : > > On Wednesday, June 19, 2013 11:18:41 AM Alexander E. Patrakov wrote: > >> 2013/6/19 Rafael J. Wysocki : > >> > OK, let's try to untangle this a bit. > >> > > >> > If you applyt patches [1/4] and

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-21 Thread Rafael J. Wysocki
On Friday, June 21, 2013 10:36:05 AM Alexander E. Patrakov wrote: 2013/6/21 Rafael J. Wysocki r...@sisk.pl: On Wednesday, June 19, 2013 11:18:41 AM Alexander E. Patrakov wrote: 2013/6/19 Rafael J. Wysocki r...@sisk.pl: OK, let's try to untangle this a bit. If you applyt patches [1/4]

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-21 Thread Rafael J. Wysocki
On Friday, June 21, 2013 10:37:47 AM Alexander E. Patrakov wrote: 2013/6/21 Alexander E. Patrakov patra...@gmail.com: The initial dock went OK. The subsequent undock resulted in the blue led on the dock cable turning off quickly, but in PCI devices slowly, one-by-one, disappearing from the

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-21 Thread Alexander E. Patrakov
2013/6/21 Rafael J. Wysocki r...@sisk.pl: The thing below looks like a radeon problem? [ 52.268389] [ cut here ] [ 52.268395] WARNING: at drivers/gpu/drm/ttm/ttm_page_alloc_dma.c:533 ttm_dma_free_pool+0x101/0x110 [ttm]() Yes. Let's ignore it for now, as it is a

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-21 Thread Jiang Liu
On 06/21/2013 03:06 AM, Rafael J. Wysocki wrote: On Wednesday, June 19, 2013 11:18:41 AM Alexander E. Patrakov wrote: 2013/6/19 Rafael J. Wysocki r...@sisk.pl: OK, let's try to untangle this a bit. If you applyt patches [1/4] and [4/4] from the $subject series only, what does remain unfixed?

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-21 Thread Rafael J. Wysocki
On Saturday, June 22, 2013 12:54:21 AM Jiang Liu wrote: On 06/21/2013 03:06 AM, Rafael J. Wysocki wrote: On Wednesday, June 19, 2013 11:18:41 AM Alexander E. Patrakov wrote: 2013/6/19 Rafael J. Wysocki r...@sisk.pl: OK, let's try to untangle this a bit. If you applyt patches [1/4] and

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-21 Thread Jiang Liu
On 06/22/2013 08:13 AM, Rafael J. Wysocki wrote: On Saturday, June 22, 2013 12:54:21 AM Jiang Liu wrote: On 06/21/2013 03:06 AM, Rafael J. Wysocki wrote: On Wednesday, June 19, 2013 11:18:41 AM Alexander E. Patrakov wrote: 2013/6/19 Rafael J. Wysocki r...@sisk.pl: OK, let's try to untangle

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-20 Thread Rafael J. Wysocki
On Wednesday, June 19, 2013 11:18:41 AM Alexander E. Patrakov wrote: > 2013/6/19 Rafael J. Wysocki : > > OK, let's try to untangle this a bit. > > > > If you applyt patches [1/4] and [4/4] from the $subject series only, what > > does remain unfixed? > > [not tested, can do so in 12 hours if

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-20 Thread Rafael J. Wysocki
On Wednesday, June 19, 2013 11:18:41 AM Alexander E. Patrakov wrote: 2013/6/19 Rafael J. Wysocki r...@sisk.pl: OK, let's try to untangle this a bit. If you applyt patches [1/4] and [4/4] from the $subject series only, what does remain unfixed? [not tested, can do so in 12 hours if

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-18 Thread Alexander E. Patrakov
2013/6/19 Rafael J. Wysocki : > OK, let's try to untangle this a bit. > > If you applyt patches [1/4] and [4/4] from the $subject series only, what > does remain unfixed? [not tested, can do so in 12 hours if needed] I think there will be problems on undocking and/or on the second docking, as

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-18 Thread Rafael J. Wysocki
On Saturday, June 15, 2013 01:25:48 PM Alexander E. Patrakov wrote: > 2013/6/15 Alexander E. Patrakov : > > Note that the snd_hda_intel bug somehow didn't manifest itself today, > > probably because the TV that is connected to the HDMI output of the > > radeon card was off and because Xorg never

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-18 Thread Jiang Liu
On 06/18/2013 01:07 AM, Alexander E. Patrakov wrote: > 2013/6/17 Alexander E. Patrakov : >> I am not 100% sure that the static key backtrace is the same in all >> cases. However, I do remember that it does appear both in the >> non-hotplug and hotplug cases. >> >> I will retest this after work,

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-18 Thread Jiang Liu
On 06/18/2013 01:07 AM, Alexander E. Patrakov wrote: 2013/6/17 Alexander E. Patrakov patra...@gmail.com: I am not 100% sure that the static key backtrace is the same in all cases. However, I do remember that it does appear both in the non-hotplug and hotplug cases. I will retest this after

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-18 Thread Rafael J. Wysocki
On Saturday, June 15, 2013 01:25:48 PM Alexander E. Patrakov wrote: 2013/6/15 Alexander E. Patrakov patra...@gmail.com: Note that the snd_hda_intel bug somehow didn't manifest itself today, probably because the TV that is connected to the HDMI output of the radeon card was off and because

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-18 Thread Alexander E. Patrakov
2013/6/19 Rafael J. Wysocki r...@sisk.pl: OK, let's try to untangle this a bit. If you applyt patches [1/4] and [4/4] from the $subject series only, what does remain unfixed? [not tested, can do so in 12 hours if needed] I think there will be problems on undocking and/or on the second

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-17 Thread Alexander E. Patrakov
2013/6/17 Alexander E. Patrakov : > I am not 100% sure that the static key backtrace is the same in all > cases. However, I do remember that it does appear both in the > non-hotplug and hotplug cases. > > I will retest this after work, i.e. in ~12 hours. Tried again, failed to reproduce this

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-17 Thread Alexander E. Patrakov
2013/6/17 Alexander E. Patrakov patra...@gmail.com: I am not 100% sure that the static key backtrace is the same in all cases. However, I do remember that it does appear both in the non-hotplug and hotplug cases. I will retest this after work, i.e. in ~12 hours. Tried again, failed to

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-16 Thread Alexander E. Patrakov
2013/6/16 Jiang Liu : > On 06/15/2013 02:42 PM, Alexander E. Patrakov wrote: >> Both cases work, and exhibit similar backtraces in dmesg. So I am >> attaching a dmesg only from the first testcase. Please look for "INFO: >> trying to register non-static key" and for "*ERROR* Memory manager not >>

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-16 Thread Jiang Liu
On 06/15/2013 02:42 PM, Alexander E. Patrakov wrote: > 2013/6/15 Jiang Liu : >> Alexander E. Patrakov reports two bugs related to >> dock station support on Sony VAIO VPCZ23A4R. Actually there are at least >> four bugs related to Sony VAIO VPCZ23A4R dock support. >> 1) can't correctly detect

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-16 Thread Jiang Liu
On 06/15/2013 02:42 PM, Alexander E. Patrakov wrote: 2013/6/15 Jiang Liu jiang@huawei.com: Alexander E. Patrakov patra...@gmail.com reports two bugs related to dock station support on Sony VAIO VPCZ23A4R. Actually there are at least four bugs related to Sony VAIO VPCZ23A4R dock support.

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-16 Thread Alexander E. Patrakov
2013/6/16 Jiang Liu liu...@gmail.com: On 06/15/2013 02:42 PM, Alexander E. Patrakov wrote: Both cases work, and exhibit similar backtraces in dmesg. So I am attaching a dmesg only from the first testcase. Please look for INFO: trying to register non-static key and for *ERROR* Memory manager

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-15 Thread Alexander E. Patrakov
2013/6/15 Alexander E. Patrakov : > Note that the snd_hda_intel bug somehow didn't manifest itself today, > probably because the TV that is connected to the HDMI output of the > radeon card was off and because Xorg never really tried to use the > card. Well, it did. The sympthoms are the same as

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-15 Thread Alexander E. Patrakov
2013/6/15 Alexander E. Patrakov patra...@gmail.com: Note that the snd_hda_intel bug somehow didn't manifest itself today, probably because the TV that is connected to the HDMI output of the radeon card was off and because Xorg never really tried to use the card. Well, it did. The sympthoms