From: "Eric Benton" <benton71@gmail.com>
To: Alexey Starikovskiy <alexey.y.starikovskiy@linux.intel.com>
Cc: Len Brown <lenb@kernel.org>, linux-acpi@vger.kernel.org
Subject: Re: How ACPI is actually implemented?
Date: Mon, 27 Nov 2006 16:46:42 +0200 [thread overview]
Message-ID: <29545330611270646u7e3ccb23pc6bf4e8cda47b009@mail.gmail.com> (raw)
In-Reply-To: <456AC971.9020205@linux.intel.com>
Hi Alex,
Thank you! It finally begins to settle down for me.
On 11/27/06, Alexey Starikovskiy <alexey.y.starikovskiy@linux.intel.com> wrote:
> Eric Benton wrote:
> > I saw that events is generated by register blocks (control/status),
> > which can be accessed through the FADT. What exactly are those
> > register blocks? memory mapped I/O? or PIO? Does the FADT is being
> > burnt into the BIOS as well?
> Usually they are a I/O ports.
So how is it reflected in the PCI configuration? (0xCF8, 0xCFC)
Does the PCI enums the EC as a seperate device or what?
> > 1 .Ok, so the OS/BIOS can turn on the enable bit and if the status bit
> > is set by the device, a SCI is generated. Two of those GPE registers
> > block are fixed in the FADT (The GPE0_BLK or the GPE1_BLK), can it be
> > extended?
> Yes.
> > who would want to add a GPE register block?
> If you want all your events to have different number (think of pain of
> shared interrupts), then it is wise to
> have 1 line for each GPE event.
What is the standard on the x86 / ia64 platforms?
And does the GPE register can hold more than one GPEs?
> So, to answer your question, it is BIOS who says how many register
> blocks we will have in a system.
Does it being read form the PCI configuration space?
> >> The DSDT is static -- it is never updated. However, it can be
> >> augmented by loading
> >> an SSDT, or the AML can use the Load() operator to add additional code
> >> at run-time.
> >>
> >
> > How does that happens exactly?
> >
> For example, OS calls reseved _PDC method describing its capabalities in
> the processor power management.
> Logic inside this method could choose to call a Load() operation with
> the additional methods/data in order to better match
> with OS capabilities. Interpreter loads table found in the supplied
> location and maps its objects into global namespace.
Can you please explain how exactly the SSDT extension is getting
loaded when I connect a new ACPI enabled PCI device to the system?
> >> IO ports can be read and written by the BIOS, by the BIOS AML
> >> which is run on the BIOS' behalf by the OS AML interpreter,
> >> or by the OS.
> >
> > In practice, who reads and writes to the I/O ports, and for what
> > purposes?
> >
> There is a driver for Embedded Controller (EC), which communicates with it.
> Two 1-byte wide I/O ports to access it, is the only requirement for I/O
> space from ACPI.
> Most other ACPI drivers will access its devices through the writes/reads
> of appropriate EC registers (there are 256 of them).
What's that means? Does the EC is part of a PCI device or part of the
platform (shared)? What exactly are those EC registers? Device MSRs?
How an ACPI driver access them?
Sorry for my ignorance, I haven't dealt with hardware too much :-)
Thanks for your replays,
you really helped me.
Eric.
next prev parent reply other threads:[~2006-11-27 14:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-26 17:35 How ACPI is actually implemented? Eric Benton
2006-11-27 5:55 ` Len Brown
2006-11-27 10:27 ` Eric Benton
2006-11-27 11:07 ` Takanori Watanabe
2006-11-27 13:21 ` Eric Benton
2006-11-27 11:18 ` Alexey Starikovskiy
2006-11-27 14:46 ` Eric Benton [this message]
2006-11-27 15:08 ` Alexey Starikovskiy
-- strict thread matches above, loose matches on Subject: below --
2006-11-28 1:07 Yuan, Kein
2006-11-28 1:19 Wu, Cody
2006-11-28 11:37 ` Eric Benton
2006-11-29 1:22 Wu, Cody
2006-11-29 7:05 ` Eric Benton
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=29545330611270646u7e3ccb23pc6bf4e8cda47b009@mail.gmail.com \
--to=benton71@gmail.com \
--cc=alexey.y.starikovskiy@linux.intel.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.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