Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2319705rdh; Sun, 29 Oct 2023 10:17:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFQcfCN93JMJN/ffpd1fNM2psP1rMj4vdfLCeNzZ3JRZoIVSVVhdgs1HzHAwueN8yVgKFOs X-Received: by 2002:a05:6a20:3956:b0:154:e887:f581 with SMTP id r22-20020a056a20395600b00154e887f581mr10522460pzg.58.1698599850159; Sun, 29 Oct 2023 10:17:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698599850; cv=none; d=google.com; s=arc-20160816; b=yDllFQ1v5BF42dtJ9S7/XQ9vpcMfnJt5Fi+60QwyCqCc9PjsguH01sOHYfgejbIWML dsdOJt59fKmPixslftjFXq9BiRJc2K3YTXxdu/ASHSQW0W+8ZRcRIKIV1zBcgcqkA9UK kWMm5N9T2P+WgtdHM9BpKgU7QU+PkrStubsm6PvUaT/OjPM0PFiGQ++Pu/zLtFt3ZIuV PEIugSDw/LjLouzuUZrV2OrXLT3VDoXL1o79Rvl6kJrUW6s8CL/4GmyhW9wBttCD/dCf AfycZ2Z7ZQGSZJoVaM1rY707yp2UAACM4poAIygkBCKkR2JtlkOhAJ8G4Q220jvYULRv I/vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=IFvb6Jj3Azb1mFKp8FaX6ajOmbEESAwI7JAPDNluBJ8=; fh=gMg5CdukENEd1KPhtMCKzsCCvlMXKt02Av5xamyS0VY=; b=e+b/p7uSCpnpJ8eBxRxf9h7PBnfPIwsfmZtlcbGlY138JHcrUkuUEZExUIWUpqVCL6 HohiCfBBXPGCPUbuPXZssprB8tppgHVo1c02NqdsjTqWZUYKyyezhBabhFoMoc3q+4V4 0Nl0LBBkEchHBnJJe2cFtPiokSwIQnQxJmZAFUlX8yYssQ3ai0iGpPqFMBMFpOHn0q1I 2B3kQX5oRruZRV9Q346hWM4ZaSaqy5sVoE7jfoNMOMKhtZ7l7q+nn0qk3WKwdN9cvtjx V+G1fvKRmFQKznqvcH7ZpZF9fE8Rom/CwawMbhR3LQZTxPTtg3tMUu+jAEq9/AMpg6da CcOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XsE4M9P0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id c129-20020a633587000000b00578b37ad24bsi3720679pga.619.2023.10.29.10.17.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 10:17:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XsE4M9P0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 1CF73807F2B4; Sun, 29 Oct 2023 10:17:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230032AbjJ2RRN (ORCPT + 99 others); Sun, 29 Oct 2023 13:17:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjJ2RRM (ORCPT ); Sun, 29 Oct 2023 13:17:12 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 713F4AB; Sun, 29 Oct 2023 10:17:10 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F652C433C7; Sun, 29 Oct 2023 17:17:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698599830; bh=kqHOtdnj+507j2C+JnNESsq5H7LYdz0LhzhA6Vu3rfQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XsE4M9P0mzhzERev83qkMJuMvJH4/AdIG2ZtGMSLbeAjhCZsip6fsg4WDtFH2niRp kqMi4prFv/tLAmSnC1Ph+uXxURhIRLU5atU6gjlDQs5Rmerr+GklwSSfL8WgTtZ8d8 HnZIUE/YaRQjgY2zzLc5TxE7NycUFTWQgDQ2JV+GHM9z5HnwzphW6crER2HTws34sD h05ntOySmUa7leVhGHu/Z4Ki8qQgYjQmDiRZJ08OH9bgp7gVKAtZaVgI4YuETK/nor /owuA8fQytpfT6nJkOVKUABHI26ocivq0rJXXwx+zNE9oL+Gh6JM21nbfNwNuM+w0F w5LAjZLs6IAUQ== Date: Sun, 29 Oct 2023 18:17:06 +0100 From: Wolfram Sang To: Marius Hoch Cc: Jean Delvare , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] i2c: i801: Force no IRQ for Dell Latitude E7450 Message-ID: Mail-Followup-To: Wolfram Sang , Marius Hoch , Jean Delvare , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230514103634.235917-1-mail@mariushoch.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LVHbfEbx9LzAVSb2" Content-Disposition: inline In-Reply-To: <20230514103634.235917-1-mail@mariushoch.de> X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 29 Oct 2023 10:17:27 -0700 (PDT) --LVHbfEbx9LzAVSb2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 14, 2023 at 12:36:32PM +0200, Marius Hoch wrote: > The Dell Latitude E7450 uses IRQ 18 for the accelerometer, > but also claims that the SMBus uses IRQ 18. This will > result in: >=20 > i801_smbus 0000:00:1f.3: PCI INT C: failed to register GSI > i801_smbus 0000:00:1f.3: Failed to enable SMBus PCI device (-16) > i801_smbus: probe of 0000:00:1f.3 failed with error -16 >=20 > Force the SMBus IRQ to IRQ_NOTCONNECTED in this case, so that > we fall back to polling, which also seems to be what the (very > dated) Windows 7 drivers on the Dell Latitude E7450 do. >=20 > This was tested on Dell Latitude E7450. >=20 > I chose to explicitly list all affected devices here, but > alternatively it would be possible to do this programmatically: > If the initial pcim_enable_device fails and we're on (any) > Dell Latitude, re-try with IRQ_NOTCONNECTED. >=20 > Marius Hoch (2): > i2c: i801: Force no IRQ for Dell Latitude E7450 > i2c: i801: Force no IRQ for further Dell Latitudes >=20 > drivers/i2c/busses/i2c-i801.c | 34 ++++++++++++++++++++++++++++++++++ > 1 file changed, 34 insertions(+) Where are we with this patch set? Other solution found already? Discussion stalled? Too much other things going on? --LVHbfEbx9LzAVSb2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmU+k5IACgkQFA3kzBSg KbafUxAAgd58sc/w7TNN3XnqkARACN+uSB+NhVdhfF7g2NJbNSpUzXWttkaBD8L8 fqlX8gD9sNHs4cBL0MlCnUPDoA67flTb/q96Sk6zadnAL4eNW4v1bQpxHK1StNqR 8bEeEYAyoUGX6Xe2rdYiESHjtFNy2YCMX6pzAvLJn+yHwTrMcrYFU/VtOHi7HfA/ qiTUZJbLfrl1OXxqcuEBUyYB2WhXed/SRsO0NdKhkpwn90V/s4EwrlVXjGpuUKdn 0mI+OrCTt8umBQDn023FWtvUX8lWww4KQOo2szsMD/deCt4YzsYLO00Aj1z/T+GY YvYYo4R1W9zVZnbXq7w+nihYIApiaEN3QiICzbo4YvubRqyMeJ1B+vSutIrLVFKS gT2T90sMtWKxXjS/zAFSCB63dgabml8QB1o1SqdsLHL9l7vrnKK7TKXDrzo5I+Jg z/2mdCsxyaPHMjHRhk9dKQ3BtOHPSXsKajePtkgj1RYuOpSbI4EMt92l+luVgCUK s5miafDazxyru0b8F7zccy0FvMwXhJSMHChlfzjVbAvjwr/s79bzPEPuRNRoqJFB QXeODrTouBci68cqnV+eq3KL334+2mNB/yiVIWyckrcrmVdzXye+f1HshKNFwL2y XtPHFHG1lDWLVdbIq3O6kEm+Skr/5cDWSerAT8q/g5a1HaIJzM0= =yPh2 -----END PGP SIGNATURE----- --LVHbfEbx9LzAVSb2--