Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp937171ybm; Tue, 21 May 2019 06:14:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqjOJlBafwvxfxt7GPhKxt86JNDejx3ra9pOsBZvnBHkgK76EI3wcuVFwas5Cmn0qV6flK X-Received: by 2002:aa7:9e51:: with SMTP id z17mr86742298pfq.212.1558444462284; Tue, 21 May 2019 06:14:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558444462; cv=none; d=google.com; s=arc-20160816; b=02hZ0sHtnxQZB0FbDM/ZKE3/nIFxeWHIk4RAShh+1rGG5vkmz4EAg8e7KJOcCPF5pH qwcLOFGKQNN6H7Vs9f9u5aRV3p7n7Jfllo42UJ0+T9K+2opYuUubvr1S4k0/In+RhanN VcEkykp9ykv0JkDFzbxLV/EEb3gROLcAW42lJNxioZGRAmXRno5WGOGa0FZoHlE14VMY agQRJZlmgFy3TTsT3GULw9D/LG+WfvmaTN3F08K40atPC7WpDagBHP3ZhzndwOSFOmIQ WGPZwa4DGiXCsOqWz7SMcXLLxqPzzoVQ24JCkFF4Pkbt46rgNKShMA+4DlKZfqLbYKz4 SFGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=EY2hPYutXx3iMIWqbpsPkG648gNNNMSkWC0DBDf2ruI=; b=NA10jkVvwnYp8FxM38urogK4WPKXICfRoNFSQRSxwU/IZLDcbtIBHX1IUw4DlrxNMo VlaOIR6HapMzCTPYcUPU7kFdEQD+hBxdDtEdUtMTv5Lk26Fwx+Fku4Y2HjWdpjdYaG7c TioAYX05hq3MFjCEPDaFjVz4Atay4BWMzYhH4yzSubzqBkNQUNi1nm7FC3KD3lcKjqm/ yW2TfnNyW2CVuVS6a6h4YLrX4EiYahVcZTSMOmpy5EGCKienRkf5Nbo60ivatECO1SZu N+StmrY6KE5+1t/PcvCotCxwUv62h+9YQGvsg0LkfmIJvQSI3uXm3Cm9QP4jezPZuiqi 7fnw== 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=opensource.cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b186si6571154pfa.255.2019.05.21.06.14.05; Tue, 21 May 2019 06:14:22 -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=opensource.cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728240AbfEUNLa (ORCPT + 99 others); Tue, 21 May 2019 09:11:30 -0400 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:53126 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726900AbfEUNL3 (ORCPT ); Tue, 21 May 2019 09:11:29 -0400 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4LD52Bd011448; Tue, 21 May 2019 08:11:06 -0500 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail4.cirrus.com ([87.246.98.35]) by mx0b-001ae601.pphosted.com with ESMTP id 2sjefmuv88-1; Tue, 21 May 2019 08:11:05 -0500 Received: from EDIEX02.ad.cirrus.com (ediex02.ad.cirrus.com [198.61.84.81]) by mail4.cirrus.com (Postfix) with ESMTP id 8AC20611C8AC; Tue, 21 May 2019 08:12:10 -0500 (CDT) Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1591.10; Tue, 21 May 2019 14:11:05 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.1591.10 via Frontend Transport; Tue, 21 May 2019 14:11:04 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id E177845; Tue, 21 May 2019 14:11:04 +0100 (BST) Date: Tue, 21 May 2019 14:11:04 +0100 From: Charles Keepax To: Andy Shevchenko CC: Mika Westerberg , , , , , , , , Jarkko Nikula Subject: Re: [PATCH 3/5] i2c: core: Move ACPI IRQ handling to probe time Message-ID: <20190521131104.GB99937@ediswmail.ad.cirrus.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> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20190521125704.GF9224@smile.fi.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=856 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905210083 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 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. Thanks, Charles