public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mark Lord <kernel@teksavvy.com>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	Linux SCSI List <linux-scsi@vger.kernel.org>,
	Linux ACPI <linux-acpi@vger.kernel.org>,
	Network Development <netdev@vger.kernel.org>,
	Linux Wireless List <linux-wireless@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	DRI <dri-devel@lists.freedesktop.org>,
	Florian Mickler <florian@mickler.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Linux PM List <linux-pm@lists.linux-foundation.org>,
	Maciej Rutecki <maciej.rutecki@gmail.com>
Subject: Re: 2.6.37-rc2-git4: Reported regressions 2.6.35 -> 2.6.36
Date: Fri, 19 Nov 2010 17:55:42 -0500	[thread overview]
Message-ID: <4CE7006E.4040102@teksavvy.com> (raw)
In-Reply-To: <AANLkTi=8G7pNA7QTxaXDWKrWrCERPfmKU+nLJWCA=JUH@mail.gmail.com>

On 10-11-19 11:39 AM, Alex Deucher wrote:
> On Thu, Nov 18, 2010 at 7:47 PM, Mark Lord<kernel@teksavvy.com>  wrote:
>
>> My non-Intel graphics notebook (has ATI X1400 graphics) also has a resume
>> regression with 2.6.36.  But it does work fine with 2.6.35 (and earlier,
>> back many years).  As a result, I'm stuck with 2.6.35 for the time being,
>> and lack the time for a concerted debug effort on 2.6.36+ right now.
>>
>
> Can you bisect?  Does this patch help?
>
> diff --git a/drivers/gpu/drm/radeon/atom.c b/drivers/gpu/drm/radeon/atom.c
> index 8e421f6..05efb5b 100644
> --- a/drivers/gpu/drm/radeon/atom.c
> +++ b/drivers/gpu/drm/radeon/atom.c
> @@ -112,6 +112,7 @@ static uint32_t atom_iio_execute(struct
> atom_context *ctx, int base,
>                          base += 3;
>                          break;
>                  case ATOM_IIO_WRITE:
> +                       (void)ctx->card->ioreg_read(ctx->card, CU16(base + 1));
>                          ctx->card->ioreg_write(ctx->card, CU16(base + 1), temp);
>                          base += 3;
>                          break;

It now comes back at resume time.

But suffers long delays (also sometimes with 2.6.35) doing this:

[drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[drm:atom_execute_table_locked] *ERROR* atombios stuck executing E576 (len 105, 
WS 12, PS 8) @ 0xE5C4
[drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[drm:atom_execute_table_locked] *ERROR* atombios stuck executing ECD2 (len 86, 
WS 4, PS 0) @ 0xED05
[drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[drm:atom_execute_table_locked] *ERROR* atombios stuck executing E576 (len 105, 
WS 12, PS 8) @ 0xE5C4
PM: resume of devices complete after 15718.253 msecs

So I did this (local hack only, obviously NOT for mainline) to work around that 
issue:

--- linux-2.6.36/drivers/gpu/drm/radeon/atom.c  2010-10-20 16:30:22.000000000 -0400
+++ linux/drivers/gpu/drm/radeon/atom.c 2010-11-19 17:14:21.141807003 -0500
@@ -1150,6 +1151,7 @@

         if (!base)
                 return -EINVAL;
+       if (base == 0xe576 || base == 0xecd2) return 0;  /* prevent freezes on 
Dell i9400 w/X1400 */

         len = CU16(base + ATOM_CT_SIZE_PTR);
         ws = CU8(base + ATOM_CT_WS_PTR);

  reply	other threads:[~2010-11-19 22:55 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-18 23:50 2.6.37-rc2-git4: Reported regressions 2.6.35 -> 2.6.36 Rafael J. Wysocki
2010-11-18 23:51 ` [Bug #16951] hackbench regression with 2.6.36-rc1 Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #16971] qla4xxx compile failure on 32-bit PowerPC: missing readq and writeq Rafael J. Wysocki
2010-11-19  9:38   ` Meelis Roos
2010-11-19 20:05     ` Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #19142] Screen flickers when switching from the console to X Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #19052] 2.6.36-rc5-git1 -- [drm:i915_report_and_clear_eir] *ERROR* EIR stuck: 0x00000010, masking Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #19002] Radeon rv730 AGP/KMS/DRM kernel lockup Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #17061] 2.6.36-rc1 on zaurus: bluetooth regression Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #17121] Two blank rectangles more than 10 cm long when booting Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #19632] 2.6.36-rc6: modprobe Not tainted warning Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #19782] 2.6.36-rc6-git2 -- BUG dentry: Poison overwritten (after resume from hibernation) Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #19372] 2.6.36-rc6: WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:235 radeon_fence_wait+0x35a/0x3c0 Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #19392] WARNING: at drivers/net/wireless/ath/ath5k/base.c:3475 ath5k_bss_info_changed+0x44/0x168 [ath5k]() Rafael J. Wysocki
2010-11-19  3:32   ` Justin P. Mattock
2010-11-19 20:06     ` Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #20172] 2.6.36-rc7 boot stalls unless nolapic_timer - Lenovo S12 Rafael J. Wysocki
2010-11-19 15:06   ` Chris Vine
2010-11-19 20:22     ` Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #20162] [LogFS][2.6.36.rc7+] Kernel BUG at readwrite.c:1193 Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #19802] [drm:init_ring_common] *ERROR* render ring head not reset to zero Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #20232] kworker consumes ~100% CPU on HP Elitebook 8540w running 2.6.36_rc6-git4 Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #20322] 2.6.36-rc7: inconsistent lock state: inconsistent {IN-RECLAIM_FS-R} -> {RECLAIM_FS-ON-W} usage Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #20182] 2.6.36-rc7: NULL pointer dereference in ehci_clear_tt_buffer_complete Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #20332] [LogFS] [2.6.36-rc7] Kernel BUG at lib/btree.c:465! Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #20342] [LogFS] [2.6.36-rc7] Deadlock in logfs_get_wblocks, hold and wait on same lock super->s_write_mutex Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #20352] Fwd: Re: UML kernel crash of v2.6.36-rcX kernel Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #20462] 2.6.36-rc7-git2 - panic/GPF: e1000e/vlans? Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #21092] Kernel 2.6.36 Bug during quotaon on reiserfs Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #21332] Regression in single stepping over hardware breakpoint (Wine) Rafael J. Wysocki
2010-11-19 14:56   ` Frederic Weisbecker
2010-11-19 20:24     ` Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #21402] [KVM] Noacpi Windows guest can not boot up on 32bit KVM host Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #21372] NULL pointer deference at disk_replace_part_tbl+0x32 Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #21652] several problems with intel graphics since 2.6.36 Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #21662] 2.6.35->2.6.36 regression, vanilla kernel panic, ppp or hrtimers crashing Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #21932] Regression in 2.6.36 in single stepping over hardware breakpoint (Wine) Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #22092] Kernel v2.6.36 trouble on USB disconnect Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #22272] High [extra timer interrupt] count in powertop since 2.6.36 Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #22172] alsa-util.c: snd_pcm_avail_delay() returned strange values: delay 0 is less than avail 32 Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #22732] 2.6.37-rc1: hibernation breaks swap Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #22452] data corruption after mmap()ing a file and writev() some data to another file Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #22782] 2.6.36: general protection fault during lockfs lockspace removal Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #22842] iwl3945 suddenly stops working Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #23062] kvm segfaults on 2.6.36-64bit kernel with 32 bit userspace Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #23212] multifunction card reader of acer aspire one stopped working Rafael J. Wysocki
2010-11-18 23:53 ` [Bug #23132] without "pci=nocrs", Dell Inspiron 1545 hangs Rafael J. Wysocki
2010-11-19  0:36 ` 2.6.37-rc2-git4: Reported regressions 2.6.35 -> 2.6.36 Jesse Gross
2010-11-19 20:27   ` Rafael J. Wysocki
2010-11-19  0:47 ` Mark Lord
2010-11-19 16:39   ` Alex Deucher
2010-11-19 22:55     ` Mark Lord [this message]
2010-11-19 22:58       ` Alex Deucher
2010-11-19 23:16         ` Mark Lord
2010-11-19 23:17           ` Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CE7006E.4040102@teksavvy.com \
    --to=kernel@teksavvy.com \
    --cc=akpm@linux-foundation.org \
    --cc=alexdeucher@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=florian@mickler.org \
    --cc=kernel-testers@vger.kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=maciej.rutecki@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox