Re: [PATCH v2] platform: x86: asus-wmi: add fan control

From: Matthew Garrett
Date: Sun Oct 13 2013 - 11:18:01 EST


On Sun, Oct 13, 2013 at 04:29:34AM -0500, Felipe Contreras wrote:

> I don't see anything in acpi_ex_system_memory_space_handler() that
> takes into consideration virtual addresses.

The spec doesn't seem to constrain it to physical addresses (it just
refers to "Control Methods read and write data to locations in address
spaces (for example, System memory and System I/O)", so I'd lean towards
changing the behaviour of acpica rather than adding virt_to_phys().

--
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/