Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6352895rwn; Tue, 13 Sep 2022 03:03:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR5lR1LLmWXaW2M1wkVZBlZtu6yuCjwy1qnqhAS//OEH9vkFrQNFsJ5Jseg/64Mj29W0v37x X-Received: by 2002:a05:6a00:88a:b0:53a:b7a0:ea3a with SMTP id q10-20020a056a00088a00b0053ab7a0ea3amr31382253pfj.21.1663063387503; Tue, 13 Sep 2022 03:03:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663063387; cv=none; d=google.com; s=arc-20160816; b=GkMJWPouvm2T3/EEC1/lvdZIYm+ks7TKpmoOkWyxjoz9XihPTjJkJjean6lZ2O3z/3 xXCSm9P2jizOso8JFP18Vh80mhc0GdeJM6rnyWScpyCltpaZ0t9d0L7GOFSGTd3LKSrv Vh8CuS0GizAdQw4NUG3j9a1LirhoNsdx/+fY/CuvMmjKeLxJ1hXKXW7MVpylXMf/U85r 3h6uJIFnXuwVUKsvMfbzUEKJ8gPXNj7HHoinWOwakEL3X0MFDXtGC0th1vi4b0BSHg5y CNEeKP8p9Eg+sAYP0KUyFXFrvyL9NCqft7NuqWOhMtZmDW23VZ7wk0B/nr3bo1Vkifzf Wllg== 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:dkim-signature :dkim-signature:date; bh=U6AOT9uSgxz9+ZVqgDff6qlA53R0fV8Jzn82x1C6ibI=; b=SWZGQcHmQupgYC8lLFp0E9oX3nsOspDWSXFXdP31shAPpm+w1OX//Fp75guleazE3X 0VL8yxz/xmaOqccEmrQjWFsMliGTgJNRkuxkcGhiuONwdux8Ef78sO9F1Lr0CIShCRft 9KztIoYHmrRe80HtqbhsUZsTiUFcRhzuaE8wJ018Fmk1e7Wept87PpkV0VrVMcjiIeXY jwjpyykmaTkXNBda8g3OjbWeMznawSsWL29RND8wPI3P3iXNkhsg7f/gHX3txuAp6f6R t6pz1dLLmtiykkjAI26NE4SJ8iKrilCWw6xcuymA9VG1Ha5TXmq4MmCeo0KEReZHne6c kr7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=eMFkdbUs; dkim=neutral (no key) header.i=@linutronix.de header.b=bKo7MzQn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o8-20020a62cd08000000b005303194bf1bsi11070846pfg.111.2022.09.13.03.02.56; Tue, 13 Sep 2022 03:03:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=eMFkdbUs; dkim=neutral (no key) header.i=@linutronix.de header.b=bKo7MzQn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231738AbiIMJkV (ORCPT + 99 others); Tue, 13 Sep 2022 05:40:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231744AbiIMJkP (ORCPT ); Tue, 13 Sep 2022 05:40:15 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9ECBC13DCF; Tue, 13 Sep 2022 02:40:13 -0700 (PDT) Date: Tue, 13 Sep 2022 11:40:09 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1663062011; 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: in-reply-to:in-reply-to:references:references; bh=U6AOT9uSgxz9+ZVqgDff6qlA53R0fV8Jzn82x1C6ibI=; b=eMFkdbUsLoFa8r2eec4jd1ahrAQ8K2QMrDgTBNS9gxdZskDrh5KwGofAenaRu8nZQ/o9ap Cz8cO7M3AYsqBOBmdb17crZ7nksF4ykVCAJ55nQe7RWEoS64OIC1K97XTGcfKGOWofhNRk Pc02s2IFy4B/HwtTfCnh8V00YKZq99IC/tnfpD/go4XyQHqiQw2WL1hMVHwv6uo6IC2id5 UD3lBuPwQklmusAYitVlLOzivO5uhoHhWMu2QnSr7ZTlTjhmYMv/g/AdufkeW1p3M0oMlE JPnhx91oSj2EPXeIeCL5apQ6iSL1ZXsdIdyzyXZxnAb22cuAV+TIyoXxCCvxSA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1663062011; 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: in-reply-to:in-reply-to:references:references; bh=U6AOT9uSgxz9+ZVqgDff6qlA53R0fV8Jzn82x1C6ibI=; b=bKo7MzQnFeGJk7v7dL9PVXkfwL7xnpdoNiByAXLErgyYcY0V0Yt5JGyPHMSUy00VOzWRtc PmwL/TWo9MIWrzDg== From: Sebastian Andrzej Siewior To: Eric Chanudet Cc: Andy Gross , Bjorn Andersson , Manivannan Sadhasivam , Jassi Brar , linux-arm-msm@vger.kernel.org, linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mailbox: qcom-ipcc: Use generic_handle_irq_safe() Message-ID: References: <20220909162043.2734873-1-echanude@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220909162043.2734873-1-echanude@redhat.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-09-09 12:20:43 [-0400], Eric Chanudet wrote: > PREEMPT_RT forces qcom-ipcc's handler to be threaded with interrupts > enabled, which triggers a warning in __handle_irq_event_percpu(). > > Use generic_handle_irq_safe() that can be called with or without > interrupts enabled instead. wouldn't IRQF_NO_THREAD be a better match here? > Signed-off-by: Eric Chanudet Sebastian