Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp357550lqp; Wed, 12 Jun 2024 03:55:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU/Wj+TG24H4MXSsxgv3/VYWvEMfQHXpm52Zz1uLfHvwjgvpgU21syyK76E1YoX2wv4wEqISeEXWlKxsghPsOMPIkn9PK+F62QCI6IoMg== X-Google-Smtp-Source: AGHT+IHifY6slf35JSY2yuHRFKjxDi1Zo5oqsDEx+8PNqe8b4opeI+9HRHsNg9oSa4gytSjFh/CP X-Received: by 2002:a05:6870:a689:b0:254:cf3b:b6b9 with SMTP id 586e51a60fabf-25514d46756mr1578346fac.25.1718189758002; Wed, 12 Jun 2024 03:55:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718189757; cv=pass; d=google.com; s=arc-20160816; b=mjS2iTA8cfytQJGzzMdPFKGy0uyX3NOJY94GlaftBoPSSUcAmkDX4lX4tr5Uy4f6qh N+Q3SF4xkTVwHHdog9L7Ok+XvB9lyvfagAZ56pggpEWOeNv0yJeRsizq0V9bj+tQFo7A IM+9zksHwXfBhB+oYUg6bMFy6geuWQemt5zoLD2Ao5+HI+J6J5B0ABkSAFNOI8UEiBa1 SIYkN6PfsL9m1+QIPGO5Asv2/zf/BSPWBvmkyYCJt6Heap5S/AKNOs+m5hLolm/wwok3 sXzUEUIpG1Yq4jM9krZ6ioI4WwYk2WZS19p170q7ymc9hT/RsVZN8T4R3fySMuLtvRHh hGvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=XX/2FTvcpOE83ZKsu0t3uhvjEs4L4Hnx0LHgBYjOiNw=; fh=rrD4dyX1b7Ojpbh8wcvkiDqf2rpOBUb28zBVVnRVarM=; b=HgGl2tQgwwrFCyw/4oHKRPhDYGqGd3RZP9iHPkYOSRIa+ywWoQD9//u1SiHeQS8OL/ 7kr7qK2bkXZ9ZQBtS+TnaM9plCPvRFWmJzenOGgxyWhYfYT7KhTFFdYDU6oMcqe9/WrR PHbpImfayX3vqrfp/oVKCYLF1EylVPHl6CJ7Wn9NBloaS7CaV+VFks6b6236lVBvYtbD lAttojyRGkLACHvg2HicpWvtzGnKqp6x8sKqat/qf+MFTcLd/eCgKMOFmfYwvdPflakp CZ3UjfVKcrKYYp1pZB6ASDTZiAnpvW9JQonFPjWRcnC1dKUJmFAQtdtX82/zBA6fbWQy 2WXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=X1XFR+hf; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-211384-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211384-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6faf9b51503si1045478a12.617.2024.06.12.03.55.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 03:55:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211384-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=X1XFR+hf; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-211384-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211384-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 92D2B284E6F for ; Wed, 12 Jun 2024 10:55:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCEDC16EC0E; Wed, 12 Jun 2024 10:55:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="X1XFR+hf" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 2363616E888 for ; Wed, 12 Jun 2024 10:55:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718189751; cv=none; b=ftgmjUbZgJHWBUE9GglGLjcdo6LmJdANs8Z320MhujTOmo8m92YQqiY34l5FTm6CTAxgD7a5T/vWxrhgln3QdaZX7ZJ7tbkUMSoecKJ29Xj6s1xtJHgIv6o0xNb4zBoKaWidkH+htdzywr996ZYmyRPJWbU4JvOPcTEalo+W1kM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718189751; c=relaxed/simple; bh=o2/azgVrwaPNaWmwIxK9yQ8UpjBGGyP25jHl/Y4SoR4=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=GkieDtO9S6tos1YypeszjQ7iDEVwYe7Tj3VajPAIo+L09uVopBKektfOSqI057NvCnkRwkLLfAzaGWASBuJFYl7z8HDKWukFzTAOYi+Xo2kvyTVKt1HApG8AYJmw6Y8v92Chn/kr3XeikK6oBXOHhoOSSUmN1gQlv4ioripp6SY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=X1XFR+hf; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 45CAth2I070962; Wed, 12 Jun 2024 05:55:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1718189743; bh=XX/2FTvcpOE83ZKsu0t3uhvjEs4L4Hnx0LHgBYjOiNw=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=X1XFR+hfZ+xF5nw38IFLJl4DdTCZbIStWr+7e/46heu8L3Pvv3VCSTVVcLD6kfKfq dAUVwdlmDxgtrMFw6lQrK3jLgSMMXLMs3UY3XHjkAS43U1jphdLlzAgXeqtFVu+Laq /kabihcCFBSsOcjfhvQUypUuerwRxIIv0cxpJwFo= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 45CAthKg004773 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Jun 2024 05:55:43 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 12 Jun 2024 05:55:42 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 12 Jun 2024 05:55:42 -0500 Received: from [10.24.69.66] (uda0510294.dhcp.ti.com [10.24.69.66]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 45CAteSN090679; Wed, 12 Jun 2024 05:55:41 -0500 Message-ID: Date: Wed, 12 Jun 2024 16:25:40 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] mailbox: omap: Fix mailbox interrupt sharing To: Andrew Davis , Jassi Brar , Hari Nagalla CC: References: <20240611170456.136795-1-afd@ti.com> Content-Language: en-US From: Beleswar Prasad Padhi In-Reply-To: <20240611170456.136795-1-afd@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 On 11/06/24 22:34, Andrew Davis wrote: > Multiple mailbox users can share one interrupt line. This flag was > mistakenly dropped as part of the FIFO removal. Mark the IRQ as shared. > > Reported-by: Beleswar Padhi > Fixes: 3f58c1f4206f ("mailbox: omap: Remove kernel FIFO message queuing") > Signed-off-by: Andrew Davis Tested-by: Beleswar Padhi > --- > drivers/mailbox/omap-mailbox.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/mailbox/omap-mailbox.c b/drivers/mailbox/omap-mailbox.c > index 46747559b438f..7a87424657a15 100644 > --- a/drivers/mailbox/omap-mailbox.c > +++ b/drivers/mailbox/omap-mailbox.c > @@ -230,7 +230,8 @@ static int omap_mbox_startup(struct omap_mbox *mbox) > int ret = 0; > > ret = request_threaded_irq(mbox->irq, NULL, mbox_interrupt, > - IRQF_ONESHOT, mbox->name, mbox); > + IRQF_SHARED | IRQF_ONESHOT, mbox->name, > + mbox); > if (unlikely(ret)) { > pr_err("failed to register mailbox interrupt:%d\n", ret); > return ret;