From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [RFC 1/2] ACPI: activate&export acpi_os_get_physical_address Date: Fri, 01 May 2015 03:32:29 +0200 Message-ID: <4189370.scsJsnLdx0@vostro.rjw.lan> References: <20150430181025.GC40200@fury.dvhart.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7Bit Return-path: Received: from v094114.home.net.pl ([79.96.170.134]:49246 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750955AbbEABHf (ORCPT ); Thu, 30 Apr 2015 21:07:35 -0400 In-Reply-To: <20150430181025.GC40200@fury.dvhart.com> Sender: platform-driver-x86-owner@vger.kernel.org List-ID: To: Darren Hart Cc: Kast Bernd , corentin.chary@gmail.com, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpi4asus-user@lists.sourceforge.net, platform-driver-x86@vger.kernel.org On Thursday, April 30, 2015 11:10:25 AM Darren Hart wrote: > On Wed, Apr 22, 2015 at 04:12:24PM +0200, Kast Bernd wrote: > > acpi_os_get_physical_address will be needed by an acpi driver (asus-wmi.c). > > Additionally it could be used by dell-laptop.c instead of directly calling virt_to_phys. > > > > acpi_os_get_physical_address gets exported and ACPI_FUTURE_USAGE is removed > > > > Hrm, well... this doesn't get rid of virt_to_phys, it just wraps it really. I'm > not sure that makes this any more acceptable than the original from Felipe - but > that's not my call. Use virt_to_phys() if you need to. This one is in case ACPICA needs to get the virtual-to-physical mapping (hence ACPI_FUTURE_USAGE). Rafael