* acpi resource reservation
@ 2008-09-24 19:36 matthieu castet
2008-09-24 21:46 ` Matthew Garrett
0 siblings, 1 reply; 2+ messages in thread
From: matthieu castet @ 2008-09-24 19:36 UTC (permalink / raw)
To: linux-acpi
Hi,
I wonder why acpi doesn't use request_region/request_mem_region on the resource
used by the interpreter.
For example ioport resource are declared in dsdt with OperationRegion.
A good place to do that could be acpi_os_validate_address.
I believe by doing that acpi will avoid that other drivers try to use the same r
esource. And it will avoid the acpi_check_region hack that need to be added in e
ach driver instead of relying with the standard
request_region/request_mem_region mecanism.
Matthieu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: acpi resource reservation
2008-09-24 19:36 acpi resource reservation matthieu castet
@ 2008-09-24 21:46 ` Matthew Garrett
0 siblings, 0 replies; 2+ messages in thread
From: Matthew Garrett @ 2008-09-24 21:46 UTC (permalink / raw)
To: matthieu castet; +Cc: linux-acpi
On Wed, Sep 24, 2008 at 07:36:03PM +0000, matthieu castet wrote:
> I believe by doing that acpi will avoid that other drivers try to use the same r
> esource. And it will avoid the acpi_check_region hack that need to be added in e
> ach driver instead of relying with the standard
> request_region/request_mem_region mecanism.
It was attempted, but you hit a huge number of cases where ACPI has
reserved resources that are required by other drivers. We could
whitelist them, but it doesn't seem to buy a great deal.
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-24 21:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-24 19:36 acpi resource reservation matthieu castet
2008-09-24 21:46 ` Matthew Garrett
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.