Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp365694rbe; Thu, 29 Feb 2024 01:41:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXyCCEhXTphW77aMP77PkXYSefe/ufPimCJtHdYaUofnj4/QkXUjRgu9BGHGAulHiasLNNVYNdF1zlsWI3ROkpmnxuaFTNQZlbY2YFXdQ== X-Google-Smtp-Source: AGHT+IE9T0s7mP+XzyflKMj55+1aI9EHnNWRg9tQuJIyDcSEjJ8f917kegIeN+Pi3ZR8jbv07aAs X-Received: by 2002:a05:622a:11d2:b0:42e:bbfc:467c with SMTP id n18-20020a05622a11d200b0042ebbfc467cmr845911qtk.47.1709199660604; Thu, 29 Feb 2024 01:41:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709199660; cv=pass; d=google.com; s=arc-20160816; b=dPduNUGZRw1ieuUdERhKZO0weMVC1d1Rl1K85Map6Pm/YJe7X7zuXDoVnrIMwpWs73 PfKWihTPwMkh8ZMVl8IQNqyctBF+RXqY6YBwvLXCvBpSmInHkXvrO1XBlJeAN+X91NPC a/znxr6b6lR0YyjygCkmGlZhQHytrKwch6X1uaUphD/LSEZ/r4vG3j247ZY7rdGNdVJH He1uqRIxXzUVvUO0Ce+ygVybl4en9HYhXt6qrb9F8LSULphHrOH7bbUPNMMAtdeYkTzG 91P6YxkuEeqCVwCOm3nVoB+cS/RJIX5k1IV/Zi9U3L2ul1s7dkiXDlwXN4RN5W5SPQ4i S7jQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=RyCBVNPqEW0zuUlohfUJLkEI2GPhiZBz5mwYpBOsGEA=; fh=DxW44+tj5anJFOYe3JDOzRW1v3I5SjG9YdaecZsVApw=; b=QTyPn0JX9eeeSOoQ4vKwYPfpw27ycJGHZXBO8pewbA8qMyDbBYcyb1Bv7LfuZPniAl ywe1xgZDWwyACF/zTlQaetIcWMUIAtcFFOInKz4AFWrjiyflCJnhhdY/2VXdP1lOR7t1 m4wjz1CUGSwqrjZnNR5b8kpFZ4VgdvHh1IiLjUy5vIYp+aOUiZt/mVsC5XDFgo29DZ4E 1c6OCyymKqnivYA9x2W7MqGigcH1HKcMIi0M2Hv9sHuRvs4e34WC3BK4VQr0i2LHKt79 Y2BfU8F89elD1HSTgfKez/IdhuiqK4CWjSYRGH0C0Ta9LCS5EAQaFxfTX/5OZTbSlOKD 5tlg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NoB5fSkr; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-86453-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86453-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s24-20020ae9f718000000b00787dea7f6c0si1016608qkg.110.2024.02.29.01.41.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 01:41:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86453-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NoB5fSkr; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-86453-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86453-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5652E1C20979 for ; Thu, 29 Feb 2024 09:41:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9935E60DFD; Thu, 29 Feb 2024 09:40:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="NoB5fSkr" Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com [209.85.128.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BFE2B60BAD for ; Thu, 29 Feb 2024 09:40:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709199631; cv=none; b=KwDYecESZ79u9dPkz/4anrpbcALCjBK1nUAfwPCbt1c8fGZWk3GnEpcIIUJlYbYiDXLSBRYtGONVwQq4oxQ9+bpEmk/RoDqViIvyxPftg5ADmwOjOsD50eBiw302bE+WDZ+Th/sMbUKXmdnWVgtYHYAgTx+Qous7Ju3JFE7QAWQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709199631; c=relaxed/simple; bh=RyCBVNPqEW0zuUlohfUJLkEI2GPhiZBz5mwYpBOsGEA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=PwgXxXNUohs+zyihbXS66TbxfiPKgd7baWOlTB5vp+1dPxxREUt7zeqNXfSCWJ8iW9smx2QKg2EWCM39xm7f1nH2zg6FpWPw+Tqxt06CHpO6QGvqJGUu/2KfFDcd8ZT51k+QFOtTMsLmBvtzIvKFfZhJz4QXlSjglTJRG7Y/2Sc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=NoB5fSkr; arc=none smtp.client-ip=209.85.128.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-6089b64f4eeso6010077b3.2 for ; Thu, 29 Feb 2024 01:40:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709199629; x=1709804429; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RyCBVNPqEW0zuUlohfUJLkEI2GPhiZBz5mwYpBOsGEA=; b=NoB5fSkrKSan6ocgY+48JaFctszv3wGxfJInJpm3/w7juxaA2jVAFe+Tk/9D7D+VlO 7rg9vFrwDh1QtdIeirykcHCRnPNTsNo9HEZsoLXHQpxKidhSKAXgsYX3CVB6rrr8WYmB TAiqBls+AVh4DL9LszDTMyK81dUOmNo4T7krWGb+qR7qgNEl+xU/MhkL+3eipI0JcJGo Q0JAFs8x+iXikHhB/gol8h88S6SiA/SZ4QmyWMR4vQDrCVef+iZZGlfzqP3GJ0dBZjYu vmn/2GSyPmBCuKDAq7boWZ6w0ehm+LrlgUXAXfueQChKt2QLCweRe4VyesezlmFQix/3 ZViQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709199629; x=1709804429; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RyCBVNPqEW0zuUlohfUJLkEI2GPhiZBz5mwYpBOsGEA=; b=RIBiUkAvM3MMyq16s6L8ux8RVZ8LWEcBbh3xJfA7n1glKQHyoysaZj+HdepOiFVvJt RhXIzNEt8u378ONN2F1Uup6LBeEPSRiykoF4O4yJfaBGdVMEoQapvdX94Mgt30WwpWna s8vukyRjQtOff76qdqjOuvvCI4vYdsvGWgun/yGI0/dH4MO2c74jTdmbGvWdG1in14Vn q20Ruv8svwgku4Y4TiiJ88chfcwWUw6z5qf+6pE9qvjx2RS3Ql75ygW1hn2HQ0lGmj0t R4HvkhscSaWj12uc4DLYqvgnSkvLRsy3WIQdKy2CPWy3yJAj3jvqdq0R02Pu3ofuDNan xS9Q== X-Forwarded-Encrypted: i=1; AJvYcCX2pdxu6pktLAyTdvQPnkI/OHbtf9A6WI+xtLzlwly+dU6Qbm/OtOz5ZhsVqnqouTNNG23g2NJUU6RN/dQWGooZxUnUv6bbeDhH7CcQ X-Gm-Message-State: AOJu0YyyB1sqftcKW1IaqAev2buiSJf4oXLKmFjK6/DIZ9ScrDYNc6/l oOpKFE/g4p6ljY4K1Q5AQcjUL/5qYhE0M9qPu+EgLMJ2w+YhdAypZnCcTIIa23+t/JyYYhTTBPc AF8Qu42eJaSpLdWhzxeCEIcFAf/WwuD93wJnCOQ== X-Received: by 2002:a25:aa67:0:b0:dcc:4a0a:d0ba with SMTP id s94-20020a25aa67000000b00dcc4a0ad0bamr1560428ybi.63.1709199628907; Thu, 29 Feb 2024 01:40:28 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240228-mbly-gpio-v2-0-3ba757474006@bootlin.com> <20240228-mbly-gpio-v2-26-3ba757474006@bootlin.com> In-Reply-To: <20240228-mbly-gpio-v2-26-3ba757474006@bootlin.com> From: Linus Walleij Date: Thu, 29 Feb 2024 10:40:17 +0100 Message-ID: Subject: Re: [PATCH v2 26/30] Documentation: gpio: mention generic_handle_irq_safe() To: =?UTF-8?B?VGjDqW8gTGVicnVu?= Cc: Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Thomas Bogendoerfer , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, Gregory CLEMENT , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk , Stephen Warren , Jonathan Corbet , linux-doc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 28, 2024 at 12:28=E2=80=AFPM Th=C3=A9o Lebrun wrote: > generic_handle_irq() must be called from a no-IRQ context. Documentation > advices on using a fake raw lock to call generic_handle_irq() from any > context. > > Since 509853f9e1e7 ("genirq: Provide generic_handle_irq_safe()"), a > better alternative is available. > > To: Stephen Warren > To: Jonathan Corbet > Cc: linux-doc@vger.kernel.org > Signed-off-by: Th=C3=A9o Lebrun Reviewed-by: Linus Walleij I leave this one off from my branch, Bartosz can apply it separately. Yours, Linus Walleij