Re: [RFC 1/2] ACPI: activate&export acpi_os_get_physical_address

From: Matthew Garrett
Date: Fri May 01 2015 - 00:56:33 EST


On Fri, May 01, 2015 at 03:45:52AM +0200, Rafael J. Wysocki wrote:

> And I don't really understand the Matthew's comment regarding limiting
> operation regions to system memory. This is about a specific operation
> region (which BTW only seems to be used as a means to access system memory
> at the location pointed to by the arg) in that particular method.

My feeling was that it really ought to have been the ACPI code dealing
with this in some way, but having looked at it again I accept that this
is really something that's limited by the vendor implementation.
virt_to_phys() isn't the worst thing to do here.

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