Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp491456lqp; Tue, 11 Jun 2024 10:05:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWCaYspzxl+E5jZRDKT+OQWhJyAi97+b19dNdM0K160bo0Xf1NS9G43P+os+ZvsgOmIWiWp4LvFGJfnm7nHSR7jM5pRjMRG21XaNqxFsg== X-Google-Smtp-Source: AGHT+IF2CdaSVlVS6hUfFU05k1S+tv0gL2Pblg0tlttwOfIZb3P7CdZA2d1ARUG78QAsof0I+hBF X-Received: by 2002:a17:906:1394:b0:a6f:218e:6f9 with SMTP id a640c23a62f3a-a6f218e0735mr329449566b.41.1718125510525; Tue, 11 Jun 2024 10:05:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718125510; cv=pass; d=google.com; s=arc-20160816; b=npuLBO2+wJCjE8F+id5wODqGK4BIqJWOypENllEVL11RaRjBZwMhqSknR0dJ7DBgFR jZJzuxjo8O3rkwl5+IQNJMqhnM7C3E2W6z7GC8twkGrJBGTPG1T11xgLKNojNopg0VH0 QidihEItmfLPa6Yn3ExMlzbctddVnYt+gtiAi13AYa8ogzY2qSm3WFnsfOv6ox45mnjh 0xT+xC+aFq3SdIYLw+5LgitL2O0+OLJmO/BJqo12B1en8mGoG1+VYAT3CDcHoGBfYrxP D3GcTZCYODoxJsaRUbEbf/v8F4FRQCNzLWKeE2lO0muFtRQu8gQlljGXYyqZUlGXju42 p/mw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=mIGARfpX1NigkPik0naU8QyBW3hIwD+N3yK6u39Mhv4=; fh=qqBnQ81S3aAVkm1EjIdREc/Rl1sS0W76oz/79MKMJ2k=; b=qC1dNxjUEOGrjr+QCvaVud5nmljx2PZyy0Py7yKIggARK7GbAiFtdsXezXtPg4VK/e HLtdo3GMo6sgzta5uqQJ1W/Byl8u0TYS84fysozcm8p9G8w7T9zHLjBpW7NiJYOMBjH7 bfiyu24ra8uEoOL3Puz64eTQDsGVF5/++cqIXweo/Y+/3rDAbn4zjWQntgAAHeAdUMBe 1u1pda+7yFcxA0eJqO9UaIO+JxFYEPL7jM/CYBT49yfy5IqKQRWc5Ic65JQ1UCc985Sq hM/kps4NVz85iigZ8b9NGceN6x8xmN0HYB1/B+U+ZHMKFkF9hoQ/h3mMvr+8gjwnhgNE Uoaw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="e37o/8pj"; 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-210305-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210305-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6efe5327b9si366662766b.735.2024.06.11.10.05.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 10:05:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210305-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="e37o/8pj"; 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-210305-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210305-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 40A4E1F23B54 for ; Tue, 11 Jun 2024 17:05:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9DF54315B; Tue, 11 Jun 2024 17:05:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="e37o/8pj" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 40F0940C03 for ; Tue, 11 Jun 2024 17:04:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718125502; cv=none; b=tzvmNEyzCJB9Mm4r8Q9ipQtGZUa5FOpjM0by+hasNXrbhbMNN0WoRQJkN1GYgT6IRTxxprPPvquwgwoky3RPBsyPUPEeH/5Y7CQJhGW8qW2RvBO55+DN8h1WajBQ3lKoszneoG34GYb2fY4wL1xQdj5+3y0UtQwj6rkL55yEOhI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718125502; c=relaxed/simple; bh=v1ZNq4JwoYhwZQR6SFYW6CMOzV82UJ7h9T7rF03L/88=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=R3VSICzjGyqoqwSdhcLw7qMyZO3MM32ez6tRxn7i2ckOjmXBjo7ChfqfzGT0npn0x2RI9Xw1j/vo4VDCoxtah8ZnFyCjRMIot2YzNO+7vSQ+SZd5vntbRo0Gq8GhT0CPUV8LyNz5yzwAdD8jcRKj0ZLRbd1OMKHOl73bj0uBEz4= 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=e37o/8pj; arc=none smtp.client-ip=198.47.19.141 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 fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 45BH4wJN077943; Tue, 11 Jun 2024 12:04:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1718125498; bh=mIGARfpX1NigkPik0naU8QyBW3hIwD+N3yK6u39Mhv4=; h=From:To:CC:Subject:Date; b=e37o/8pjIBMauMLJgK/QsYUHX8L0Wg6f72XYd1w0lAMkwUzJvFG3lTjQlS17hcuLi I9+95WtUQxxtnsHCXIqjBrchpg+QDk/bBRl2c+Y0b/RkSX+INuCcZlorLhKPWiR7O5 AW4xcOkAXDUa97IR6zWuns0Pe6O86ZhO6C0D6wkk= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 45BH4wgU023609 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 11 Jun 2024 12:04:58 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 11 Jun 2024 12:04:58 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE113.ent.ti.com (157.170.170.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; Tue, 11 Jun 2024 12:04:57 -0500 Received: from lelvsmtp5.itg.ti.com ([10.249.42.149]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 45BH4v7a039108; Tue, 11 Jun 2024 12:04:57 -0500 From: Andrew Davis To: Jassi Brar , Beleswar Padhi , Hari Nagalla CC: , Andrew Davis Subject: [PATCH] mailbox: omap: Fix mailbox interrupt sharing Date: Tue, 11 Jun 2024 12:04:56 -0500 Message-ID: <20240611170456.136795-1-afd@ti.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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 --- 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; -- 2.39.2