Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp471183pxb; Fri, 28 Jan 2022 03:21:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQPi/VwNLVn82bYrNcdQg4BXq+JXVYQ+y//UTrmm5Jc1CYZAFQlbXGZhtJsjmCnBuppQRG X-Received: by 2002:aa7:d64e:: with SMTP id v14mr7756077edr.335.1643368901327; Fri, 28 Jan 2022 03:21:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643368901; cv=none; d=google.com; s=arc-20160816; b=yEOQm1V2d8/EwCCTIUispA+1l6MRQQujOhq4xNH/GFJAe4Fr5rB4Bcj/qKxbHDqVEe fwH9rsS0pHK6uP+XJUTBnE43EQuw1e+oBCyCZP9Nb3tz9WeJoR2bY4CyOxmeY4k3AmSt 1YuQ/U1i92qmCrsAsM2QzYFPK/NFboK09NksC12p+Dk1ziR/74vIe2OklqVMw7NVSPe3 HlxRfTmZTmeHoaiyK+Ai7OeAhXmvHO8EpfuSJQajnEHgK6LgofXcg2QTJUU+NneY4RgW /zaAcBNxr5069yNToXjrp9FePJSXxJBpgoV8/mZ9rlyd8o++WFaLMq9IaUbBjGpzV2Cj mD4Q== 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=bfU+KoqrwUxbW6GHxJ2Kly53zgCDNamg4i4wXRZ0FDg=; b=fNonc/Wn/fJP8/Szmi8ds01ufNh62G/UM02TUXhpK7r11YgmepC2Q34tIyZ6l/fSdr 2NOMP/ydtWp04jiudfuXKx/K8sKaa4+d7g2uTlYvztms2r+tkQNwTRssTqz/J66YAr6Y WCqM6OSZ5LQJ+reLaMcap/oI5apPG7xQELj1xALh6aPRTauQBCRXtSIqUHZMqig8mN9e OOdlU3enULSZTgEMDLnhLW+QKCzHvqKMI5rjKw5Dc6pH6wfc6WGUK7M0XY3EmwStssqq XQZIbQt/p54Qfy1W+pEkD1fmjcHlDQkrdIcDplmyhksYbIO2smRDg9cCg+0fsIoEOZlw uh1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q7XwlbXt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z12si2870276edq.365.2022.01.28.03.21.15; Fri, 28 Jan 2022 03:21:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q7XwlbXt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244393AbiA0RLY (ORCPT + 99 others); Thu, 27 Jan 2022 12:11:24 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:44374 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244378AbiA0RLV (ORCPT ); Thu, 27 Jan 2022 12:11:21 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 48EFA61ACA; Thu, 27 Jan 2022 17:11:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE239C340E8; Thu, 27 Jan 2022 17:11:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643303480; bh=bfU+KoqrwUxbW6GHxJ2Kly53zgCDNamg4i4wXRZ0FDg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=q7XwlbXto8IXJzKhgujjUoiENDbr8hi/oFnC2SoJ+cR/00wx8Pl22dsaxu/ClL6y5 +szXc7iQ1yeRmznRtNk4wiAc+nmABws2i0pYfa4kz0CsMmjfkOsxxVOxr7Ws9TYRue TRvaG7YHB9ufZiSmH6rZ6Fi0LqemyNVfxZyu94CVeuT31ezJRyiJTcSbKLMhdtby1m XyqQP3iQgZMNIVGaNOu6t0QNBrNNgPiu8ebTK3Ridkx8rBJa3fYH7VtbMb9R8iXwVc 9YXx8uGxh4/5K30h611dwjWZdPHwstw6zVj3Kgr4liFqj9+Gk6cAC/YbDW/hqcBoCz 3HxqGW1iUBZBw== Date: Thu, 27 Jan 2022 18:11:16 +0100 From: Wolfram Sang To: Sebastian Andrzej Siewior Cc: greybus-dev@lists.linaro.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-usb@vger.kernel.org, netdev@vger.kernel.org, "David S. Miller" , Alex Elder , Arnd Bergmann , Greg Kroah-Hartman , Hans de Goede , Jakub Kicinski , Johan Hovold , Lee Jones , Rui Miguel Silva , Thomas Gleixner , UNGLinuxDriver@microchip.com, Woojung Huh , Michael Below , Salvatore Bonaccorso Subject: Re: [PATCH 2/7] i2c: core: Use generic_handle_irq_safe() in i2c_handle_smbus_host_notify(). Message-ID: Mail-Followup-To: Wolfram Sang , Sebastian Andrzej Siewior , greybus-dev@lists.linaro.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-usb@vger.kernel.org, netdev@vger.kernel.org, "David S. Miller" , Alex Elder , Arnd Bergmann , Greg Kroah-Hartman , Hans de Goede , Jakub Kicinski , Johan Hovold , Lee Jones , Rui Miguel Silva , Thomas Gleixner , UNGLinuxDriver@microchip.com, Woojung Huh , Michael Below , Salvatore Bonaccorso References: <20220127113303.3012207-1-bigeasy@linutronix.de> <20220127113303.3012207-3-bigeasy@linutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Tote0/I6gsw1g9Hy" Content-Disposition: inline In-Reply-To: <20220127113303.3012207-3-bigeasy@linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Tote0/I6gsw1g9Hy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 27, 2022 at 12:32:58PM +0100, Sebastian Andrzej Siewior wrote: > The i2c-i801 driver invokes i2c_handle_smbus_host_notify() from his > interrupt service routine. On PREEMPT_RT i2c-i801's handler is forced > threaded with enabled interrupts which leads to a warning by > handle_irq_event_percpu() assuming that irq_default_primary_handler() > enabled interrupts. >=20 > i2c-i801's interrupt handler can't be made non-threaded because the > interrupt line is shared with other devices. >=20 > Use generic_handle_irq_safe() which can invoked with disabled and enabled > interrupts. >=20 > Reported-by: Michael Below > Link: https://bugs.debian.org/1002537 > Cc: Salvatore Bonaccorso > Signed-off-by: Sebastian Andrzej Siewior I guess you want this to go together with patch 1, so: Acked-by: Wolfram Sang I agree with adding the kernel bugzilla entry at least: https://bugzilla.kernel.org/show_bug.cgi?id=3D202453 Probably the others which Oleksandr metioned, too. --Tote0/I6gsw1g9Hy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmHy0jQACgkQFA3kzBSg KbYF0w/+OqNuksglO0/K1veCj0S4r5AKF+9L/Je8+51hxkfVPXaASw8QBtWXEZC0 AcMCb214DRxTXFl+lIT44Y+BRht09eKKFj3BN6eFi26ROn6kiLs4RwU8vyEM2JoZ vgwUs1+qGgOa9CAw5nY1x/DO+8nyJeNrzX0FNIrbjMsKCbFjBNPKdyARdSRqackX sxg/DoBd3kAtWaQoedAMl4WyEYHGx5GV6WB1nLsk0Uzr2oF1+0yx5iApJf6OdXot 5j1vM/7RUr4dDftefslKzATo8sLvH9FhQeyfbHYpnqnssYjHHIc6iaLwH8m93jQB CVrgihGYW+4sqxHzdgPYiZHNLxct8WnTb0KblrLc21su9ZpZN9DtM3ySShj+Ok0/ lhUQijKmWpx0U/QTJZ3Smyk0s+Eg87iBFL+rIzPUF0Se8vNybRpYVeNAWWZDM0nN R/vkF2ZUKAEBxnZtL6Scr9eu2REC95bQtJ5LYNYRgH+3y7L5uMIDUGcb1UZBVXTK ++20+4nO9oCG8HE8RJLJmI2ULo2HrkQ293ROjwMzgLqxgL+C+Llu4bfkTI1MwjQd 2ZZ3qLdRwQakXceVfOuIH0bNeBdzFIuR6Q5eE+NJpD2R8DeToIt7j+rUTnWSjgcL MOlt3i6hTrTxKfp6LF81bI0z1AetI7I1JmDvdvR4Zu76s2ZPj1E= =0Whn -----END PGP SIGNATURE----- --Tote0/I6gsw1g9Hy--