{"id":2197783,"url":"http://patchwork.ozlabs.org/api/1.0/covers/2197783/?format=json","project":{"id":2,"url":"http://patchwork.ozlabs.org/api/1.0/projects/2/?format=json","name":"Linux PPC development","link_name":"linuxppc-dev","list_id":"linuxppc-dev.lists.ozlabs.org","list_email":"linuxppc-dev@lists.ozlabs.org","web_url":"https://github.com/linuxppc/wiki/wiki","scm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git","webscm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/"},"msgid":"<20260218135203.2267907-1-maz@kernel.org>","date":"2026-02-18T13:51:57","name":"[0/6] fsl-mc: Move fsl_over to device MSI","submitter":{"id":77095,"url":"http://patchwork.ozlabs.org/api/1.0/people/77095/?format=json","name":"Marc Zyngier","email":"maz@kernel.org"},"series":[{"id":492556,"url":"http://patchwork.ozlabs.org/api/1.0/series/492556/?format=json","date":"2026-02-18T13:51:58","name":"fsl-mc: Move fsl_over to device MSI","version":1,"mbox":"http://patchwork.ozlabs.org/series/492556/mbox/"}],"headers":{"Return-Path":"\n <linuxppc-dev+bounces-16934-incoming=patchwork.ozlabs.org@lists.ozlabs.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=JEI/nWjo;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-16934-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)","lists.ozlabs.org;\n arc=none smtp.remote-ip=172.105.4.254","lists.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org","lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=JEI/nWjo;\n\tdkim-atps=neutral","lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org\n (client-ip=172.105.4.254; helo=tor.source.kernel.org;\n envelope-from=maz@kernel.org; receiver=lists.ozlabs.org)"],"Received":["from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fGHyL11CCz1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 19 Feb 2026 00:52:42 +1100 (AEDT)","from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4fGHxr398qz3bsL;\n\tThu, 19 Feb 2026 00:52:16 +1100 (AEDT)","from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4fGHxm1dt5z3bnq\n\tfor <linuxppc-dev@lists.ozlabs.org>; Thu, 19 Feb 2026 00:52:11 +1100 (AEDT)","from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58])\n\tby tor.source.kernel.org (Postfix) with ESMTP id 23F76600AE;\n\tWed, 18 Feb 2026 13:52:09 +0000 (UTC)","by smtp.kernel.org (Postfix) with ESMTPSA id C7141C116D0;\n\tWed, 18 Feb 2026 13:52:08 +0000 (UTC)","from sofa.misterjones.org ([185.219.108.64] helo=valley-girl.lan)\n\tby disco-boy.misterjones.org with esmtpsa  (TLS1.3) tls\n TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384\n\t(Exim 4.98.2)\n\t(envelope-from <maz@kernel.org>)\n\tid 1vshyI-0000000Bu02-33K3;\n\tWed, 18 Feb 2026 13:52:06 +0000"],"ARC-Seal":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1771422736;\n\tcv=none;\n b=W+GE4jQTdZCxnP4f5Rr7KiUlra0OTNtlpulLYVDlkhVbic96b2FFBRTZDAu0G84MmWOB88idERPBe3lRnhiDlHBsGpRV0/OVQB3u8/bEL46hSHdyCagqHf+eXBi93agqdjTwUTE/bghvvtdOJhXquFL0JExbzxQKBog8rLaQ5Hph1hbFbyHGK20t5UpuAIxmDzkeqPhDpWA0zAaD1hfQUGrO7XuWZ6OkKUIaZUWHhhMgZt5nUtgw/HUgyTNlEmCMHHBYmSzdSvE6cGMb9SVtZ4/sn0pgnz/g+05g9/N/26tsnLIemkWJFzRaHbImG69nDizGqMxqmUpBjgSSi9kHkA==","ARC-Message-Signature":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1771422736; c=relaxed/relaxed;\n\tbh=kurWLclCU1p6CObL3Fr6bH3QHzP1TichbnZiIf7g35w=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=kzwkf9LIAYue6BKeqFp9WjfN2bsBTCyl9GIeDIiiRfLIxzG+OpjbhLsEaA6oZow4ZvH9f4bAoLunJgEk2Yfx06ZmwswOKYtVxdlRX8FPn3VDtQFKAMzyJ6mVJ72mtHRTOx/JOWaW8wr7jU9H8PNek/AQUIeIK+Tmxn66+A5qGwrxNeWbhQ7JjeVbnrbgVoWQKhnDd4rGaQsVfIA5gCLeatpqXGhvAqXeSmu6noJHxRqSorES2rFUQBf3dqwHsMc2nexsH432lOVHniECs3wIXxxOUYikjsiu7/L7QmG0JINvMMh553DR6xWMoAhp1G6dDpcawlTu4im1ATzITsU60Q==","ARC-Authentication-Results":"i=1; lists.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org;\n dkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=JEI/nWjo; dkim-atps=neutral;\n spf=pass (client-ip=172.105.4.254; helo=tor.source.kernel.org;\n envelope-from=maz@kernel.org;\n receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1771422728;\n\tbh=w4EKK/R480qSeLevM8joRM/MvxRl22C1On+/P+fDFn0=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=JEI/nWjoAYErKmbf5xhGmzXnRXgp/Y5A5qRkYOJ91Z8T03wm+J4uX4Eqz1Pv3qGhE\n\t lTak/thcVjyvClUlD4q46Z9JrlyR3wTbRlNA1+lpgIJIr+EDoM0zBPINYpJaO/2hM2\n\t Sr6u5DqTmi3EUL3gGS5K92iNgjM/A/BWuRqBhVTpv3/Z5iCRT6FkPiO0rSaJR/AgBy\n\t 7TO9wwB0DginuYOJvJVJHbUN8zm0rp2eJdgEkk50UENjYvVQAN/cP6RR9wy1Aj0Akb\n\t dNsuQNn3k8wEOWTah9dSwLH3FK33bTDiJF6NLsYJe46JDKxGft3FJlRoabJE3GitUI\n\t 0jKmoiZlsCNNQ==","From":"Marc Zyngier <maz@kernel.org>","To":"Ioana Ciornei <ioana.ciornei@nxp.com>,\n\tThomas Gleixner <tglx@kernel.org>,\n\t\"Christophe Leroy (CS GROUP)\" <chleroy@kernel.org>","Cc":"linux-kernel@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org,\n\tlinuxppc-dev@lists.ozlabs.org","Subject":"[PATCH 0/6] fsl-mc: Move fsl_over to device MSI","Date":"Wed, 18 Feb 2026 13:51:57 +0000","Message-ID":"<20260218135203.2267907-1-maz@kernel.org>","X-Mailer":"git-send-email 2.47.3","X-Mailing-List":"linuxppc-dev@lists.ozlabs.org","List-Id":"<linuxppc-dev.lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev+help@lists.ozlabs.org>","List-Owner":"<mailto:linuxppc-dev+owner@lists.ozlabs.org>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Archive":"<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Subscribe":"<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>","List-Unsubscribe":"<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>","Precedence":"list","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-SA-Exim-Connect-IP":"185.219.108.64","X-SA-Exim-Rcpt-To":"ioana.ciornei@nxp.com, tglx@kernel.org, chleroy@kernel.org,\n linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org,\n linuxppc-dev@lists.ozlabs.org","X-SA-Exim-Mail-From":"maz@kernel.org","X-SA-Exim-Scanned":"No (on disco-boy.misterjones.org);\n SAEximRunCond expanded to false","X-Spam-Status":"No, score=-0.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED,\n\tDKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS\n\tautolearn=disabled version=4.0.1 OzLabs 8","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"},"content":"Over the past few years, I have become increasingly annoyed by this\nsort of messages in my boot log:\n\n[    0.067861] fsl-mc MSI: ITS@0x100100040000 domain created\n[    0.073352] fsl-mc MSI: ITS@0x100100060000 domain created\n[    0.078841] fsl-mc MSI: ITS@0x100100080000 domain created\n[    0.084328] fsl-mc MSI: ITS@0x1001000a0000 domain created\n[    0.089815] fsl-mc MSI: ITS@0x1001000c0000 domain created\n[    0.095303] fsl-mc MSI: ITS@0x1001000e0000 domain created\n[    0.100792] fsl-mc MSI: ITS@0x100100100000 domain created\n[    0.106281] fsl-mc MSI: ITS@0x100100120000 domain created\n\nWhile this is useful on fsl-mc systems, this is completely irrelevant\non 99.99999% of the arm64 machines, which know nothing about the\nFreescale stuff. Including all of my machine -- bar *one*.\n\nGlobal MSI domains such as the above have been obsoleted for the past\ntwo years, but nobody at NXP seems to have got the message.\n\nThe obvious solution is to delete some code! While my first port of\ncall would be to just 'git rm -r drivers/bus/fsl-mc' (only kidding!),\na less invasive solution is to drag that code into the present times.\nWhich is what this series is doing by converting the whole thing to\ndevice MSI, reusing the platform MSI infrastructure instead of\nduplicating it.\n\nThis results in the expected cleanup, and kills the last user of the\nnon-device-MSI stuff on arm64. You're welcome.\n\nMarc Zyngier (6):\n  fsl-mc: Remove MSI domain propagation to sub-devices\n  fsl_mc: Add minimal infrastructure to use platform MSI\n  irqchip/gic-v3-its: Add fsl_mc device plumbing to the msi-parent\n    handling\n  fsl_mc: Switch over to per-device platform MSI\n  fsl_mc: Remove legacy MSI implementation\n  platform-msi: Remove stale comment\n\n drivers/base/platform-msi.c                 |   4 -\n drivers/bus/fsl-mc/dprc-driver.c            |  14 +-\n drivers/bus/fsl-mc/fsl-mc-bus.c             |   4 +-\n drivers/bus/fsl-mc/fsl-mc-msi.c             | 142 +++--------------\n drivers/bus/fsl-mc/fsl-mc-private.h         |   2 +-\n drivers/irqchip/Kconfig                     |   6 -\n drivers/irqchip/Makefile                    |   1 -\n drivers/irqchip/irq-gic-its-msi-parent.c    |   7 +-\n drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c | 168 --------------------\n include/linux/fsl/mc.h                      |   6 +-\n 10 files changed, 33 insertions(+), 321 deletions(-)\n delete mode 100644 drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c"}