Received: by 10.223.176.46 with SMTP id f43csp474957wra; Fri, 26 Jan 2018 01:49:54 -0800 (PST) X-Google-Smtp-Source: AH8x224CQeF9wkTnuh3TAZvi/GuinTw3P717LLfA1wLL2WGV6XAkmR7A1AkBpD4CxqxLavxNeLCS X-Received: by 2002:a17:902:bc4b:: with SMTP id t11-v6mr14221073plz.324.1516960194326; Fri, 26 Jan 2018 01:49:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516960193; cv=none; d=google.com; s=arc-20160816; b=oIYKJTXVxDA5KJ+o8tZ0BjE6N3hZCtunTm/afjvjFYlEgTTyBBp8rDqP+Rn5ghFa6A pI2ZwhlvanhRuddJqYe7cpDKusM+/KDxFhnO8zhqC3GnK/TQBUwQM2/aPZ8HCdmrw1iE 6mR2YtVvfkNFFZtgVEj79kAHDwaYa5st5a1LHOIbnmel532L3GjXdC69cM0L0MTyk/AG paxxUmBX9t7MQq+s5i0sb2bYXVzd8HcuVmKO5ZjyJ1MSUD0eoXKzdOncLi5xrHEC8i+w 1h9E6Y/XNF+VqnxMwAXGganaZo4hJykjtKOeBXFFlCcYHPh1y+i08MDH7mJhUSFi1C3v t+4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=iVQDx7Ba++z9trslgFTvyKvtcESp6AZLcI4Egis0tVY=; b=CGHpykCS/8XTY0U+7GtyEAHz2fgUKWxZSnOUFIwL5gFWND63LQWJS7FTL/2Fh3kV6c w9MSXals2eU0EXYoYZAD86SFCldwVJJhtFSw/2DSVnt8r89m+P6jsHck40aioTV1+Hdn 6xTN6EsvCixQQiBNMzgScZUhmMAd9Jbvds//bOLe6d4L1Mr3j8XCEoUfGEUuPiBwVpWZ lKRUNlzj+Gmx1h1FD1ZsB2DTRGf681LiH1Kl1cmrNT1o4uCG1xSVb8cRjvYtfaN9inv3 mfNZTc5PNA6+9yq5f/X9E9hKkDqyLhgEjYZ/OLOv3M7Pg3oTu3IGcOJxrlh0PMF1GTtI yqkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vOFMJ4OB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g17si6125177pfa.245.2018.01.26.01.49.39; Fri, 26 Jan 2018 01:49:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vOFMJ4OB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752982AbeAZJsn (ORCPT + 99 others); Fri, 26 Jan 2018 04:48:43 -0500 Received: from mail-qt0-f194.google.com ([209.85.216.194]:39684 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752654AbeAZJsk (ORCPT ); Fri, 26 Jan 2018 04:48:40 -0500 Received: by mail-qt0-f194.google.com with SMTP id f4so26238537qtj.6; Fri, 26 Jan 2018 01:48:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=iVQDx7Ba++z9trslgFTvyKvtcESp6AZLcI4Egis0tVY=; b=vOFMJ4OBeifXSJa3OhSyFkxEnMa73NURfJOk53C3BEeER4jFntqRAkYEdsXIU/78GI ODKP/w024+SofKoRzRA+uXVU8YEZT1fBO/V18wTRmafr2OmnmGFKD9fQvXX77vUihNM4 1RwsJ2LD14VQmHdelAkNMnSp+z3o1YLdQjW88uMnhjUl+AIx1WhNYs6qKC27xTKjPN9v DV4/DOxua1wLZhvu9wPBsPDJM1IiS9/oLfRQYc5cSqS5bBczXn8oWTyhT7ZVp/+S3EbM C2g/rv+PYYyZO3+jcmscMgwYJrG/475yzl6JDUWEAWTXZghUagAq2C4hdYqzQ7RgX+3d sctg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=iVQDx7Ba++z9trslgFTvyKvtcESp6AZLcI4Egis0tVY=; b=DcjedZm/ikyIPOFlGRa37Z6L6TcwXHjxQTqY7054KTVfOzRVtc37Ior5CVJC1b0Ted IGi0MxjIAs2BbpSnSbemXvK0yjoPrEsYtlj7lp1UMML64QdpPPAudGVmUdbEVWIPGxj0 3/Q6ACue/J/z/DX13n6dnPmOT+DUgDtReh7lK0MUk+PdjYKV0bq0uv+M0rjKWfGKmihE M9oGd/W22LmR0ZBUVOMSBj29Vb2L0mPF/0gkN40L6JkdEsDRkk3GU3VZStw8Cd7e315T piw0djgld4tOUfV9Snum6IOlKaEPYqt9O6zvlaxGCq374FmBJDdIqQPIjwEHjajBUdCj xqmw== X-Gm-Message-State: AKwxytc7oKd0jDPEFHX5RfZkzousbcIWmYcbvLCL+lWqAgPSEKv1T85T 4qDRIXh5fmrVkQqLtdtV5bBIr4Rn3F63iI9Y3pE= X-Received: by 10.200.8.173 with SMTP id v42mr20058378qth.162.1516960119943; Fri, 26 Jan 2018 01:48:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.175.35 with HTTP; Fri, 26 Jan 2018 01:48:39 -0800 (PST) In-Reply-To: <1516352307-20123-4-git-send-email-rajneesh.bhardwaj@intel.com> References: <1516352307-20123-1-git-send-email-rajneesh.bhardwaj@intel.com> <1516352307-20123-4-git-send-email-rajneesh.bhardwaj@intel.com> From: Andy Shevchenko Date: Fri, 26 Jan 2018 11:48:39 +0200 Message-ID: Subject: Re: [Patch v1 3/8] ACPI / LPIT: Export lpit_read_residency_count_address() To: Rajneesh Bhardwaj Cc: Platform Driver , Darren Hart , Andy Shevchenko , Linux Kernel Mailing List , Vishwanath Somayaji , Srinivas Pandruvada , "Rafael J . Wysocki" , Len Brown , ACPI Devel Maling List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 19, 2018 at 10:58 AM, Rajneesh Bhardwaj wrote: > From: Srinivas Pandruvada > > Export lpit_read_residency_count_address(), so that it can be used from > drivers built as module. With the recent changes, the builtin_pci > functionality of the intel_pmc_core driver is removed and now it can be > built as a module to read this exported interface to calculate the PMC base > address. > This needs Ack from ACPI maintainer(s). Rafael, are you OK with exporting this method? > Cc: Rafael J. Wysocki > Cc: Len Brown > Cc: linux-acpi@vger.kernel.org > > Tested-by: Rajneesh Bhardwaj > Signed-off-by: Srinivas Pandruvada > --- > > drivers/acpi/acpi_lpit.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/acpi/acpi_lpit.c b/drivers/acpi/acpi_lpit.c > index e94e478dd18b..cf4fc0161164 100644 > --- a/drivers/acpi/acpi_lpit.c > +++ b/drivers/acpi/acpi_lpit.c > @@ -100,6 +100,7 @@ int lpit_read_residency_count_address(u64 *address) > > return 0; > } > +EXPORT_SYMBOL_GPL(lpit_read_residency_count_address); > > static void lpit_update_residency(struct lpit_residency_info *info, > struct acpi_lpit_native *lpit_native) > -- > 2.7.4 > -- With Best Regards, Andy Shevchenko