Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp710831rdb; Fri, 22 Dec 2023 02:45:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IGz5VByybHVGXOy5mOLQ0kZ9ZDlhtyGgHreEvd1WYPUnZ2pB6TdYWjtuOAVYds6G2yBEz6H X-Received: by 2002:a05:6a20:10a9:b0:194:d9bc:9f77 with SMTP id w41-20020a056a2010a900b00194d9bc9f77mr702369pze.41.1703241918808; Fri, 22 Dec 2023 02:45:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703241918; cv=none; d=google.com; s=arc-20160816; b=jlGapvTRTonmrg41C0hJWqXHxQb34t8tOyKmtyS2ZBZioDYWiRLUHgpy/1I1Hqa1dM v77Pj1CxySIavs+AQU62p3mOpWfK2vbzUZafcg5TFgShIkAU5MuSio5icuovHpds6aYB +UYL3WSWTnVDFc/UlTQk+E/Vmf2IhfJeP8WS6p/S/qIpdlRFOAUq1MrIcdDWrI+laipE jZoOFWR7+pnAHrffVXYjtahVF/hNQYQGMeh8+4vPAPQqCxzFpcdOjw+FnU57MZ7DRy6N eC3Ae9MBnScQBcP9Q/6KB7W4Fu5760H8rE+etUf0frPzdUfnbVmwufrcPkNi3jaFDeNL ovNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=JH997B2hLixtrkNzFDbR3aXxnYueE+5eRH+hX/UAlX0=; fh=jlTgh3/YkN2zWaVqhT+u8LWqNaUZhrm5hA4wl+0VOgU=; b=Q2RRoqFgUy/0jV/bB8UezeCgnd8ZH1Pb8sPMvADLutEAndxUfAxnIyWjdXYhPULhfH NYcRnxwSMut26FqFZXq/vmzYkOqhdSd2UDSUy101ZEt7x0flyIkM60UsSJYxUIrdnj4H ttmzmDa6t33xZP7UeHoXSUvmh2b+f3CG7Mmc9VZrMwxQUMh9d79wVjwDTvZ/WS0Qvnd7 2Nlpk1iqohFGcA7haTQnUxYPHY4X/qLLbQ8AucYdoI5N1bsKc1QQaA+Y9zqUVUJwYcnh D9v0OukjP5zbJP1ADycdlD3/oRVl1EyYDGMWHwRLRq7jtFitRW21ovmsZ+RulnvS/GFl c3fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PBWVLxPT; spf=pass (google.com: domain of linux-kernel+bounces-9613-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a4-20020a056a000c8400b006d965df9a04si3142690pfv.7.2023.12.22.02.45.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 02:45:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9613-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PBWVLxPT; spf=pass (google.com: domain of linux-kernel+bounces-9613-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A381C286CE8 for ; Fri, 22 Dec 2023 10:45:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7BFF171D9; Fri, 22 Dec 2023 10:45:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PBWVLxPT" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0D50C171B8; Fri, 22 Dec 2023 10:45:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03FC8C433C7; Fri, 22 Dec 2023 10:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703241901; bh=ShupqjdXCK1YHHBcFO8hs750OVy4QTGRAAwSR5iev4o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PBWVLxPTZhWKm89e6utkeSoLjdoR+XdZLEy8WV+hIJ8ILRw1w0SQQJa+AZx6ZFSaL Ac7Pzih+KyS7es1tPn0jQ3xeopOqVUbIyRku/NL4E9cx+HTc5dd71BymS84hnKibfS jQigEkVotx7dEgpqk+aEeYRh6wRzH4kiAAOQChisvsmAkZwlRlgkdekCQcNFSHiMoT N3Pz7x17v7szXgqNeySKF9SmzR0xfJJWWa3W5CbZ8IN/TBVcBNZ05APQuSf3GPTiOU huX2loCy03cRxDuvm7cPaoK9e3zoqehQzeLPFV6zM60bsJlI4T81Abpjsp2ZRnjBw2 hwuoqe55s0FSA== Date: Fri, 22 Dec 2023 11:44:58 +0100 From: Wolfram Sang To: Alain Volmat Cc: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Pierre-Yves MORDRET , Conor Dooley , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/9] i2c: stm32f7: perform most of irq job in threaded handler Message-ID: Mail-Followup-To: Wolfram Sang , Alain Volmat , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Pierre-Yves MORDRET , Conor Dooley , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20231215170617.95868-1-alain.volmat@foss.st.com> <20231215170617.95868-3-alain.volmat@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cJUzRKXF5UJ3Tb2D" Content-Disposition: inline In-Reply-To: <20231215170617.95868-3-alain.volmat@foss.st.com> --cJUzRKXF5UJ3Tb2D Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 15, 2023 at 06:06:06PM +0100, Alain Volmat wrote: > The irq handling is currently split between the irq handler > and the threaded irq handler. Some of the handling (such as > dma related stuffs) done within the irq handler might sleep or > take some time leading to issues if the kernel is built with > realtime constraints. In order to fix that, perform an overall > rework to perform most of the job within the threaded handler > and only keep fifo access in the non threaded handler. >=20 > Signed-off-by: Alain Volmat > Reviewed-by: Andi Shyti Applied to for-next, thanks! --cJUzRKXF5UJ3Tb2D Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmWFaKoACgkQFA3kzBSg KbbsDw//aFhyrr+YkjzLP19P98ssW6YFkD5CXluTuvlSoc+3117pGH6kWikSgMTw IuBTpqf7vRSKDZWa4WX1w1byd8o4imBePSfTOJY0Ed54OrAyXUN8/wb7HQ7o8bbx a5AvA+sakt9370xz4V2LikLrIcm0bIzVkdLSPOiV49GE9Fdvj6aXv/GVuQaveSTy pnJhOKenY1F/+80mrJYs1F18DMVTQ7dpY0AzzRL8pdIw9PbMrBUTdqAEI//WnofG q7LriFLkEgm6b71HtIHVCH+KdwCtYQ/eokp7R/lVvZXdpo4RQXmKBkbdk3Ip1fc9 dQuXlIxxHYTHbuAal1JQctNtr/UAQWOzbrKnP8N83oh4bh7LmXwagC5KfHXS9PAl N3GCldcrSX6BVU0wFSinVrFh2Dgrv4/lVOff6zYOwtb3SNykgO2ecx6ZSCs6Zh2s HT9E2a4+1Lu9ubXYT1nE/20sn0+or+ExCb3txD6rdGUAfJiIDoLlf7vBsLlPF3gx zsPpTdXAkpXdjbcWP1g5QxMmvtdAw+PC8ofQlEYyn8RaDFhIsr/XBOAUml+8MDO+ /PuHsrCHWED68xywUk9ajsbZ/99nPaYHjStk8GgXmZ1nAOty+D+H64WYe4U0Imt0 gPk6JOkIF5N+Dg1DxbyT60jrYRbuZFgJHRyPU7Gm7rkICZUM768= =/AbQ -----END PGP SIGNATURE----- --cJUzRKXF5UJ3Tb2D--