public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Bob Zhang" <bob_zhang2004@tom.com>
To: Tony Luck <tony.luck@intel.com>
Cc: "len.brown" <len.brown@intel.com>,
	linux-ia64 <linux-ia64@vger.kernel.org>,
	linux-acpi <linux-acpi@vger.kernel.org>
Subject: Re: [bug report ] hp's rx2860 (kernel is 2.6.27.19-5 in sles11 ia64) power off failrue when "shutdown -h 0" .
Date: Tue, 29 Jun 2010 22:30:03 +0800	[thread overview]
Message-ID: <op.ve2fwdvf8m5662@bob-pc> (raw)
In-Reply-To: <AANLkTinT8YMKGw3obdbIMINkUGNUgfUQEOEzgHMOPOtt@mail.gmail.com>

I finally found "S5" definition , details can got from my following reply.
Next step, I will send this information to firmware engineer to verify
SSDT17.dsl is right for our sentosa. Because same values into registers  
every
time, but got different hardware behaviors.
So we must doubt hardware and firmware design.
Now, from software point of view : acpi_enter_sleep_state() is the last
function to run when shutdown machine , which write value into acpi  
registers
to tell hardware to enter S5 (SLP_TYPx and SLP_EN)  .Once written to these  
two
registers, software task has been over. The left things are hardware is to
work. So I think Linux kernel is good, this issue is from related with
kernel,at acpi driver's logic is right. I have printed values which will be
written to acpi registers , those values are the same every time, but  
hardware
has different behaviors , so we need firmware engineer to help me check .

Maybe I need to ask firmware designer what is the meaning of this  
definition:
Where is {0x7,0x7} from ?? which datasheet ? which document ?
In "SSDT17.dsl" .
DefinitionBlock ("SSDT17.aml", "SSDT", 2, "HP    ", "RX2800-2", 0x00000007)
{
     Scope (\)
     {
         Name (\_S5, Package (0x03)
         {
             0x07,
             0x07,
             Zero
         })
     }
This is equal of that return from acpi_get_sleep_type_data(5,&type_a,  
&type_b)


  parent reply	other threads:[~2010-06-29 14:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-24 15:33 [bug report ] hp's rx2860 (kernel is 2.6.27.19-5 in sles11 ia64) power off failrue when "shutdown -h 0" bob_zhang2004
2010-06-24 17:11 ` Luck, Tony
2010-06-24 22:08 ` Tony Luck
2010-06-25  2:39   ` Re: [bug report ] hp's rx2860 (kernel is 2.6.27.19-5 in sles11 ia64)power " bob_zhang2004
2010-06-25 14:11   ` bob_zhang2004
2010-06-29 14:30   ` Bob Zhang [this message]
2010-06-25  6:43 ` bob_zhang2004

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=op.ve2fwdvf8m5662@bob-pc \
    --to=bob_zhang2004@tom.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-ia64@vger.kernel.org \
    --cc=tony.luck@intel.com \
    /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