Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp946903ybm; Tue, 21 May 2019 06:22:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJqC3kQIdOOhnpgfdyYsSolZO/Kmufl0ZhyyG4s7tqwGbiYCKhAtSGzQuN1Tu0qFsuo5SL X-Received: by 2002:a63:e616:: with SMTP id g22mr14631539pgh.61.1558444973220; Tue, 21 May 2019 06:22:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558444973; cv=none; d=google.com; s=arc-20160816; b=WgKZoN3RlPOXxwq35WH8UcPVKm4VHiy14nMXnfDkvahSUd1m7fH6kdAoKYVu543hXI PAGaWGZeuHSkDfcd+TF1msUuBhkAKtuKs2AGs9btEB7UtWRkaoSLwyl2+UWRaLVwsKaI 3/MHzSVe0ljQqKQYhdf+aHpsjIeTT8yQt6utxpPVkWng61imSNBWEsBs3Snbv9ZN331G 6p5A8z6eT2h+ML6NNh/akjznGolf8D0NNZnJ3arFEnRuRteJFBA7L+N59YC/fJJgMg9r cJnxHFkWCA5yrutOFwiTaVY+tzUxDqJRNhHbsZB5mmRAiUGSAL7idPuHzbxdrw2Vww13 PPmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=PmH+gB5TkcNXJQkQ82Ta8qsVw6rWPPIJRju9GY5prao=; b=y3vZ7ahnrGzbWYv1f3NGX//+rfpdOw+YvsobWpgQTDRKA0AipjvX27yG3wjYmm4zDa bsSs4uA464m+ekmvPyaitR8R5hPtNk8AzXPsUJHdspmY5wp5H7CISX2vApj2Kb9eJgbG tbC3XHyel/3veHSm4N3DPpHnQVlDNFNUuAuzG0hFKwABeFKkJLjYk7dY2h3umddvuUre eBreFWZpGtroJl732VUqYAy6tarzvunK1D5MgYRTcVtD1PzzKriKk9RmdctT+Vgh+h9T TCgBz8StJIbmb+NAKSwN4c4eQU5a190fARjgS7XPtBUZprSMYovsgWmDtjIYRdkQFeo1 zLZQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u85si22619593pfa.282.2019.05.21.06.22.37; Tue, 21 May 2019 06:22:53 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728186AbfEUNUI (ORCPT + 99 others); Tue, 21 May 2019 09:20:08 -0400 Received: from mga03.intel.com ([134.134.136.65]:64558 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726692AbfEUNUI (ORCPT ); Tue, 21 May 2019 09:20:08 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 May 2019 06:20:07 -0700 X-ExtLoop1: 1 Received: from smile.fi.intel.com (HELO smile) ([10.237.68.145]) by orsmga003.jf.intel.com with ESMTP; 21 May 2019 06:20:05 -0700 Received: from andy by smile with local (Exim 4.92) (envelope-from ) id 1hT4gW-0008JJ-FK; Tue, 21 May 2019 16:20:04 +0300 Date: Tue, 21 May 2019 16:20:04 +0300 From: Andy Shevchenko To: Charles Keepax Cc: Mika Westerberg , wsa@the-dreams.de, linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, benjamin.tissoires@redhat.com, jbroadus@gmail.com, patches@opensource.cirrus.com, Jarkko Nikula Subject: Re: [PATCH 3/5] i2c: core: Move ACPI IRQ handling to probe time Message-ID: <20190521132004.GG9224@smile.fi.intel.com> References: <20190520084936.10590-1-ckeepax@opensource.cirrus.com> <20190520084936.10590-4-ckeepax@opensource.cirrus.com> <20190521112728.GX2781@lahna.fi.intel.com> <20190521125704.GF9224@smile.fi.intel.com> <20190521131104.GB99937@ediswmail.ad.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190521131104.GB99937@ediswmail.ad.cirrus.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 21, 2019 at 02:11:04PM +0100, Charles Keepax wrote: > On Tue, May 21, 2019 at 03:57:04PM +0300, Andy Shevchenko wrote: > > On Tue, May 21, 2019 at 02:27:28PM +0300, Mika Westerberg wrote: > > > On Mon, May 20, 2019 at 09:49:34AM +0100, Charles Keepax wrote: > > > > Bring the ACPI path in sync with the device tree path and handle all the > > > > IRQ fetching at probe time. This leaves the only IRQ handling at device > > > > registration time being that which is passed directly through the board > > > > info as either a resource or an actual IRQ number. > > > > > > I don't see issues with this approach. Cc'd Jarkko and Andy just in case > > > I missed something. > > > > I failed to see the i2c_acpi_get_irq() in the current code. > > What kernel version do you use? > > Can we see the changes against vanilla / i2c-next? > > > > It's added by the first patch in the chain: > > https://lkml.org/lkml/2019/5/20/281 > > I could resend the series with you and Jarkko on CC if that would > be better. That would be better. -- With Best Regards, Andy Shevchenko