Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp990783rdb; Fri, 1 Dec 2023 04:26:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IFz+dntYATgEWJbO2iDL8FJ8uMZXRIcB8F6C9w/k5kjUx+OrR/uNCn1WruZABizXZhwHhGo X-Received: by 2002:a05:6871:d201:b0:1fa:345e:5e12 with SMTP id pk1-20020a056871d20100b001fa345e5e12mr25265089oac.20.1701433590387; Fri, 01 Dec 2023 04:26:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701433590; cv=none; d=google.com; s=arc-20160816; b=Pn27GbnU4az6n+Bd238+ix8KUnO0LDI//ME70FOAnvJiTXX4PHFtIGS3POowXRHCW+ zjZH8N240Jf9J5DyTFnxivyODbA+stGHbYqnJDvYIsoHSjbeb/5NfQcdHxo/DzbFyBu0 6dcLy9Z3bDX0a/SCaeRCgPthe3Tn6asjibxafWbZOPmBTTU55gNmzY84yp9nAtETxjpe fV/bC75jav2DYoCpA6TcDDguV0GkX3TWXcCbzKaNfPiBOXnkCyN4esEjn/EY0YRS//aq /QcU3uNar1M64N/L5t4D2Vpl0oJTC9rwy1VaO/IyiriMMAu9mwHdMmoMP8vfFW9dk2Ob cllA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:mime-version:date :message-id:dkim-signature; bh=O13BqXsPnQO1PbT/F6uF65SCmRU0WwrOFSVmm4rcPpE=; fh=u1O0yxei64A+4tSZ1897DGBPtTB6FXzt6QGzOh3k8Wg=; b=cXcw5OZjXOvEgzKhS3GdAbFtDPqAMWDlLOnexzB/ZXVDtrZLCliSiniqfYaC0KkbDn eHuMGbsGQPz7XFoe3Qi3dX3tYSuPrsTKT+3CylHh3dWbXcGzVH2r/tLj7o3ak6Y5QBEE V99I0M4kDAOxdYWI9xVy26H1/GAJg9Z5FJ1pB73+u1xcYf+14dAKTp5oy4W5R1Uq+p+T vLAvJsK69pcEQDBJSqnK34jBo0Ui8l0ChYF8wVpME7jSqsOdExSS+/eqwi5nOFBPF64O fXPVYXK7gK3dwvI8XIQY6C4x5LMg4Bq9TKT6jb0Tu9g1ii9WbbFP8XZaxfj0vOco/IQl rt6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b=s8MKHaE9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=mailbox.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id 68-20020a630147000000b005ac61b76914si3433303pgb.93.2023.12.01.04.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 04:26:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b=s8MKHaE9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=mailbox.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 6CE3F81C0980; Fri, 1 Dec 2023 04:26:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378821AbjLAM0L (ORCPT + 99 others); Fri, 1 Dec 2023 07:26:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378813AbjLAM0K (ORCPT ); Fri, 1 Dec 2023 07:26:10 -0500 Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1130D4A; Fri, 1 Dec 2023 04:26:16 -0800 (PST) Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4ShXNM0vmpz9sT5; Fri, 1 Dec 2023 13:26:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1701433571; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=O13BqXsPnQO1PbT/F6uF65SCmRU0WwrOFSVmm4rcPpE=; b=s8MKHaE9PJWQi33hx9ofSOoTM151D0zrWqJ+oCXk0Ls/eaosnHz9rNuS/zcV+U9SLeLuJr gydfF7F8PmkAF9kcHCY2wm4OPBu0YBseuJip9+TBAdG0W3xb44mEmFyRdJquYWr7zs5g46 VyIAbcSFNgcyiqE4LJTLgEgX7XuLH3fgnEP47rcWE/w5QgIESRZr6Sb/U1gcfcSlskHDdR hut9d8tp2SIv0MjOvgQ+5UeZ9acl7OQNHZDQl3Uf+s5Nla3X91l6EN684dBBHRBBTg9TMI iOhvcUOh6fRV0ziOvKUgDVlHE+Ve+OvtAomNNgXSBNjw3DmWDUU6H29czv5ehQ== Message-ID: <6fb5d126-1c66-412a-a1a2-6c4e5725f7fb@mailbox.org> Date: Fri, 1 Dec 2023 13:26:08 +0100 MIME-Version: 1.0 Subject: Re: [Bug Report] [6.6] i2c: No atomic i2c transfer handler Content-Language: en-US To: Dmitry Osipenko , Linux Kernel Mailing List , linux-i2c@vger.kernel.org Cc: benjamin.bara@skidata.com References: <13271b9b-4132-46ef-abf8-2c311967bb46@mailbox.org> <621c7d60-8953-1d7e-b4a1-f4fc510ba9d6@collabora.com> From: Tor Vic In-Reply-To: <621c7d60-8953-1d7e-b4a1-f4fc510ba9d6@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-MBO-RS-ID: 39be58300fbcbcd9d35 X-MBO-RS-META: xmiqkr47qf87y9he6nixwayn9jrhccu1 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Fri, 01 Dec 2023 04:26:27 -0800 (PST) On 12/1/23 12:50, Dmitry Osipenko wrote: > On 12/1/23 13:48, Tor Vic wrote: >> Hi, >> >> Since Linux 6.6.3, I see some warnings in the late phase of shutdown. >> Unfortunately, they are not logged because syslog has already shut down >> at that point. >> >> I used a camera to capture a small part of the warnings: >> >>   No atomic I2C transfer handler for 'i2c-0' >>   [trace follows] >>   i2c_smbus_xfer >>   [...] >> >> After checking the changelog, the culprit was found quickly: >> >>   (3473cf43b) i2c: core: Run atomic i2c xfer when !preemptible >> >> Reverting that commit made the warnings go away. >> >> This is a voluntary preemption kernel running on a Skylake laptop. >> >> Please tell me if you need more info. > > The warning says that I2C bus driver used by your laptop doesn't support > atomic transfers while it should. Which driver it is? 'i2c-0' is SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus using 'i801_smbus' driver. > > In your case the warning is harmless, still the I2C driver likely needs > to be improved. > That's good news, I was a little worried because of the several (I think it was 3 in total) large warning splats.