Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4157046pxf; Tue, 23 Mar 2021 04:18:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqbojlhGpkTwaFq6QU0ylwpp+hRi8ix383XQ75PFZi2WumcQ0OCjSVsEMRb9DRdkqwen1J X-Received: by 2002:a50:ee18:: with SMTP id g24mr4062769eds.267.1616498284073; Tue, 23 Mar 2021 04:18:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616498284; cv=none; d=google.com; s=arc-20160816; b=oslnQohXp2FpV9Xd7VuDGfMFxUiiS3Xoxa2zACTMH4dxBzk81SEodMVQyUtpdY6OHz 6ZilhV4Cn0p9GxnQDQDAwggctl9vDp4800MOutlIjljVmgpk+Vt3eY13Gi7HvnE4ERE9 S5eyoHUUBjqxv/De7M2VHJsWtfIcKIozUBjws33wpxIOKttXc2JDiR6K/PAInV6lSkhA 6XW8HjWHj1nXVv02hqz9fE93103cNT4CisVf+fVIv9c1Tm+vmkwCXT5C1kOx2h62gJMT AOMEIg3mWUiw9atp0QEWn+iEDl5iIhCYc0wuUlzeAg905ipBm85Gxl2gxVmmeQIpRyKy QIVQ== 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:message-id:subject:cc:to:from:date; bh=/fIkSkTElYmlDESb7cUs23TFfJag5DjMtI2fQviXNp8=; b=aNGawh1YtzbdEuEdtZrSrGdZVkXgxShVSkZJ8Dm92x60rzjuzHSEEI5LqpqiyWrIOJ xdSnjRp8rGIrfAeSELpgfNEJujJgW/3Cr1dWwkp0hPHUTFeNFSSgbaXlI8MJNUaUZfZo VCspUuM6VjPwCORSBTuDEhr/GMdudm2qcu89BBP+nSRlz0efeDISjuaB7YkVL9U5atX2 nuiOXWCgvuki1QpLfGvXAGDJpBN7PcIdhPNU20AhVnAN38F26naP03I3aivAxcNciCQN TnA37fTSrW6ieu/1QKsHxwq93X9QSYGjc/2Bbenwpi3/RaZgzwGEHxsMzk28BeeRVRvt PaTw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n20si13007879edq.273.2021.03.23.04.17.41; Tue, 23 Mar 2021 04:18:04 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230458AbhCWLP5 (ORCPT + 99 others); Tue, 23 Mar 2021 07:15:57 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:49190 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230359AbhCWLPn (ORCPT ); Tue, 23 Mar 2021 07:15:43 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id 58D151F45448 Received: by earth.universe (Postfix, from userid 1000) id C027B3C0C96; Tue, 23 Mar 2021 12:15:39 +0100 (CET) Date: Tue, 23 Mar 2021 12:15:39 +0100 From: Sebastian Reichel To: Yang Li Cc: tomba@kernel.org, airlied@linux.ie, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] drm/omap: dsi: Add missing IRQF_ONESHOT Message-ID: <20210323111539.5wi3ldwfvxvzmio7@earth.universe> References: <1616492093-68237-1-git-send-email-yang.lee@linux.alibaba.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pg4zoiacfcv4n37f" Content-Disposition: inline In-Reply-To: <1616492093-68237-1-git-send-email-yang.lee@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --pg4zoiacfcv4n37f Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Mar 23, 2021 at 05:34:53PM +0800, Yang Li wrote: > fixed the following coccicheck: > ./drivers/gpu/drm/omapdrm/dss/dsi.c:4329:7-27: ERROR: Threaded IRQ with > no primary handler requested without IRQF_ONESHOT >=20 > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- Reviewed-by: Sebastian Reichel Also maybe add this, so that it is properly backported. OTOH old code did not have IRQF_ONESHOT either. Fixes: 4c1b935fea54 ("drm/omap: dsi: move TE GPIO handling into core") -- Sebastian > Change in v2: > -Modify the fourth parameter, not the first >=20 > drivers/gpu/drm/omapdrm/dss/dsi.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.c b/drivers/gpu/drm/omapdrm/= dss/dsi.c > index b31d750..5f1722b 100644 > --- a/drivers/gpu/drm/omapdrm/dss/dsi.c > +++ b/drivers/gpu/drm/omapdrm/dss/dsi.c > @@ -4327,7 +4327,8 @@ static int omap_dsi_register_te_irq(struct dsi_data= *dsi, > irq_set_status_flags(te_irq, IRQ_NOAUTOEN); > =20 > err =3D request_threaded_irq(te_irq, NULL, omap_dsi_te_irq_handler, > - IRQF_TRIGGER_RISING, "TE", dsi); > + IRQF_TRIGGER_RISING | IRQF_ONESHOT, > + "TE", dsi); > if (err) { > dev_err(dsi->dev, "request irq failed with %d\n", err); > gpiod_put(dsi->te_gpio); > --=20 > 1.8.3.1 >=20 > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel --pg4zoiacfcv4n37f Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmBZzdEACgkQ2O7X88g7 +prDmw//d020afWCghl0znptvXYhWJzyInpZFHBBOXUucLTHrVuptZ1GzfMQmesk bR/tCHuC1nd55Ge6TETmN+RgYhgnjM7mu9ENOkog6A8157HVsO6jwo0XUkwbl4Qh vH7qJ+ffhFJ8zsi+jLy7ooh0ki3YhK8lYduv/takXBXgF2GJ0N9TPlyBu71q/caD 4uw6y/1WiuhvZ5Fx+7L5kEKxWJTNAoCQkuaAqsDTFGqrspui+rPkZkwTqdAjda6y YT/1P14r6Cl4S4IVFun3I2oPWpemHqTtQ05wFIEIHdOPn1e/ptVrQUhLL9INELeq qjg1SbvSM4kVbaW7mA6wQf3U2G49z8ATDPhqS0DRuAiMTSGjObEIPk99fxR93QSH hzd4GQu7iYnsxsjp5MYRp5cZb56hcWr+GTrT1kP/1Wygg2dphm3MxZGvVg/8/One hgxWativFSE2pqkGbftn7CaHTOjQYUU6dwwVmxJuVN+VAQEKiGpOEWNaxXE257Rc X69lIYE2AJsvhqrxruU6zp6VGMupAc/tFzjh8Fp3HUwYvFVNYq2Xoy/VDESC6DhZ lYRexXR0H5vt5HKtYylSh8aE4xUc9iR50a0X8dLsZOEuV+jXBLe7RJtVgxg/dJt9 zgdZLy2DW01v4kaSM0a53xYbjoRXaw08PMduMq4U7Wb9zBbtLx4= =329T -----END PGP SIGNATURE----- --pg4zoiacfcv4n37f--