Re: ACPI request/release generic address

From: Jeff Garzik (jgarzik@pobox.com)
Date: Fri Feb 28 2003 - 11:32:53 EST


On Fri, Feb 28, 2003 at 10:26:13AM -0600, Corey Minyard wrote:
> -----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.

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.

        Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:49 EST