public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: ACPI request/release generic address
@ 2003-02-28 16:49 Grover, Andrew
  2003-02-28 20:48 ` Corey Minyard
  0 siblings, 1 reply; 6+ messages in thread
From: Grover, Andrew @ 2003-02-28 16:49 UTC (permalink / raw)
  To: Jeff Garzik, Corey Minyard; +Cc: linux-kernel

> From: Jeff Garzik [mailto:jgarzik@pobox.com] 
> Can you define a generic address?
> 
> IIRC, ACPI needs some work in this area.
> 
> If the "generic address" is host RAM, that's easy.
> If the generic address is PIO address, that's mostly easy.
> If the generic address is MMIO address, that takes a bit of care with
> mapping, and I'm not sure ACPI gets it right in these cases.

The Generic Address Structure (GAS) is basically a 64 bit address and a
type field. The type can be:

System memory
System IO
PCI Config space
Embedded Controller
SMBus
Functional fixed hardware

I don't think this will very easily handle a clean request/release API.
Corey, what is the specific table you are concerned with? At least with
the GASes ACPI uses internally, they point to resource regions already
marked as used via other means (e820 or _CRS, for example.)

Regards -- Andy

^ permalink raw reply	[flat|nested] 6+ messages in thread
* ACPI request/release generic address
@ 2003-02-28 16:26 Corey Minyard
  2003-02-28 16:32 ` Jeff Garzik
  0 siblings, 1 reply; 6+ messages in thread
From: Corey Minyard @ 2003-02-28 16:26 UTC (permalink / raw)
  To: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there a way in the ACPI code to do a request/release of I/O or memory
with an acpi_generic_address?  Does it even make sense to do this?
There are generic I/O routines for using a generic address, and I'm
working with an ACPI table that has a generic address, so it would seem
to make sense to have memory reservation routines through this, too.

- -Corey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+X42jIXnXXONXERcRAglFAJ9Xn7HbRDCFkpDiAzrsB0lkYFdSGACfUxX4
enhfmod5mAZBAorygt1zrqo=
=wXF6
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-02-28 20:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-28 16:49 ACPI request/release generic address Grover, Andrew
2003-02-28 20:48 ` Corey Minyard
  -- strict thread matches above, loose matches on Subject: below --
2003-02-28 16:26 Corey Minyard
2003-02-28 16:32 ` Jeff Garzik
2003-02-28 18:22   ` Corey Minyard
2003-02-28 18:28     ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox