Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3163326rwb; Mon, 3 Oct 2022 10:32:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4MCatr0bU94kr41do1yrvytrDUAwd71a7Zr24IRWNl49RbJiSeDJIZzh+qHHnQZGQJTLP0 X-Received: by 2002:a63:8a41:0:b0:44a:648d:dd5e with SMTP id y62-20020a638a41000000b0044a648ddd5emr8906953pgd.548.1664818358275; Mon, 03 Oct 2022 10:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664818358; cv=none; d=google.com; s=arc-20160816; b=ZkV0gwZ0cC1gn4JGFmOveH8iPqGmRm7YTtYgm+iU57DbfX8loV/sxVCOP+HbYzMbab zIDsQg4t0Q7Pl/2EyYuv1/E8TT9EDRSjGIo/c2AjzSppjiy6V5FpNuhQvXGlmTJna0pv 2pNcWYg/RnhF6n1PWU+MHqutUBu4kJQrKpj87jgMnteL3IH5kOoQU3gdh8uV/1oX8eFb 3pIl8H3FeQ/vbQu4K8yXL9UPVgtxD/ysQ+Iq9YElh+Efv49uwx7+fTwBBNvl9qyJ7f9k 62FELWfzuyO3y3jbvV/h9W9NOOb08m8aQLCdbLqpN/3UE1mYpymc+X4o7TG3rsLQSOwz CD3A== 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:dkim-signature; bh=ZcKEyglz2TbKS11RyS2nvN0KWcDU1wuM3YnwQLNBo2g=; b=CTNxgHpAy9gyZJhiwmL+XXv4RhGwh+2TOnKofBD4pNX1uP4iYMQrHGdS6g7vD1WHQq 5eXvNyuaJrFIzPYob6/Ds0YgNEqCgcVfekPcVf9+tEN19phE67IMM9VyR624B8S+ZSwm rQtqruTwEkJphM7+bMYjYSI+qTlPwnKkNt5IqsuIwkAJtgKSOIL957uKSXMeL1kTDXqO DBYA8Zjsx4itJi3KveGLcgsksP7ikNhosFvcVJkE0swmGyhx1OHpDbgy3FKCrzPiuZs1 R0Pb5y5nxdDfBLMYXfGhpKiWqT7w5QVbyFfU4a3K1Yj2ETsCTMGGcaW6BYXBkC8b9kOX bOkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="YKAyUB/9"; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 6-20020a630206000000b004492d300560si6906014pgc.556.2022.10.03.10.32.25; Mon, 03 Oct 2022 10:32:38 -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=@redhat.com header.s=mimecast20190719 header.b="YKAyUB/9"; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229747AbiJCRX2 (ORCPT + 99 others); Mon, 3 Oct 2022 13:23:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbiJCRXT (ORCPT ); Mon, 3 Oct 2022 13:23:19 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C63B2F00D for ; Mon, 3 Oct 2022 10:23:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664817796; 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=ZcKEyglz2TbKS11RyS2nvN0KWcDU1wuM3YnwQLNBo2g=; b=YKAyUB/9ozIzUzi3ALX2Royk4yChuVEONBEegCs4W1TOmraTGWhrnPqBUEMMRPCOAUYJmU JnVFMwdW7x0B6P2Hl4a4lQTz6vU9d/l3J6+/gfUj9croIpuPShEIfY0Rn39m3RXVLDqjvs /8z/QKV9Ig/6qa/KHoALdtHbrANavwg= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-275-IPFHjHP-P_WuE7xlc09qVQ-1; Mon, 03 Oct 2022 13:23:15 -0400 X-MC-Unique: IPFHjHP-P_WuE7xlc09qVQ-1 Received: by mail-qk1-f199.google.com with SMTP id az15-20020a05620a170f00b006cece4cd0beso9673334qkb.22 for ; Mon, 03 Oct 2022 10:23:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=ZcKEyglz2TbKS11RyS2nvN0KWcDU1wuM3YnwQLNBo2g=; b=ABD+Oaj4kdpVLv9clm+CKIvDQ8fW7I7YcfMgvbIJaEe8KbAUjwYo/jita5DnbqMCgs zpXoRuZNA3SjNLcqwZ0/769wnVPhB9H71TQQC5GuKD2vpE7ZYEHhqhht3VVoETG5/UOi fzq8FzqLnTcSFso/VpsVlfw2OjKlrIUwRxby4uaaZwT3XVlS/VhzKJALGTKl5qZqDVzx dBakhamdmCnlTKtJyoLwZHKP/AKUY+VgC4hJJol5P8I1srwP7X9ohFZQnXJfk/f+gVjY bSK4/1pHjs5JDExsNXj6uXVzxpAxCb9tHuJfD3sa7H8ipTNPS4Ke25rG5QuLnzlMj0hP xnkA== X-Gm-Message-State: ACrzQf1FROYq0IgSDn7ew50ZfB+D7fowCv77oLuVw588pSHAln+/VjW7 qYQgL2ntDkwMonPaVI7VlB93xmdIwxOZflsP8T1HQjAbhBRoDY9r4fhITjFdh5uZbhOOq7tZFws +IM5kzVyXiQQ5mFgeMk4sAI1P X-Received: by 2002:a05:6214:f0b:b0:4af:9262:d52c with SMTP id gw11-20020a0562140f0b00b004af9262d52cmr16854204qvb.57.1664817794960; Mon, 03 Oct 2022 10:23:14 -0700 (PDT) X-Received: by 2002:a05:6214:f0b:b0:4af:9262:d52c with SMTP id gw11-20020a0562140f0b00b004af9262d52cmr16854184qvb.57.1664817794750; Mon, 03 Oct 2022 10:23:14 -0700 (PDT) Received: from localhost (pool-100-0-210-47.bstnma.fios.verizon.net. [100.0.210.47]) by smtp.gmail.com with ESMTPSA id h12-20020a05620a284c00b006cebda00630sm10429201qkp.60.2022.10.03.10.23.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Oct 2022 10:23:14 -0700 (PDT) Date: Mon, 3 Oct 2022 13:23:13 -0400 From: Eric Chanudet To: Sebastian Andrzej Siewior 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: <20221003172313.vv3isog3nsc3r2pn@echanude> References: <20220909162043.2734873-1-echanude@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Tue, Sep 13, 2022 at 11:40:09AM +0200, Sebastian Andrzej Siewior wrote: > 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? Agreed, my apologies for the delay: https://lore.kernel.org/linux-arm-msm/20221003170849.383005-1-echanude@redhat.com/ Thanks, -- Eric Chanudet