From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756130AbdLOKLQ (ORCPT ); Fri, 15 Dec 2017 05:11:16 -0500 Received: from mga03.intel.com ([134.134.136.65]:3368 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755488AbdLOKLN (ORCPT ); Fri, 15 Dec 2017 05:11:13 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,404,1508828400"; d="scan'208";a="1872656" Message-ID: <1513332217.7000.81.camel@linux.intel.com> Subject: Re: [PATCH V2] ACPI / LPSS: Add device link for CHT SD card dependency on I2C From: Andy Shevchenko To: "Rafael J. Wysocki" Cc: Adrian Hunter , "Rafael J. Wysocki" , Mika Westerberg , ACPI Devel Maling List , Linux Kernel Mailing List , Carlo Caione , Hans de Goede Date: Fri, 15 Dec 2017 12:03:37 +0200 In-Reply-To: References: <1512637396-17000-1-git-send-email-adrian.hunter@intel.com> <1513261011.7000.75.camel@linux.intel.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2017-12-15 at 01:58 +0100, Rafael J. Wysocki wrote: > On Thu, Dec 14, 2017 at 3:16 PM, Andy Shevchenko > wrote: > > On Thu, 2017-12-07 at 11:03 +0200, Adrian Hunter wrote: > > > > > > > > > +static const struct x86_cpu_id cht_cpu[] = { > > > + ICPU(INTEL_FAM6_ATOM_AIRMONT), /* Braswell, Cherry > > > Trail */ > > > + {} > > > +}; > > > > I would rather to modify ICPU() macro to accept driver data where we > > just pass an unsigned long value to be assigned as lpss_quirks and > > introduce another quirk. > > Not really. > > There are many instances of ICPU() already in the tree and updating > all of them is just not worth it. These macros all over the code are local. I'm talking about one which is defined inside acpi_lpss.c. -- Andy Shevchenko Intel Finland Oy