From: Andrew Jones <andrew.jones@linux.dev>
To: Jason Gunthorpe <jgg@nvidia.com>
Cc: linux-riscv@lists.infradead.org, iommu@lists.linux.dev,
linux-kernel@vger.kernel.org, tomasz.jeznach@linux.dev,
jgg@ziepe.ca, joro@8bytes.org, will@kernel.org,
robin.murphy@arm.com, pjw@kernel.org, palmer@dabbelt.com,
anup@brainfault.org, tglx@kernel.org, kevin.tian@intel.com,
fangyu.yu@linux.alibaba.com, nutty.liu@hotmail.com
Subject: Re: [PATCH v7 3/5] irqchip/riscv-imsic: Add MSI address list
Date: Thu, 3 Dec 2026 18:07:49 +0100 [thread overview]
Message-ID: <axGhqIlxUZxYnclH@orel> (raw)
In-Reply-To: <179623439658.978469.1721057549250097357.b4-review@b4>
On Wed, Dec 02, 2026 at 01:59:56PM -0400, Jason Gunthorpe wrote:
> > Upcoming RISC-V IOMMU interrupt remapping needs to map every possible
> > host IMSIC target into one contiguous MSI IOVA range. MSI message
> > composition then uses the target CPU's position within that range.
> >
> > Build an IMSIC physical address array indexed by logical CPU.
> > Require every possible CPU to have an initialized IMSIC page before
> > publishing the array. This preserves physical address zero as a valid
> > target and guarantees the array has num_possible_cpus() entries.
> >
> > The array size and each target's index can therefore be derived
> > directly, without storing duplicate count or per-CPU index metadata.
> >
> > Signed-off-by: Andrew Jones <andrew.jones@oss.qualcomm.com>
> > Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
> > Tested-by: Fangyu Yu <fangyu.yu@linux.alibaba.com>
> > Acked-by: Thomas Gleixner <tglx@kernel.org>
> > Reviewed-by: Nutty Liu <nutty.liu@hotmail.com>
> > Reviewed-by: Anup Patel <anup@brainfault.org>
> > Acked-by: Anup Patel <anup@brainfault.org>
> > ---
> > drivers/irqchip/irq-riscv-imsic-state.c | 32 +++++++++++++++++++++++++
> > drivers/irqchip/irq-riscv-imsic-state.h | 3 +++
> > 2 files changed, 35 insertions(+)
>
> Not sure what to make of the Sashiko comments, but the overall notion
> seems OK
I couldn't find any Sashiko comments for this version
(https://sashiko.dev/#/patchset/20261022154603.1374754-1-andrew.jones%40linux.dev)
>
> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Thanks!
drew
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2026-12-03 17:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-22 15:45 [PATCH v7 0/5] iommu/riscv: Enable MSI remapping and IOMMU_DMA Andrew Jones
2026-10-22 15:45 ` [PATCH v7 1/5] iommu/dma: Prepare MSI physical address lists Andrew Jones
2026-12-02 17:59 ` Jason Gunthorpe
2026-10-22 15:46 ` [PATCH v7 2/5] iommu/dma: Introduce iommu_dma_prepare_msi_list() Andrew Jones
2026-12-02 17:59 ` Jason Gunthorpe
2026-10-22 15:46 ` [PATCH v7 3/5] irqchip/riscv-imsic: Add MSI address list Andrew Jones
2026-12-02 17:59 ` Jason Gunthorpe
2026-12-03 17:07 ` Andrew Jones [this message]
2026-12-03 17:51 ` Jason Gunthorpe
2026-10-22 15:46 ` [PATCH v7 4/5] irqchip/riscv-imsic: Support IOMMU MSI address lists Andrew Jones
2026-12-02 17:59 ` Jason Gunthorpe
2026-10-22 15:46 ` [PATCH v7 5/5] iommu/dma: Enable IOMMU_DMA for 64-bit RISC-V Andrew Jones
2026-12-02 17:59 ` Jason Gunthorpe
2026-11-23 9:11 ` [PATCH v7 0/5] iommu/riscv: Enable MSI remapping and IOMMU_DMA Jörg Rödel
2026-12-03 16:27 ` Robin Murphy
2026-12-03 16:42 ` Andrew Jones
2026-12-03 17:27 ` Robin Murphy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=axGhqIlxUZxYnclH@orel \
--to=andrew.jones@linux.dev \
--cc=anup@brainfault.org \
--cc=fangyu.yu@linux.alibaba.com \
--cc=iommu@lists.linux.dev \
--cc=jgg@nvidia.com \
--cc=jgg@ziepe.ca \
--cc=joro@8bytes.org \
--cc=kevin.tian@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=nutty.liu@hotmail.com \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=robin.murphy@arm.com \
--cc=tglx@kernel.org \
--cc=tomasz.jeznach@linux.dev \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox