mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Yu, Luming" <luming.yu@intel.com>
To: "Sanjoy Mahajan" <sanjoy@mrao.cam.ac.uk>
Cc: <linux-kernel@vger.kernel.org>,
	"Linus Torvalds" <torvalds@osdl.org>,
	"Andrew Morton" <akpm@osdl.org>,
	"Tom Seeley" <redhat@tomseeley.co.uk>,
	"Dave Jones" <davej@redhat.com>,
	"Jiri Slaby" <jirislaby@gmail.com>, <michael@mihu.de>,
	<mchehab@infradead.org>, "Brian Marete" <bgmarete@gmail.com>,
	"Ryan Phillips" <rphillips@gentoo.org>, <gregkh@suse.de>,
	"Brown, Len" <len.brown@intel.com>, <linux-acpi@vger.kernel.org>,
	"Mark Lord" <lkml@rtr.ca>, "Randy Dunlap" <rdunlap@xenotime.net>,
	<jgarzik@pobox.com>, "Duncan" <1i5t5.duncan@cox.net>,
	"Pavlik Vojtech" <vojtech@suse.cz>,
	"Meelis Roos" <mroos@linux.ee>
Subject: RE: 2.6.16-rc5: known regressions [TP 600X S3, vanilla DSDT]
Date: Wed, 22 Mar 2006 12:58:36 +0800	[thread overview]
Message-ID: <3ACA40606221794F80A5670F0AF15F840B417DFC@pdsmsx403> (raw)

>> We can do bisection in EC0.UPDT to find out which statement cause
>> hang?
>
>Yes, though see below for why I don't think it'll help no 
>matter what we
>find there.

Please don't give up . :-)

I need to know which statement  in EC0.UPDT that could trigger the
problem.
That is very important to understand the problem correctly.
If we cannot find out that statement , then, I will dout the testing
results that guiding us to here.

>
>> My assumption is that since Windows works well, then these BIOS code
>> should have been tested ok. The only possible excuse for BIOS is that
>> Linux is using unnecessary/untested code path for 
>Suspend/resume.  So,
>> Eventually, we need to disable unnecessary BIOS call for
>> suspend/resume
>
>Maybe we're not collecting the right data in that case.  We know that
>commenting out the call to UPDT in THM0.TMP fixes the hang.  
>But it does
>not follow that the osl suspend code should avoid running UPDT.

This is still my assumption that some AML code needed to be avoided
in suspend/resume, I need data support. So, we need to dig more in 
EC0.UPDT.


>
>The hang may work like this: Between boot and sleep, calling 
>UPDT messes
>up something in the ec [which is why it takes >1 sleep to 
>cause a hang].
>When the system tries to sleep, that something triggers and the ec
>hangs.  But it may hang somewhere else than UPDT, and avoiding UPDT
>during sleep will not fix it.

If BIOS behaviors NOT correctly , then everything can happen.

>
>However, we do have one more piece of data.  When it hangs, it hangs in
>\_SI._SST, because I see that line on successful sleeps (as the last

I don't know this. I always assume the hang is at _PTS.SMPI

>method before the beep) but not when it hangs (and then I also don't
>hear a beep).  There are lots of calls to EC0.XXX, including to
>EC0.BEEP, within _SST, which isn't surprising if the EC is the problem.

It could be. But there should have something that trigger it.

>So perhaps I should bisect in _SST and put in the debug lines there?
>
>Here's another idea, which is a terrible hack.  But there are lots of
>lines in the DSDT like
>   If (LOr (SPS, WNTF))
>which I imagine is saying "If something or if WinNT".  So, 
>what if Linux
>pretends to be WinNT (or W98F -- which is another common 
>test), at least
>for the 600x?  Maybe those code paths are known to work.
>
Yes, you can try that.

Thanks,
Luming

             reply	other threads:[~2006-03-22  4:58 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-22  4:58 Yu, Luming [this message]
2006-03-22  5:13 ` Sanjoy Mahajan
2006-03-24  1:17 ` Sanjoy Mahajan
  -- strict thread matches above, loose matches on Subject: below --
2006-05-23 13:29 Yu, Luming
2006-05-23 17:12 ` Sanjoy Mahajan
2006-04-05  3:03 Yu, Luming
2006-03-24  1:31 Yu, Luming
2006-04-04  6:49 ` Sanjoy Mahajan
2006-03-23  9:10 Yu, Luming
2006-03-23 19:19 ` Sanjoy Mahajan
2006-03-23  4:46 Yu, Luming
2006-03-23  6:25 ` Sanjoy Mahajan
2006-03-22  7:28 Yu, Luming
2006-03-22 14:16 ` Sanjoy Mahajan
2006-03-22  1:34 Yu, Luming
2006-03-22  7:00 ` Sanjoy Mahajan
2006-03-22  1:30 Yu, Luming
2006-03-22  4:35 ` Sanjoy Mahajan
2006-03-22  7:15 ` Sanjoy Mahajan
2006-03-21  9:11 Yu, Luming
2006-03-21 20:37 ` Sanjoy Mahajan
2006-03-21 22:09 ` Sanjoy Mahajan
2006-03-21  1:38 Yu, Luming
2006-03-21  7:27 ` Sanjoy Mahajan
2006-03-21  8:47 ` Sanjoy Mahajan
2006-03-19  4:12 Yu, Luming
2006-03-19 14:33 ` Sanjoy Mahajan
2006-03-20  6:39 ` Sanjoy Mahajan
2006-03-18 17:08 Yu, Luming
2006-03-18 20:12 ` Sanjoy Mahajan
2006-03-18 16:37 Yu, Luming
2006-03-18 17:03 ` Sanjoy Mahajan
2006-03-18 15:58 Yu, Luming
2006-03-18 16:27 ` Sanjoy Mahajan
2006-03-18 15:10 Yu, Luming
2006-03-18 15:48 ` Sanjoy Mahajan
2006-03-18 13:24 Yu, Luming
2006-03-18 14:37 ` Sanjoy Mahajan
2006-03-18  2:02 Yu, Luming
2006-03-18  7:23 ` Sanjoy Mahajan
2006-03-17  7:50 Yu, Luming
2006-03-17 18:43 ` Sanjoy Mahajan
2006-03-17  6:57 Yu, Luming
2006-03-17  7:11 ` Sanjoy Mahajan
2006-03-17  7:32 ` Sanjoy Mahajan
2006-03-17  1:17 Yu, Luming
2006-03-17  6:28 ` Sanjoy Mahajan
2006-03-16  8:18 Yu, Luming
2006-03-16 15:15 ` Sanjoy Mahajan
2006-03-16  7:28 Yu, Luming
2006-03-16  7:57 ` Sanjoy Mahajan
2006-03-16  6:41 Yu, Luming
2006-03-16  6:54 ` Sanjoy Mahajan
2006-03-16  7:14 ` Sanjoy Mahajan
2006-03-15  8:02 Yu, Luming
2006-03-16  0:03 ` Sanjoy Mahajan
2006-03-16  5:47 ` Sanjoy Mahajan
2006-03-16  6:46 ` Sanjoy Mahajan
2006-03-15  6:47 Yu, Luming
2006-03-15  7:06 ` Sanjoy Mahajan
2006-03-15  6:25 Yu, Luming
2006-03-15  6:16 Yu, Luming
2006-03-15  6:35 ` Sanjoy Mahajan
2006-03-15  1:46 Yu, Luming
2006-03-15  5:40 ` Sanjoy Mahajan
2006-03-15  5:57 ` Sanjoy Mahajan
2006-03-14  1:48 Yu, Luming
2006-03-14  8:28 ` Sanjoy Mahajan
2006-03-13  8:35 Yu, Luming
2006-03-13 15:21 ` Sanjoy Mahajan
2006-03-13  4:51 Yu, Luming
2006-03-13  7:28 ` Sanjoy Mahajan
2006-03-13  2:00 Yu, Luming
2006-03-13  4:38 ` Sanjoy Mahajan
2006-03-10  6:46 Yu, Luming
2006-03-10 13:27 ` Sanjoy Mahajan
2006-03-10 13:36 ` Sanjoy Mahajan
2006-03-10  6:12 Yu, Luming
2006-03-10  6:27 ` Sanjoy Mahajan
2006-02-27  9:04 2.6.16-rc5: known regressions Yu, Luming
2006-03-10  5:26 ` 2.6.16-rc5: known regressions [TP 600X S3, vanilla DSDT] Sanjoy Mahajan
2006-05-19 13:44   ` Thomas Renninger
2006-05-21  0:12     ` Sanjoy Mahajan
2006-05-21  0:40       ` Carl-Daniel Hailfinger
2006-05-21  1:30         ` Joshua Hudson
2006-05-21  3:53           ` Lee Revell
2006-05-22  9:55       ` Pavel Machek

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=3ACA40606221794F80A5670F0AF15F840B417DFC@pdsmsx403 \
    --to=luming.yu@intel.com \
    --cc=1i5t5.duncan@cox.net \
    --cc=akpm@osdl.org \
    --cc=bgmarete@gmail.com \
    --cc=davej@redhat.com \
    --cc=gregkh@suse.de \
    --cc=jgarzik@pobox.com \
    --cc=jirislaby@gmail.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@rtr.ca \
    --cc=mchehab@infradead.org \
    --cc=michael@mihu.de \
    --cc=mroos@linux.ee \
    --cc=rdunlap@xenotime.net \
    --cc=redhat@tomseeley.co.uk \
    --cc=rphillips@gentoo.org \
    --cc=sanjoy@mrao.cam.ac.uk \
    --cc=torvalds@osdl.org \
    --cc=vojtech@suse.cz \
    /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

all inboxes | Powered by JetHome®