Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp159440lqj; Wed, 10 Apr 2024 07:05:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUqIDjoYy0hjSMMWUr8MGIfEyrn3iPzs8S+sI60mxt/kfc/ZiGQtHPADQFWf0QPAM6DUwV/Sdz+lz2V0dmjq0ZEpM3sRBMqEUx3m79RsQ== X-Google-Smtp-Source: AGHT+IGepYMiHfQMv3l1edklNKzeU/dE9ueXWF/WGGF9ZT9qX9e6yBwyV+osQjO6jNbGoA4ZAMsn X-Received: by 2002:a50:8e5b:0:b0:56e:24a5:587a with SMTP id 27-20020a508e5b000000b0056e24a5587amr2364847edx.11.1712757906150; Wed, 10 Apr 2024 07:05:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712757906; cv=pass; d=google.com; s=arc-20160816; b=dNMq4OLdVjGn4ZDVK8PsOhiW8VZoQhBU3XMcFjNyqODnUVeatCw7induK6ckadG0OR Fk0YAG43psjJYbeJ/XmQm/EXXnBkbsmIyms5KexRnKv8RPnQRsIDnjgGeXaMzTj+5YF3 rL+U171+ZpMBxL51BzhbbyJ5QLsPqDEWZg7buIHF2kF0Nj2ctXqm4EHaOCRhdacBYb0b w/zZ4XSijPSl04hUmqAy/SeJ1omQwNnUukFF16ogzepPZkAVmtS96MFpVwK6vPXlIg4o 8s3rDStw6TB/XbGex7h6oD2ffVVLjaxlbuZDIAlgHbRSqlzJkpCVsp0WhAf1aAGY1gvZ XhmA== 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=wohS1UWkRM7giv/XyIaRHM0QVxnTPGRnJbLhd8440+w=; fh=li+nOTWR+R+c2QHViCtM9aHEBgqgbpW81MUCABMZkAY=; b=XF22yMd6AKfeDjS9t7Hpu5ncMtryXLuuHdtf0x5CAS/72fRx7H1TwZh+pLw/j0t9ZY OTDASIhEWsmcnMnxwORXmRIxdJRE72n4ubDVmO445GMZZm/anrIjaCfBPjMln1rRamv7 SccUpw7Jp/k1mTPB4baCYhjKNlSN8/pFZWyMynf/x7ngYE0ER/IJiltfPkQtF+zxQun5 /L/2jrcNct1nfZD77/DIjNJunyi4KY2K915B2ZiDYXu25+yNnE30JfQxsJsFlqRQnKOz pSvrodlkx5Xak1MTwvD+N9hvCXRm4Q5oU9kUs+XXCkqqsQ2wtCP49xcSnXkWepkWCF/6 yQJw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FIe9lP7p; 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-138695-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138695-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. [147.75.80.249]) by mx.google.com with ESMTPS id e26-20020a50a69a000000b0056e0e636bd4si5854541edc.132.2024.04.10.07.05.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 07:05:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138695-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FIe9lP7p; 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-138695-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138695-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 94D311F330BD for ; Wed, 10 Apr 2024 14:01:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E5E3E16DEB0; Wed, 10 Apr 2024 13:59:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="FIe9lP7p" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 58C5515F400; Wed, 10 Apr 2024 13:59:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712757590; cv=none; b=SBZbLA44sy7i07j1YAHNUP8Q4zGa6zJIere8MvpeS1SY6I4eS0QC2TpcwKWhdFmSGQEpc9Ku4hKc+JG96BIOnEQ+rr/XkGxX+zuVzvjnhahCB7TWKRcyGWZtYmpdc/61pXrSSHQTXcPzt9aRHkkLEnklzNbi0Izwdw6cjtXPXeU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712757590; c=relaxed/simple; bh=VyssH3HwGA8ttPNbt05cbLQnHU3BKOP+QGZgSD7GjKs=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=tEFwWrKipnWFTY95n/rcboxemIbojvtISiXBIWrLWwPjU+T3+x5MHhsXjzm6ZdgY8GyMAa+iGJkXfLCEEmLzY9YtmfqPmXnkIY82UErn/nheRXQh753cjQjMccMJwjfaCU+RWUfSnjkASSftXiFdAJA//7sYSMuxPRDwZPPgZbw= 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=FIe9lP7p; arc=none smtp.client-ip=198.47.19.142 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 lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43ADximh056735; Wed, 10 Apr 2024 08:59:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712757584; bh=wohS1UWkRM7giv/XyIaRHM0QVxnTPGRnJbLhd8440+w=; h=From:To:CC:Subject:Date; b=FIe9lP7pGVrH5IL58fh9ZElM9Hmi0tbJdEBi2sBHgQHRXnzU9nBU0NQJZAOugYrwY wxt7pXt+x0GEG2aWgfrRJ36NIWGt9YXiA3ynDMz/KrmT6lzr0tPW9GKRjbylL0CoXZ gWS2TcnZVca1VSjrM6TRbA0S/OMD8JFk9cf8uW+M= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43ADxhP1011473 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 10 Apr 2024 08:59:44 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 10 Apr 2024 08:59:43 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE105.ent.ti.com (10.64.6.26) 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, 10 Apr 2024 08:59:43 -0500 Received: from fllvsmtp8.itg.ti.com ([10.249.42.149]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43ADxhak067183; Wed, 10 Apr 2024 08:59:43 -0500 From: Andrew Davis To: Jassi Brar , Hari Nagalla , Nick Saulnier , Bjorn Andersson , Mathieu Poirier CC: , , Andrew Davis Subject: [PATCH v2 00/13] OMAP mailbox FIFO removal Date: Wed, 10 Apr 2024 08:59:29 -0500 Message-ID: <20240410135942.61667-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 Hello all, Core of this series is the last patch removing the message FIFO from OMAP mailbox. This hurts our real-time performance. It was a legacy leftover from before the common mailbox framework anyway. The rest of the patches are cleanups found along the way. Thanks, Andrew Changes for v2: - Use threaded irq as suggested by Hari and to fix possible "scheduling while atomic" issue - Use oneshot irq as we do not want to enable the irq again until we clear our the messages - Rebase on v6.9-rc3 Andrew Davis (13): mailbox: omap: Remove unused omap_mbox_{enable,disable}_irq() functions mailbox: omap: Remove unused omap_mbox_request_channel() function mailbox: omap: Move omap_mbox_irq_t into driver mailbox: omap: Move fifo size check to point of use mailbox: omap: Remove unneeded header omap-mailbox.h mailbox: omap: Remove device class mailbox: omap: Use devm_pm_runtime_enable() helper mailbox: omap: Merge mailbox child node setup loops mailbox: omap: Use function local struct mbox_controller mailbox: omap: Use mbox_controller channel list directly mailbox: omap: Remove mbox_chan_to_omap_mbox() mailbox: omap: Reverse FIFO busy check logic mailbox: omap: Remove kernel FIFO message queuing drivers/mailbox/Kconfig | 9 - drivers/mailbox/omap-mailbox.c | 519 +++++++-------------------------- include/linux/omap-mailbox.h | 13 - 3 files changed, 108 insertions(+), 433 deletions(-) -- 2.39.2